setCurrentPage("news"); $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 news WHERE news_id IN(".$IDs.")"; $sql .= " ORDER BY news_id DESC"; mysql_query("SET NAMES UTF8"); $result=mysql_query($sql); $countnews=0; while($row=mysql_fetch_array($result)) { $countnews++; $news_id[$countnews]=$row["news_id"]; $news_date[$countnews] = $row["news_date"]; $brand_enable[$countnews] = $row["news_enable"]; $news_topic_chi[$countnews] = $row["news_topic_chi"]; $news_topic_eng[$countnews] = $row["news_topic_eng"]; $news_content_chi[$countnews] = $row["news_content_chi"]; $news_content_eng[$countnews] = $row["news_content_eng"]; $news_photo_path[$countnews] = $row["news_photo_path"]; } } ?>
 

gettagValue("newsTitle"); ?>

 

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 { ?>