Exemplo n.º 1
0
function admin()
{
    if (!is_admin()) {
        soft_error(_('You must be logged in as an admin.'));
    }
    return tag('div', options_form(), new_user_form());
}
Exemplo n.º 2
0
| Software Version     : Version 2.0.1 Build 2101
| Website              : http://www.ravan.info/
| E-mail               : support@ravan.info
|**************************************************************************************************
| The source files are subject to the Ravan Scripts End-User License Agreement included in License Agreement.html
| The files in the package must not be distributed in whole or significant part.
| All code is copyrighted unless otherwise advised.
| Do Not Remove Powered By Ravan Scripts without permission .         
|**************************************************************************************************
| Copyright (c) 2010 Ravan Scripts . All rights reserved.
|**************************************************************************************************/
include "sglobals.php";
//This contains user stuffs
switch ($_GET['action']) {
    case 'newuser':
        new_user_form();
        break;
    case 'newusersub':
        new_user_submit();
        break;
    case 'edituser':
        edit_user_begin();
        break;
    case 'edituserform':
        edit_user_form();
        break;
    case 'editusersub':
        edit_user_sub();
        break;
    case 'invbeg':
        inv_user_begin();