2 /* vim: set expandtab sw=4 ts=4 sts=4: */
6 * @package PhpMyAdmin-test
12 * Gets core libraries and defines some variables
14 require_once './libraries/common.inc.php';
16 $lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][1];
19 header('Content-Type: text/html; charset=utf-8');
21 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
22 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
23 <html xmlns
="http://www.w3.org/1999/xhtml"
24 xml
:lang
="<?php echo $lang_iso_code; ?>"
25 lang
="<?php echo $lang_iso_code; ?>"
26 dir
="<?php echo $GLOBALS['text_dir']; ?>">
28 <title
>phpMyAdmin
<?php
echo PMA_VERSION
; ?
> -
29 <?php
echo htmlspecialchars($HTTP_HOST); ?
> - Theme Test
</title
>
30 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8" />
31 <link rel
="stylesheet" type
="text/css"
32 href
="../phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=right&nocache=<?php echo $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
33 <link rel
="stylesheet" type
="text/css" media
="print"
34 href
="../print.css" />
35 <script src
="../js/functions.js" type
="text/javascript"></script
>
41 $separator = '<span class="separator">'
42 .'<img class="icon ic_item_ltr" src="../themes/dot.gif"'
43 .' width="5" height="9" alt="-" /></span>' . "\n";
44 $item = '<a href="%1$s?%2$s" class="item">'
45 .' <img class="icon %5$s" src="../themes/dot.gif"'
46 .' width="16" height="16" alt="" /> ' . "\n"
47 .'%4$s: %3$s</a>' . "\n";
49 echo '<div id="serverinfo">' . "\n";
52 $GLOBALS['cfg']['DefaultTabServer'],
53 PMA_generate_common_url(),
62 $GLOBALS['cfg']['DefaultTabDatabase'],
72 $GLOBALS['cfg']['DefaultTabTable'],
75 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
78 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
83 echo '<span class="table_comment" id="span_table_comment">'
84 .'"Table comment"</span>' . "\n";
94 $tabs['databases']['icon'] = 'ic_s_db';
95 $tabs['databases']['link'] = 'server_databases.php';
96 $tabs['databases']['text'] = __('Databases');
98 $tabs['sql']['icon'] = 'b_sql.png';
99 $tabs['sql']['link'] = 'server_sql.php';
100 $tabs['sql']['text'] = __('SQL');
102 $tabs['status']['icon'] = 'ic_s_status';
103 $tabs['status']['link'] = 'server_status.php';
104 $tabs['status']['text'] = __('Status');
106 $tabs['vars']['icon'] = 'ic_s_vars';
107 $tabs['vars']['link'] = 'server_variables.php';
108 $tabs['vars']['text'] = __('Variables');
110 $tabs['charset']['icon'] = 'ic_s_asci';
111 $tabs['charset']['link'] = 'server_collations.php';
112 $tabs['charset']['text'] = __('Charsets');
114 $tabs['engine']['icon'] = 'ic_b_engine';
115 $tabs['engine']['link'] = 'server_engines.php';
116 $tabs['engine']['text'] = __('Engines');
118 $tabs['rights']['icon'] = 'ic_s_rights';
119 $tabs['rights']['link'] = 'server_privileges.php';
120 $tabs['rights']['text'] = __('Privileges');
122 $tabs['binlog']['icon'] = 'ic_s_tbl';
123 $tabs['binlog']['link'] = 'server_binlog.php';
124 $tabs['binlog']['text'] = __('Binary log');
126 $tabs['process']['icon'] = 'ic_s_process';
127 $tabs['process']['link'] = 'server_processlist.php';
128 $tabs['process']['text'] = 'caution';
129 $tabs['process']['class'] = 'caution';
131 $tabs['export']['icon'] = 'ic_b_export';
132 $tabs['export']['text'] = 'disabled';
134 $tabs['export2']['icon'] = 'ic_b_export';
135 $tabs['export2']['text'] = 'disabled caution';
136 $tabs['export2']['class'] = 'caution';
138 $tabs['import']['icon'] = 'ic_b_import';
139 $tabs['import']['link'] = 'server_import.php';
140 $tabs['import']['text'] = 'active';
141 $tabs['import']['class'] = 'active';
143 echo PMA_generate_html_tabs($tabs, array(), '../../../../');
146 if (@file_exists
($pmaThemeImage . 'logo_right.png')) {
148 <img id
="pmalogoright" src
="../<?php echo $pmaThemeImage; ?>logo_right.png"
155 echo sprintf(__('Welcome to %s'),
156 '<bdo dir="ltr" xml:lang="en">phpMyAdmin ' . PMA_VERSION
. '</bdo>');
160 <hr
class="clearfloat" />
162 <form method
="post" action
="theme.php" target
="_parent">
164 <legend
><?php
echo __('Theme'); ?
></legend
>
166 echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox(false);
168 <noscript
><input type
="submit" value
="Go" style
="vertical-align: middle" /></noscript
>
179 <div
class="success">
180 success message box content
!
182 <div
class="success">
183 <h1
>Auccess message box header
!</h1
>
184 success message box content
!
188 notice message box content
!
191 <h1
>Notice message box header
!</h1
>
192 notice message box content
!
195 error message box content
!
198 <h1
>Error message box header
!</h1
>
199 error message box content
!
202 <fieldset
class="confirmation">
203 <legend
>Confirmation fieldset
</legend
>
204 <tt
>QUERY TO EXECUTE
;</tt
>
206 <fieldset
class="tblFooters">
207 <input type
="submit" name
="yes" value
="YES" />
208 <input type
="submit" name
="no" value
="NO" />
213 <div
class="success">
214 success message box content
!
217 <span
class="syntax">
218 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
>
219 <span
class="syntax_punct">*</span
> <br
/>
220 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
>
221 <span
class="syntax_quote syntax_quote_backtick">`test`
</span
>
222 <span
class="syntax_white syntax_white_newline"></span
><br
/>
223 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
>
224 <span
class="syntax_digit syntax_digit_integer">0</span
>
225 <span
class="syntax_punct syntax_punct_listsep">,</span
>
226 <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
227 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
>
228 <span
class="syntax_punct">*</span
> <br
/>
229 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
>
230 <span
class="syntax_quote syntax_quote_backtick">`test`
</span
>
231 <span
class="syntax_white syntax_white_newline"></span
><br
/>
232 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
>
233 <span
class="syntax_digit syntax_digit_integer">0</span
>
234 <span
class="syntax_punct syntax_punct_listsep">,</span
>
235 <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
236 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
>
237 <span
class="syntax_punct">*</span
> <br
/>
238 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
>
239 <span
class="syntax_quote syntax_quote_backtick">`test`
</span
>
240 <span
class="syntax_white syntax_white_newline"></span
><br
/>
241 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
>
242 <span
class="syntax_digit syntax_digit_integer">0</span
>
243 <span
class="syntax_punct syntax_punct_listsep">,</span
>
244 <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
245 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
>
246 <span
class="syntax_punct">*</span
> <br
/>
247 <span
class="syntax_alpha syntax_alpha_reservedWord">FROM
</span
>
248 <span
class="syntax_quote syntax_quote_backtick">`test`
</span
>
249 <span
class="syntax_white syntax_white_newline"></span
><br
/>
250 <span
class="syntax_alpha syntax_alpha_reservedWord">LIMIT
</span
>
251 <span
class="syntax_digit syntax_digit_integer">0</span
>
252 <span
class="syntax_punct syntax_punct_listsep">,</span
>
253 <span
class="syntax_digit syntax_digit_integer">30</span
>;<br
/>
258 <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
>
260 <a href
="import.php?db=test;table=test;sql_query=EXPLAIN+SELECT+%2A+FROM+%60test%60;token=266edabf70fa6368498d89b4054d01bf" >SQL erklären
</a
>
262 <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
>
264 <a href
="import.php?db=test;table=test;sql_query=SELECT+%2A+FROM+%60test%60;show_query=1;token=266edabf70fa6368498d89b4054d01bf" >Aktualisieren
</a
>
270 <caption
>table
.data caption
</caption
>
273 <th
>table
.data thead tr th
</th
>
274 <th
>table
.data thead tr th
</th
>
275 <th colspan
="3">action
</th
>
276 <th
>table
.data thead tr th
</th
>
281 <th
>table
.data tfoot tr th
</th
>
282 <th
class="value">table
.data tfoot tr th
</th
>
283 <th colspan
="3">action
</th
>
284 <th
>table
.data tfoot tr th
</th
>
289 <td
><input type
="checkbox" id
="checkbox_1" name
="checkbox_1"
291 <th
><label
for="checkbox_1">th label
</label
></th
>
292 <td
class="value">td
.value
</td
>
293 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
294 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
295 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
296 <td
>table
.data tbody tr
.odd td
</td
>
299 <td
><input type
="checkbox" id
="checkbox_2" name
="checkbox_2"
301 <th
><label
for="checkbox_2">th label
</label
></th
>
302 <td
class="value">td
.value
</td
>
303 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
304 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
305 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
306 <td
>table
.data tbody tr
.even td
</td
>
309 <td
><input type
="checkbox" id
="checkbox_3" name
="checkbox_3"
311 <th
><label
for="checkbox_3">th label
</label
></th
>
312 <td
class="value">td
.value
</td
>
313 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
314 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
315 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
316 <td
>table
.data tbody tr
.odd td
</td
>
319 <td
><input type
="checkbox" id
="checkbox_4" name
="checkbox_4"
321 <th
><label
for="checkbox_4">th label
</label
></th
>
322 <td
class="value">td
.value
</td
>
323 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
324 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
325 <td
><img
class="icon ic_bd_drop" src
="../themes/dot.gif" alt
="drop" /></td
>
326 <td
>table
.data tbody tr
.even td
</td
>