setCurrentPage("casestudy"); $XMLtranlateion->getCurrentPage(); $self=$_SERVER['PHP_SELF']; getValue("page"); if ($page=="") $page=1; $noOfPage = 1; $noOfProductsPerPage = 10; $countpage = 0; ?> $noOfPage) { $page = $noOfPage; } if(!empty($arrId)) { if(strpos($arrId[$page], ",") == 0) { $IDs = substr($arrId[$page], 1, strlen($arrId[$page])-1); } $sql = "SELECT * FROM casestudy WHERE case_id IN(".$IDs.")"; $sql .= " ORDER BY case_id DESC"; mysql_query("SET NAMES UTF8"); $result=mysql_query($sql); $countcasestudy=0; while($row=mysql_fetch_array($result)) { $countcasestudy++; $case_id[$countcasestudy]=$row["case_id"]; $case_date[$countcasestudy] = $row["case_date"]; $case_enable[$countcasestudy] = $row["case_enable"]; $case_topic_chi[$countcasestudy] = $row["case_topic_chi"]; $case_topic_eng[$countcasestudy] = $row["case_topic_eng"]; $case_content_chi[$countcasestudy] = $row["case_content_chi"]; $case_content_eng[$countcasestudy] = $row["case_content_eng"]; $case_photo_path[$countcasestudy] = $row["case_photo_path"]; } } ?>
 

gettagValue("casestudyTitle"); ?>

 

1) { if($lang==0){ echo("Page:"); } // $pagename = $self; if($page == 1) { echo("  "); echo ("1"); } else { ?>   1 1 AND $i < $noOfPage){ $firstpage[$i] = $pagecount++; if($firstpage[$i] == 1 AND $i != 2){ echo("  ...");} if(($i) == $page) { echo("  "); echo ("".$i."");} else {?>    1 AND $i<$noOfPage-1){ echo("  ...");} } if($page == $noOfPage) { echo("  "); echo ("".$noOfPage."");} else { ?>   
 
 
 
 
1) { if($lang==0){ echo("Page:"); } // $pagename = $self; if($page == 1) { echo("  "); echo ("1"); } else { ?>   1 1 AND $i < $noOfPage){ $firstpage[$i] = $pagecount++; if($firstpage[$i] == 1 AND $i != 2){ echo("  ...");} if(($i) == $page) { echo("  "); echo ("".$i."");} else {?>    1 AND $i<$noOfPage-1){ echo("  ...");} } if($page == $noOfPage) { echo("  "); echo ("".$noOfPage."");} else { ?>