/[corp_html]/templates/wap.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

Contents of /templates/wap.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.11 - (show annotations)
Thu Jun 6 11:29:44 2002 UTC (21 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.10: +5 -11 lines
new pictures for wap, wap integration with inc/news_type.inc

1 <wml>
2 <card id="main" title="Pliva WAP news">
3 {if $num_selected != 1}
4 <p align="center">
5 <img src="wap/pliva.wbmp" alt="(P)"/> Pliva d.d.<br/>
6 {if !isset($prev)}
7 <a href="wap.php?part=stocks">Share Price</a>
8 {/if}
9 </p>
10 {/if}
11 <p>
12 {section name=w loop=$data}
13 {if $w/data.type}
14 <img src="wap/{$w/data.pic}" alt="{$w/data.alt}"/>
15 {/if}
16 {if $num_selected == 1}
17 {$w/data.title}
18 {$w/data.town_date}
19 <br/>
20 {$w/data.body}
21 <do type="prev" label="Back"><prev/></do>
22 {else}
23 <a href="wap.php?id={$w/data.id}">
24 {$w/data.title}
25 </a>
26 {$w/data.town_date}
27 {/if}
28 <br/>
29 {/section}
30
31 {if isset($prev) }
32 <do type="options" name="menu_0" label=" last {$on_page}">
33 <go href="wap.php?s={$prev}"/>
34 </do>
35 <a href="wap.php?s={$prev}">&lt;&lt;</a>
36 {/if}
37
38 {if isset($next) }
39 <do type="options" name="menu_1" label=" {$on_page} more">
40 <go href="wap.php?s={$next}"/>
41 </do>
42 <a href="wap.php?s={$next}">&gt;&gt;</a>
43 {/if}
44
45 </p>
46
47 </card>
48 </wml>

  ViewVC Help
Powered by ViewVC 1.1.26