/[pliva-si]/templates/index.tpl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /templates/index.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (hide annotations)
Tue Jul 3 12:41:05 2001 UTC (22 years, 9 months ago) by dpavlin
Branch: MAIN
Changes since 1.7: +27 -0 lines
multi-page support

1 ravilov 1.1 <html>
2     <head>
3     <title>{$Title} : {$Section_title}</title>
4     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
5     {literal}
6     <script language="JavaScript">
7     <!--
8     function MM_reloadPage(init) { //reloads the window if Nav4 resized
9     if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
10     document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
11     else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
12     }
13     MM_reloadPage(true);
14     // -->
15     </script>
16     {/literal}
17     </head>
18     <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
19     <table cellspacing=0 cellpadding=0 width="100%" border=0>
20     <tbody>
21     <tr>
22     <td width="17%" height="2"><a href="index.php"><img height=42 src="l/80YEARS_2.gif" width=174 border=0></a><br>
23     </td>
24     <td width="83%" height="2">
25     <div align=right>
26     <table border="0" align="right">
27     <tr>
28 dpavlin 1.2 <td><img src="l/sl_{$rnd.0}.gif" width="37" height="37"></td>
29     <td><img src="l/sl_{$rnd.1}.gif" width="37" height="37"></td>
30     <td><img src="l/sl_{$rnd.2}.gif" width="37" height="37"></td>
31     <td><img src="l/sl_{$rnd.3}.gif" width="37" height="37"></td>
32     <td><img src="l/sl_{$rnd.4}.gif" width="37" height="37"></td>
33 ravilov 1.1 </tr>
34     </table>
35     </div>
36     </td>
37     </tr>
38     <tr bgcolor=#283880>
39     <td colspan=2 height="2"><b><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">
40     </font></b>
41     <p><font size="2" face="Arial, Helvetica, sans-serif" font color="#FFFFFF">&nbsp;&nbsp;<B>{$Section_title}</B></font></p>
42     </td>
43     </tr>
44     <tr bgcolor=#33CC00>
45     <td height="2"><img src="l2/{$section}.jpg" width="200" height="42"></td>
46     <td bgcolor="#009900">
47     <table border="0" cellspacing="0" cellpadding="0">
48     <tr>
49     <td><a href="index.php"><img src="t/domov.gif" width="70" height="17" border="0" alt="Domov"></a></td>
50     <td><a href="o_nas.php"><img src="t/o_nas.gif" width="62" height="17" border="0" alt="O nas"></a></td>
51     <td><a href="izdelki.php"><img src="t/izdelki.gif" width="63" height="18" border="0" alt="Izdelki"></a></td>
52     <td><a href="nasveti.php"><img src="t/nasveti.gif" width="70" height="17" border="0" alt="Nasveti"></a></td>
53     <td><a href="sladkorna.php"><img src="t/sladkorna.gif" width="138" height="17" border="0" alt="Sladkorna stran"></a></td>
54     <td><a href="za_zdravnike.php"><img src="t/za_zdravnike.gif" width="138" height="17" border="0" alt="Za zdravnike"></a></td>
55     </tr>
56     </table>
57     </td>
58     </tr>
59     </tbody>
60     </table>
61     <table cellspacing=0 cellpadding=0 border=0 width="100%">
62     <tbody>
63     <tr>
64 dpavlin 1.7 <td valign=top bgcolor=#283880 width=155>
65 ravilov 1.1 <p>&nbsp;</p>
66     <p><br>
67     </p>
68     <div align=center>
69     <p>&nbsp;</p>
70     <p>
71     {section name=m loop=$menu}
72 dpavlin 1.3 {if ($m/menu.url) }
73     <a href="{$m/menu.url}">
74     {/if}
75     <img src="m/{$m/menu.file}" border=0 width="{$m/menu.w}" height="{$m/menu.h}" alt="{$m/menu.item}">
76     {if ($m/menu.url) }
77     </a>
78     {/if}
79     <br>
80 ravilov 1.1 {/section}
81     {if $contact_section}
82     <img src="l2/olovka.gif" width="100" height="120" vspace="15">
83     {else}
84     {if $contact_url}
85     <a href="{$contact_url}">
86     {else}
87 dpavlin 1.7 <a href="pisite_nam.php{if ($contact_from)}?from={$contact_from}{/if}">
88 ravilov 1.1 {/if}
89 dpavlin 1.4 <img src="l/pisite_nam.gif" width="155" height="19" alt="" border="0" vspace="15"></a>
90 ravilov 1.1 {/if}
91     </p>
92     <div id="Layer1" style="position:absolute; left:10px; top:109px; width:133px; height:88px; z-index:1">
93     <form name="form1" method="post" action="najdi.php">
94     <table width="100%" border="0" cellspacing="1" cellpadding="2">
95     <tr>
96     <td>
97     <div align="center"><img src="l2/iskanje.gif" width="41" height="8" alt="Iskanje"></div>
98     </td>
99     </tr>
100     <tr>
101     <td>
102     <div align="center">
103     <input type="text" name="textfield" size="11">
104     </div>
105     </td>
106     </tr>
107     <tr>
108     <td>
109     <div align="center"><input type=image src="t/najdi.gif" width="60" height="18" border="0" alt="NAJDI"></div>
110     </td>
111     </tr>
112     </table>
113     </form>
114     </div>
115     <p>&nbsp;</p>
116     </div>
117     </td>
118 dpavlin 1.4 <td valign=top>
119 ravilov 1.1 <table width="100%" border="0" cellspacing="0" cellpadding="0">
120     <tr>
121     <td valign="top" width="11"><img src="l2/p.gif" width="47" height="44" vspace="0" hspace="0"></td>
122 dpavlin 1.4 <td width="679">
123     {if ($mpic && $mpic != "")}
124     <div align="center"><img src="t/{$mpic}" width="176" height="22"></div>
125     {/if}
126 ravilov 1.1 </td>
127     </tr>
128     </table>
129     <table cellspacing=0 cellpadding=5 width="95%" border=0 align="center">
130     <tbody>
131     <tr>
132     <td valign=top><BR>{$MAIN}</td>
133     </tr>
134     <tr>
135     <td>
136 dpavlin 1.8 {if ($multi_page_show) }
137     <form action=multi.php name=multi>
138     <div align="center" class="mali">
139     {if ($multi_page_prev) }
140     <a href="{$multi_page_prev}">
141     <img src="t/nazad.gif" width="38" height="14" alt="" border="0">
142     </a>
143     {else}
144     <img src="t/nikud.gif" width="38" height="14" alt="" border="0">
145     {/if}
146     {if ($multi_page_current && $multi_page_max)}
147     page {$multi_page_current} of {$multi_page_max}
148     {/if}
149     {if ($multi_page_options) }
150     <select name=p onChange=multi.submit()>
151     {html_options options=$multi_page_options selected=$multi_page_curr_id}
152     </select>
153     {/if}
154     {if ($multi_page_next) }
155     <a href="{$multi_page_next}">
156     <img src="t/napred.gif" width="38" height="14" alt="" border="0">
157     </a>
158     {else}
159     <img src="t/nikud.gif" width="38" height="14" alt="" border="0">
160     {/if}
161     </div><br>
162     {/if}
163 ravilov 1.1 <hr width="100%" color=#808080 noShade size=1>
164     <table cellspacing=0 cellpadding=2 width="100%" border=0>
165     <tbody>
166     <tr>
167     <td>
168     <div align="right"><span class=font><font size="2" color="#000033" face="Arial, Helvetica, sans-serif">
169     {if ($back_url)}
170     <td align="left"><a href="{$back_url}">Nazaj</a></td>
171     {/if}
172     <a href="index.php">Domov</a> |
173     <a href="o_nas.php">O nas</a> |
174     <a href="izdelki.php">Izdelki</a> |
175     <a href="nasveti.php">Nasveti</a> |
176     <a href="sladkorna.php">Sladkorna stran</a> |
177     <a href="za_zdravnike.php">Za zdravnike</a>
178     </font></span></div>
179     </td>
180     </tr>
181     </tbody>
182     </table>
183     <hr width="100%" color=#808080 noShade size=1>
184     </td>
185     </tr>
186     <tr>
187     <td valign=top height="5">
188     <div class=silver>
189     <div align="center">
190     <div class=silver><font size="1" color="#666666" face="Arial, Helvetica, sans-serif">Copyright
191     1998-2001 PLIVA d.d. All rights reserved.</font></div>
192     <a href="legal.php"><div class=silver><font size="1" color="#666666" face="Arial, Helvetica, sans-serif">Important legal information</font></div></a>
193     </div>
194     </div>
195     </td>
196     </tr>
197     </table>
198    
199     </td>
200     <td valign=top width="142" height="576">
201     <table cellspacing=0 border=0>
202     <tbody>
203     <tr>
204     <td bgcolor=#009900 width=17><img src="#" width=1 height=1 border=0></td>
205     <td align=middle valign="top">
206     <p><img height=28 alt="" src="l/dedicated.gif" width=137 border=0></p>
207     <table border="0" cellspacing="0" cellpadding="0" align="center" width="127">
208     <tr>
209 dpavlin 1.5 <td width="127"><A HREF="novosti.php?type=n&days=0"><img src="t/novosti.gif" width="127" height="17" ALT="Novosti" border=0></a></td>
210 ravilov 1.1 </tr>
211     </table>
212     <table width="127" border="1" align="center" cellspacing="0" cellpadding="1" bordercolor="#003366">
213     <tr>
214     <td height="143" valign="top">
215     <table width="100%" border="0" cellpadding="3" align="center">
216     {section name=n loop=$news}
217 dpavlin 1.5 <TR><td align="center"><A href="novosti.php?id={$n/news.id}"><span class="new">{$n/news.title}</span></A></td></TR>
218 ravilov 1.1 {/section}
219     </table>
220     </td>
221     </tr>
222     </table>
223 dpavlin 1.6 {img dir="r1" nr=1 vspace="5"}
224 ravilov 1.1 <table border="0" cellspacing="0" cellpadding="0" align="center" width="127">
225     <tr>
226 dpavlin 1.5 <td width="127"><A HREF="novosti.php?type=e"><img src="t/dogotki.gif" width="127" height="17" ALT="Dogotki" border=0></a></td>
227 ravilov 1.1 </tr>
228     </table>
229     <table width="127" border="1" align="center" cellspacing="0" cellpadding="1" bordercolor="#003366">
230     <tr>
231     <td height="135" valign="top">
232     <table width="100%" border="0" cellpadding="3" align="center">
233     {section name=e loop=$events}
234 dpavlin 1.5 <TR><td align="center"><A href="novosti.php?id={$e/events.id}"><span class="new">{$e/events.title}</span></A></td></TR>
235 ravilov 1.1 {/section}
236     </table>
237     </td>
238     </tr>
239     </table>
240 dpavlin 1.6 {img dir="r2" nr=2 vspace="5"}
241 ravilov 1.1 <br>
242     <noindex> </noindex></td>
243     </tr>
244     <tr>
245     <td valign=top colspan=2 bgcolor="#009900" height=3><img src="#" width=1 height=1 border=0></td>
246     </tr>
247     </tbody>
248     </table>
249     </td>
250     </tr>
251     </table>
252     </body>
253     </html>

  ViewVC Help
Powered by ViewVC 1.1.26