2 /* vim: expandtab sw=4 ts=4 sts=4: */
6 * @uses libraries/common.inc.php global fnctions
7 * @package phpMyAdmin-test
14 * Gets core libraries and defines some variables
16 require_once './libraries/common.inc.php';
18 $lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][2];
21 header('Content-Type: text/html; charset=' . $GLOBALS['charset']);
23 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
24 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
25 <html xmlns
="http://www.w3.org/1999/xhtml"
26 xml
:lang
="<?php echo $lang_iso_code; ?>"
27 lang
="<?php echo $lang_iso_code; ?>"
28 dir
="<?php echo $GLOBALS['text_dir']; ?>">
30 <title
>phpMyAdmin
<?php
echo PMA_VERSION
; ?
> -
31 <?php
echo htmlspecialchars($HTTP_HOST); ?
> - Theme Test
</title
>
32 <meta http
-equiv
="Content-Type"
33 content
="text/html; charset=<?php echo $GLOBALS['charset']; ?>" />
34 <link rel
="stylesheet" type
="text/css"
35 href
="../phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=right&nocache=<?php echo $_SESSION['PMA_Config']->getMtime(); ?>" />
36 <link rel
="stylesheet" type
="text/css" media
="print"
37 href
="../print.css" />
38 <script src
="../js/functions.js" type
="text/javascript"></script
>
44 $separator = '<span class="separator">'
45 .'<img class="icon" src=../"' . $GLOBALS['pmaThemeImage'] . 'item_ltr.png"'
46 .' width="5" height="9" alt="-" /></span>' . "\n";
47 $item = '<a href="%1$s?%2$s" class="item">'
48 .' <img class="icon" src="../' . $GLOBALS['pmaThemeImage'] . '%5$s"'
49 .' width="16" height="16" alt="" /> ' . "\n"
50 .'%4$s: %3$s</a>' . "\n";
52 echo '<div id="serverinfo">' . "\n";
54 $GLOBALS['cfg']['DefaultTabServer'],
55 PMA_generate_common_url(),
57 $GLOBALS['strServer'],
62 $GLOBALS['cfg']['DefaultTabDatabase'],
65 $GLOBALS['strDatabase'],
70 $GLOBALS['cfg']['DefaultTabTable'],
73 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
75 : $GLOBALS['strTable']),
76 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
80 echo '<span class="table_comment" id="span_table_comment">'
81 .'"Table comment"</span>' . "\n";
91 $tabs['databases']['icon'] = '../../../../' . $pmaThemeImage . 's_db.png';
92 $tabs['databases']['link'] = 'server_databases.php';
93 $tabs['databases']['text'] = $strDatabases;
95 $tabs['sql']['icon'] = '../../../../' . $pmaThemeImage . 'b_sql.png';
96 $tabs['sql']['link'] = 'server_sql.php';
97 $tabs['sql']['text'] = $strSQL;
99 $tabs['status']['icon'] = '../../../../' . $pmaThemeImage . 's_status.png';
100 $tabs['status']['link'] = 'server_status.php';
101 $tabs['status']['text'] = $strStatus;
103 $tabs['vars']['icon'] = '../../../../' . $pmaThemeImage . 's_vars.png';
104 $tabs['vars']['link'] = 'server_variables.php';
105 $tabs['vars']['text'] = $strServerTabVariables;
107 $tabs['charset']['icon'] = '../../../../' . $pmaThemeImage . 's_asci.png';
108 $tabs['charset']['link'] = 'server_collations.php';
109 $tabs['charset']['text'] = $strCharsets;
111 $tabs['engine']['icon'] = '../../../../' . $pmaThemeImage . 'b_engine.png';
112 $tabs['engine']['link'] = 'server_engines.php';
113 $tabs['engine']['text'] = $strEngines;
115 $tabs['rights']['icon'] = '../../../../' . $pmaThemeImage . 's_rights.png';
116 $tabs['rights']['link'] = 'server_privileges.php';
117 $tabs['rights']['text'] = $strPrivileges;
119 $tabs['binlog']['icon'] = '../../../../' . $pmaThemeImage . 's_tbl.png';
120 $tabs['binlog']['link'] = 'server_binlog.php';
121 $tabs['binlog']['text'] = $strBinaryLog;
123 $tabs['process']['icon'] = '../../../../' . $pmaThemeImage . 's_process.png';
124 $tabs['process']['link'] = 'server_processlist.php';
125 $tabs['process']['text'] = 'caution';
126 $tabs['process']['class'] = 'caution';
128 $tabs['export']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
129 $tabs['export']['text'] = 'disabled';
131 $tabs['export2']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
132 $tabs['export2']['text'] = 'disabled caution';
133 $tabs['export2']['class'] = 'caution';
135 $tabs['import']['icon'] = '../../../../' . $pmaThemeImage . 'b_import.png';
136 $tabs['import']['link'] = 'server_import.php';
137 $tabs['import']['text'] = 'active';
138 $tabs['import']['class'] = 'active';
140 echo PMA_getTabs($tabs);
143 if (@file_exists
($pmaThemeImage . 'logo_right.png')) {
145 <img id
="pmalogoright" src
="../<?php echo $pmaThemeImage; ?>logo_right.png"
152 echo sprintf($strWelcome,
153 '<bdo dir="ltr" xml:lang="en">phpMyAdmin ' . PMA_VERSION
. '</bdo>');
157 <hr
class="clearfloat" />
159 <form method
="post" action
="theme.php" target
="_parent">
161 <legend
><?php
echo $strTheme; ?
></legend
>
163 echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox(false);
165 <noscript
><input type
="submit" value
="Go" style
="vertical-align: middle" /></noscript
>
176 <div
class="success">
177 success message box content
!
179 <div
class="success">
180 <h1
>Auccess message box header
!</h1
>
181 success message box content
!
185 notice message box content
!
188 <h1
>Notice message box header
!</h1
>
189 notice message box content
!
192 <div
class="warning">
193 warning message box content
!
195 <div
class="warning">
196 <h1
>Warning message box header
!</h1
>
197 warning message box content
!
201 error message box content
!
204 <h1
>Error message box header
!</h1
>
205 error message box content
!
208 <fieldset
class="confirmation">
209 <legend
>Confirmation fieldset
</legend
>
210 <tt
>QUERY TO EXECUTE
;</tt
>
212 <fieldset
class="tblFooters">
213 <input type
="submit" name
="yes" value
="YES" />
214 <input type
="submit" name
="no" value
="NO" />
219 <div
class="success">
220 success message box content
!
223 <span
class="syntax">
224 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
225 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
> <span
class="syntax_quote syntax_quote_backtick">`test`
</span
> <span
class="syntax_white syntax_white_newline"></span
><br
/>
226 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
> <span
class="syntax_digit syntax_digit_integer">0</span
><span
class="syntax_punct syntax_punct_listsep">,</span
> <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
227 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
228 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
> <span
class="syntax_quote syntax_quote_backtick">`test`
</span
> <span
class="syntax_white syntax_white_newline"></span
><br
/>
229 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
> <span
class="syntax_digit syntax_digit_integer">0</span
><span
class="syntax_punct syntax_punct_listsep">,</span
> <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
230 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
231 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
> <span
class="syntax_quote syntax_quote_backtick">`test`
</span
> <span
class="syntax_white syntax_white_newline"></span
><br
/>
232 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
> <span
class="syntax_digit syntax_digit_integer">0</span
><span
class="syntax_punct syntax_punct_listsep">,</span
> <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
233 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
234 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
> <span
class="syntax_quote syntax_quote_backtick">`test`
</span
> <span
class="syntax_white syntax_white_newline"></span
><br
/>
235 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
> <span
class="syntax_digit syntax_digit_integer">0</span
><span
class="syntax_punct syntax_punct_listsep">,</span
> <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
240 <a href
="tbl_sql.php?db=test;table=test;sql_query=SELECT+%2A+FROM+%60test%60;show_query=1;token=266edabf70fa6368498d89b4054d01bf#querybox" onclick
="window.parent.focus_querywindow('SELECT * FROM `test`'); return false;">Bearbeiten
</a
>
242 <a href
="import.php?db=test;table=test;sql_query=EXPLAIN+SELECT+%2A+FROM+%60test%60;token=266edabf70fa6368498d89b4054d01bf" >SQL erklären
</a
>
244 <a href
="import.php?db=test;table=test;sql_query=SELECT+%2A+FROM+%60test%60;show_query=1;show_as_php=1;token=266edabf70fa6368498d89b4054d01bf" >PHP
-Code erzeugen
</a
>
246 <a href
="import.php?db=test;table=test;sql_query=SELECT+%2A+FROM+%60test%60;show_query=1;token=266edabf70fa6368498d89b4054d01bf" >Aktualisieren
</a
>
252 <caption
>table
.data caption
</caption
>
255 <th
>table
.data thead tr th
</th
>
256 <th
>table
.data thead tr th
</th
>
257 <th colspan
="3">action
</th
>
258 <th
>table
.data thead tr th
</th
>
263 <th
>table
.data tfoot tr th
</th
>
264 <th
class="value">table
.data tfoot tr th
</th
>
265 <th colspan
="3">action
</th
>
266 <th
>table
.data tfoot tr th
</th
>
271 <td
><input type
="checkbox" id
="checkbox_1" name
="checkbox_1"
273 <th
><label
for="checkbox_1">th label
</label
</th
>
274 <td
class="value">td
.value
</td
>
275 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
276 width
="16" height
="16" alt
="drop" /></td
>
277 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
278 width
="16" height
="16" alt
="drop" /></td
>
279 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
280 width
="16" height
="16" alt
="drop" /></td
>
281 <td
>table
.data tbody tr
.odd td
</td
>
284 <td
><input type
="checkbox" id
="checkbox_2" name
="checkbox_2"
286 <th
><label
for="checkbox_2">th label
</label
</th
>
287 <td
class="value">td
.value
</td
>
288 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
289 width
="16" height
="16" alt
="drop" /></td
>
290 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
291 width
="16" height
="16" alt
="drop" /></td
>
292 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
293 width
="16" height
="16" alt
="drop" /></td
>
294 <td
>table
.data tbody tr
.even td
</td
>
297 <td
><input type
="checkbox" id
="checkbox_3" name
="checkbox_3"
299 <th
><label
for="checkbox_3">th label
</label
</th
>
300 <td
class="value">td
.value
</td
>
301 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
302 width
="16" height
="16" alt
="drop" /></td
>
303 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
304 width
="16" height
="16" alt
="drop" /></td
>
305 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
306 width
="16" height
="16" alt
="drop" /></td
>
307 <td
>table
.data tbody tr
.odd td
</td
>
310 <td
><input type
="checkbox" id
="checkbox_4" name
="checkbox_4"
312 <th
><label
for="checkbox_4">th label
</label
</th
>
313 <td
class="value">td
.value
</td
>
314 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
315 width
="16" height
="16" alt
="drop" /></td
>
316 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
317 width
="16" height
="16" alt
="drop" /></td
>
318 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
319 width
="16" height
="16" alt
="drop" /></td
>
320 <td
>table
.data tbody tr
.even td
</td
>