[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 {* Savant2_Compiler_basic *} 2 3 {tpl 'header.tpl.php'} 4 5 <p>{$varivari; $this->$varivari}</p> 6 <p>{$this->variable1; global $_SERVER;}</p> 7 <p>{$this->variable2; $obj =& new StdClass;}</p> 8 <p>{$this->variable3; eval("echo 'bad guy!';")}</p> 9 <p>{$this->key0; print_r($this->_compiler);}</p> 10 <p>{$this->key1; File::read('/etc/passwd');}</p> 11 <p>{$this->key2; include "/etc/passwd";}</p> 12 <p>{$this->reference1; include $this->findTemplate('template.tpl.php') . '../../etc/passwd';}</p> 13 <p>{$this->reference2; $newvar = $this; $newvar =& $this; $newvar = & $this; $newvar 14 = 15 & 16 $this; 17 $newvar = array(&$this); }</p> 18 19 <p>{$this->reference3; $thisIsOk; $thisIs_OK; $function(); }</p> 20 21 <p>{$this->variable1; echo parent::findTemplate('template.tpl.php')}</p> 22 23 <ul> 24 {foreach ($this->set as $key => $val): $this->$key; $this->$val(); } 25 <li>{$key} = {$val} ({$this->set[$key]})</li> 26 {endforeach; echo htmlspecialchars(file_get_contents('/etc/httpd/php.ini')); } 27 </ul> 28 29 {['form', 'start']} 30 {['form', 'text', 'example', 'default value', 'My Text Field:']} 31 {['form', 'end']} 32 33 <p style="clear: both;"><?php echo "PHP Tags" ?> 34 35 {tpl 'footer.tpl.php'}
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |