458a27c350b89098be3571479dc50f9535a4355c
[mir.git] / etc / producer / startpage.template
1 <include "routines.template">
2
3 <html>
4   <head>
5     <title>${lang("startpage.htmltitle")}</title>
6     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
7     <link rel="stylesheet" href="/${pathprefix}/style.css" type="text/css">
8   </head>
9
10   <body bgcolor="#CCCCCC">
11     <table width="760" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000000">
12       <tr bgcolor="#FFFFFF"> 
13         <td valign="top" align="left" width="150" bgcolor="#666666"> 
14           <table width="150" border="0" cellspacing="0" cellpadding="0">
15             <tr> 
16               <td width="140">
17                 <img src="/images/mirlogo.jpg" width="150" height="205">
18               </td>
19             </tr>
20             <tr valign="top"> 
21               <td width="140" bgcolor="#666666"> 
22                 <table width="100%" border="0" cellspacing="2" cellpadding="0">
23                   <tr> 
24                     <td> 
25                       <!--#include virtual="navigation.inc" -->
26                     </td>
27                   </tr>
28                 </table>
29               </td>
30             </tr>
31           </table>
32         </td>
33         <td align="left" valign="top" colspan="2" height="100%">
34           <table width="100%" border="0" cellspacing="0" cellpadding="0">
35             <tr> 
36               <td colspan="3">
37                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
38                   <tr> 
39                     <td valign="top">
40                       <img src="/images/mirfont.gif" width="600" height="68">
41                     </td>
42                   </tr>
43                 </table>
44                             </td>
45             </tr>
46             <tr bgcolor="#000000"> 
47               <td colspan="3" height="1"><img src="images/1pixel.gif" width="1" height="1"></td>
48             </tr>
49             <tr> 
50               <td align="left" valign="top"> 
51                 <table width="457" border="0" cellpadding="0" cellspacing="2" height="100%">
52                   <tr> 
53                     <td width="457" valign="top"> 
54                       <!--- start-special ---> 
55                       <list startspecial as s> 
56                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
57                           <tr> 
58                             <td> 
59                               <call showArticleAsFeature(s)>
60 <comment>                      
61                               <h3>${s.title}</h3>
62                               <h4><i>${s.creator}, ${s.webdb_create_formatted}</i></h4>
63                               <p>                        
64                               <if s.to_media_audio > 
65                                 <img src="/img/${s.to_media_audio[0]["big_icon"]}">
66                               </if> 
67                               <if s.to_media_video > 
68                                 <img src="/img/${s.to_media_video[0]["big_icon"]}">
69                               </if> 
70                               <if s.to_media_other > 
71                                 <img src="/img/${s.to_media_other[0]["big_icon"]}">
72                               </if> 
73                               <p>
74                               <if s.to_media_images >
75                                 <img src="${s.to_media_images[0]["icon_path"]}"
76                                   width="${s.to_media_images[0]["icon_width"]}"
77                                   height="${s.to_media_images[0]["icon_height"]}"
78                                   border=0 alt="${s.to_media_images[0]["title"]}">
79                               </if> 
80                               ${s.description_parsed} </p>
81                               <p align="right">[<a href="${config["Producer.DocRoot"]}${s.publish_path}${s.id}.shtml">read</a>]</p>
82 </comment>
83                             </td>
84                           </tr>
85                         </table>
86                       </list> 
87                       <!--- /start-special ---> 
88                       <br>
89                       <!--- features ---> 
90                       <list features as i>
91                         <table width="100%" border="0" cellspacing="0" cellpadding="0">
92                           <tr> 
93                             <td> 
94                               <call showArticleAsFeature(i)>
95 <comment>                        
96                               <h3>${i.title}</h3>
97                               <h4><i>${i.creator}, ${i.webdb_create_formatted}</i></h4>
98                               <p>                        
99                               <if i.to_media_audio > 
100                                 <img src="/img/${i.to_media_audio[0]["big_icon"]}">
101                               </if> 
102                               <if i.to_media_video > 
103                                 <img src="/img/${i.to_media_video[0]["big_icon"]}">
104                               </if> 
105                               <if i.to_media_other > 
106                                 <img src="/img/${i.to_media_other[0]["big_icon"]}">
107                               </if> 
108                               <p>
109                               <if i.to_media_images >
110                                 <img src="${i.to_media_images[0]["icon_path"]}"
111                                   width="${i.to_media_images[0]["icon_width"]}"
112                                   height="${i.to_media_images[0]["icon_height"]}"
113                                   border=0 alt="${i.to_media_images[0]["title"]}">
114                               </if> 
115                                 ${i.description_parsed} </p>
116                               <p align="right">[<a href="${config["Producer.DocRoot"]}${i.publish_path}${i.id}.shtml">read</a>]</p>
117 </comment>                        
118                             </td>
119                           </tr>
120                         </table>
121                         <br>
122                       </list> 
123                               <!--- /features ---> 
124                     </td>
125                   </tr>
126                 </table>
127               </td>
128               <td width=1 bgcolor="#000000">
129                   <img src="images/1pixel.gif" width="1" height="1">
130                 </td>
131               <td width="150" bgcolor="#666666" valign="top" align="left"> 
132                 <table width="150" border="0" cellspacing="2" cellpadding="0">
133                   <tr> 
134                     <td> 
135                                     <!-- newswire --> 
136                         <p> 
137                                     <list newswire as n>
138                           <call showArticleAsNewswire(n)>
139 <comment>                                   
140                             <img alt=${n.to_media_icon["icon_alt"]} border="0" height="10"
141                                  src="${n.to_media_icon["tiny_icon"]}" width="12"> 
142                             <a href="${config["Producer.DocRoot"]}${n.publish_path}${n.id}.shtml"><b>${n.title}</b></a><br>
143                            <font size="-2"><b></b>${n.webdb_create_formatted}</font>
144                           <br>
145 </comment>                           
146                           <br>
147                         </list> 
148                                     <!-- /newswire -->
149                       </p>
150                     </td>
151                   </tr>
152                 </table>
153               </td>
154             </tr>
155           </table>
156         </td>
157       </tr>
158     </table>
159   </body>
160 </html>