<?php
/* Ulyxex version 1.5.4.6 ***************/
/* code http://ulyxex.logz.org **********/
/* Andre Lozano http://andre-lozano.org */
if (!isset($admin)) exit("not in admin !");
require_once("core/admin_files.php");
/****************************************/
/* page elements						*/
$o_files = new ViewFiles("files/");
$o_files->level(4);

$userInfos = $o_files->user_params($_SESSION['userid']);
$css = $h->css("css/admin_style.css","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=1.0","name");
$title = $h->title($t->wr("files of").$userInfos['USERNAME']);
$js = $h->script("js/ulyxex.js","external");
$head = $h->head($ico.$meta.$css.$title.$js);

$topPage = $h->h1($t->wr("files of").$h->span($userInfos['USERNAME'],"class='username'"));
$data = $o_files->getFilesUrl();
/****************************************/
/* show									*/
$body = $h->body($topPage.$data);
$page = $h->html($head.$body);
echo $page;

function add_link($link) {
	global $h;
	$id = "file_".rand(10000,99999);
	return $h->li($h->ahref($link,"view")." ".$h->ahref("#",$link,"onmousedown=\"javascript:getLink('".$id."','".$link."');\""),"id='".$id."'");
}
?>

page url