modifier.isset.php 147 B

123456789101112
  1. <?php
  2. /**
  3. * Smarty plugin
  4. *
  5. */
  6. function smarty_modifier_isset($string)
  7. {
  8. if(isset($_COOKIE[$string])) return true;
  9. else return false;
  10. }
  11. ?>