

<div id="num_container">
<a search_type="<?php if(isset($_GET['search_type'])){echo $_GET['search_type']; } ?>" sort="<?php if(isset($_GET['sort'])){ echo $_GET['sort']; } ; ?>" sort_by="<?php if(isset($_GET['sort_by'])){ echo $_GET['sort_by']; } ?>" max='<?php echo $max_rows_cp ?>' lang='load_job_app_search_female.php' search="<?php echo $_GET['search'] ?>" alt='0' id='prev_num_search' class='num_con'><</a>

<?php 




if($_GET["search_type"]=='job'){
$_GET["search"]=$_GET["job"];	
}

for ($i=1;$i<=$num_rows;$i+=$max_rows_cp){
	$num++;	
	if($i!=1){
		
	echo"<a max='$max_rows_cp' lang='$table' search='$_GET[search]' search_type='";  if(isset($_GET['search_type'])){echo $_GET['search_type']; } ; echo "' sort='" ; if(isset($_GET['sort'])){ echo $_GET['sort']; } ; echo "' sort_by='" ; if(isset($_GET['sort_by'])){ echo $_GET['sort_by']; } ; echo "' alt='$num' id='num_con_search$num' class='num_con_search'>$num</a>";
	}else{
	
	echo"<a max='$max_rows_cp' lang='$table' search='$_GET[search]' search_type='";  if(isset($_GET['search_type'])){echo $_GET['search_type']; } ;echo "' sort='" ;  if(isset($_GET['sort'])){ echo $_GET['sort']; } ; echo "' sort_by='" ;if(isset($_GET['sort_by'])){ echo $_GET['sort_by']; } ; echo "' 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 search_type="<?php if(isset($_GET['search_type'])){echo $_GET['search_type']; } ?>" sort="<?php if(isset($_GET['sort'])){ echo $_GET['sort']; } ; ?>" sort_by="<?php if(isset($_GET['sort_by'])){ echo $_GET['sort_by']; } ?>" max='<?php echo $max_rows_cp?>' lang='load_app_search_female.php' 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>