Documentation TYPO3 par Ameos

header_printview.inc.php

00001 <?php
00002 /* $Id: header_printview.inc.php,v 2.3.2.1 2004/01/23 16:07:10 rabus Exp $ */
00003 // vim: expandtab sw=4 ts=4 sts=4:
00004 
00008 require_once('./libraries/common.lib.php');
00009 require_once('./libraries/ob.lib.php');
00010 if ($cfg['OBGzip']) {
00011     $ob_mode = PMA_outBufferModeGet();
00012     if ($ob_mode) {
00013         PMA_outBufferPre($ob_mode);
00014     }
00015 }
00016 
00017 // Check parameters
00018 
00019 PMA_checkParameters(array('db', 'full_sql_query'));
00020 
00021 
00022 // garvin: For re-usability, moved http-headers
00023 // to a seperate file. It can now be included by header.inc.php,
00024 // queryframe.php, querywindow.php.
00025 
00026 require_once('./libraries/header_http.inc.php');
00027 
00031 // Gets the font sizes to use
00032 PMA_setFontSizes();
00033 // Defines the cell alignment values depending on text direction
00034 if ($text_dir == 'ltr') {
00035     $cell_align_left  = 'left';
00036     $cell_align_right = 'right';
00037 } else {
00038     $cell_align_left  = 'right';
00039     $cell_align_right = 'left';
00040 }
00041 ?>
00042 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
00043     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
00044 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $available_languages[$lang][2]; ?>" lang="<?php echo $available_languages[$lang][2]; ?>" dir="<?php echo $text_dir; ?>">
00045 
00046 <head>
00047 <title><?php echo $strSQLResult; ?> - phpMyAdmin <?php echo PMA_VERSION ?></title>
00048 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>" />
00049 <link rel="stylesheet" type="text/css" href="./css/phpmyadmin.css.php?lang=<?php echo $lang; ?>&amp;js_frame=print" />
00050 </style>
00051 </head>
00052 
00053 
00054 <body bgcolor="#ffffff">
00055 <h1><?php echo $strSQLResult; ?></h1>
00056 <p>
00057     <b><?php echo $strHost; ?>:</b> <?php echo $cfg['Server']['verbose'] ? $cfg['Server']['verbose'] : $cfg['Server']['host'] . ((!empty($cfg['Server']['port'])) ? ':' . $cfg['Server']['port'] : ''); ?><br />
00058     <b><?php echo $strDatabase; ?>:</b> <?php echo htmlspecialchars($db); ?><br />
00059     <b><?php echo $strGenTime; ?>:</b> <?php echo PMA_localisedDate(); ?><br />
00060     <b><?php echo $strGenBy; ?>:</b> phpMyAdmin&nbsp;<?php echo PMA_VERSION; ?>&nbsp;/ MySQL&nbsp;<?php echo PMA_MYSQL_STR_VERSION; ?><br />
00061     <b><?php echo $strSQLQuery; ?>:</b> <?php echo htmlspecialchars($full_sql_query); ?>;
00062     <?php if (isset($num_rows)) { ?><br />
00063     <b><?php echo $strRows; ?>:</b> <?php echo $num_rows; ?>
00064     <?php } ?>
00065 </p>
00066 
00067 
00068 <?php
00069 
00073 $is_header_sent = TRUE;
00074 ?>


Généré par TYPO3 Ameos avec  doxygen 1.4.6