-<include "routines.template">
-
+<comment>
+ Template file for the front page.
+ - virtually no CSS functions
+ - all paths relative to /
+ - no complicated freemarker code
+</comment>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
- <head>
- <title>${lang("startpage.htmltitle")}</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <link rel="stylesheet" href="/${pathprefix}/style.css" type="text/css">
- </head>
-
- <body bgcolor="#CCCCCC">
- <table width="760" border="0" cellpadding="0" cellspacing="1" align="center" bgcolor="#000000">
- <tr bgcolor="#FFFFFF">
- <td valign="top" align="left" width="150" bgcolor="#666666">
- <table width="150" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td width="140">
- <img src="/images/mirlogo.jpg" width="150" height="205">
- </td>
- </tr>
- <tr valign="top">
- <td width="140" bgcolor="#666666">
- <table width="100%" border="0" cellspacing="2" cellpadding="0">
- <tr>
- <td>
- <!--#include virtual="navigation.inc" -->
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
+ <title>${config["Mir.Name"]}</title>
+ <meta name="keywords" content="indymedia,imc">
+ <meta name="description" content="indymedia,imc">
+ <meta http-equiv="expires" content="599">
+ <meta http-equiv="pragma" content="no-cache">
+ <style type="text/css">
+ body, h1, h2, h3, h4, h5, h6, p, li, dt, dd, div, td, blockquote, div, span
+ {font-family:'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;}
+ a {text-decoration:none;}
+ #searchfield {font-size: 12px; width:113px; height:16px; background-color:#aaaaaa;}
+ #searchselect {font-size: 12px; width:120px; height:22px; background-color:#aaaaaa;}
+ #searchbutton {font-size: 12px; width:120px; height:20px; background-color:#aaaaaa; text-align: right;}
+ </style>
+</head>
+
+<body bgcolor="#dddddd" marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" link="#003399" alink="#cc0033" vlink="#660033" >
+
+<table border="0" cellpadding="0" cellspacing="0" width="100%">
+ <tr>
+ <td bgcolor="#cc0033"><img src="${config["Producer.DocRoot"]}/img/logo.gif" width="120" height="120" alt="((i))"></td>
+ <td colspan="4" valign="top" background="${config["Producer.DocRoot"]}/img/background2.jpg">
+ <table cellpadding="4" cellspacing="0" border="0" width="100%" bgcolor="#cc0033"><tr><td>
+ <font color="#dddddd" size="-1"><b>
+ <a href="${config["Producer.DocRoot"]}/${language.code}/static/mission.shtml"><font color="#dddddd">${lang("general.menu.missionStatement")} >></font></a>
+ <a href="${config["Producer.DocRoot"]}/${language.code}/static/moderation.shtml"><font color="#dddddd">${lang("general.menu.moderation")} >></font></a>
+ <a href="${config["Producer.DocRoot"]}/${language.code}/static/support.shtml"><font color="#dddddd">${lang("general.menu.support")} >></font></a>
+ <a href="${config["Producer.DocRoot"]}/${language.code}/static/mailinglists.shtml"><font color="#dddddd">${lang("general.menu.mailinglists")} >></font></a>
+ <a href="${config["Producer.DocRoot"]}/${language.code}/static/participate.shtml"><font color="#dddddd">${lang("general.menu.participate")} >></font></a>
+ </b></font>
+ </td></tr></table>
+ <br>
+ <br>
+ <font color="#cc0033" size="+3"> <b><span id="indy">${config["Mir.Name"]}</span></b></font>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td colspan="3">
+ </td>
+ </tr>
+ <tr>
+ <td width="120"></td>
+ <td rowspan="100"> </td>
+ <td width="100%"> </td>
+ <td rowspan="100"> </td>
+ <td width="200"><img src="${config["Producer.DocRoot"]}/img/space.gif" alt="" width="200" height="1"></td>
+ </tr>
+
+ <tr>
+ <td valign="top">
+
+
+ <!--#include virtual="navigation.inc" -->
+
+
+ <table cellpadding="8" cellspacing="0" border="0" width="100%">
+ <tr>
+ <td bgcolor="#cc0033">
+ <b><font color="#dddddd" size="+1">${lang("startpage.imcs")}</font></b>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <font size="-1">
+ <include "cities.inc">
+ </font>
+ </td>
+ </tr>
+ </table>
+ <br>
+
+
+ </td>
+
+ <td valign="top" width="100%"><a name="features"></a>
+
+ <!-- breaking news -->
+ <if breakingnews && breakingnews[0].text!=".">
+ <table cellpadding="10" cellspacing="0" border="0" width="100%" bgcolor="#cccccc"><tr><td>
+ <font color="#cc0033" size="-1"><b>${lang("startpage.breakingnews")}</b></font> <font size="-2"><b>+++</b></font>
+ <assign stop="0">
+ <list breakingnews as bn>
+ <if bn.text=="."><assign stop="1"></if>
+ <if stop=="0">
+ <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>
+ </if>
+ </list>
+ </td></tr></table>
+ <br>
+ </if>
+ <!-- /breaking news -->
+
+ <!--- start-special --->
+ <list startspecial as ss>
+ <assign sorig=ss.to_original>
+ <if languagepreference>
+ <assign s=ss.to_translation(languagepreference)>
+ <else>
+ <assign s=ss>
+ </if>
+
+ <table width="100%" border="0" cellspacing="0" cellpadding="10" bgcolor="#eeeeee"><tr><td>
+ <p><font size="+2">
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${s.title}</b></a>
+ </font><br>
+ <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>
+ <p><font size="-1">
+ <if sorig.to_media_audio >
+ <img align="left" vspace="4" hspace="8"
+ src="${config["Producer.DocRoot"]}/img/${sorig.to_media_audio[0]["big_icon"]}">
+ </if>
+ <if sorig.to_media_video >
+ <img align="left" vspace="4" hspace="8"
+ src="${config["Producer.DocRoot"]}/img/${sorig.to_media_video[0]["big_icon"]}">
+ </if>
+ <if sorig.to_media_other >
+ <img align="left" vspace="4" hspace="8"
+ src="${config["Producer.DocRoot"]}/img/${sorig.to_media_other[0]["big_icon"]}">
+ </if>
+ <if sorig.to_media_images >
+ <img align="left" vspace="4" hspace="8"
+ src="${sorig.to_media_images[0]["icon_path"]}"
+ width="${sorig.to_media_images[0]["icon_width"]}"
+ height="${sorig.to_media_images[0]["icon_height"]}"
+ border=0 alt="${sorig.to_media_images[0]["title"]}">
+ </if>
+ ${s.description_parsed}
+ <br clear="all">
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml"><b>${lang("general.readmore")} >></b></a>
+ </font></p>
+
+ </td></tr></table>
+ </list>
+ <!--- /start-special --->
+
+
+ <!--- features ---> <comment></comment>
+ <list features as f>
+ <assign forig=f.to_original>
+ <if languagepreference>
+ <assign i=f.to_translation(languagepreference)>
+ <else>
+ <assign i=f>
+ </if>
+
+ <p><font size="+1">
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${i.title}</b></a>
+ </font><br>
+ <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>
+ <p><font size="-1">
+ <if forig.to_media_audio >
+ <img align="left" vspace="4" hspace="8"
+ src="${config["Producer.DocRoot"]}/img/${forig.to_media_audio[0]["big_icon"]}">
+ </if>
+ <if forig.to_media_video >
+ <img align="left" vspace="4" hspace="8"
+ src="${config["Producer.DocRoot"]}/img/${forig.to_media_video[0]["big_icon"]}">
+ </if>
+ <if forig.to_media_other >
+ <img align="left" vspace="4" hspace="8"
+ src="${config["Producer.DocRoot"]}/img/${forig.to_media_other[0]["big_icon"]}">
+ </if>
+ <if forig.to_media_images >
+ <img align="left" vspace="4" hspace="8"
+ src="${forig.to_media_images[0]["icon_path"]}"
+ width="${forig.to_media_images[0]["icon_width"]}"
+ height="${forig.to_media_images[0]["icon_height"]}"
+ border=0 alt="${forig.to_media_images[0]["title"]}">
+ </if>
+ ${i.description_parsed}
+ <br clear="all">
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><b>${lang("general.readmore")} >> >></b></a>
+ </font></p>
+
+ <br>
+ </list>
+ <!--- /features --->
+
+ </td>
+
+ <td valign="top">
+
+ <table cellpadding="8" cellspacing="0" border="0" width="100%">
+ <tr>
+ <td bgcolor="#cc0033">
+ <font size="+1" color="#dddddd"><b><a name="newswire">${lang("startpage.newswire")}</a></b></font>
</td>
- <td align="left" valign="top" colspan="2" height="100%">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td colspan="3">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top">
- <img src="/images/mirfont.gif" width="600" height="68">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr bgcolor="#000000">
- <td colspan="3" height="1"><img src="images/1pixel.gif" width="1" height="1"></td>
- </tr>
- <tr>
- <td align="left" valign="top">
- <table width="457" border="0" cellpadding="0" cellspacing="2" height="100%">
- <tr>
- <td width="457" valign="top">
- <!--- start-special --->
- <list startspecial as s>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <call showArticleAsFeature(s)>
-<comment>
- <h3>${s.title}</h3>
- <h4><i>${s.creator}, ${s.webdb_create_formatted}</i></h4>
- <p>
- <if s.to_media_audio >
- <img src="/img/${s.to_media_audio[0]["big_icon"]}">
- </if>
- <if s.to_media_video >
- <img src="/img/${s.to_media_video[0]["big_icon"]}">
- </if>
- <if s.to_media_other >
- <img src="/img/${s.to_media_other[0]["big_icon"]}">
- </if>
- <p>
- <if s.to_media_images >
- <img src="${s.to_media_images[0]["icon_path"]}"
- width="${s.to_media_images[0]["icon_width"]}"
- height="${s.to_media_images[0]["icon_height"]}"
- border=0 alt="${s.to_media_images[0]["title"]}">
- </if>
- ${s.description_parsed} </p>
- <p align="right">[<a href="${config["Producer.DocRoot"]}${s.publish_path}${s.id}.shtml">read</a>]</p>
-</comment>
- </td>
- </tr>
- </table>
- </list>
- <!--- /start-special --->
- <br>
- <!--- features --->
- <list features as i>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <call showArticleAsFeature(i)>
-<comment>
- <h3>${i.title}</h3>
- <h4><i>${i.creator}, ${i.webdb_create_formatted}</i></h4>
- <p>
- <if i.to_media_audio >
- <img src="/img/${i.to_media_audio[0]["big_icon"]}">
- </if>
- <if i.to_media_video >
- <img src="/img/${i.to_media_video[0]["big_icon"]}">
- </if>
- <if i.to_media_other >
- <img src="/img/${i.to_media_other[0]["big_icon"]}">
- </if>
- <p>
- <if i.to_media_images >
- <img src="${i.to_media_images[0]["icon_path"]}"
- width="${i.to_media_images[0]["icon_width"]}"
- height="${i.to_media_images[0]["icon_height"]}"
- border=0 alt="${i.to_media_images[0]["title"]}">
- </if>
- ${i.description_parsed} </p>
- <p align="right">[<a href="${config["Producer.DocRoot"]}${i.publish_path}${i.id}.shtml">read</a>]</p>
-</comment>
- </td>
- </tr>
- </table>
- <br>
- </list>
- <!--- /features --->
- </td>
- </tr>
- </table>
- </td>
- <td width=1 bgcolor="#000000">
- <img src="images/1pixel.gif" width="1" height="1">
- </td>
- <td width="150" bgcolor="#666666" valign="top" align="left">
- <table width="150" border="0" cellspacing="2" cellpadding="0">
- <tr>
- <td>
- <!-- newswire -->
- <p>
- <list newswire as n>
- <call showArticleAsNewswire(n)>
-<comment>
- <img alt=${n.to_media_icon["icon_alt"]} border="0" height="10"
- src="${n.to_media_icon["tiny_icon"]}" width="12">
- <a href="${config["Producer.DocRoot"]}${n.publish_path}${n.id}.shtml"><b>${n.title}</b></a><br>
- <font size="-2"><b></b>${n.webdb_create_formatted}</font>
- <br>
-</comment>
- <br>
- </list>
- <!-- /newswire -->
- </p>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
+ </tr>
+ <tr>
+ <td>
+
+ <!-- newswire -->
+ <font size="-1">
+ <list newswire as nn>
+ <assign norig=nn.to_original>
+ <if languagepreference>
+ <assign n=nn.to_translation(languagepreference)>
+ <else>
+ <assign n=nn>
+ </if>
+
+
+ <img src="${norig.to_media_icon.tiny_icon}" alt="${norig.to_media_icon.icon_alt}" height="10" width="12">
+ <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml">${n.title}</a>
+ <br>
+ <font size="-2">${n.creationdate.formatted["dd-MM-yyyy HH:mm"]}</font><br>
+ <br>
+ </list>
+ </font>
+ <!-- /newswire -->
+ <img src="/img/space.gif" width="184" height="1" border="0">
+
</td>
</tr>
</table>
- </body>
+ <br>
+
+
+ </td>
+ </tr>
+
+<!-- the rest -->
+ <tr><td colspan="5"> </td></tr>
+
+ <tr>
+ <td> </td>
+ <td valign="top">
+ <p>
+
+ </p>
+ </td>
+ <td> </td>
+ </tr>
+</table>
+</body>
</html>
+