Your IP : 216.73.216.93


Current Path : /home/users/unlimited/www/facebook.codeskitter.site/xhr/
Upload File :
Current File : /home/users/unlimited/www/facebook.codeskitter.site/xhr/session_load.php

<?php 
if ($f == 'session_load') {
    $html = "";
    if (!empty($_POST['ids']) && is_array($_POST['ids'])) {
        $ids = array();
        foreach ($_POST['ids'] as $key => $value) {
            if (!empty($value) && is_numeric($value)) {
                $ids[] = Wo_Secure($value);
            }
        }
        $get_sessions = Wo_GetAllSessionsFromUserID($wo['user']['user_id'],10,$ids);
        if (count($get_sessions) > 0) {
            foreach ($get_sessions as $wo['key'] => $wo['session']) {
                $html .= Wo_LoadPage('setting/includes/sessions');
            }
        }
    }
    $data['status'] = 200;
    $data['html'] = $html;
    header("Content-type: application/json");
    echo json_encode($data);
    exit();
}