PageRenderTime 23ms CodeModel.GetById 16ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/framework/vendor/smarty3/lib/demo/cache/1172603085.index.tpl.php

http://zoop.googlecode.com/
PHP | 282 lines | 260 code | 22 blank | 0 comment | 1 complexity | dfe66df72b36287231922e37481939cb MD5 | raw file
  1<?php if(!defined('SMARTY_DIR')) exit('no direct access allowed'); ?>
  2<?php $_smarty_tpl->decodeProperties('a:2:{s:15:"file_dependency";a:4:{s:10:"F384501455";a:2:{i:0;s:21:"./templates/index.tpl";i:1;i:1257977415;}s:11:"F1129582534";a:2:{i:0;s:22:"./templates/header.tpl";i:1;i:1257977415;}s:11:"F1159251177";a:2:{i:0;s:22:"./templates/footer.tpl";i:1;i:1257977415;}s:11:"F1337619037";a:2:{i:0;s:19:"./configs/test.conf";i:1;i:1257977415;}}s:14:"cache_lifetime";i:120;}'); ?>
  3<HTML>
  4<HEAD>
  5<div id="overDiv" style="position:absolute; visibility:hidden; z-index:1000;"></div>
  6<script type="text/javascript" language="JavaScript" src="/javascripts/overlib.js"></script>
  7<TITLE>foo - <?php echo $_smarty_tpl->getVariable('Name')->value;?>
  8</TITLE>
  9</HEAD>
 10<BODY bgcolor="#ffffff">
 11
 12<PRE>
 13
 14
 15<b>
 16Title: Welcome To Smarty!
 17</b>
 18The current date and time is 2009-11-12 11:53:15
 19
 20The value of global assigned variable $SCRIPT_NAME is index.php
 21
 22Example of accessing server environment variable SERVER_NAME: 
 23
 24The value of {$Name} is <b><?php echo $_smarty_tpl->getVariable('Name')->value;?>
 25</b>
 26
 27variable modifier example of {$Name|upper}
 28
 29<b><?php echo $_smarty_tpl->smarty->plugin_handler->executeModifier('upper',array($_smarty_tpl->getVariable('Name')->value),true);?>
 30</b>
 31
 32
 33An example of a section loop:
 34
 35	1 * John Doe
 36	2 * Mary Smith
 37	3 . James Johnson
 38	4 . Henry Case
 39
 40An example of section looped key values:
 41
 42	phone: 1<br>
 43	fax: 2<br>
 44	cell: 3<br>
 45	phone: 555-4444<br>
 46	fax: 555-3333<br>
 47	cell: 760-1234<br>
 48<p>
 49
 50testing strip tags
 51<table border=0><tr><td><A HREF="index.php"><font color="red">This is a  test     </font></A></td></tr></table>
 52
 53</PRE>
 54
 55This is an example of the html_select_date function:
 56
 57<form>
 58<select name="Date_Month">
 59<option label="January" value="01">January</option>
 60<option label="February" value="02">February</option>
 61<option label="March" value="03">March</option>
 62<option label="April" value="04">April</option>
 63<option label="May" value="05">May</option>
 64<option label="June" value="06">June</option>
 65<option label="July" value="07">July</option>
 66<option label="August" value="08">August</option>
 67<option label="September" value="09">September</option>
 68<option label="October" value="10">October</option>
 69<option label="November" value="11" selected="selected">November</option>
 70<option label="December" value="12">December</option>
 71</select>
 72<select name="Date_Day">
 73<option label="01" value="1">01</option>
 74<option label="02" value="2">02</option>
 75<option label="03" value="3">03</option>
 76<option label="04" value="4">04</option>
 77<option label="05" value="5">05</option>
 78<option label="06" value="6">06</option>
 79<option label="07" value="7">07</option>
 80<option label="08" value="8">08</option>
 81<option label="09" value="9">09</option>
 82<option label="10" value="10">10</option>
 83<option label="11" value="11">11</option>
 84<option label="12" value="12" selected="selected">12</option>
 85<option label="13" value="13">13</option>
 86<option label="14" value="14">14</option>
 87<option label="15" value="15">15</option>
 88<option label="16" value="16">16</option>
 89<option label="17" value="17">17</option>
 90<option label="18" value="18">18</option>
 91<option label="19" value="19">19</option>
 92<option label="20" value="20">20</option>
 93<option label="21" value="21">21</option>
 94<option label="22" value="22">22</option>
 95<option label="23" value="23">23</option>
 96<option label="24" value="24">24</option>
 97<option label="25" value="25">25</option>
 98<option label="26" value="26">26</option>
 99<option label="27" value="27">27</option>
