1 ? ($page) : 1); $itemPerPage=3; $firstitem = ($page-1)*$itemPerPage; $sql_listTotal1= "SELECT COUNT(i.item_id)"; $sql_list = " FROM va_items AS i, va_items_categories AS ic"; $sql_list.= " WHERE i.is_showing='1' AND i.item_id=ic.item_id AND ic.category_id='$catid'"; $sql_list1 = "SELECT *"; $sql_list2 = " ORDER BY i.issue_date DESC, i.item_order DESC"; $sql_list2.= " LIMIT $firstitem,$itemPerPage"; $resultTotal_list = @mysql_query($sql_listTotal1.$sql_list,$connection) or die(mysql_error()); $row_list = mysql_fetch_array($resultTotal_list); $itemTotal = $row_list[0]; $totalpage = ceil($itemTotal/$itemPerPage); $result_list = @mysql_query($sql_list1.$sql_list.$sql_list2,$connection) or die(mysql_error()); $totalItem = mysql_num_rows($result_list); ?> New York Chiropractic and Physiotherapy Online
Home   Ι   繁體中文   Ι   English
0 ) { ?>
6) { $video_title = mb_substr($row_list['item_name'.$langKey],0,14,'utf8')."..."; } else {*/ $video_title = $row_list['item_name'.$langKey]; //} ?>

Upload date: 1970.01.01
1){ ?>
'.__(array("Prev","上一頁")).''; } for ($i=1; $i<=$totalpage; $i++){ if ($i != $current_page) { echo ' '.$i.' '; } else { echo ''.$i.''; } } if($page!=$totalpage){ echo ''.__(array("Next","下一頁")).''; } ?>
".__(array("No related video","沒有相關的影片。"))."";} ?>