

<div id="num_container">
<a current_id='<?php echo $_GET["id"] ?>' search='<?php echo $_GET['search']; ?>' max='<?php echo $max_rows_cp ?>' lang='<?php echo $table?>' search="<?php echo $_GET['search'] ?>" alt='0' id='prev_num_search' class='num_con'><</a>
	
<?php



for ($i=1;$i<=$num_rows;$i+=$max_rows_cp){
	$num++;	
	if($i!=1){
	echo"<a current_id='$_GET[id]' search='$_GET[search]' type='' max='$max_rows_cp' lang='$table' search='$_GET[search]' alt='$num' id='num_con_search$num' class='num_con_search'>$num</a>";
	}else{
	echo"<a current_id='$_GET[id]' search='$_GET[search]' type='' max='$max_rows_cp' lang='$table' search='$_GET[search]' alt='$num' id='num_con_search$num' class='num_con_search num_active'>$num</a>";
	}
	
	if($num==$max_con_cp){
	goto endloop ;
	}
}
endloop:
$num=$num+1;
?>	
<a current_id='<?php echo $_GET["id"] ?>' search='<?php echo $_GET['search']; ?>' max='<?php echo $max_rows_cp?>' lang='<?php echo $table?>' search="<?php echo $_GET['search'] ?>" alt='2' id='next_num_search' class='num_con'>></a>
<div style="display: none">
<div id="rows_range" style="float:right"><?php echo $max_rows_cp; ?>-1</div>
<div style="float:right">/</div>
<div id ="total_rows" style="float:right"><?php echo $num_rows; ?></div>
</div>
<div id="total_con" style="display:none"><?php echo ceil($num_rows/$max_rows_cp) ; ?></div>
<div id="max_con" style="display:none"><?php echo $max_con_cp ; ?></div>
</div>