100<option label="28" value="28">28</option>
101<option label="29" value="29">29</option>
102<option label="30" value="30">30</option>
103<option label="31" value="31">31</option>
104</select>
105<select name="Date_Year">
106<option label="1998" value="1998">1998</option>
107<option label="1999" value="1999">1999</option>
108<option label="2000" value="2000">2000</option>
109<option label="2001" value="2001">2001</option>
110<option label="2002" value="2002">2002</option>
111<option label="2003" value="2003">2003</option>
112<option label="2004" value="2004">2004</option>
113<option label="2005" value="2005">2005</option>
114<option label="2006" value="2006">2006</option>
115<option label="2007" value="2007">2007</option>
116<option label="2008" value="2008">2008</option>
117<option label="2009" value="2009" selected="selected">2009</option>
118<option label="2010" value="2010">2010</option>
119</select></form>
120
121This is an example of the html_select_time function:
122
123<form>
124<select name="Time_Hour">
125<option label="01" value="01">01</option>
126<option label="02" value="02">02</option>
127<option label="03" value="03">03</option>
128<option label="04" value="04">04</option>
129<option label="05" value="05">05</option>
130<option label="06" value="06">06</option>
131<option label="07" value="07">07</option>
132<option label="08" value="08">08</option>
133<option label="09" value="09">09</option>
134<option label="10" value="10">10</option>
135<option label="11" value="11" selected="selected">11</option>
136<option label="12" value="12">12</option>
137</select>
138<select name="Time_Minute">
139<option label="00" value="00">00</option>
140<option label="01" value="01">01</option>
141<option label="02" value="02">02</option>
142<option label="03" value="03">03</option>
143<option label="04" value="04">04</option>
144<option label="05" value="05">05</option>
145<option label="06" value="06">06</option>
146<option label="07" value="07">07</option>
147<option label="08" value="08">08</option>
148<option label="09" value="09">09</option>
149<option label="10" value="10">10</option>
150<option label="11" value="11">11</option>
151<option label="12" value="12">12</option>
152<option label="13" value="13">13</option>
153<option label="14" value="14">14</option>
154<option label="15" value="15">15</option>
155<option label="16" value="16">16</option>
156<option label="17" value="17">17</option>
157<option label="18" value="18">18</option>
158<option label="19" value="19">19</option>
159<option label="20" value="20">20</option>
160<option label="21" value="21">21</option>
161<option label="22" value="22">22</option>
162<option label="23" value="23">23</option>
163<option label="24" value="24">24</option>
164<option label="25" value="25">25</option>
165<option label="26" value="26">26</option>
166<option label="27" value="27">27</option>
167<option label="28" value="28">28</option>
168<option label="29" value="29">29</option>
169<option label="30" value="30">30</option>
170<option label="31" value="31">31</option>
171<option label="32" value="32">32</option>
172<option label="33" value="33">33</option>
173<option label="34" value="34">34</option>
174<option label="35" value="35">35</option>
175<option label="36" value="36">36</option>
176<option label="37" value="37">37</option>
177<option label="38" value="38">38</option>
178<option label="39" value="39">39</option>
179<option label="40" value="40">40</option>
180<option label="41" value="41">41</option>
181<option label="42" value="42">42</option>
182<option label="43" value="43">43</option>
183<option label="44" value="44">44</option>
184<option label="45" value="45">45</option>
185<option label="46" value="46">46</option>
186<option label="47" value="47">47</option>
187<option label="48" value="48">48</option>
188<option label="49" value="49">49</option>
189<option label="50" value="50">50</option>
190<option label="51" value="51">51</option>
191<option label="52" value="52">52</option>
192<option label="53" value="53" selected="selected">53</option>
193<option label="54" value="54">54</option>
194<option label="55" value="55">55</option>
195<option label="56" value="56">56</option>
196<option label="57" value="57">57</option>
197<option label="58" value="58">58</option>
198<option label="59" value="59">59</option>
199</select>
200<select name="Time_Second">
201<option label="00" value="00">00</option>
202<option label="01" value="01">01</option>
203<option label="02" value="02">02</option>
204<option label="03" value="03">03</option>
205<option label="04" value="04">04</option>
206<option label="05" value="05">05</option>
207<option label="06" value="06">06</option>
208<option label="07" value="07">07</option>
209<option label="08" value="08">08</option>
210<option label="09" value="09">09</option>
211<option label="10" value="10">10</option>
212<option label="11" value="11">11</option>
213<option label="12" value="12">12</option>
214<option label="13" value="13">13</option>
215<option label="14" value="14">14</option>
216<option label="15" value="15" selected="selected">15</option>
217<option label="16" value="16">16</option>
218<option label="17" value="17">17</option>
219<option label="18" value="18">18</option>
220<option label="19" value="19">19</option>
221<option label="20" value="20">20</option>
222<option label="21" value="21">21</option>
223<option label="22" value="22">22</option>
224<option label="23" value="23">23</option>
225<option label="24" value="24">24</option>
226<option label="25" value="25">25</option>
227<option label="26" value="26">26</option>
228<option label="27" value="27">27</option>
229<option label="28" value="28">28</option>
230<option label="29" value="29">29</option>
231<option label="30" value="30">30</option>
232<option label="31" value="31">31</option>
233<option label="32" value="32">32</option>
234<option label="33" value="33">33</option>
235<option label="34" value="34">34</option>
236<option label="35" value="35">35</option>
237<option label="36" value="36">36</option>
238<option label="37" value="37">37</option>
239<option label="38" value="38">38</option>
240<option label="39" value="39">39</option>
241<option label="40" value="40">40</option>
242<option label="41" value="41">41</option>
243<option label="42" value="42">42</option>
244<option label="43" value="43">43</option>
245<option label="44" value="44">44</option>
246<option label="45" value="45">45</option>
247<option label="46" value="46">46</option>
248<option label="47" value="47">47</option>
249<option label="48" value="48">48</option>
250<option label="49" value="49">49</option>
251<option label="50" value="50">50</option>
252<option label="51" value="51">51</option>
253<option label="52" value="52">52</option>
254<option label="53" value="53">53</option>
255<option label="54" value="54">54</option>
256<option label="55" value="55">55</option>
257<option label="56" value="56">56</option>
258<option label="57" value="57">57</option>
259<option label="58" value="58">58</option>
260<option label="59" value="59">59</option>
261</select>
262<select name="Time_Meridian">
263<option label="AM" value="am" selected="selected">AM</option>
264<option label="PM" value="pm">PM</option>
265</select>
266</form>
267
268This is an example of the html_options function:
269
270<form>
271<select name=states>
272<option label="New York" value="NY">New York</option>
273<option label="Nebraska" value="NE" selected="selected">Nebraska</option>
274<option label="Kansas" value="KS">Kansas</option>
275<option label="Iowa" value="IA">Iowa</option>
276<option label="Oklahoma" value="OK">Oklahoma</option>
277<option label="Texas" value="TX">Texas</option>
278</select>
279</form>
280
281</BODY>
282</HTML>