$idGroup = $_COOKIE["idGroup"];
$user = $_COOKIE["Username"];
$quyen_xem = $_COOKIE['quyen_xem'];
$quyen_action = $_COOKIE['quyen_action'];
if ($idUser != '') {
    require_once 'config.php';
    require_once 'layout.php';
    require_once DIR . 'class.form.php';
    $form = new form();
    require_once DIR . 'class.quantri.php';
    $qt = new quantri();
    require_once DIR . 'class.sql.php';
    $sql = new sql();
    $p = $_GET["p"];
    if ($p == 'thoat') {
        $qt->logout();
        header("location:index.php");
    }
    ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Trang quản trị</title>
<link href="img/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../library/jquery.min.js"></script>
<script type="text/javascript" src="website.js"></script>

<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="ckeditor/ckfinder/ckfinder.js"></script>