IDNO | |||||
- , |
if(trim(getenv('QUERY_STRING')) == '') header('Location: /'); include 'tpl/header.php'; include_once 'includes/classes/pagination.class.php'; include_once 'includes/classes/ipagination.class.php'; function cldate($d){ if(trim($d)){ $e = explode('/',$d); if(strlen($e[1]) == 1) $e[1] = '0'.$e[1]; if(strlen($e[0]) == 1) $e[0] = '0'.$e[0]; if(strlen($e[2]) == 1) $e[2] = '0'.$e[2]; return $e[1].'.'.$e[0].'.'.$e[2]; }else{ return false; } } $p = new iPagination($db, "select * from wss_result2 where SID = '".session_id()."' order by LicenseValid desc",30,'page'); $pb = $p->getPages(); ?>