custom article types made browsable from admin interface
[mir.git] / templates-dist / producer / startpage.template
index 4344770..f738c49 100755 (executable)
-<!DOCTYPE html PUBLIC "http://www.w3.org/TR/REC-html40">
-
-<html xmlns="http://www.w3.org/TR/REC-html40">
-
-   <head>
-
-      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
-   
-
-      <title>Indymedia Germany | ${now}</title>
-
-      <meta name="keywords" content=", freie medien, gegen&amp;ouml;ffentlichkeit, indymedia, seattle, imc, castor ">
-
-      <meta name="description" content="">
-
-      <meta name="dc:title" content="">
-
-      <meta name="dc:creator" content="">
-
-      <meta name="dc:subject" content="">
-
-      <meta name="dc:description" content="">
-
-      <meta name="dc:publisher" content="indymedia collective">
-
-      <meta name="dc:date" content="">
-
-      <meta name="dc:language" content="de">
-
-      <meta name="dc:coverage" content="">
-
-      <meta name="dc:rights" content="http://de.indymedia.org/rights.html">
-
-      <meta name="robots" href="http://de.indymedia.org/robots.txt">
-
-      <meta http-equiv="expires" content="599">
-
-      <link rel="stylesheet" type="text/css" href="/style/formate.css">
-
-         
-
-         <script language="JavaScript">
-
-               <!--
-
-               function WM_netscapeCssFix() {
-
-                if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth ||
-
-               document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
-
-                   document.location = document.location;
-
-                 }
-
-               }
-
-               function WM_netscapeCssFixCheckIn() {
-
-               if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion)== 4)) {
-
-               if (typeof document.WM == 'undefined'){
-
-               document.WM = new Object;
-
-               }
-
-               if (typeof document.WM.WM_scaleFont == 'undefined') {
-
-               document.WM.WM_netscapeCssFix = new Object;
-
-               document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
-
-               document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
-
-               }
-
-               window.onresize = WM_netscapeCssFix;
-
-                       }
-
-               }
-
-               WM_netscapeCssFixCheckIn()
-
-               // -->
-
-       </script>
-
-       
-
-       </head>
-
-   
-
-   <body bgcolor="white" text="black" link="#006600" vlink="#009900" alink="red">
-
-
-
-<!-- ######## Erste Zeile mit Links ######### -->
-
-
-
-      <table width="100%" cellspacing="0" cellpadding="0" border="0">
-
-         <tr>
-
-            <td>
-
-                       <font size="-1">
-
-                       <a href="static/ms.html">grundsatz</a> | 
-
-                       <a href="static/moderation.html">moderation</a> | 
-
-                       <a href="static/support.html">unterst&uuml;tzung</a> | 
-
-                       <a href="static/mailinglisten.html">mailinglisten</a>
-
-                       </font>
-
-                       </td>
-
-            <td align="right">
-
-                       <font size="-1">
-
-            [<a href="http://fets3.freetranslation.com:5081/?Sequence=core&Language=German%2FEnglish&Url=${config.productionhost}/index.html">translate</a>]
-
-            </font>
-
-                       </td>
-
-         </tr>
-
+<html>
+<head>
+<title>${lang("producer.startpage.htmltitle")}</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+<link rel="stylesheet" href="/style/mir.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>
-
-
-
-<!-- ######### Kopf ######### -->
-
-
-
-      <table border="0" cellPadding="0" cellSpacing="0" width="99%">
-
-         <tr>
-
-            <td width="145"><img alt="[indymedia.de]" border="0" height="177" src="img/head_left_logo.gif" width="145"></td>
-
-            <td background="/img/h_slice.gif" height="96" valign="top"><img alt="Unabhaengiges Mediezentrum" border="0" height="96" src="img/h_m.gif" width="401"><br><img align="left" alt="" border="0" height="70" src="img/sp.gif" width="10"><font color="#663399" size="-1">
-
-            Indymedia ist unabh&auml;ngige nichtkommerzielle Berichterstattung von unten &uuml;ber wichtige soziale und politische Themen vor
-
-            Ort und weltweit. Hunderte von Medieninitiativen und AktivistInnen sind daran beteiligt. Indymedia ist ein internationales
-
-            hierarchiefreies Netzwerk und versteht sich als Teil des weltweiten Widerstands gegen die kapitalistische Globalisierung.
-
-            </font></td>
-
-            <td valign="top" width="93"><img alt="" border="0" height="177" src="img/h_r.gif" width="93"></td>
-
-         </tr>
-
-      </table>
-
-<!-- ######### Ende Kopf ######### -->
-
-
-
-
-
-      <table border="0" cellPadding="8" cellSpacing="2" width="99%">
-
-         <tbody>
-
-            <tr>
-
-<!-- ######## Linke Spalte ######### -->
-
-
-
-               <td bgcolor="#dddddd" vAlign="top" width="130">
-
-                  <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td align="middle"><font size="-1"><b>${now}</b></font></td>
-
-                        </tr>
-
-                     </tbody>
-
-                  </table><br>
-                 <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td><font size="-2"><b>SUCHE</b></font></td>
-
-                        </tr>
-
-                     </tbody>
-
-                  </table>
-
-                  <form action="http://search.indymedia.de/cgi-bin/htsearch" method="get">
-                 <input type="hidden" name="config" value="indy2">
-                 <input name="words" size="14"><br>
-                 <input type="submit" value="suchen">
-                 </form>
-
-
-<!-- ######### Themenliste ######### -->                                 
-
-
-
-                  <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td><font size="-2"><b>THEMEN</b></font></td>
-
-                        </tr>
-
-                     </tbody>
-
-                  </table>
-                               <!-- beginn themenliste-->
-
-                               <list topics as t>
-
-                               <br><font size="-1"><a href="/${t.filename}.html"><b>${t.title}</b></a></font>
-
-                               </list>
-
-                               <br><br>
-
-                               <!--ende themenliste-->
-
-
-
-                                 
-
-               <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                       <tbody>
-
-                               <tr>
-
-                                  <td bgcolor="silver"><font size="-2"><b>&Uuml;BERSETZEN</b></font></td>
-
-                               </tr>
-
-                       </tbody>
-               </table>
-               <p>
-               <font size="-1">
-
-               <a href="http://fets3.freetranslation.com:5081/?Sequence=core&Language=German%2FEnglish&Url=${config.productionhost}/index.html">translate</a>
-
-                </font>
-               </p>
-
-
-<!-- ######### Links ######### -->
-               <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                       <tbody>
-
-                               <tr>
-
-                                       <td>
-                                       <font size="-2">
-                                       <b>MEHR MELDUNGEN<br>    ANDERSWO</b>
-                                       </font>
-                                       </td>
-
-                               </tr>
-
-                       </tbody>
-
-               </table>
-               <br>
-               <font size="-1">
-               <include "producer/links.inc">
-               </font>
-               <br>
-               
-<!-- ########## Andere IMCs ######### -->
-               <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                       <tbody>
-
-                               <tr>
-
-                                       <td><font size="-2">
-                                       <b>INDEPENDENT</b><br><b>MEDIA CENTERS</b>
-                                       </font>
-                                       </td>
-
-                               </tr>
-
-                       </tbody>
-
-               </table>
-
-               <font size="-1">
-               <include "producer/cities_de.inc"> 
-               </font>
-               <br>
-                 
-               <table bgcolor="silver" width="100%">
-                       <tbody>
-
-                               <tr>
-
-                                       <td>
-                                       <font size="-2">
-                                       <b>GEF&Ouml;RDERT VON</b></font>
-                                       </td>
-
-                               </tr>
-
-                       </tbody>
-
-               </table>
-               <font size="-1">
-Netzwerk Selbsthilfe e.V.
-</font>
-               <br>
-               <a href="http://www.netzwerk-selbsthilfe.de/" target="_blank">
-               <img src="/img/schw.gif" border="0">
-               </a>
-               
-               
-               
-               </td>
-
-
-
-<!-- ########## Mittelspalte ab hier ############ -->   
-
-                  <td valign="top">
-<!-- ########## Spendenaufruf ################## -->
-<table border="0" width="100%" cellpadding="2" cellspacing="2">
-<tr bgcolor="#663399">
-       <td><font color="white"><b>INDYMEDIA HAT FINANZPROBLEME</b></font></td>
-</tr>
-<tr bgcolor="silver">
-       <td><font size="-1">
-       Seit &uuml;ber einem halben Jahr ist Indymedia.de nun aktiv. Und wir haben seitdem die 
-       (linke) Medienlandschaft in der BRD um einiges ge&auml;ndert - und das ist auch gut so. Damit das auch in 
-       Zukunft weiterhin m&ouml;glich ist und Indymedia weiter arbeiten kann, brauchen wir Eure finanzielle 
-       Unterst&uuml;tzung. Und zwar m&ouml;glichst regelm&auml;ssig. <br>
-       <b>Also spendet, richtet Dauerauftr&auml;ge ein, macht Soliparties.</b><br>
-       Konto: 30 23 301 bei der Bank f&uuml;r Sozialwirtschaft (BLZ 100 205 00), Stichwort "Indymedia", 
-       Empf&auml;nger "F&ouml;rderverein".
-       </font></td>
-</tr>
-
-</table>
-
-
-
-<!-- ########## Breaking News ################### --> 
-               <if breaking && breaking[0].text!=".">
-                       <table border="0" cellpadding="2" cellpacing="0" width="100%">
-                       <tr bgcolor="#663399">
-                               <td><font color="white"><b>BREAKING NEWS</b></font></td>
-                       </tr>
-                       <tr bgcolor="silver">
-                               <td>
-                               <font size="-1">
-                               <list breaking as bn>
-                               <font color="red">${bn.webdb_create_formatted}:</font> ${bn.text} +++ 
-                               </list>
-                               </font>
-                               </td>
-                       </tr>
-                       </table>
-                       <br>
-               </if>
-
-<!-- ######### Ab hier Spezial ############# -->
-
-
-               <list start as s>
-
-                  <table border="0" cellpadding="3" cellspacing="0" width="100%">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td bgcolor="#663399" colspan="2"><font color="white" size="+2"><strong>${s.title}</strong></font></td>
-
-                        </tr>
-
-                        <tr>
-
-                           <td bgcolor="#dddddd"><font size="-1">${s.creator}</font></td>
-
-                           <td align="right" bgcolor="#dddddd">
-
-                                                  <font size="-1">
-
-                            <nobr>${s.webdb_create_formatted}</nobr>
-
-                                                       </font>
-
-                                                       </td>
-
-                        </tr>
-
-                     </tbody>
-
-                  </table>
-
-                                 <p>
-
-                                 <if images[s.to_media] && images[s.to_media]["is_published"]=="1"> 
-
-                                 <img src="${images[s.to_media]["icon_path"]}" width="${images[s.to_media]["icon_width"]}" height="${images[s.to_media]["icon_height"]}" alt="" align="left" vspace="8" hspace="8">
-
-                                 </if>
-
-                                 <font size="-1">
-
-                               ${s.description}
-
-                                 </p>
-
-                                 <b>[ <a href="${producerDocRoot}${s.publish_path}${s.id}.html">den ganzen Artikel lesen</a> ]</b><br clear="all"><br></font>
-
-                                 </list>
-
-<!-- #########  Spezial bis hier ######## -->
-
-
-
-<!-- #########  ein Feature ######## -->
-
-
-
-                               <list items as i>
-
-                  <table border="0" cellpadding="3" cellspacing="0" width="100%">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td bgcolor="#663399" colspan="2"><font color="white" size="+1">${i.title}</font></td>
-
-                        </tr>
-
-                        <tr>
-
-                           <td bgcolor="#dddddd"><font size="-1">${i.creator}</font></td>
-
-                           <td align="right" bgcolor="#dddddd"><font size="-1">
-
-                                 <nobr>${i.webdb_create_formatted}</nobr></font></td>
-
-                        </tr>
-
-                        <tr>
-
-                           <td colspan="2"><br><font size="-1"> 
-
-                                                       <if images[i.to_media] && images[i.to_media]["is_published"]=="1"> 
-
-                                                       <img src="${images[i.to_media]["icon_path"]}" width="${images[i.to_media]["icon_width"]}" height="${images[i.to_media]["icon_height"]}" alt="" align="left" vspace="8" hspace="8">
-
-                                                       </if>
-
-                                                       ${i.description}
-
-                                                       <br>
-                                                       <br>
-
-                                                       <b>[ <a href="${i.publish_path}${i.id}.html">den ganzen Artikel lesen</a> ]</b><br clear="all"><br></font></td>
-
-                        </tr>
-
-                     </tbody>
-
+    </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 data.startspecial as s> 
+                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
+                    <tr> 
+                      <td> 
+                        <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.producerDocRoot}${s.publish_path}${s.id}.shtml">read</a>]</p>
+                      </td>
+                    </tr>
                   </table>
