View file bolcms-3.0.1./users/office.php

File size: 486B
<?php 
$title = 'Мой кабинет';
require("../system/core.php");
if(empty($_SESSION['login'])){header("location: ../");}

switch($_GET['act']){

default:

echo '<div class="phdr">' .$lng ['menu'] . ' </div>';
echo '<div class="menu"><a href="profile.php?id='.$_SESSION['id'].'">' .$lng ['prof'] . ' </a></div>';

nav();
break;

case 'exit':

unset($_SESSION['id']);
unset($_SESSION['login']);
info(' ' .$lng ['ex'] . ' ');
nav();

break;

}

require("../system/end.php");
?>