Current Path : /var/www/html/social/ |
|
Current File : /var/www/html/social/sportboard_ajax.php |
<?php session_start();
$recivearr = unserialize(base64_decode(base64_decode($_REQUEST['catidsss'])));
if(isset($_REQUEST['load_sport_msg']))
{
$postTable = $recivearr['postTab'];//'social_userpost';
$postLikeTable = $recivearr['postlike'];//'socialpostvslikes';
$replyTable = $recivearr['commentTab'];//'social_userreply';
$replyLikeTable = $recivearr['commentlike'];//'socialreplyvslikes';
$catid = $_REQUEST['selected_cat'];
$recivearr['other']['catid']=$catid;
require "__dashboardconfig/class.function.php";
$nuserid=$catid;//$_SESSION['userid'];
$userfrndsids='';
$userfollowids='';
//
$serialize = serialize($recivearr);
$encryptarr = base64_encode(base64_encode($serialize));
//
$limitdata=10;
$pids='';
dashboard::establishConnection();
$wallsocialdata = dashboard:: getwallhtml($nuserid,$userfrndsids,$userfollowids,$limitdata,$postTable,$postLikeTable,$replyTable,$replyLikeTable,$_SESSION['userid'],$_SESSION['userimg'],$catid,'','dashborduserpost',$pids);
print($wallsocialdata.'@RAJSEPRATOR@'.$encryptarr);
}
?>
,