-
-                  </list>
-
-
-
-<!-- ########### Feature bis hier ########### -->
-
-
-
-                               <include "producer/copyright.template">
-
-
-
-               </td>
-
-
-
-<!-- ########  Rechte Spalte ######### -->
-
-
-
-
-
-               <td bgcolor="#dddddd" valign="top" width="160">
-
-              
-<!-- ######## Upcoming Events ############# --->               
-               <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                       <tbody>
-
-                               <tr>
-
-                                       <td><font size="-2">
-                                       <b>UPCOMING EVENTS</b>
-                                       </font>
-                                       </td>
-
-                               </tr>
-
-                       </tbody>
-
-               </table>
-
-               <font size="-1">
-               <include "producer/events.inc"> 
-               </font>
-               <br>
-<!-- ######## Ende Upcoming Events ############# --->          
-               
-                  <table width="100%" bgcolor="silver" border="0" cellspacing="0" cellpadding="2">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td><font size="-2"><b>MITMACHEN</b></font></td>
-
-                        </tr>
-
-                        </td>
-                       </tbody>
-               </table>
-                <a href="http://admin.indymedia.de/admin/servlet/OpenIndy?do=addposting">
-
-               <p>
-               <b>PUBLIZIEREN</b></a><br><font size="-1">
-
-               Ver&ouml;ffentliche Deinen Text, Dein Bild oder Video oder Audio. Direkt aus Deinem Browser!
-
-               </p><br>
-               </font>
-               
-                  <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                     <tbody>
-
-                        <tr>
-
-                           <td><font size="-2"><b>BEITR&Auml;GE</b><br>
-
-                                               BEI DE.INDYMEDIA.ORG 
-
-                            </font></td>
-
-                        </tr>
-
-                     </tbody>
-
+                  </list> 
+                 <!--- start-special ---> 
+                 <br>
+                  <!--- features ---> 
+                 <list data.features as i> 
+                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
+                    <tr> 
+                      <td> 
+                        <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.producerDocRoot}${i.publish_path}${i.id}.shtml">read</a>]</p>
+                      </td>
+                    </tr>
                   </table>
