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