<?php

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * @author  Ivan A Kirillov (Ivan.A.Kirillov@gmail.com)
 * @version $Id: pmd_general.php 11378 2008-07-09 15:24:44Z lem9 $
 * @package phpMyAdmin-Designer
 */
/**
 *
 */
require_once "./pmd_common.php";
$tab_column = get_tab_info();
$script_tabs = get_script_tabs();
$script_contr = get_script_contr();
$tab_pos = get_tab_pos();
$tables_pk_or_unique_keys = get_pk_or_unique_keys();
$tables_all_keys = get_all_keys();
$hidden = "hidden";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:v="urn:schemas-microsoft-com:vml" 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'];
?>
Example #2
0
<?php

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * phpMyAdmin designer general code
 *
 * @package PhpMyAdmin-Designer
 */
/**
 *
 */
require_once 'libraries/common.inc.php';
require_once 'libraries/pmd_common.php';
$script_display_field = get_tables_info();
$tab_column = get_columns_info();
$script_tables = get_script_tabs();
$script_contr = get_script_contr();
$tab_pos = get_tab_pos();
$tables_pk_or_unique_keys = get_pk_or_unique_keys();
$tables_all_keys = get_all_keys();
$params = array('lang' => $GLOBALS['lang']);
if (isset($_GET['db'])) {
    $params['db'] = $_GET['db'];
}
$response = PMA_Response::getInstance();
$response->getFooter()->setMinimal();
$header = $response->getHeader();
$header->setBodyId('pmd_body');
$scripts = $header->getScripts();
$scripts->addFile('pmd/ajax.js');
$scripts->addFile('pmd/history.js');