home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / xampp-win32-1.6.7-installer.exe / phpMyAdmin / libraries / header_meta_style.inc.php < prev    next >
Encoding:
PHP Script  |  2008-06-23  |  2.1 KB  |  50 lines

  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4.  *
  5.  * @version $Id: header_meta_style.inc.php 11326 2008-06-17 21:32:48Z lem9 $
  6.  */
  7. if (! defined('PHPMYADMIN')) {
  8.     exit;
  9. }
  10.  
  11. /**
  12.  *
  13.  */
  14. if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) {
  15.     die("GLOBALS overwrite attempt");
  16. }
  17.  
  18. /**
  19.  * Sends the beginning of the html page then returns to the calling script
  20.  */
  21. // Defines the cell alignment values depending on text direction
  22. if ($GLOBALS['text_dir'] == 'ltr') {
  23.     $GLOBALS['cell_align_left']  = 'left';
  24.     $GLOBALS['cell_align_right'] = 'right';
  25. } else {
  26.     $GLOBALS['cell_align_left']  = 'right';
  27.     $GLOBALS['cell_align_right'] = 'left';
  28. }
  29. // removes the bug with the horizontal scrollbar in IE (it's allways shown, if need it or not)
  30. // xml declaration moves IE into quirks mode, making much trouble with CSS
  31. /* echo '<?xml version="1.0" encoding="' . $GLOBALS['charset'] . '"?>'; */
  32.  
  33. ?>
  34. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  35.     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  36. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" lang="<?php echo $GLOBALS['available_languages'][$GLOBALS['lang']][2]; ?>" dir="<?php echo $GLOBALS['text_dir']; ?>">
  37. <head>
  38.     <link rel="icon" href="./favicon.ico" type="image/x-icon" />
  39.     <link rel="shortcut icon" href="./favicon.ico" type="image/x-icon" />
  40.     <title><?php
  41.     if (!empty($page_title)) {
  42.         echo htmlspecialchars($page_title);
  43.     } else {
  44.         echo 'phpMyAdmin';
  45.     }
  46. ?></title>
  47.     <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
  48.     <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=<?php echo isset($print_view) ? 'print' : 'right'; ?>&nocache=<?php echo $_SESSION['PMA_Config']->getThemeUniqueValue(); ?>" />
  49.     <link rel="stylesheet" type="text/css" href="<?php echo defined('PMA_PATH_TO_BASEDIR') ? PMA_PATH_TO_BASEDIR : ''; ?>print.css" media="print" />
  50.