2 /* vim: set expandtab sw=4 ts=4 sts=4: */
6 * @uses libraries/common.inc.php global fnctions
7 * @package phpMyAdmin-test
13 * Gets core libraries and defines some variables
15 require_once './libraries/common.inc.php';
17 $lang_iso_code = $GLOBALS['available_languages'][$GLOBALS['lang']][1];
20 header('Content-Type: text/html; charset=utf-8');
22 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
23 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
24 <html xmlns
="http://www.w3.org/1999/xhtml"
25 xml
:lang
="<?php echo $lang_iso_code; ?>"
26 lang
="<?php echo $lang_iso_code; ?>"
27 dir
="<?php echo $GLOBALS['text_dir']; ?>">
29 <title
>phpMyAdmin
<?php
echo PMA_VERSION
; ?
> -
30 <?php
echo htmlspecialchars($HTTP_HOST); ?
> - Theme Test
</title
>
31 <meta http
-equiv
="Content-Type" content
="text/html; charset=utf-8" />
32 <link rel
="stylesheet" type
="text/css"
33 href
="../phpmyadmin.css.php?<?php echo PMA_generate_common_url(); ?>&js_frame=right&nocache=<?php echo $GLOBALS['PMA_Config']->getThemeUniqueValue(); ?>" />
34 <link rel
="stylesheet" type
="text/css" media
="print"
35 href
="../print.css" />
36 <script src
="../js/functions.js" type
="text/javascript"></script
>
42 $separator = '<span class="separator">'
43 .'<img class="icon" src=../"' . $GLOBALS['pmaThemeImage'] . 'item_ltr.png"'
44 .' width="5" height="9" alt="-" /></span>' . "\n";
45 $item = '<a href="%1$s?%2$s" class="item">'
46 .' <img class="icon" src="../' . $GLOBALS['pmaThemeImage'] . '%5$s"'
47 .' width="16" height="16" alt="" /> ' . "\n"
48 .'%4$s: %3$s</a>' . "\n";
50 echo '<div id="serverinfo">' . "\n";
52 $GLOBALS['cfg']['DefaultTabServer'],
53 PMA_generate_common_url(),
60 $GLOBALS['cfg']['DefaultTabDatabase'],
68 $GLOBALS['cfg']['DefaultTabTable'],
71 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
74 (isset($GLOBALS['tbl_is_view']) && $GLOBALS['tbl_is_view']
78 echo '<span class="table_comment" id="span_table_comment">'
79 .'"Table comment"</span>' . "\n";
89 $tabs['databases']['icon'] = '../../../../' . $pmaThemeImage . 's_db.png';
90 $tabs['databases']['link'] = 'server_databases.php';
91 $tabs['databases']['text'] = __('Databases');
93 $tabs['sql']['icon'] = '../../../../' . $pmaThemeImage . 'b_sql.png';
94 $tabs['sql']['link'] = 'server_sql.php';
95 $tabs['sql']['text'] = __('SQL');
97 $tabs['status']['icon'] = '../../../../' . $pmaThemeImage . 's_status.png';
98 $tabs['status']['link'] = 'server_status.php';
99 $tabs['status']['text'] = __('Status');
101 $tabs['vars']['icon'] = '../../../../' . $pmaThemeImage . 's_vars.png';
102 $tabs['vars']['link'] = 'server_variables.php';
103 $tabs['vars']['text'] = __('Variables');
105 $tabs['charset']['icon'] = '../../../../' . $pmaThemeImage . 's_asci.png';
106 $tabs['charset']['link'] = 'server_collations.php';
107 $tabs['charset']['text'] = __('Charsets');
109 $tabs['engine']['icon'] = '../../../../' . $pmaThemeImage . 'b_engine.png';
110 $tabs['engine']['link'] = 'server_engines.php';
111 $tabs['engine']['text'] = __('Engines');
113 $tabs['rights']['icon'] = '../../../../' . $pmaThemeImage . 's_rights.png';
114 $tabs['rights']['link'] = 'server_privileges.php';
115 $tabs['rights']['text'] = __('Privileges');
117 $tabs['binlog']['icon'] = '../../../../' . $pmaThemeImage . 's_tbl.png';
118 $tabs['binlog']['link'] = 'server_binlog.php';
119 $tabs['binlog']['text'] = __('Binary log');
121 $tabs['process']['icon'] = '../../../../' . $pmaThemeImage . 's_process.png';
122 $tabs['process']['link'] = 'server_processlist.php';
123 $tabs['process']['text'] = 'caution';
124 $tabs['process']['class'] = 'caution';
126 $tabs['export']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
127 $tabs['export']['text'] = 'disabled';
129 $tabs['export2']['icon'] = '../../../../' . $pmaThemeImage . 'b_export.png';
130 $tabs['export2']['text'] = 'disabled caution';
131 $tabs['export2']['class'] = 'caution';
133 $tabs['import']['icon'] = '../../../../' . $pmaThemeImage . 'b_import.png';
134 $tabs['import']['link'] = 'server_import.php';
135 $tabs['import']['text'] = 'active';
136 $tabs['import']['class'] = 'active';
138 echo PMA_generate_html_tabs($tabs, array());
141 if (@file_exists
($pmaThemeImage . 'logo_right.png')) {
143 <img id
="pmalogoright" src
="../<?php echo $pmaThemeImage; ?>logo_right.png"
150 echo sprintf(__('Welcome to %s'),
151 '<bdo dir="ltr" xml:lang="en">phpMyAdmin ' . PMA_VERSION
. '</bdo>');
155 <hr
class="clearfloat" />
157 <form method
="post" action
="theme.php" target
="_parent">
159 <legend
><?php
echo __('Theme / Style'); ?
></legend
>
161 echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox(false);
163 <noscript
><input type
="submit" value
="Go" style
="vertical-align: middle" /></noscript
>
174 <div
class="success">
175 success message box content
!
177 <div
class="success">
178 <h1
>Auccess message box header
!</h1
>
179 success message box content
!
183 notice message box content
!
186 <h1
>Notice message box header
!</h1
>
187 notice message box content
!
190 error message box content
!
193 <h1
>Error message box header
!</h1
>
194 error message box content
!
197 <fieldset
class="confirmation">
198 <legend
>Confirmation fieldset
</legend
>
199 <tt
>QUERY TO EXECUTE
;</tt
>
201 <fieldset
class="tblFooters">
202 <input type
="submit" name
="yes" value
="YES" />
203 <input type
="submit" name
="no" value
="NO" />
208 <div
class="success">
209 success message box content
!
212 <span
class="syntax">
213 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
214 <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
/>
215 <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
/>
216 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
217 <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
/>
218 <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
/>
219 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
220 <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
/>
221 <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
/>
222 <span
class="syntax_alpha syntax_alpha_reservedWord">SELECT
</span
> <span
class="syntax_punct">*</span
> <br
/>
223 <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
/>
224 <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
/>
229 <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
>
231 <a href
="import.php?db=test;table=test;sql_query=EXPLAIN+SELECT+%2A+FROM+%60test%60;token=266edabf70fa6368498d89b4054d01bf" >SQL erklären
</a
>
233 <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
>
235 <a href
="import.php?db=test;table=test;sql_query=SELECT+%2A+FROM+%60test%60;show_query=1;token=266edabf70fa6368498d89b4054d01bf" >Aktualisieren
</a
>
241 <caption
>table
.data caption
</caption
>
244 <th
>table
.data thead tr th
</th
>
245 <th
>table
.data thead tr th
</th
>
246 <th colspan
="3">action
</th
>
247 <th
>table
.data thead tr th
</th
>
252 <th
>table
.data tfoot tr th
</th
>
253 <th
class="value">table
.data tfoot tr th
</th
>
254 <th colspan
="3">action
</th
>
255 <th
>table
.data tfoot tr th
</th
>
260 <td
><input type
="checkbox" id
="checkbox_1" name
="checkbox_1"
262 <th
><label
for="checkbox_1">th label
</label
></th
>
263 <td
class="value">td
.value
</td
>
264 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
265 width
="16" height
="16" alt
="drop" /></td
>
266 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
267 width
="16" height
="16" alt
="drop" /></td
>
268 <td
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
269 width
="16" height
="16" alt
="drop" /></td
>
270 <td
>table
.data tbody tr
.odd td
</td
>
273 <td
><input type
="checkbox" id
="checkbox_2" name
="checkbox_2"
275 <th
><label
for="checkbox_2">th label
</label
></th
>
276 <td
class="value">td
.value
</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
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
282 width
="16" height
="16" alt
="drop" /></td
>
283 <td
>table
.data tbody tr
.even td
</td
>
286 <td
><input type
="checkbox" id
="checkbox_3" name
="checkbox_3"
288 <th
><label
for="checkbox_3">th label
</label
></th
>
289 <td
class="value">td
.value
</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
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
295 width
="16" height
="16" alt
="drop" /></td
>
296 <td
>table
.data tbody tr
.odd td
</td
>
299 <td
><input type
="checkbox" id
="checkbox_4" name
="checkbox_4"
301 <th
><label
for="checkbox_4">th label
</label
></th
>
302 <td
class="value">td
.value
</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
><img
class="icon" src
="../<?php echo $GLOBALS['cfg']['ThemePath']; ?>/original/img/bd_drop.png"
308 width
="16" height
="16" alt
="drop" /></td
>
309 <td
>table
.data tbody tr
.even td
</td
>