restriction of user activity: concept of super-users: the only ones that can add...
[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="/img/logo.gif" width="120" height="120" alt="((i))"></td>
31                 <td colspan="4" valign="top" background="/img/background2.jpg">
32                         <table cellpadding="4" cellspacing="0" border="0" width="100%" bgcolor="#cc0033"><tr><td>
33                                 &nbsp;&nbsp;
34                                 <font color="#dddddd" size="-1"><b>
35                                         <a href="${config["Producer.DocRoot"]}/${language.code}/static/mission.shtml"><font color="#dddddd">${lang("general.menu.missionStatement")}&nbsp;&gt;&gt;</font></a> &nbsp; 
36                                         <a href="${config["Producer.DocRoot"]}/${language.code}/static/moderation.shtml"><font color="#dddddd">${lang("general.menu.moderation")}&nbsp;&gt;&gt;</font></a>  &nbsp;
37                                         <a href="${config["Producer.DocRoot"]}/${language.code}/static/support.shtml"><font color="#dddddd">${lang("general.menu.support")}&nbsp;&gt;&gt;</font></a>  &nbsp;
38                                         <a href="${config["Producer.DocRoot"]}/${language.code}/static/mailinglists.shtml"><font color="#dddddd">${lang("general.menu.mailinglists")}&nbsp;&gt;&gt;</font></a> &nbsp;
39                                         <a href="${config["Producer.DocRoot"]}/${language.code}/static/participate.shtml"><font color="#dddddd">${lang("general.menu.participate")}&nbsp;&gt;&gt;</font></a>
40                                 </b></font>
41                         </td></tr></table>
42                         <br>
43                         <br>
44                         <font color="#cc0033" size="+3">&nbsp;&nbsp;&nbsp;<b><span id="indy">${config["Mir.Name"]}</span></b></font>
45                 </td>
46         </tr>
47         <tr>
48                 <td></td>
49                 <td colspan="3">
50                 </td>
51         </tr>   
52         <tr>
53                 <td width="120"></td>
54                 <td rowspan="100">&nbsp;&nbsp;&nbsp;&nbsp;</td>
55                 <td width="100%">&nbsp;</td>
56                 <td rowspan="100">&nbsp;&nbsp;&nbsp;&nbsp;</td>
57                 <td width="200"><img src="/img/space.gif" alt="" width="200" height="1"></td>
58         </tr>
59         
60         <tr>
61                 <td valign="top">
62                 
63                 
64                         <!--#include virtual="navigation.inc" -->
65                         
66                         
67                         <table cellpadding="8" cellspacing="0" border="0" width="100%">
68                                 <tr>
69                                         <td bgcolor="#cc0033">
70                                                 <b><font color="#dddddd" size="+1">${lang("startpage.imcs")}</font></b>
71                                         </td>
72                                 </tr>
73                                 <tr>
74                                         <td>
75                                                 <font size="-1">
76                                                         <include "cities.inc"> 
77                                                 </font>
78                                         </td>
79                                 </tr>
80                         </table>
81                         <br>
82                                 
83
84         </td>
85         
86         <td  valign="top" width="100%"><a name="features"></a>
87         
88                 <!-- breaking news -->
89                         <if breakingnews && breakingnews[0].text!="."> 
90                                 <table cellpadding="10" cellspacing="0" border="0" width="100%" bgcolor="#cccccc"><tr><td>
91                                         <font color="#cc0033" size="-1"><b>${lang("startpage.breakingnews")}</b></font> <font size="-2"><b>+++</b></font>
92                                                 <assign stop="0">
93                                                 <list breakingnews as bn>
94                                                         <if bn.text=="."><assign stop="1"></if>
95                                                         <if stop=="0">
96                                                                 <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>
97                                                         </if>
98                                                 </list>
99                                 </td></tr></table>
100                                 <br>
101                         </if>
102                 <!-- /breaking news -->
103
104                 <!--- start-special ---> <comment></comment>
105                         <list startspecial as s> 
106                                  <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td> 
107                                <p><font size="+2">
108              <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${s.title}</b></a>
109                                </font><br>
110                                   <font size="-2">${s.creator}, ${s.webdb_create_formatted}</font></p>
111                                <p><font size="-1">                       
112                                 <if s.to_media_audio > 
113                                   <img align="left" vspace="4" hspace="8"
114                                     src="/img/${s.to_media_audio[0]["big_icon"]}">
115                                 </if> 
116                                 <if s.to_media_video > 
117                                   <img align="left" vspace="4" hspace="8"
118                                     src="/img/${s.to_media_video[0]["big_icon"]}">
119                                 </if> 
120                                 <if s.to_media_other > 
121                                   <img align="left" vspace="4" hspace="8"
122                                      src="/img/${s.to_media_other[0]["big_icon"]}">
123                                 </if> 
124                                 <if s.to_media_images >
125                                   <img align="left" vspace="4" hspace="8"
126                                     src="${s.to_media_images[0]["icon_path"]}"
127                                     width="${s.to_media_images[0]["icon_width"]}"
128                                     height="${s.to_media_images[0]["icon_height"]}"
129                                     border=0 alt="${s.to_media_images[0]["title"]}">
130                                 </if> 
131                                 ${s.description_parsed} 
132                                         <br clear="all">
133           <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${lang("general.readmore")} &gt;&gt;</b></a>
134                                         </font></p>
135                                 
136                                  </td></tr></table>
137                         </list> 
138                 <!--- /start-special ---> 
139
140
141                 <!--- features ---> <comment></comment>  
142                         <list features as i>
143                                 <p><font size="+1">
144         <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${i.title}</b></a>
145                                 </font><br>
146                                    <font size="-2">${i.creator}, ${i.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font></p>
147                                 <p><font size="-1">                      
148                                 <if i.to_media_audio > 
149                                 <img align="left" vspace="4" hspace="8"
150              src="/img/${i.to_media_audio[0]["big_icon"]}">
151                                 </if> 
152                                 <if i.to_media_video > 
153                                 <img align="left" vspace="4" hspace="8"
154                                      src="/img/${i.to_media_video[0]["big_icon"]}">
155                                 </if> 
156                                 <if i.to_media_other > 
157                                 <img align="left" vspace="4" hspace="8"
158                                      src="/img/${i.to_media_other[0]["big_icon"]}">
159                                 </if> 
160                                 <if i.to_media_images >
161                                 <img align="left" vspace="4" hspace="8"
162              src="${i.to_media_images[0]["icon_path"]}"
163              width="${i.to_media_images[0]["icon_width"]}"
164              height="${i.to_media_images[0]["icon_height"]}"
165              border=0 alt="${i.to_media_images[0]["title"]}">
166                                 </if> 
167                                 ${i.description_parsed}
168                                 <br clear="all">
169           <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>
170                                 </font></p>
171                                 
172                                 <br>
173                         </list> 
174                 <!--- /features ---> 
175
176         </td>
177         
178         <td valign="top">
179                         
180                 <table cellpadding="8" cellspacing="0" border="0" width="100%">
181                         <tr>
182                                 <td bgcolor="#cc0033">
183                                         <font size="+1" color="#dddddd"><b><a name="newswire">${lang("startpage.newswire")}</a></b></font>
184                                 </td>
185                         </tr>
186                         <tr>
187                                 <td>
188                                         
189                                         <!-- newswire -->
190                                         <font size="-1">
191                                                 <list newswire as n>
192               <img alt=${n.to_media_icon.icon_alt} border="0" height="10" src="${n.to_media_icon.tiny_icon}" width="12"> 
193               <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml">${n.title}</a>
194               <br>
195               <font size="-2">${n.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font><br>
196                                                         <br>
197                                                 </list>
198                                         </font>
199                                         <!-- /newswire -->      
200           <img src="/img/space.gif" width="184" height="1" border="0">
201                                                         
202                                 </td>
203                         </tr>
204                 </table>
205                 <br>
206                         
207                         
208                 </td>
209         </tr>
210   
211 <!-- the rest --> 
212         <tr><td colspan="5">&nbsp;</td></tr>
213         
214         <tr>
215                 <td>&nbsp;</td>
216                 <td valign="top">
217                         <p>
218                         
219                         </p>
220                 </td>
221                 <td>&nbsp;</td>
222         </tr>
223 </table>
224 </body>
225 </html>
226