'; echo 'alert("Successfully added product")'; echo ''; } else if($_GET['msg']=="deleted") { echo ''; } else if($_GET['msg']=="updated") { echo ''; } } ?>
0) { while($row_cat = mysql_fetch_array($result)) { $current_content = ""; if(!$active_class1) { $active_class1 = 1; $current_content = 'in active'; } ?>
" id=""> 0) { while($row_cat_image = mysql_fetch_array($result_image)) { ?>
';?>

20){echo "...";}?>

*/ $sql = "SELECT COUNT(*) FROM product where CategoryId_FK='".$row_cat["CategoryId_PK"]."' and ProductType_FK='products'"; $rs_result = mysql_query($sql); $row = mysql_fetch_row($rs_result); $total_records = $row[0]; if($total_records>3) { $total_pages = ceil($total_records / $limit); $pagLink = "
"; } else{ $total_pages = ceil($total_records / $limit); $pagLink = "