[ Index ] |
|
Code source de Plume CMS 1.2.2 |
1 <?php 2 /* 3 # ***** BEGIN LICENSE BLOCK ***** 4 # This file is part of Plume CMS, a website management application. 5 # Copyright (C) 2001-2005 Loic d'Anterroches and contributors. 6 # 7 # Plume CMS is free software; you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation; either version 2 of the License, or 10 # (at your option) any later version. 11 # 12 # Plume CMS is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with this program; if not, write to the Free Software 19 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 # 21 # ***** END LICENSE BLOCK ***** */ 22 23 if (basename($_SERVER['SCRIPT_NAME']) == '_top.php') exit; 24 25 /* 26 * Can be include only after the creation of the manager ($m) 27 * object as used here. 28 */ 29 header('Content-Type: text/html; charset='.strtolower(config::f('encoding'))); 30 ?> 31 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 32 33 <html xmlns="http://www.w3.org/1999/xhtml"> 34 <head> 35 <title><?php echo $px_title; ?> - PLUME CMS</title> 36 <link rel="stylesheet" type="text/css" href="themes/<?php echo $_px_theme; ?>/style.css" /> 37 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo strtolower(config::f('encoding')); ?>" /> 38 <script type="text/javascript"> 39 <!-- 40 var pxThemeid = '<?php echo $_px_theme; ?>'; 41 //--> 42 </script> 43 <script type="text/javascript" src="tools.js"> </script> 44 <?php Hook::run('onPrintHeaderManagerPage', array('m' => &$m)); ?> 45 </head> 46 47 <body> 48 <?php include dirname(__FILE__).'/menu.php'; ?> 49 50 <div id="main"> 51 52 <?php echo $px_submenu->draw(); ?> 53 54 <div id="content"> 55 56 57 <p class="user-info"><?php echo $m->user->f('user_realname'); ?> 58 <br /><a href="login.php?logout=1"><?php echo __('Logout'); ?></a></p> 59 60 <?php 61 62 if(!empty($_GET['msg'])) { 63 $msg = $_GET['msg']; 64 } else { 65 $msg = $m->getMessage(); 66 } 67 if (!empty($msg)) { 68 echo '<p class="message">'.$msg.'</p>'; 69 } 70 if (false !== ($px_error = $m->error(true, false)) ) 71 echo "\n\n" . $px_error . "\n\n"; 72 ?> 73 74
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 11:57:01 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |