function __construct() { self::$path = $_SESSION['URL_SYS']; }
<?php if (!isset($_SESSION['PATH_SYS'])) { require_once '_loadPaths.inc.php'; } $path = $_SESSION['PATH_SYS']; include_once $path['template'] . 'Template.php'; include_once $path['template'] . 'TemplateMensagens.php'; $templateGeral = new Template(); $templateMensagens = new TemplateMensagens(); $logado = unserialize($_SESSION['USR']); ?> <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Mensagens</title> <!-- Bootstrap --> <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="css/style.css"> <link href='http://fonts.googleapis.com/css?family=Overlock:400,400italic,700,900,700italic,900italic' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,200,200italic,300,300italic,400italic,600,700,600italic,700italic,900,900italic' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="js/malihu.3.0.3/mCustomScrollbar.css" /> <link rel="stylesheet" type="text/css" href="css/mensagens.css"> <link rel="stylesheet" href="js/bootstrap-select/dist/css/bootstrap-select.css"> </head> <body>