[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <?php 2 3 // phpSysInfo - A PHP System Information Script 4 // http://phpsysinfo.sourceforge.net/ 5 6 // This program is free software; you can redistribute it and/or 7 // modify it under the terms of the GNU General Public License 8 // as published by the Free Software Foundation; either version 2 9 // of the License, or (at your option) any later version. 10 11 // This program is distributed in the hope that it will be useful, 12 // but WITHOUT ANY WARRANTY; without even the implied warranty of 13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 // GNU General Public License for more details. 15 16 // You should have received a copy of the GNU General Public License 17 // along with this program; if not, write to the Free Software 18 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 20 // $Id: system_header.php,v 1.27 2005/12/10 15:54:41 bigmichi1 Exp $ 21 if (!defined('IN_PHPSYSINFO')) { 22 die("No Hacking"); 23 } 24 25 @header("Cache-Control: no-cache, must-revalidate"); 26 if (!isset($charset)) { 27 $charset = 'iso-8859-1'; 28 } 29 30 setlocale (LC_ALL, $text['locale']); 31 32 @header('Content-Type: text/html; charset=' . $charset); 33 34 global $XPath; 35 global $theme; 36 $theme_path="themes/".$theme."/"; 37 38 echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"; 39 echo "<html>\n"; 40 echo created_by(); 41 echo "<head>\n"; 42 echo "<style type='text/css'>@import url('$theme_path/style.css');</style>\n"; 43 echo " <title>" . $text['title'], " -- ", $XPath->getData('/phpsysinfo/Vitals/Hostname'), " --</title>\n"; 44 45 if (isset($charset) && $charset == 'euc-jp') { 46 echo " <meta http-equiv=\"content-type\" content=\"text/html;charset=$charset\">\n"; 47 } 48 if (isset($refresh) && ($refresh = intval($refresh))) { 49 echo " <meta http-equiv=\"Refresh\" content=\"$refresh\">\n"; 50 } 51 if (file_exists(APP_ROOT . "/templates/$template/$template.css")) { 52 echo " <link rel=\"stylesheet\" type=\"text/css\" href=\"" . $webpath . "templates/" . $template . "/" . $template . ".css\">\n"; 53 } 54 55 echo "</head>\n"; 56 57 if (file_exists(APP_ROOT . "/templates/$template/images/$template" . "_background.gif")) { 58 echo "<body background='modules/System/templates/' . $webpath . 'templates/' . $template . '/images/' . $template . '_background.gif\'>"; 59 } else { 60 echo "<body>\n"; 61 } 62 63 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |