2 Template file for the front page.
3 - virtually no CSS functions
4 - all paths relative to /
5 - no complicated freemarker code
7 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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;}
26 <body bgcolor="#dddddd" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" link="#003399" alink="#cc0033" vlink="#660033" >
28 <table border="0" cellpadding="0" cellspacing="0" width="100%">
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")} >></font></a>
35 <a href="${config["Producer.DocRoot"]}/${language.code}/static/moderation.shtml"><font color="#dddddd">${lang("general.menu.moderation")} >></font></a>
36 <a href="${config["Producer.DocRoot"]}/${language.code}/static/support.shtml"><font color="#dddddd">${lang("general.menu.support")} >></font></a>
37 <a href="${config["Producer.DocRoot"]}/${language.code}/static/mailinglists.shtml"><font color="#dddddd">${lang("general.menu.mailinglists")} >></font></a>
38 <a href="${config["Producer.DocRoot"]}/${language.code}/static/participate.shtml"><font color="#dddddd">${lang("general.menu.participate")} >></font></a>
43 <font color="#cc0033" size="+3"> <b><span id="indy">${config["Mir.Name"]}</span></b></font>
53 <td rowspan="100"> </td>
54 <td width="100%"> </td>
55 <td rowspan="100"> </td>
56 <td width="200"><img src="${config["Producer.DocRoot"]}/img/space.gif" alt="" width="200" height="1"></td>
63 <!--#include virtual="navigation.inc" -->
66 <table cellpadding="8" cellspacing="0" border="0" width="100%">
68 <td bgcolor="#cc0033">
69 <b><font color="#dddddd" size="+1">${lang("startpage.imcs")}</font></b>
75 <include "cities.inc">
85 <td valign="top" width="100%"><a name="features"></a>
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>
92 <list breakingnews as bn>
93 <if bn.text=="."><assign stop="1"></if>
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>
101 <!-- /breaking news -->
103 <!--- start-special --->
104 <list startspecial as ss>
105 <assign sorig=ss.to_original>
106 <if languagepreference>
107 <assign s=ss.to_translation(languagepreference)>
112 <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td>
114 <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${s.title}</b></a>
116 <font size="-2">${sorig.creator} <if sorig.id!=s.id>(${lang("general.translatedby", s.creator)})</if><if s.creator || sorig.creator>, </if> ${sorig.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
118 <if sorig.to_media_audio >
119 <img align="left" vspace="4" hspace="8"
120 src="${config["Producer.DocRoot"]}/img/${sorig.to_media_audio[0]["big_icon"]}">
122 <if sorig.to_media_video >
123 <img align="left" vspace="4" hspace="8"
124 src="${config["Producer.DocRoot"]}/img/${sorig.to_media_video[0]["big_icon"]}">
126 <if sorig.to_media_other >
127 <img align="left" vspace="4" hspace="8"
128 src="${config["Producer.DocRoot"]}/img/${sorig.to_media_other[0]["big_icon"]}">
130 <if sorig.to_media_images >
131 <img align="left" vspace="4" hspace="8"
132 src="${sorig.to_media_images[0]["icon_path"]}"
133 width="${sorig.to_media_images[0]["icon_width"]}"
134 height="${sorig.to_media_images[0]["icon_height"]}"
135 border=0 alt="${sorig.to_media_images[0]["title"]}">
137 ${s.description_parsed}
139 <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${lang("general.readmore")} >></b></a>
144 <!--- /start-special --->
147 <!--- features ---> <comment></comment>
149 <assign forig=f.to_original>
150 <if languagepreference>
151 <assign i=f.to_translation(languagepreference)>
157 <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${i.title}</b></a>
159 <font size="-2">${forig.creator} <if forig.id!=i.id>(${lang("general.translatedby", i.creator)})</if><if i.creator || forig.creator>, </if> ${forig.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
161 <if forig.to_media_audio >
162 <img align="left" vspace="4" hspace="8"
163 src="${config["Producer.DocRoot"]}/img/${forig.to_media_audio[0]["big_icon"]}">
165 <if forig.to_media_video >
166 <img align="left" vspace="4" hspace="8"
167 src="${config["Producer.DocRoot"]}/img/${forig.to_media_video[0]["big_icon"]}">
169 <if forig.to_media_other >
170 <img align="left" vspace="4" hspace="8"
171 src="${config["Producer.DocRoot"]}/img/${forig.to_media_other[0]["big_icon"]}">
173 <if forig.to_media_images >
174 <img align="left" vspace="4" hspace="8"
175 src="${forig.to_media_images[0]["icon_path"]}"
176 width="${forig.to_media_images[0]["icon_width"]}"
177 height="${forig.to_media_images[0]["icon_height"]}"
178 border=0 alt="${forig.to_media_images[0]["title"]}">
180 ${i.description_parsed}
182 <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${lang("general.readmore")} >> >></b></a>
193 <table cellpadding="8" cellspacing="0" border="0" width="100%">
195 <td bgcolor="#cc0033">
196 <font size="+1" color="#dddddd"><b><a name="newswire">${lang("startpage.newswire")}</a></b></font>
204 <list newswire as nn>
205 <assign norig=nn.to_original>
206 <if languagepreference>
207 <assign n=nn.to_translation(languagepreference)>
213 <img src="${norig.to_media_icon.tiny_icon}" alt="${norig.to_media_icon.icon_alt}" height="10" width="12">
214 <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml">${n.title}</a>
216 <font size="-2">${n.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font><br>
221 <img src="/img/space.gif" width="184" height="1" border="0">
233 <tr><td colspan="5"> </td></tr>