<?php
/* Ulyxex version 1.6.8.0 ***************/
/* code http://ulyxex.logz.org **********/
/* Andre Lozano http://andre-lozano.org */
if (!isset($index)) exit("out of index site");
require_once("core/view_user.php");
/****************************************/
/* page elements						*/
$o_user = new ViewUser();
$o_tree = new Tree();
$css = $h->css($home['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=".SCALE,"name");
$meta .= $h->meta("generator","Ulyxex ".VERSION,"name");
$script = $h->js("js/ulyxex.site.js","external");
$title = $h->title($t->w("user"));
$head = $h->head($meta.$ico.$css.$script.$title);

$topPage = $h->nav($o_tree->pagesNavigation(0,"user"),$h->v("class","navigation").$t->w("main-navigation"));

$bottomPage = $h->footer($h->ulyxCredits(1,$firstLine=false),$t->w("page-footer"));
/****************************************/
/* page data							*/	
$data = $o_user->user_data($paramId);
$data .= $o_user->user_links($paramId);
$data = $h->main($data,$t->w("user-information"));
/****************************************/
/* show									*/
$body = $h->bodydata($topPage.$data.$bottomPage,$h->v("id","viewuser_".$paramId));
$page = $h->html($head.$body,$h->v("lang",$t->getLang(LANG)));

echo $page;
?>

page url