user_details($user_greet_main); $username_sgm = $user_datass[username]; $user_idm = $user_datass[user_id]; if($user_greet == ''){ $user_greet = $username_sgm; } $user_data = $sanformation->user_details_by_usr($user_greet); $user_id = $user_data[user_id]; if($user_id != '0'){ $user_name = $user_data[user_name]; $pic = $user_data[pic]; $circles = $user_data[circles]; $user_email = $user_data[user_email]; } //======================================= FRIENDS ===================================================== $in_circle_request = user_circles_request($user_idm,$user_id); $in_circle = user_circles($user_idm,$user_id); //=========================================================== navigation part =========================== $pr = $_REQUEST['pr']; if(!$pr) $pr = 10; $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; } //======================================================================================================== function mnth($month){ if($month=='') {$month1 = "MM";} if($month==0) {$month1 = "MM";} if($month==1) {$month1 = "January";} if($month==2) {$month1 = "February";} if($month==3) {$month1 = "March";} if($month==4) {$month1 = "April";} if($month==5) {$month1 = "May";} if($month==6) {$month1 = "June";} if($month==7) {$month1 = "July";} if($month==8) {$month1 = "August";} if($month==9) {$month1 = "September";} if($month==10) {$month1 = "October";} if($month==11) {$month1 = "November";} if($month==12) {$month1 = "December";} return $month1; } include 'opendb.php'; ?> <?=$e_tag_echo;?>

All posts with

'; if($fav_ecards != '0'){ echo wall_ecard($wall_id,$fav_ecards,$user_id); } elseif($fav_poems != '0'){ echo wall_poem($wall_id,$fav_poems,$user_id); } elseif($fav_quotes != '0'){ echo wall_quote($wall_id,$fav_quotes,$user_id); } elseif($fav_sms != '0'){ echo wall_sms($wall_id,$fav_sms,$user_id); } elseif($description != ''){ echo wall_text($wall_id,$wall_id,$user_id,$uids); } elseif($photo_name != ''){ echo wall_photo($wall_id,$photo_name,$user_id,$uids); } elseif($video_code != ''){ echo wall_video($wall_id,$wall_id,$user_id,$uids); } echo '
'; } $wn = 1; $new_st = $wn+1; if($cc == $pr){ echo ''; } else { } ?>