", $articale_body); $articale_tag = $row_own['articale_tag']; $articale_like = $row_own['articale_like']; $article_viewed = $row_own['article_viewed']; $articale_comments = $row_own['articale_comments']; $articale_posted = $row_own['articale_posted']; $articale_posted = strtotime($articale_posted); $articale_posted = date("F - d - Y", $articale_posted); $articale_tag = $row_own['articale_tag']; $artical_photo = $row_own['artical_photo']; $artical_video = $row_own['artical_video']; //==================================================================================================== $pr = $_REQUEST['pr']; if(!$pr) $pr = 20; $wn = $_REQUEST['page']; if(!$wn) $wn = 1; $w = (($wn*$pr)-$pr); $st = $w; if((!$st || ($st < 0))) $st = 0; $slr = round($st/$pr, 0)+2; $next = $st+$pr; if($st <= $pr) { $back = 0; }else{ $back = $st-$pr; } $pct = ($st/20)+1; //====================================================================================== $quary_f = "SELECT * FROM `fav_article` WHERE `article_id` = '$articale_id' AND `user_id` = '$user_idu'"; $temp_f = mysql_query($quary_f); $fav_exists = mysql_num_rows($temp_f); $qry = "UPDATE `articales` SET `article_viewed` = `article_viewed`+1 WHERE `articale_id` = '$articale_id'"; $res = mysql_query($qry); //========================================== reg user details ====================================== if($user_wish_logged != ''){ $quaryu = "SELECT * FROM `users` WHERE `user_email` = '$user_wish_logged'"; $tempu = mysql_query($quaryu); $rowu = mysql_fetch_array($tempu); $user_idu = $rowu['user_id']; $qf = "SELECT * FROM `follow` WHERE `follower` = '$user_idu' AND `following` = '$user_id'"; $tf = mysql_query($qf); $fowe = mysql_num_rows($tf); } //===================================================================== $fb_main_url = "http://wishbowl.org/$user_wish/$post_url/"; ?> <?=$articale_title;?> | Wish Bowl
 



"; } ?> "; } ?>
Add to Fav
|
  • Added to fav
Added to fav
|
Add to Fav
|
Likes
|
  • Like
Likes
|
| |
Share :

Comments []

", $comments); $q = "SELECT * FROM `users` WHERE `user_id` = '$comentator_id'"; $t = mysql_query($q); $r = mysql_fetch_array($t); $u_n = $r['user_name']; $un = $r['uname']; $upic = $r['pic']; ?>
$pr) { if($back == '0'){ $back = 1; } while($y < $xx){ $y = $y+1; if($y == $wn){ $slrsx[] = "$y"; }else{ $slrsx[] = "$y"; }} echo $slrsx[$slr-5].$slrsx[$slr-4].$slrsx[$slr-3].$slrsx[$slr-2].$slrsx[$slr-1].$slrsx[$slr].$slrsx[$slr+1].$slrsx[$slr+2].$slrsx[$slr+3].$slrsx[$slr+4].$slrsx[$slr+5]; $next = $wn+1; if($next > $y){ $next = $y; }elseif($wn == '0' || $wn == ''){ $next = 2; } } ?>
Leave Comments