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 s>
105 <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td>
107 <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${s.title}</b></a>
109 <font size="-2">${s.creator}, ${s.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
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"]}">
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"]}">
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"]}">
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"]}">
130 ${s.description_parsed}
132 <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${lang("general.readmore")} >></b></a>
137 <!--- /start-special --->
140 <!--- features ---> <comment></comment>
143 <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${i.title}</b></a>
145 <font size="-2">${i.creator}, ${i.creationdate.formatted["dd.MM.yyyy - HH:mm"]}</font></p>
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"]}">
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"]}">
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"]}">
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"]}">
166 ${i.description_parsed}
168 <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${lang("general.readmore")} >> >></b></a>
179 <table cellpadding="8" cellspacing="0" border="0" width="100%">
181 <td bgcolor="#cc0033">
182 <font size="+1" color="#dddddd"><b><a name="newswire">${lang("startpage.newswire")}</a></b></font>
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>
194 <font size="-2">${n.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font><br>
199 <img src="/img/space.gif" width="184" height="1" border="0">
211 <tr><td colspan="5"> </td></tr>