query($qCat); $pg=@$_REQUEST['pg']; if($pg==""){$pg=1;} $catID=@$_REQUEST['catID']; if($catID==''){ $catID=1; } //category name $qCatName="SELECT catname FROM tblmaincategory WHERE id=$catID"; $rCatName = $db->query($qCatName); $catname = $rCatName->fetch_object()->catname; //page bar $qProducts="SELECT COUNT(id) as cnt FROM tblitemmaster WHERE astatus='A' AND maincat=$catID"; $rProducts = $db->query($qProducts); $fullCount=$rProducts->fetch_object()->cnt; $numPages=ceil($fullCount/$pageRecs); $pagebar="Pages: "; for($p=1;$p<=$numPages;$p++){ $pagebar.="  "; if($pg==$p){ $pagebar.="".$p.""; }else{ $pagebar.="".$p; } ""; } $st=($pg*$pageRecs)-($pageRecs); $en=$pageRecs; //product list $qProducts="SELECT * FROM tblitemmaster WHERE astatus='A' AND maincat=$catID LIMIT $st,$en"; $rProducts = $db->query($qProducts); $pCount=$rProducts->num_rows; ?> TP-link Products | Technolanka Computer Services (Pvt) Ltd.| TPLINK Products
 
  Email : info@technolanka.net Tel : 0713-300-300  
   
           
 
fetch_object()){?>
 
   CATEGORIES

Notice: Undefined variable: rowCat in C:\xampp\htdocs\tplink-technolanka\products.php on line 170

Notice: Trying to get property 'catname' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 170
 
image3 (9K)
 
 
   PRODUCTS -
Notice: Undefined variable: catname in C:\xampp\htdocs\tplink-technolanka\products.php on line 197
   
fetch_object(); if($rowProducts->itemCode!=""){ ?>
   
 


Notice: Undefined variable: rowProducts in C:\xampp\htdocs\tplink-technolanka\products.php on line 219

Notice: Trying to get property 'itemCode' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 219

id."_thumb.jpg")){ $imgname =$rowProducts->id."_thumb.jpg";}else {$imgname=$rowProducts->id.".jpg";} ?>  

Notice: Undefined variable: rowProducts in C:\xampp\htdocs\tplink-technolanka\products.php on line 226

Notice: Trying to get property 'itemName' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 226
Rs.
Notice: Undefined variable: rowProducts in C:\xampp\htdocs\tplink-technolanka\products.php on line 232

Notice: Trying to get property 'r_price' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 232
0.00
   
fetch_object(); if(@$rowProducts->itemCode!=""){ ?>
   
 


Notice: Undefined variable: rowProducts in C:\xampp\htdocs\tplink-technolanka\products.php on line 258

Notice: Trying to get property 'itemCode' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 258

id."_thumb.jpg";?> id."_thumb.jpg")){ $imgname =$rowProducts->id."_thumb.jpg";}else {$imgname=$rowProducts->id.".jpg";} ?>  

Notice: Undefined variable: rowProducts in C:\xampp\htdocs\tplink-technolanka\products.php on line 266

Notice: Trying to get property 'itemName' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 266
Rs.
Notice: Undefined variable: rowProducts in C:\xampp\htdocs\tplink-technolanka\products.php on line 272

Notice: Trying to get property 'r_price' of non-object in C:\xampp\htdocs\tplink-technolanka\products.php on line 272
0.00
   
   

Notice: Undefined variable: pagebar in C:\xampp\htdocs\tplink-technolanka\products.php on line 293