[ Index ] |
|
Code source de phpMyVisites 2.3 |
1 <?php 2 /** 3 * Smarty plugin 4 * @package Smarty 5 * @subpackage plugins 6 */ 7 8 function smarty_modifier_print_percent($string) 9 { 10 if(substr($string, 0, 1) === '-') 11 { 12 $span = "negatif"; 13 } 14 else 15 { 16 $span = "positif"; 17 } 18 return "<span class=\"$span\">$string</span>"; 19 } 20 21 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |