Used'; else $new='New'; $url1="laptops/".$row[0]."/".$name.".html"; $check=mysqli_query($conn,"update items set total_viewed_time=total_viewed_time+1 where id=$id"); $today=date('Y-m-d',time()); $counter=mysqli_fetch_array(mysqli_query($conn,"select count(*) from items_daily_hit_stat where item_id=$id and date1='$today'")); if ($counter[0]>0) $check=mysqli_query($conn,"update items_daily_hit_stat set counter=counter+1 where item_id=$id and date1='$today'"); else $check=mysqli_query($conn,"insert into items_daily_hit_stat (item_id, date1, counter) values ($id,'$today',1);"); //insert hit record for wallpapers $user_add=$_SERVER['REMOTE_ADDR']; $t=getdate(); $today=date('Y-m-d H:i:s',$t[0]); $date1 =$today; $result=mysqli_query($conn,"insert into stat_lap_model value ('','$date1','$user_add','".$_REQUEST['id']."');"); if ($result==false) echo mysqli_error(); if(isset($_GET['processed'])) { $id=$_GET['id']; extract($_POST); if( $_SESSION['security_code'] == $security_code && !empty($_SESSION['security_code'] ) ) { // Insert you code for processing the form here, e.g emailing the submission, entering it into a database. unset($_SESSION['security_code']); $user_review=mysqli_real_escape_string($user_review); $user_review=stripcslashes($user_review); //echo "

"; var_dump($_SERVER); echo "

";exit; $qry="insert into review (review_desc,review_posted_by,review_post_date,review_viewedBy_Admin,review_item_id,review_item_for) values('".$user_review."','".$user_name."','".time()."','no','".$_GET['id']."','laptop')"; // echo '



'.$qry; $res=mysqli_query($conn,$qry) or die(mysqli_error()); if($res) { $msg="Review has been posted successfully, Review will be soon listed after Approval "; $_POST=''; $_GET=''; } } else { // Insert your code for showing an error message here $msg= 'Invalid security code supplied.'; } $_SESSION['msg']=$msg; //echo $_SESSION['msg'];exit; $url=$_SERVER['HTTP_REFERER']; header("location:".$url.""); } $title1="Print $item_name Price in Pakistan, Islamabad (#$id)- Mega.Pk"; $desc1="Print Price and Rates for $item_name in Pakistan, Islamabad, Rawalpindi, Lahore, Karachi, Faisalabad, Quetta and Peshawar. Buy or Purchase $item_name $cat_name from our Online Shop. Free delivery in Islamabad, Rawalpindi, Lahore, Karachi, Faisalabad, Quetta and Peshawar (#$id). Mega.PK"; $keyword1="$item_name, $item_name $cat_name, $item_name in Pakistan, $item_name price in Pakistan, $item_name price in Islamabad, $item_name price in Faisalabad, $item_name price in Rawalpindi, $item_name price in Lahore, $item_name price in Karachi, $item_name price in Sialkot, $item_name price in Peshawar, $item_name price in Quetta, $item_name rates, $item_name specification, $item_name reviews, $item_name price, $item_name drivers, $item_name features, $item_name info, $item_name information, $item_name detail, $item_name buy, $item_name purchase, $item_name sell, $item_name display, $item_name demo, $item_name images, $item_name videos, $items $brand_name, $item_name $brand_name $cat_name "; ?>


Print