8f2e841c965a0a53785fa5a47b193b4e6c8fad0f
[mir.git] / etc / producer / startpage.template
1 <comment>
2   Template file for the front page.  
3   - virtually no CSS functions
4   - all paths relative to /
5   - no complicated freemarker code
6 </comment>
7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8 <html>
9 <head>
10   <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}"> 
11   <title>${config["Mir.Name"]}</title>
12   <meta name="keywords" content="indymedia,imc">
13   <meta name="description" content="indymedia,imc">
14   <meta http-equiv="expires" content="599">
15   <meta http-equiv="pragma" content="no-cache">
16   <style type="text/css">
17     body, h1, h2, h3, h4, h5, h6, p, li, dt, dd, div, td, blockquote, div, span
18             {font-family:'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;}
19     a       {text-decoration:none;}
20     #searchfield  {font-size: 12px; width:113px; height:16px;  background-color:#aaaaaa;}
21     #searchselect {font-size: 12px; width:120px; height:22px;  background-color:#aaaaaa;}
22     #searchbutton   {font-size: 12px; width:120px; height:20px; background-color:#aaaaaa; text-align: right;}
23   </style>
24 </head>
25            
26 <body bgcolor="#dddddd" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" link="#003399" alink="#cc0033" vlink="#660033" >
27
28 <table border="0" cellpadding="0" cellspacing="0" width="100%">
29   <tr>
30     <td bgcolor="#cc0033"><img src="${config["Producer.DocRoot"]}/img/logo.gif" width="120" height="120" alt="((i))"></td>
31     <td colspan="4" valign="top" background="${config["Producer.DocRoot"]}/img/background2.jpg">
32       <table cellpadding="4" cellspacing="0" border="0" width="100%" bgcolor="#cc0033"><tr><td>
33         <font color="#dddddd" size="-1"><b>
34           <a href="${config["Producer.DocRoot"]}/${language.code}/static/mission.shtml"><font color="#dddddd">${lang("general.menu.missionStatement")}&nbsp;&gt;&gt;</font></a> &nbsp; 
35           <a href="${config["Producer.DocRoot"]}/${language.code}/static/moderation.shtml"><font color="#dddddd">${lang("general.menu.moderation")}&nbsp;&gt;&gt;</font></a>  &nbsp;
36           <a href="${config["Producer.DocRoot"]}/${language.code}/static/support.shtml"><font color="#dddddd">${lang("general.menu.support")}&nbsp;&gt;&gt;</font></a>  &nbsp;
37           <a href="${config["Producer.DocRoot"]}/${language.code}/static/mailinglists.shtml"><font color="#dddddd">${lang("general.menu.mailinglists")}&nbsp;&gt;&gt;</font></a> &nbsp;
38           <a href="${config["Producer.DocRoot"]}/${language.code}/static/participate.shtml"><font color="#dddddd">${lang("general.menu.participate")}&nbsp;&gt;&gt;</font></a>
39         </b></font>
40       </td></tr></table>
41       <br>
42       <br>
43       <font color="#cc0033" size="+3">&nbsp;&nbsp;&nbsp;<b><span id="indy">${config["Mir.Name"]}</span></b></font>
44     </td>
45   </tr>
46   <tr>
47     <td></td>
48     <td colspan="3">
49     </td>
50   </tr> 
51   <tr>
52     <td width="120"></td>
53     <td rowspan="100">&nbsp;&nbsp;&nbsp;&nbsp;</td>
54     <td width="100%">&nbsp;</td>
55     <td rowspan="100">&nbsp;&nbsp;&nbsp;&nbsp;</td>
56     <td width="200"><img src="${config["Producer.DocRoot"]}/img/space.gif" alt="" width="200" height="1"></td>
57   </tr>
58   
59   <tr>
60     <td valign="top">
61     
62     
63       <!--#include virtual="navigation.inc" -->
64       
65       
66       <table cellpadding="8" cellspacing="0" border="0" width="100%">
67         <tr>
68           <td bgcolor="#cc0033">
69             <b><font color="#dddddd" size="+1">${lang("startpage.imcs")}</font></b>
70           </td>
71         </tr>
72         <tr>
73           <td>
74             <font size="-1">
75               <include "cities.inc">
76             </font>
77           </td>
78         </tr>
79       </table>
80       <br>
81         
82
83   </td>
84   
85   <td  valign="top" width="100%"><a name="features"></a>
86   
87       <!-- breaking news -->
88       <if breakingnews && breakingnews[0].text!=".">
89         <table cellpadding="10" cellspacing="0" border="0" width="100%" bgcolor="#cccccc"><tr><td>
90           <font color="#cc0033" size="-1"><b>${lang("startpage.breakingnews")}</b></font> <font size="-2"><b>+++</b></font>
91             <assign stop="0">
92             <list breakingnews as bn>
93               <if bn.text=="."><assign stop="1"></if>
94               <if stop=="0">
95                 <font color="#cc0033" size="-2">${bn.creationdate.formatted["dd-MM-yyyy HH:mm"]}:</font> <font size="-1">${bn.text}</font> <font size="-2"><b>+++</b></font>
96               </if>
97             </list>
98         </td></tr></table>
99         <br>
100       </if>
101       <!-- /breaking news -->
102
103     <!--- start-special --->
104       <list startspecial as s>
105          <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td>
106              <p><font size="+2">
107              <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${s.title}</b></a>
108              </font><br>
109                 <font size="-2">${s.creator}, ${s.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
110              <p><font size="-1">
111               <if s.to_media_audio >
112                 <img align="left" vspace="4" hspace="8"
113                   src="${config["Producer.DocRoot"]}/img/${s.to_media_audio[0]["big_icon"]}">
114               </if>
115               <if s.to_media_video >
116                 <img align="left" vspace="4" hspace="8"
117                   src="${config["Producer.DocRoot"]}/img/${s.to_media_video[0]["big_icon"]}">
118               </if>
119               <if s.to_media_other >
120                 <img align="left" vspace="4" hspace="8"
121                    src="${config["Producer.DocRoot"]}/img/${s.to_media_other[0]["big_icon"]}">
122               </if>
123               <if s.to_media_images >
124                 <img align="left" vspace="4" hspace="8"
125                   src="${s.to_media_images[0]["icon_path"]}"
126                   width="${s.to_media_images[0]["icon_width"]}"
127                   height="${s.to_media_images[0]["icon_height"]}"
128                   border=0 alt="${s.to_media_images[0]["title"]}">
129               </if>
130               ${s.description_parsed}
131           <br clear="all">
132           <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${lang("general.readmore")} &gt;&gt;</b></a>
133           </font></p>
134
135          </td></tr></table>
136       </list>
137     <!--- /start-special --->
138
139
140     <!--- features ---> <comment></comment>
141       <list features as i>
142         <p><font size="+1">
143         <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${i.title}</b></a>
144         </font><br>
145            <font size="-2">${i.creator}, ${i.creationdate.formatted["dd.MM.yyyy -  HH:mm"]}</font></p>
146         <p><font size="-1">
147         <if i.to_media_audio >
148         <img align="left" vspace="4" hspace="8"
149              src="${config["Producer.DocRoot"]}/img/${i.to_media_audio[0]["big_icon"]}">
150         </if>
151         <if i.to_media_video >
152         <img align="left" vspace="4" hspace="8"
153              src="${config["Producer.DocRoot"]}/img/${i.to_media_video[0]["big_icon"]}">
154         </if>
155         <if i.to_media_other >
156         <img align="left" vspace="4" hspace="8"
157              src="${config["Producer.DocRoot"]}/img/${i.to_media_other[0]["big_icon"]}">
158         </if>
159         <if i.to_media_images >
160         <img align="left" vspace="4" hspace="8"
161              src="${i.to_media_images[0]["icon_path"]}"
162              width="${i.to_media_images[0]["icon_width"]}"
163              height="${i.to_media_images[0]["icon_height"]}"
164              border=0 alt="${i.to_media_images[0]["title"]}">
165         </if>
166         ${i.description_parsed}
167         <br clear="all">
168           <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${lang("general.readmore")} &gt;&gt; &gt;&gt;</b></a>
169         </font></p>
170
171         <br>
172       </list>
173     <!--- /features --->
174
175   </td>
176
177   <td valign="top">
178
179     <table cellpadding="8" cellspacing="0" border="0" width="100%">
180       <tr>
181         <td bgcolor="#cc0033">
182           <font size="+1" color="#dddddd"><b><a name="newswire">${lang("startpage.newswire")}</a></b></font>
183         </td>
184       </tr>
185       <tr>
186         <td>
187
188           <!-- newswire -->
189           <font size="-1">
190             <list newswire as n>
191                           <img src="${n.to_media_icon.tiny_icon}" alt="${n.to_media_icon.icon_alt}" height="10" width="12">
192               <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml">${n.title}</a>
193               <br>
194               <font size="-2">${n.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font><br>
195               <br>
196             </list>
197           </font>
198           <!-- /newswire -->
199           <img src="/img/space.gif" width="184" height="1" border="0">
200
201         </td>
202       </tr>
203     </table>
204     <br>
205
206
207     </td>
208   </tr>
209
210 <!-- the rest -->
211   <tr><td colspan="5">&nbsp;</td></tr>
212
213   <tr>
214     <td>&nbsp;</td>
215     <td valign="top">
216       <p>
217
218       </p>
219     </td>
220     <td>&nbsp;</td>
221   </tr>
222 </table>
223 </body>
224 </html>
225