<?php
/* Ulyxex version 1.6.7.8 ***************/
/* code http://ulyxex.logz.org **********/
/* Andre Lozano http://andre-lozano.org */
if (!isset($admin)) exit("not in admin !");
require_once("core/admin_users.php");
/****************************************/
/* page elements */
$o_usr = new Users();
$o_usr->level(1);
$userInfos = $o_usr->user_params($_SESSION['userid']);
$css = $h->css("css/".ADMINCSS,"external");
$ico = $h->ico("favicon.png");
$meta = $h->meta("Content-Type","text/html; charset=UTF-8");
$meta .= $h->meta("viewport","width=device-width, initial-scale=".SCALE,"name");
$title = $h->title($t->wr("users of").$userInfos['USERNAME']);
$head = $h->head($meta.$ico.$css.$title);
$topPage = $h->h2($t->wr("users of").$h->span($userInfos['USERNAME'],$h->v("class","username")));
$topPage .= $h->h2($adminNavigation->links,$h->v("class","navbtns"));
$bottomPage = $h->ulyxCredits(1,$firstLine=False);
/****************************************/
/* page data */
$css = $h->v("class","admtxtsmall");
$data = $h->p($t->w("when delete user"),$css);
$data .= $h->p($t->w("transfer to sandbox"),$css);
$data .= $h->p($t->w("tie to superuser"),$css);
$data .= isset($_POST['update'])?$o_usr->update_users():"";
$data .= $o_usr->list_users();
/****************************************/
/* show */
$bottomPage .= $h->countQ();
$body = $h->bodyadmin($topPage.$data.$bottomPage);
$page = $h->html($head.$body,$h->v("lang",$t->getLang(LANG)));
echo $page;
?>
page url