Current Path : /var/www/html/social/ |
|
Current File : /var/www/html/social/ajaxload_massageboard.php |
<?php session_start(); error_reporting(0);
require "__dashboardconfig/class.function.php";
dashboard::establishConnection();
$recivearr = unserialize(base64_decode(base64_decode($_POST['t0be4455Y08m1p'])));
$postTable = $recivearr['postTab'];//'social_userpost';
$postLikeTable = $recivearr['postlike'];//'socialpostvslikes';
$replyTable = $recivearr['commentTab'];//'social_userreply';
$replyLikeTable = $recivearr['commentlike'];//'socialreplyvslikes';
$catid = $recivearr['other']['catid'];
$nuserid = $_REQUEST['wallownerid'];
$userfrndsids = $_REQUEST['userfrndsids'];
$userfollowids = $_REQUEST['userfollowids'];
//$limitdata = $_REQUEST['limitdata'];
$limitdata1 = $_REQUEST['limitdata1'];
$limitdata2 = $_REQUEST['limitdata2'];
$limitdata3 = $_REQUEST['limitdata3'];
$pids='';
if($nuserid!=$_SESSION['userid']){
$userfrndsids=0;
}
else{
$userfrndsids = dashboard::getfollowingsid($nuserid);
$userfrndsids.= !empty($userfrndsids)?",".$nuserid:$nuserid;
}
$wallsocialdata = dashboard:: getwallhtml($nuserid,$userfrndsids,$userfollowids,$limitdata1,$postTable,$postLikeTable,$replyTable,$replyLikeTable,$_SESSION['userid'],$_SESSION['userimg'],$catid,'','dashborduserpost',$pids);
$wallsocialdatafrnds = dashboard:: getwallhtml($nuserid,$userfrndsids,$userfollowids,$limitdata2,$postTable,$postLikeTable,$replyTable,$replyLikeTable,$_SESSION['userid'],$_SESSION['userimg'],$catid,'frnds','frndspost',$pids);
$wallsocialdatamedia = dashboard:: getwallhtml($nuserid,$userfrndsids,$userfollowids,$limitdata3,$postTable,$postLikeTable,$replyTable,$replyLikeTable,$_SESSION['userid'],$_SESSION['userimg'],$catid,'frnds','frndspost',$pids);
echo $wallsocialdata.'RoopeshData'.$wallsocialdatafrnds.'RoopeshData'.$wallsocialdatamedia;
?>
,