3 // vim: expandtab sw=4 ts=4 sts=4:
6 * Gets a core script and starts output buffering work
8 require('./libraries/common.lib.php3');
9 require('./libraries/ob.lib.php3');
11 $ob_mode = PMA_outBufferModeGet();
13 PMA_outBufferPre($ob_mode);
18 // garvin: For re-usability, moved http-headers
19 // to a seperate file. It can now be included by header.inc.php3,
20 // queryframe.php3, querywindow.php3.
22 include('./libraries/header_http.inc.php3');
25 * Sends the beginning of the html page then returns to the calling script
27 // Gets the font sizes to use
29 // Defines the cell alignment values depending on text direction
30 if ($text_dir == 'ltr') {
31 $cell_align_left = 'left';
32 $cell_align_right = 'right';
34 $cell_align_left = 'right';
35 $cell_align_right = 'left';
38 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
39 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
40 <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; ?>">
43 <title
><?php
echo $strSQLResult; ?
> - phpMyAdmin
<?php
echo PMA_VERSION ?
></title
>
44 <meta http
-equiv
="Content-Type" content
="text/html; charset=<?php echo $charset; ?>" />
45 <link rel
="stylesheet" type
="text/css" href
="./css/phpmyadmin.css.php3?lang=<?php echo $lang; ?>&js_frame=print" />
50 <body bgcolor
="#ffffff">
51 <h1
><?php
echo $strSQLResult; ?
></h1
>
53 <b
><?php
echo $strHost; ?
>:</b
> <?php
echo $cfg['Server']['host'] . ((!empty($cfg['Server']['port'])) ?
':' . $cfg['Server']['port'] : ''); ?
><br
/>
54 <b
><?php
echo $strDatabase; ?
>:</b
> <?php
echo htmlspecialchars($db); ?
><br
/>
55 <b
><?php
echo $strGenTime; ?
>:</b
> <?php
echo PMA_localisedDate(); ?
><br
/>
56 <b
><?php
echo $strGenBy; ?
>:</b
> phpMyAdmin
<?php
echo PMA_VERSION
; ?
><br
/>
57 <b
><?php
echo $strSQLQuery; ?
>:</b
> <?php
echo htmlspecialchars($full_sql_query); ?
>;
64 * Sets a variable to remember headers have been sent
66 $is_header_sent = TRUE;