Source for file standard_slide.obj.php

Documentation is available at standard_slide.obj.php


1 <?php
2 #IPW METAZO 2.0 OBJECT
3 $_objoldid = 320423;
4 function objfile_320423 () {
5 $obj = owNew('template');
6 $objdata['name'] = "standard_slide";
7 $objdata['content'] = "{listobj type=\"documentsection\" parentid=\$document.objectid assign=\"res\"}
8 {if \$get._section == \"\"}
9 {assign var=\"section\" value=\"1\"}
10 {else}
11 {assign var=\"section\" value=\$get._section}
12 {/if}
13 {getsizeof value=\$res assign=\"tmax\"}
14 {math equation=\"x - 1\" x=\$tmax assign=\"max\"}
15
16 {\$res[\$section].content}
17 <BR>
18 {if \$section > 1}
19 {math equation=\"x - 1\" x=\$section assign=\"prev\"}
20 <a href=\"showpage.php?pageid={\$document.objectid}&_section={\$prev}\"><img src=\"img/design/standard/back.gif\" border=\"0\"></A>&nbsp;
21 {/if}&nbsp;{\$section} / {\$max}&nbsp;
22 {if \$section < \$max}
23 {math equation=\"x + 1\" x=\$section assign=\"next\"}
24 &nbsp;<a href=\"showpage.php?pageid={\$document.objectid}&_section={\$next}\"><img src=\"img/design/standard/forward.gif\" border=\"0\"></A>
25 {/if}";
26 $objdata['param'] = "";
27 $objdata['setting'] = "";
28 $objdata['tpltype'] = "2";
29 $objdata['header'] = "";
30 $objdata['style'] = "";
31 $objdata['doctype'] = "0";
32 $obj->createObject($objdata);
33 return $obj;
34 }
35 ?>

Documentation generated on Thu, 9 Jun 2005 06:53:30 +0200 by phpDocumentor 1.2.3