-                 <p>
-                 <a href="/open.html"><b>ALLE BEITR&Auml;GE</b></a>
-                 </p>
-                 
-                 <table bgcolor="silver" width="100%" border="0" cellspacing="0" cellpadding="2">
-
-                     <tr>
-
-                        <td><font size="-2"><b>AUSGEW&Auml;HLTE BEITR&Auml;GE</b></font></td>
-
-                     </tr>
-
-                  </table><br>
-
-                                 
-
-<!-- ######### Newswire ######### -->                            
-
-                               <list newswire as n>  
-
-                               <img alt="[Text]" border="0" height="10" src="/img/text_small.gif" width="12"> 
-
-                               <font size="-1">
-
-                               <a href="${producerDocRoot}${n.publish_path}${n.id}.html"><b>${n.title}</b></a><br>
-
-                               </font>
-
-                               <font size="-2"><b></b>${n.webdb_create_formatted}</font><br><br>
-                               </list>
-
-                               
-
-                               
-
-                               </td>
-
-            </tr>
-
-         </tbody>
-
+                  <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 data.newswire as n>
+                   <img alt=${n.to_media_icon["icon_alt"]} border="0" height="10"
+src="${n.to_media_icon["tiny_icon"]}" width="12"> 
+                    <a href="${config.producerDocRoot}${n.publish_path}${n.id}.shtml"><b>${n.title}</b></a><br>
+                    <font size="-2"><b></b>${n.webdb_create_formatted}</font><br>
+                    <br>
+                    </list> 
+                   <!-- newswire -->
+                  </p>
+                </td>
+              </tr>
+            </table>
+          </td>
+        </tr>
       </table>
-
-   </body>
-
+    </td>
+  </tr>
+</table>
+</body>
 </html>