File "profilo.inc.php"
Full Path: /srv/www/www.cadoro.it/src/controllers/profilo.inc.php
File size: 355 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
if (!$principal) {
header("Location: " . BASE_URL . "/login?" . http_build_query(array("nexturl" => $request_uri)));
exit;
}
$banners = models\Banner::get(array("published" => 1, "dates" => 1, "category" => 2), 0, 4);
$smarty->assign("banners", $banners);
$smarty->assign("menu", "profilo");
$smarty->display("profilo.tmpl");