changed fpincludes and then put place holder for include on startpage
[nyc.indymedia.org.git] / etc / producer / startpage.template
1 <comment>
2   Template file for the front page.  
3   - all paths relative to /
4   - no complicated freemarker code
5 </comment><!DOCTYPE HTML PUBLIC 
6    "-//W3C//DTD HTML 4.01 Transitional//EN" 
7    "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   <link rel="stylesheet" type="text/css" href="http://sarai.indymedia.org/~patrick/mir.nyc/css/main.css" />
17 </head>
18            
19 <body>
20
21 <div class="subsiteLinks">
22 <table cellspacing="0" cellpadding="0" border="0">
23    <tr>
24       <td class="subsites">
25          <ul>
26                 <li><a href="/audio/">Audio</a></li>
27                 <li><a href="/photo/">Photo</a></li>
28                 <li><a href="/print/">Print</a></li>
29                 <li><a href="/video/">Video</a></li>
30                 <li><a href="/">Web</a></li>
31          </ul>
32       </td>
33       <td class="i18n" nowrap="nowrap">
34          <a href="/en/">English</a>&nbsp;|
35          <a href="/es/">Espa&ntilde;ol</a>
36       </td>
37    </tr>
38 </table>
39 </div>
40 <div class="subsiteLinks" style="background-color: #fff">
41 <table id="boroughs" cellspacing="0" cellpadding="0" border="0">
42    <tr>
43       <td class="subsites">
44          <ul>
45                 <li><a href="/print/">City &#38; Staten</a></li>
46                 <li><a href="/audio/">Brooklyn</a></li>
47                 <li><a href="/video/">Bronx</a></li>
48                 <li><a href="/photo/">Queens</a></li>
49          </ul>
50       </td>
51       <td style="text-align: right;">
52          <a href="#" style="padding-right: 0px;">Text version</a>
53       </td>
54    </tr>
55 </table>
56 </div>
57
58 <table class="logo" cellspacing="0" cellpadding="0" border="0">
59    <tr>
60       <td class="placeHolder">
61 this is a draft<br />
62          <h3>
63             New York City Indymedia
64          </h3>
65 <div style="font-size: 95%; font-variant: small-caps; letter-spacing: 3px;">A free network of <a href="http://www.cat.org.au/maffew/cat/openpub.html">Open Publishing</a></div>
66       </td>
67    </tr>
68 </table>
69
70 <table class="main" cellspacing="0" cellpadding="0" border="0">
71    <tr valign="top">
72       <td class="margin"><div>&#160;</div></td>
73       <td class="leftColumn"><!-- 
74       begin left column
75       -->
76
77
78
79
80 <ul class="leftNav">
81    <li><a href="#" class="navHeader" id="selected">Home</a></li>
82 </ul>
83
84
85 <a href="#" class="navHeader">Latest News</a>
86  
87 <!--#include virtual="/topiccount.shtml" -->
88
89      <ul class="leftNav">
90         <li><a href="#">Newswire</a> 
91             <ul>
92                <li><a href="#">By Category</a></li>
93                <li><a href="#">Local Newswire</a></li>
94                <li><a href="#">Global Newswire</a></li>
95                <li><a href="#">Advanced Search</a></li>
96             </ul>
97          </li>
98         <li><a href="#">Open Publishing</a>
99             <ul>
100                 <li><a href="#">publish your news</a></li>
101                 <li><a href="#">Editorial guidelines</a></li>
102                 <li><a href="#">Open Publishing Guide</a></li>
103                 </ul>
104          </li>
105         <li><a href="#">Indymedia NYC</a>
106             <ul>
107                 <li><a href="#">Contact Us</a></li>
108                 <li><a href="#">Get Involved</a></li>
109                 <li><a href="#">Working Groups</a></li>
110                 </ul>
111          </li>
112         <li><a href="#">Indymedia Network</a>
113             <ul>
114                 <li><a href="#">about indymedia</a></li>
115                 <li><a href="#">Frequent questions</a></li>
116                 <li><a href="#">how to get involved</a></li>
117                 </ul>
118          </li>
119       </ul>
120       <div class="cities">
121          <p class="title">
122             Global Network
123          </p>
124          <p>
125             <a href="http://www.indymedia.org/">www.indymedia.org</a>
126          </p>
127          <p class="title">
128             Africa
129          </p>
130          <p>
131             <a href="http://nigeria.indymedia.org/">nigeria</a><br />
132             <a href="http://southafrica.indymedia.org/">south africa</a>
133          </p>         
134          <p class="title">
135             Europe
136          </p>
137          <p>
138             <a href="http://athens.indymedia.org/">athens</a><br />
139             <a href="http://austria.indymedia.org/">austria</a><br />
140             <a href="http://barcelona.indymedia.org/">barcelona</a><br />
141             <a href="http://belgium.indymedia.org/">belgium</a><br />
142             <a href="#" class="citiesMore">more...</a>
143          </p>
144          <p class="title">
145             Canada
146          </p>
147          <p>
148             <a href="http://alberta.indymedia.org/">alberta</a><br />
149             <a href="http://hamilton.indymedia.org/">hamilton</a><br />
150             <a href="http://maritimes.indymedia.org/">maritimes</a><br />
151             <a href="http://montreal.indymedia.org/">montreal</a><br />
152             <a href="#" class="citiesMore">more...</a>
153          </p>         
154          <p class="title">
155             Latin America
156          </p>
157          <p>
158             <a href="http://argentina.indymedia.org/">argentina</a><br />
159             <a href="http://bolivia.indymedia.org/">bolivia</a><br />
160             <a href="http://brasil.indymedia.org/">brasil</a><br />
161             <a href="http://chiapas.indymedia.org/">chiapas</a><br />
162             <a href="#" class="citiesMore">more...</a>
163          </p>         
164          <p class="title">
165             Pacific
166          </p>
167          <p>
168             <a href="http://adelaide.indymedia.org/">adelaide</a><br />
169             <a href="http://www.indymedia.org.nz/">aotearoa</a><br />
170             <a href="http://brisbane.indymedia.org/">brisbane</a><br />
171             <a href="http://jakarta.indymedia.org/">jakarta</a><br />
172             <a href="#" class="citiesMore">more...</a>
173          </p>         
174          <p class="title">
175             South Asia
176          </p>
177          <p>
178             <a href="http://india.indymedia.org/">india</a><br />
179             <a href="http://mumbai.indymedia.org/">mumbai</a>
180          </p>         
181          <p class="title">
182             United States
183          </p>
184          <p>
185             <a href="http://arizona.indymedia.org/">arizona</a><br />
186             <a href="http://atlanta.indymedia.org/">atlanta</a><br />
187             <a href="http://austin.indymedia.org/">austin</a><br />
188             <a href="http://baltimore.indymedia.org/">baltimore</a><br />
189             <a href="#" class="citiesMore">more...</a>
190          </p>         
191          <p class="title">
192             West Asia
193          </p>
194          <p>
195             <a href="http://indymedia.org.il/">israel</a><br />
196             <a href="http://jerusalem.indymedia.org/">palestine</a>
197          </p>         
198          <p class="title">
199             Process
200          </p>
201          <p>
202             <a href="http://global.indymedia.org/">discussion</a><br />
203             <a href="http://www.indymedia.org/fbi/">fbi/legal updates</a><br />
204             <a href="http://process.indymedia.org/faq.php3">indymedia faq</a><br />
205             <a href="http://lists.indymedia.org/">mailing lists</a><br />
206             <a href="#" class="citiesMore">more...</a>
207          </p>         
208          <p class="title">
209             Projects
210          </p>
211          <p>
212             <a href="http://climate.indymedia.org/">climate</a><br />
213             <a href="http://print.indymedia.org/">print</a><br />
214             <a href="http://radio.indymedia.org/">radio</a><br />
215             <a href="http://satellite.indymedia.org/">satellite tv</a><br />
216             <a href="#" class="citiesMore">more...</a>
217          </p>
218          <div class="credits">      
219             <p class="title">
220                Credits
221             </p>
222             <p>
223                <a href="http://mir.indymedia.org/">mir.indymedia.org</a><br />
224                <a href="#">imc tech</a><br />
225                <a href="https://barcelona.indymedia.org/nyc/servlet/Mir">admin</a>
226             </p>         
227          </div>
228       </div><!-- 
229       end left column
230       --></td>
231       <td class="margin"><div>&#160;</div></td>
232       <td class="centerColumn"><!-- 
233       begin center column
234       --><div class="centerColumn">
235       <table cellspacing="0" cellpadding="0" border="0">
236          <tr valign="top">
237             <td>
238                <comment>
239                begin breaking news
240                </comment>
241                <if breakingnews && breakingnews[0].text!=".">
242                   <p class="breakingNews">
243                      <b class="title">${lang("startpage.breakingnews")}</b>
244                      <assign stop="0">
245                      <list breakingnews as bn>
246                        <if bn.text=="."><assign stop="1"></if>
247                        <if stop=="0">
248                            ${bn.creationdate.formatted["dd-MM-yyyy HH:mm"]}:
249                            ${bn.text}
250                        </if>
251                      </list>
252                   </p>
253                </if>
254                <comment>
255                end breaking news
256                begin features
257                </comment>
258                <list features as f>
259                   <assign forig=f.to_original>
260                      <if languagepreference>
261                         <assign i=f.to_translation(languagepreference)>
262                      <else>
263                         <assign i=f>
264                      </if>
265                      <div class="items">
266                         <ul>
267                            <li>
268                               <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" class="headline">${i.title}</a>
269                               <ul>
270                                  <li>
271                                     ${i.description_parsed}
272                                     <small>
273                                     <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" class="headlineLink">FULL&#160;STORY<!-- ${lang("general.readmore")} --></a>&#160; 
274                   <a style="text-deocration: none;">${i.commentcount} comment(s)</a><br />
275                                     ${lang("general.authoredby")} ${forig.creator}<br /></small>
276                                  </li>
277                               </ul>
278                            </li> 
279                         </ul>
280                </list>
281                <comment>
282                end features
283                </comment>
284                <small class="publish">
285                   <a href="#">More</a>&#160;|
286                   <a href="#">Publish News</a>
287                </small>
288                <div class="topics">
289 ed. note: most discussed stories testing
290
291
292 <list mostcomments as mc>
293                   <table class="topicTeaser" cellspacing="0" cellpadding="0" border="0">
294                      <tr>
295                         <td class="icon">
296                            <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/palestine.01.gif" border="0" /></a>
297                         </td>
298                         <td class="link">
299                            <a href="#" class="teaserLink">palestine</a>
300                            <a href="${config["Producer.DocRoot"]}/${language.code}/${mc.date.formatted["yyyy'/'MM"]}/${mc.id}.shtml">${mc.title}</a> <small>
301                            <a style="text-deocration: none; font-size: 110%;">${mc.commentcount} Comments</a><br /></small>
302                         </td>
303                      </tr>
304                   </table>
305 </list>
306
307                                 <!--
308
309                      <tr>
310                         <td class="icon">
311                            <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/zapatista.02.gif" border="0" /></a>
312                         </td>
313                         <td class="link">
314                      <a href="#" class="teaserLink">zapatista</a> 
315                      <a href="#">Israel Defense Forces Committing Massacre in Rafah...</a>&#160; <small>
316                      <a style="text-deocration: none; font-size: 110%;">80&#160;Comments</a><br /></small>
317                         </td>
318                      </tr>
319                   </table>
320                   <table class="topicTeaser" cellspacing="0" cellpadding="0" border="0">
321                      <tr>
322                         <td class="icon">
323                            <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/palestine.01.gif" border="0" /></a>
324                         </td>
325                         <td class="link">
326                            <a href="#" class="teaserLink">palestine</a>
327                            <a href="#">Bay Area Defends Local Family Facing Deportation...</a>&#160; <small>
328                            <a style="text-deocration: none; font-size: 110%;">65&#160;Comments</a><br /></small>
329                         </td>
330                      </tr>
331                   </table>
332                   <table class="topicTeaser" cellspacing="0" cellpadding="0" border="0">
333                      <tr>
334                         <td class="icon">
335                            <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/class_war.02.gif" border="0" /></a>
336                         </td>
337                         <td class="link">
338                            <a href="#" class="teaserLink">class</a> 
339                            <a href="#">Heated Sidewalks Melt Madison Ave; Mott Haven Freezes</a>&#160; <small>
340                            <a style="text-deocration: none; font-size: 110%;">32&#160;Comments</a><br /></small>
341                         </td>
342                      </tr>
343                   </table>
344         -->
345                   <small class="publish">
346                      <a href="#">more</a>&#160;|
347                      <a href="#">publish news</a>
348                   </small>
349 `                       </div>
350             </div><!-- 
351             end center column
352             --></td>
353             <td class="margin" id="centerLeft"><div>&#160;</div></td>
354             <td class="centerRightColumn"><!-- 
355             begin center right column
356             --><div class="centerRightColumn">
357                 
358                 <!--#include virtual="/fpincludes/1905.inc" -->
359                 
360 <!--
361                <a href="#"><img src="BLAHhttp://sarai.indymedia.org/~patrick/mir.nyc/img/penny_drive.jpg" width="200" height="300" class="headlineImage" alt="" border="0" /></a>
362                <p class="caption">
363                   <small>This is a picture of a black child. However, as predominantly white activist-led 
364                   organization, we will exercise caution to not appropriate people of color imagery.</small>
365                </p>
366
367 -->
368                <list startspecial as ss>
369                   <assign sorig=ss.to_original>
370                      <if languagepreference>
371                         <assign s=ss.to_translation(languagepreference)>
372                      <else>
373                         <assign s=ss>
374                      </if>
375                      <p class="subFeatures">
376                         <b><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml">${s.title}</a></b>
377                         <p>
378                            ${s.description_parsed}
379                            <small><a href="${config["Producer.DocRoot"]}/${language.code}/${s.date.formatted["yyyy'/'MM"]}/${s.id}.shtml" class="headlineLink">FULL&#160;STORY</a></small>
380                         </p>
381                      </p>
382                </list>
383                <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/truth_tape.jpg" class="headlineImage" style="margin: 15px 0px 0px 0px;" width="200" height="60" alt="" border="0" /></a>
384                <p>
385                   <small>Obligatory protestor, before lunch at Angelicas.</small>
386                </p>
387             </td>
388          </tr>
389       </table>
390
391       <table class="newswireCategories" cellspacing="0" cellpadding="0" border="0">
392          <tr valign="top">
393             <td class="first">
394                <b>Local</b>
395                <ul>
396                   <li><a href="#">Mass Action and Autonomous Action in the Election Year: An analysis of the successes</a></li> 
397                   <li><a href="#">The NYC District Attorney Makes the Campaign Against Critical Mass Personal</a></li> 
398                   <li><a href="#">Recycle This! to Host Electronics Recycling Day in Brooklyn, April 3</a></li> 
399                   <li><a href="#">The Real Face of Occupation Plays at Vox Pop</a></li> 
400                </ul>
401                <small class="publish">
402                   <a href="#">more</a>&#160;|
403                   <a href="#">publish news</a>
404                </small>
405
406             </td>
407             <td>
408                <b>Events</b>
409       <table class="events" cellspacing="0" cellpadding="0" border="0">
410          <tr valign="top">
411             <td colspan="2">
412                <a href="#" class="nav">Today's Events</a>
413                <small class="date">Mar 26 '05</small>
414             </td>
415          </tr>
416          <tr valign="top">
417             <th>12pm</th>
418             <td>
419                <div>
420                   <a href="#">Action on 42nd ST</a>, <a href="#">Action on 34th ST</a>
421                </div>
422             </td>
423          </tr>
424          <tr valign="top">
425             <th>4pm</th>
426             <td>
427                <div>
428                   <a href="#">noRNC Meeting</a>, <a href="#">NoOneIsIllegal Meeting</a>, 
429                   <a href="#">Party Fundraiser</a>, <a href="#">Some Other Meeting</a>, 
430                   <a href="#">Really Really Long Sentence Really Really Long Sentence</a>
431                </div>
432             </td>
433          </tr>
434          <tr valign="top">
435             <th>7pm</th>
436             <td>
437                <div>
438                   <a href="#">XYZ Meeting</a>, <a href="#">Movie: ABC...</a>
439                </div>
440             </td>
441          </tr>
442       </table>
443             </td>
444          </tr>
445          <tr valign="top">
446             <td class="first">
447                 <!--#include virtual="/fpincludes/random1.inc" -->
448
449             <!--
450             
451                <b>Global</b>
452                <ul>
453                   <li><a href="#">Register NOW! 2nd Annual NYC Grassroots Media Conference April 9-10, 2005</a></li> 
454                   <li><a href="#">Over 75 Reports of Protests on M 19</a></li> 
455                   <li><a href="#">Local Composers’ “Concert for Peace” Part of a Global Grassroots Collaboration</a></li> 
456                   <li><a href="#">FAIR/CounterSpin's Clear Channel Radio Link</a></li> 
457                </ul>
458                <small class="publish">
459                   <a href="#">more</a>&#160;|
460                   <a href="#">publish news</a>
461                </small>
462                -->
463             </td>
464             <td>
465                 <!--#include virtual="/fpincludes/random2.inc" -->
466             
467             
468             <!--
469              <b>Analysis</b>
470                <ul>
471                   <li><a href="#">The Face of Protest is A Changin'</a></li> 
472                   <li><a href="#">Local Organization Launches Financial Justice Blog</a></li> 
473                   <li><a href="#">Saving Schiavo While Burying the Real News</a></li> 
474                   <li><a href="#">HANDS OFF JUANITA YOUNG - DROP THE CHARGES NOW!</a></li> 
475                </ul>
476                <small class="publish">
477                   <a href="#">more</a>&#160;|
478                   <a href="#">publish news</a>
479                </small>
480                
481                -->
482             </td>
483          </tr>
484          <tr valign="top">
485             <td class="first">  
486                <!--#include virtual="/fpincludes/random3.inc" -->
487
488             <!--
489                <b>Local</b>
490                <ul>
491                   <li><a href="#">Photos of Marchers on 125th St and on Malclom X Blvd.</a></li> 
492                   <li><a href="#">Where to Find The Indypendent</a></li> 
493                   <li><a href="#">Photos Of Speakers And The People In Harlem Protesting Against The War</a></li> 
494                   <li><a href="#">Demo in New Paltz riles young republicans</a></li> 
495                </ul>
496                <small class="publish">
497                   <a href="#">more</a>&#160;|
498                   <a href="#">publish news</a>
499                </small>
500                -->
501             </td>
502             <td>
503                         <!--#include virtual="/fpincludes/random4.inc" -->
504
505                 <!--
506                <b>Who Knows</b>
507                <ul>
508                   <li><a href="#">The Face of Protest is A Changin'</a></li> 
509                   <li><a href="#">Local Organization Launches Financial Justice Blog</a></li> 
510                   <li><a href="#">Images: Artists for Peace Concert</a></li> 
511                   <li><a href="#">NJ Anti-Capitalist Anti-Authoritarian Gathering</a></li> 
512                </ul>
513                <small class="publish">
514                   <a href="#">more</a>&#160;|
515                   <a href="#">publish news</a>
516                </small>
517                -->
518                
519             </td>
520          </tr>
521       </table>
522       </div><!-- 
523       end center column
524       --></td>
525       <td class="margin" id="centerRight"><div>&#160;</div></td>
526       <td class="rightColumn"><!-- 
527       begin right column
528       --><div class="rightColumn">
529    
530
531 <div class="openPublishing">
532    <div class="wrap">
533       <p class="title">
534          <b><a href="#">Publish Your News</a></b>
535       </p>
536       <p>
537          Upload <!-- your news &#8211;  -->articles, audio, video,  and photos.<!-- &#160; <i>BE THE MEDIA</i> -->
538      <!--  <small class="publish"><a href="#">Click here to publish</a></small> -->
539 </p>
540 <p style="text-align: center;">
541 How to <a href="#">Open Publish</a>
542 </p>
543    </div>
544
545
546 <form class="publish" id="" name="" action="">
547    <input type="submit" class="submit" id="" style="width: 100%;" name="" value="publish your news" tabindex="1" />
548 </form>
549
550 </div>
551
552          <div class="newswireSort" style="margin: 0px 0px 15px 0px;">
553             <b><a href="#">Newswire</a></b><br />
554             <a href="/${language.code}/" style="text-transform: lowercase;">Local</a>&#160;|
555             <a href="#" style="text-transform: lowercase;">Global</a>&#160;|
556             <a href="?category" style="text-transform: lowercase;">Category</a><br />
557             <!-- #if expr="\"$DOCUMENT_URI\" = /?category/" 
558             --><!-- #include virtual="/${language.code}/languagebar.shtml"
559             --><!-- #else
560             --><!-- #include virtual="/${language.code}/newswireinclude.shtml"
561             --><!-- #endif
562             --><small class="publish" style="text-align: left; diplay: block; margin: 3px 0px 0px 0px;">
563                <a href="#" style="text-decoration: underline;">publish news</a>
564             </small>
565          </div>
566          <!-- <iframe name="shazbot" id="shazbot" src="/${language.code}/newswireinclude.shtml" frameborder="0" style="overflow: hidden;"></iframe> -->
567
568
569                 <!--#if expr="\"$QUERY_STRING\" = /category/" -->
570                 <!--#include virtual="/${language.code}/rssnewswireinclude.shtml" -->
571                 <!--#else -->
572                 <b><!--#echo var="QUERY_STRING" --></b>
573                 <!--#include virtual="/${language.code}/newswireinclude.shtml" -->              
574                 <!--#endif -->
575
576
577                 
578
579
580                  
581
582                  
583                  
584          <small class="publish" style="text-align: left; margin: 15px 0px 0px 0px;"><a href="#">publish news</a></small>
585       </div><!-- 
586       end right column
587       --></td>
588       <td class="margin"><div>&#160;</div></td>
589    </tr>
590 </table>
591 <div class="copyleft">
592    <small>
593       <a href="#">copyLeft</a>&#160;|
594       <a href="javascript:var e1='%6e%79c%2e&#105;n%64&#121;%6de&#100;&#105;%61&#046;o%72&#103;',e2='&#109;&#097;&#105;&#108;&#116;&#111;&#058;%20', e3='&#105;%6e%66%6f';var e0=e2+e3+'@'+e1;(window.location?window.location.replace(e0):document.write(e0));">&#105;&#110;&#102;&#111;&#064;&#110;&#121;&#099;&#046;&#105;&#110;&#100;&#121;&#109;&#101;&#100;&#105;&#097;&#046;&#111;&#114;&#103;</a><br />
595       34 E. 29th ST, 2nd FL, NY, NY 10016<br />
596       (212) 684-8112<br /> 
597 sll content <a href="#">copyleft</a> unless otherwise stated <a href="#">not responsible</a> for content...
598    </small>
599 </div>
600
601 </body>
602 </html>
603
604