PHP version 4.2.x is 402xx
[phpmyadmin/crack.git] / tbl_properties_structure.php3
blobdf9c794ffcf35f92e9deb98f4a3b79ef42b06580
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
6 /**
7 * Runs common work
8 */
9 require('./tbl_properties_common.php3');
10 $err_url = 'tbl_properties_structure.php3' . $err_url;
11 $url_query .= '&amp;goto=tbl_properties_structure.php3&amp;back=tbl_properties_structure.php3';
14 /**
15 * Drop multiple fields if required
17 if ((!empty($submit_mult) && isset($selected_fld))
18 || isset($mult_btn)) {
19 $action = 'tbl_properties_structure.php3';
20 include('./mult_submits.inc.php3');
24 /**
25 * Prepares the table structure display
27 // 1. Get table information
28 require('./tbl_properties_table_info.php3');
30 // 2. Gets table keys and retains them
31 $local_query = 'SHOW KEYS FROM ' . PMA_backquote($table);
32 $result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);
33 $primary = '';
34 $ret_keys = array();
35 $pk_array = array(); // will be use to emphasis prim. keys in the table view
36 while ($row = PMA_mysql_fetch_array($result)) {
37 $ret_keys[] = $row;
38 // Backups the list of primary keys
39 if ($row['Key_name'] == 'PRIMARY') {
40 $primary .= $row['Column_name'] . ', ';
41 $pk_array[$row['Column_name']] = 1;
43 } // end while
44 mysql_free_result($result);
46 // 3. Get fields
47 $local_query = 'SHOW FIELDS FROM ' . PMA_backquote($table);
48 $fields_rs = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);
49 $fields_cnt = mysql_num_rows($fields_rs);
53 /**
54 * Displays the table structure ('show table' works correct since 3.23.03)
58 <!-- TABLE INFORMATIONS -->
60 <form action="tbl_properties_structure.php3">
61 <input type="hidden" name="lang" value="<?php echo $lang; ?>" />
62 <input type="hidden" name="server" value="<?php echo $server; ?>" />
63 <input type="hidden" name="db" value="<?php echo $db; ?>" />
64 <input type="hidden" name="table" value="<?php echo $table; ?>" />
66 <table border="<?php echo $cfg['Border']; ?>">
67 <tr>
68 <td></td>
69 <th>&nbsp;<?php echo ucfirst($strField); ?>&nbsp;</th>
70 <th><?php echo ucfirst($strType); ?></th>
71 <th><?php echo ucfirst($strAttr); ?></th>
72 <th><?php echo ucfirst($strNull); ?></th>
73 <th><?php echo ucfirst($strDefault); ?></th>
74 <th><?php echo ucfirst($strExtra); ?></th>
75 <th colspan="<?php echo((PMA_MYSQL_INT_VERSION >= 32323) ? '6' : '5'); ?>"><?php echo ucfirst($strAction); ?></th>
76 </tr>
78 <?php
79 $i = 0;
80 $aryFields = array();
82 while ($row = PMA_mysql_fetch_array($fields_rs)) {
83 $i++;
84 $bgcolor = ($i % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo'];
85 $aryFields[] = $row['Field'];
87 $type = $row['Type'];
88 // reformat mysql query output - staybyte - 9. June 2001
89 // loic1: set or enum types: slashes single quotes inside options
90 if (eregi('^(set|enum)\((.+)\)$', $type, $tmp)) {
91 $tmp[2] = substr(ereg_replace('([^,])\'\'', '\\1\\\'', ',' . $tmp[2]), 1);
92 $type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')';
93 $type_nowrap = '';
94 } else {
95 $type_nowrap = ' nowrap="nowrap"';
97 $type = eregi_replace('BINARY', '', $type);
98 $type = eregi_replace('ZEROFILL', '', $type);
99 $type = eregi_replace('UNSIGNED', '', $type);
100 if (empty($type)) {
101 $type = '&nbsp;';
104 $binary = eregi('BINARY', $row['Type'], $test);
105 $unsigned = eregi('UNSIGNED', $row['Type'], $test);
106 $zerofill = eregi('ZEROFILL', $row['Type'], $test);
107 $strAttribute = '&nbsp;';
108 if ($binary) {
109 $strAttribute = 'BINARY';
111 if ($unsigned) {
112 $strAttribute = 'UNSIGNED';
114 if ($zerofill) {
115 $strAttribute = 'UNSIGNED ZEROFILL';
117 if (!isset($row['Default'])) {
118 if ($row['Null'] != '') {
119 $row['Default'] = '<i>NULL</i>';
121 } else {
122 $row['Default'] = htmlspecialchars($row['Default']);
125 $field_encoded = urlencode($row['Field']);
126 $field_name = htmlspecialchars($row['Field']);
127 if (isset($pk_array[$row['Field']])) {
128 $field_name = '<u>' . $field_name . '</u>';
130 echo "\n";
133 <tr>
134 <td align="center" bgcolor="<?php echo $bgcolor; ?>">
135 <input type="checkbox" name="selected_fld[]" value="<?php echo $field_encoded; ?>" id="checkbox_row_<?php echo $i; ?>" />
136 </td>
137 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap">&nbsp;<label for="checkbox_row_<?php echo $i; ?>"><?php echo $field_name; ?></label>&nbsp;</td>
138 <td bgcolor="<?php echo $bgcolor; ?>"<?php echo $type_nowrap; ?>><?php echo $type; ?><bdo dir="ltr"></bdo></td>
139 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php echo $strAttribute; ?></td>
140 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo (($row['Null'] == '') ? $strNo : $strYes); ?>&nbsp;</td>
141 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php if (isset($row['Default'])) echo $row['Default']; ?>&nbsp;</td>
142 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php echo $row['Extra']; ?>&nbsp;</td>
143 <td bgcolor="<?php echo $bgcolor; ?>">
144 <a href="tbl_alter.php3?<?php echo $url_query; ?>&amp;field=<?php echo $field_encoded; ?>">
145 <?php echo $strChange; ?></a>
146 </td>
147 <td bgcolor="<?php echo $bgcolor; ?>">
148 <?php
149 // loic1: Drop field only if there is more than one field in the table
150 if ($fields_cnt > 1) {
151 echo "\n";
153 <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('ALTER TABLE ' . PMA_backquote($table) . ' DROP ' . PMA_backquote($row['Field'])); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strFieldHasBeenDropped, htmlspecialchars($row['Field']))); ?>"
154 onclick="return confirmLink(this, 'ALTER TABLE <?php echo PMA_jsFormat($table); ?> DROP <?php echo PMA_jsFormat($row['Field']); ?>')">
155 <?php echo $strDrop; ?></a>
156 <?php
157 } else {
158 echo "\n" . ' ' . $strDrop;
160 echo "\n";
162 </td>
163 <td bgcolor="<?php echo $bgcolor; ?>">
164 <?php
165 if ($type == 'text' || $type == 'blob') {
166 echo $strPrimary . "\n";
167 } else {
168 echo "\n";
170 <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('ALTER TABLE ' . PMA_backquote($table) . ' DROP PRIMARY KEY, ADD PRIMARY KEY(' . $primary . PMA_backquote($row['Field']) . ')'); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strAPrimaryKey, htmlspecialchars($row['Field']))); ?>"
171 onclick="return confirmLink(this, 'ALTER TABLE <?php echo PMA_jsFormat($table); ?> DROP PRIMARY KEY, ADD PRIMARY KEY(<?php echo PMA_jsFormat($row['Field']); ?>)')">
172 <?php echo $strPrimary; ?></a>
173 <?php
175 echo "\n";
177 </td>
178 <td bgcolor="<?php echo $bgcolor; ?>">
179 <?php
180 if ($type == 'text' || $type == 'blob') {
181 echo $strIndex . "\n";
182 } else {
183 echo "\n";
185 <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('ALTER TABLE ' . PMA_backquote($table) . ' ADD INDEX(' . PMA_backquote($row['Field']) . ')'); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strAnIndex ,htmlspecialchars($row['Field']))); ?>">
186 <?php echo $strIndex; ?></a>
187 <?php
189 echo "\n";
191 </td>
192 <td bgcolor="<?php echo $bgcolor; ?>">
193 <?php
194 if ($type == 'text' || $type == 'blob') {
195 echo $strUnique . "\n";
196 } else {
197 echo "\n";
199 <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('ALTER TABLE ' . PMA_backquote($table) . ' ADD UNIQUE(' . PMA_backquote($row['Field']) . ')'); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strAnIndex , htmlspecialchars($row['Field']))); ?>">
200 <?php echo $strUnique; ?></a>
201 <?php
203 echo "\n";
205 </td>
206 <?php
207 if (PMA_MYSQL_INT_VERSION >= 32323) {
208 if ((!empty($tbl_type) && $tbl_type == 'MYISAM')
209 && ($type == 'text' || strpos(' ' . $type, 'varchar'))) {
210 echo "\n";
212 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap">
213 <a href="sql.php3?<?php echo $url_query; ?>&amp;sql_query=<?php echo urlencode('ALTER TABLE ' . PMA_backquote($table) . ' ADD FULLTEXT(' . PMA_backquote($row['Field']) . ')'); ?>&amp;zero_rows=<?php echo urlencode(sprintf($strAnIndex , htmlspecialchars($row['Field']))); ?>">
214 <?php echo $strIdxFulltext; ?></a>
215 </td>
216 <?php
217 } else {
218 echo "\n";
220 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap">
221 <?php echo $strIdxFulltext . "\n"; ?>
222 </td>
223 <?php
224 } // end if... else...
225 } // end if
226 echo "\n"
228 </tr>
229 <?php
230 } // end while
232 echo "\n";
235 <tr>
236 <td colspan="<?php echo((PMA_MYSQL_INT_VERSION >= 32323) ? '13' : '12'); ?>">
237 <img src="./images/arrow_<?php echo $text_dir; ?>.gif" border="0" width="38" height="22" alt="<?php echo $strWithChecked; ?>" />
238 <i><?php echo $strWithChecked; ?></i>&nbsp;&nbsp;
239 <input type="submit" name="submit_mult" value="<?php echo $strChange; ?>" />
240 <?php
241 // Drop button if there is at least two fields
242 if ($fields_cnt > 1) {
244 &nbsp;<i><?php echo $strOr; ?></i>&nbsp;
245 <input type="submit" name="submit_mult" value="<?php echo $strDrop; ?>" />
246 <?php
248 echo "\n";
250 </td>
251 </tr>
252 </table>
254 </form>
257 <?php
259 * If there are more than 20 rows, displays browse/select/insert/empty/drop
260 * links again
262 if ($fields_cnt > 20) {
264 <!-- Browse links -->
265 <?php
266 echo "\n";
267 include('./tbl_properties_links.php3');
268 } // end if ($fields_cnt > 20)
269 echo "\n\n";
273 * Displays indexes
276 <!-- Indexes, space usage and row statistics -->
277 <br />
278 <table border="0" cellspacing="0" cellpadding="0">
279 <tr>
280 <td>
281 <?php
282 define('PMA_IDX_INCLUDED', 1);
283 require ('./tbl_indexes.php3');
285 </td>
287 <?php
289 * Displays Space usage and row statistics
291 // BEGIN - Calc Table Space - staybyte - 9 June 2001
292 // loic1, 22 feb. 2002: updated with patch from
293 // Joshua Nye <josh at boxcarmedia.com> to get valid
294 // statistics whatever is the table type
295 if ($cfg['ShowStats']) {
296 $nonisam = FALSE;
297 $is_innodb = (isset($showtable['Type']) && $showtable['Type'] == 'InnoDB');
298 if (isset($showtable['Type']) && !eregi('ISAM|HEAP', $showtable['Type'])) {
299 $nonisam = TRUE;
301 if (PMA_MYSQL_INT_VERSION >= 32303 && ($nonisam == FALSE || $is_innodb)) {
302 // Gets some sizes
303 $mergetable = FALSE;
304 if (isset($showtable['Type']) && $showtable['Type'] == 'MRG_MyISAM') {
305 $mergetable = TRUE;
307 list($data_size, $data_unit) = PMA_formatByteDown($showtable['Data_length']);
308 if ($mergetable == FALSE) {
309 list($index_size, $index_unit) = PMA_formatByteDown($showtable['Index_length']);
311 if (isset($showtable['Data_free']) && $showtable['Data_free'] > 0) {
312 list($free_size, $free_unit) = PMA_formatByteDown($showtable['Data_free']);
313 list($effect_size, $effect_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length'] - $showtable['Data_free']);
314 } else {
315 list($effect_size, $effect_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length']);
317 list($tot_size, $tot_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length']);
318 if ($table_info_num_rows > 0) {
319 list($avg_size, $avg_unit) = PMA_formatByteDown(($showtable['Data_length'] + $showtable['Index_length']) / $showtable['Rows'], 6, 1);
322 // Displays them
325 <!-- Space usage -->
326 <td width="20">&nbsp;</td>
327 <td valign="top">
328 <?php echo $strSpaceUsage . '&nbsp;:' . "\n"; ?>
329 <a name="showusage"></a>
330 <table border="<?php echo $cfg['Border']; ?>">
331 <tr>
332 <th><?php echo $strType; ?></th>
333 <th colspan="2" align="center"><?php echo $strUsage; ?></th>
334 </tr>
335 <tr>
336 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" style="padding-right: 10px"><?php echo ucfirst($strData); ?></td>
337 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" align="right" nowrap="nowrap"><?php echo $data_size; ?></td>
338 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>"><?php echo $data_unit; ?></td>
339 </tr>
340 <?php
341 if (isset($index_size)) {
342 echo "\n";
344 <tr>
345 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" style="padding-right: 10px"><?php echo ucfirst($strIndex); ?></td>
346 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" align="right" nowrap="nowrap"><?php echo $index_size; ?></td>
347 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>"><?php echo $index_unit; ?></td>
348 </tr>
349 <?php
351 if (isset($free_size)) {
352 echo "\n";
354 <tr style="color: #bb0000">
355 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" style="padding-right: 10px"><?php echo ucfirst($strOverhead); ?></td>
356 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" align="right" nowrap="nowrap"><?php echo $free_size; ?></td>
357 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>"><?php echo $free_unit; ?></td>
358 </tr>
359 <tr>
360 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" style="padding-right: 10px"><?php echo ucfirst($strEffective); ?></td>
361 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" align="right" nowrap="nowrap"><?php echo $effect_size; ?></td>
362 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>"><?php echo $effect_unit; ?></td>
363 </tr>
364 <?php
366 if (isset($tot_size) && $mergetable == FALSE) {
367 echo "\n";
369 <tr>
370 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" style="padding-right: 10px"><?php echo ucfirst($strTotal); ?></td>
371 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" align="right" nowrap="nowrap"><?php echo $tot_size; ?></td>
372 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>"><?php echo $tot_unit; ?></td>
373 </tr>
374 <?php
376 // Optimize link if overhead
377 if (isset($free_size) && ($tbl_type == 'MYISAM' || $tbl_type == 'BDB')) {
378 echo "\n";
380 <tr>
381 <td colspan="3" align="center">
382 [<a href="sql.php3?<?php echo $url_query; ?>&amp;pos=0&amp;sql_query=<?php echo urlencode('OPTIMIZE TABLE ' . PMA_backquote($table)); ?>"><?php echo $strOptimizeTable; ?></a>]
383 </td>
384 </tr>
385 <?php
387 echo "\n";
389 </table>
390 </td>
392 <!-- Rows Statistic -->
393 <td width="20">&nbsp;</td>
394 <td valign="top">
395 <?php echo $strRowsStatistic . '&nbsp;:' . "\n"; ?>
396 <table border="<?php echo $cfg['Border']; ?>">
397 <tr>
398 <th><?php echo $strStatement; ?></th>
399 <th align="center"><?php echo $strValue; ?></th>
400 </tr>
401 <?php
402 $i = 0;
403 if (isset($showtable['Row_format'])) {
404 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
405 echo "\n";
407 <tr>
408 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strFormat); ?></td>
409 <td bgcolor="<?php echo $bgcolor; ?>" align="<?php echo $cell_align_left; ?>" nowrap="nowrap">
410 <?php
411 echo ' ';
412 if ($showtable['Row_format'] == 'Fixed') {
413 echo $strFixed;
415 else if ($showtable['Row_format'] == 'Dynamic') {
416 echo $strDynamic;
418 else {
419 echo $showtable['Row_format'];
421 echo "\n";
423 </td>
424 </tr>
425 <?php
427 if (!$is_innodb && isset($showtable['Rows'])) {
428 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
429 echo "\n";
431 <tr>
432 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strRows); ?></td>
433 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
434 <?php echo number_format($showtable['Rows'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; ?>
435 </td>
436 </tr>
437 <?php
439 if (!$is_innodb && isset($showtable['Avg_row_length']) && $showtable['Avg_row_length'] > 0) {
440 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
441 echo "\n";
443 <tr>
444 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strRowLength); ?>&nbsp;&oslash;</td>
445 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
446 <?php echo number_format($showtable['Avg_row_length'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; ?>
447 </td>
448 </tr>
449 <?php
451 if (!$is_innodb && isset($showtable['Data_length']) && $showtable['Rows'] > 0 && $mergetable == FALSE) {
452 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
453 echo "\n";
455 <tr>
456 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strRowSize); ?>&nbsp;&oslash;</td>
457 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
458 <?php echo $avg_size . ' ' . $avg_unit . "\n"; ?>
459 </td>
460 </tr>
461 <?php
463 if (isset($showtable['Auto_increment'])) {
464 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
465 echo "\n";
467 <tr>
468 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strNext); ?>&nbsp;Autoindex</td>
469 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
470 <?php echo number_format($showtable['Auto_increment'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; ?>
471 </td>
472 </tr>
473 <?php
475 echo "\n";
477 </table>
478 </td>
479 <?php
482 // END - Calc Table Space
483 echo "\n";
485 </tr>
486 </table>
487 <hr />
490 <?php
492 * Work on the table
495 <!-- TABLE WORK -->
496 <ul>
498 <!-- Printable view of the table -->
499 <li>
500 <div style="margin-bottom: 10px"><a href="tbl_printview.php3?<?php echo $url_query; ?>"><?php echo $strPrintView; ?></a></div>
501 </li>
503 <!-- Add some new fields -->
504 <li>
505 <form method="post" action="tbl_addfield.php3"
506 onsubmit="return checkFormElementInRange(this, 'num_fields', 1)">
507 <input type="hidden" name="server" value="<?php echo $server; ?>" />
508 <input type="hidden" name="lang" value="<?php echo $lang; ?>" />
509 <input type="hidden" name="db" value="<?php echo $db; ?>" />
510 <input type="hidden" name="table" value="<?php echo $table; ?>" />
511 <?php echo $strAddNewField; ?>&nbsp;:
512 <input type="text" name="num_fields" size="2" maxlength="2" value="1" class="textfield" style="vertical-align: middle" onfocus="this.select()" />
513 <select name="after_field" style="vertical-align: middle">
514 <option value="--end--"><?php echo $strAtEndOfTable; ?></option>
515 <option value="--first--"><?php echo $strAtBeginningOfTable; ?></option>
516 <?php
517 reset($aryFields);
518 while (list($junk, $fieldname) = each($aryFields)) {
519 echo ' <option value="' . urlencode($fieldname) . '">' . sprintf($strAfter, htmlspecialchars($fieldname)) . '</option>' . "\n";
521 unset($aryFields);
523 </select>
524 <input type="submit" value="<?php echo $strGo; ?>" style="vertical-align: middle" />
525 </form>
526 </li>
528 <?php
529 if ($cfg['Server']['relation']) {
531 <!-- Work on Relations -->
532 <li>
533 <div style="margin-bottom: 10px">
534 <a href="tbl_relation.php3?<?php echo $url_query; ?>"><?php echo $strRelationView; ?></a>
535 </div>
536 </li>
537 <?php
539 echo "\n";
542 <!-- Let MySQL propose the optimal structure -->
543 <li>
544 <div style="margin-bottom: 10px">
545 <a href="sql.php3?<?php echo $url_query; ?>&amp;session_max_rows=all&amp;sql_query=<?php echo urlencode('SELECT * FROM ' . PMA_backquote($table) . ' PROCEDURE ANALYSE()'); ?>">
546 <?php echo $strStructPropose; ?></a>
547 <?php echo PMA_showMySQLDocu('Extending_MySQL', 'procedure_analyse') . "\n"; ?>
548 </div>
549 </li>
551 <?php
553 * Query box, bookmark, insert data from textfile
555 $goto = 'tbl_properties_structure.php3';
556 require('./tbl_query_box.php3');
559 </ul>
562 <?php
564 * Displays the footer
566 echo "\n";
567 require('./footer.inc.php3');