Пример #1
0
            $jaxl->getRosterList();
            break;
        case 'setStatus':
            $jaxl->setStatus(FALSE, FALSE, FALSE, TRUE);
            break;
        case 'message':
            $jaxl->sendMessage(BOSHCHAT_ADMIN_JID, $_REQUEST['message']);
            break;
        case 'ping':
            $jaxl->JAXL0206('ping');
            break;
        case 'jaxl':
            $jaxl->JAXL0206('jaxl', $_REQUEST['xml']);
            break;
        case 'manish':
            $jaxl->JAXL0060('getNodeItems', 'pubsub.64.22.114.70', 'user3@64.22.114.70', 'test1223', 'thisistestfunction');
            break;
        default:
            $response = array('jaxl' => '400', 'desc' => $_REQUEST['jaxl'] . " not implemented");
            $jaxl->JAXL0206('out', $response);
            break;
    }
}
if (!isset($_REQUEST['jaxl'])) {
    // Serve application UI if $_REQUEST['jaxl'] is not set
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" dir="ltr">
        <head profile="http://gmpg.org/xfn/11">
                <link rel="SHORTCUT ICON" href="http://im.jaxl.im/favicon.ico" type="image/x-icon">