*/ include_once('addon_collectivities.php'); class coll extends dbquery { /** * * @access private * @var integer */ private $the_start; /** * Redefinition of the LetterBox object constructor */ function __construct() { // configure the sql argument order by if(isset($_GET['start'])) { $this->the_start = strip_tags($_GET['start']); } else { $this->the_start = 0; } } /** * List of domains * * @param string $where $where clause * @param string $what sort info */ public function coll_list($where = "",$what = "") { // draw the domains list $func = new functions(); /* Configuration */ $title = _COLL_LIST; $page_name = "coll"; $nb_show = $_SESSION['config']['nblinetoshow']; if(!empty($what)) { $what = "&what=".$what; } if(!empty($where)) { $where = " where ".$where; } /***********************/ $all_coll = get_xml_value(); if($nb_pages > 1) { $next_start = 0; $page_list1 = '
'; $page_list2 .= $previous." ".$next.''; } } echo '