bug 617029 for Loic
[phpmyadmin/crack.git] / tbl_properties_structure.php3
blobde0b5074ce4ee3175756a3023276aa825359eb3e
1 <?php
2 /* $Id$ */
5 /**
6 * Runs common work
7 */
8 require('./tbl_properties_common.php3');
9 $err_url = 'tbl_properties_structure.php3' . $err_url;
10 $url_query .= '&amp;goto=tbl_properties_structure.php3&amp;back=tbl_properties_structure.php3';
13 /**
14 * Drop multiple fields if required
16 if ((!empty($submit_mult) && isset($selected_fld))
17 || isset($mult_btn)) {
18 $action = 'tbl_properties_structure.php3';
19 include('./mult_submits.inc.php3');
23 /**
24 * Prepares the table structure display
26 // 1. Get table information
27 require('./tbl_properties_table_info.php3');
29 // 2. Gets table keys and retains them
30 $local_query = 'SHOW KEYS FROM ' . PMA_backquote($table);
31 $result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);
32 $primary = '';
33 $ret_keys = array();
34 $pk_array = array(); // will be use to emphasis prim. keys in the table view
35 while ($row = PMA_mysql_fetch_array($result)) {
36 $ret_keys[] = $row;
37 // Backups the list of primary keys
38 if ($row['Key_name'] == 'PRIMARY') {
39 $primary .= $row['Column_name'] . ', ';
40 $pk_array[$row['Column_name']] = 1;
42 } // end while
43 mysql_free_result($result);
45 // 3. Get fields
46 $local_query = 'SHOW FIELDS FROM ' . PMA_backquote($table);
47 $fields_rs = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url_0);
48 $fields_cnt = mysql_num_rows($fields_rs);
52 /**
53 * Displays the table structure ('show table' works correct since 3.23.03)
57 <!-- TABLE INFORMATIONS -->
59 <form action="tbl_properties_structure.php3">
60 <input type="hidden" name="lang" value="<?php echo $lang; ?>" />
61 <input type="hidden" name="server" value="<?php echo $server; ?>" />
62 <input type="hidden" name="db" value="<?php echo $db; ?>" />
63 <input type="hidden" name="table" value="<?php echo $table; ?>" />
65 <table border="<?php echo $cfg['Border']; ?>">
66 <tr>
67 <td></td>
68 <th>&nbsp;<?php echo ucfirst($strField); ?>&nbsp;</th>
69 <th><?php echo ucfirst($strType); ?></th>
70 <th><?php echo ucfirst($strAttr); ?></th>
71 <th><?php echo ucfirst($strNull); ?></th>
72 <th><?php echo ucfirst($strDefault); ?></th>
73 <th><?php echo ucfirst($strExtra); ?></th>
74 <th colspan="<?php echo((PMA_MYSQL_INT_VERSION >= 32323) ? '6' : '5'); ?>"><?php echo ucfirst($strAction); ?></th>
75 </tr>
77 <?php
78 $i = 0;
79 $aryFields = array();
81 while ($row = PMA_mysql_fetch_array($fields_rs)) {
82 $i++;
83 $bgcolor = ($i % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo'];
84 $aryFields[] = $row['Field'];
86 $type = $row['Type'];
87 // reformat mysql query output - staybyte - 9. June 2001
88 // loic1: set or enum types: slashes single quotes inside options
89 if (eregi('^(set|enum)\((.+)\)$', $type, $tmp)) {
90 $tmp[2] = substr(ereg_replace('([^,])\'\'', '\\1\\\'', ',' . $tmp[2]), 1);
91 $type = $tmp[1] . '(' . str_replace(',', ', ', $tmp[2]) . ')';
92 $type_nowrap = '';
93 } else {
94 $type_nowrap = ' nowrap="nowrap"';
96 $type = eregi_replace('BINARY', '', $type);
97 $type = eregi_replace('ZEROFILL', '', $type);
98 $type = eregi_replace('UNSIGNED', '', $type);
99 if (empty($type)) {
100 $type = '&nbsp;';
103 $binary = eregi('BINARY', $row['Type'], $test);
104 $unsigned = eregi('UNSIGNED', $row['Type'], $test);
105 $zerofill = eregi('ZEROFILL', $row['Type'], $test);
106 $strAttribute = '&nbsp;';
107 if ($binary) {
108 $strAttribute = 'BINARY';
110 if ($unsigned) {
111 $strAttribute = 'UNSIGNED';
113 if ($zerofill) {
114 $strAttribute = 'UNSIGNED ZEROFILL';
116 if (!isset($row['Default'])) {
117 if ($row['Null'] != '') {
118 $row['Default'] = '<i>NULL</i>';
120 } else {
121 $row['Default'] = htmlspecialchars($row['Default']);
124 $field_encoded = urlencode($row['Field']);
125 $field_name = htmlspecialchars($row['Field']);
126 if (isset($pk_array[$row['Field']])) {
127 $field_name = '<u>' . $field_name . '</u>';
129 echo "\n";
132 <tr>
133 <td align="center" bgcolor="<?php echo $bgcolor; ?>">
134 <input type="checkbox" name="selected_fld[]" value="<?php echo $field_encoded; ?>" id="checkbox_row_<?php echo $i; ?>" />
135 </td>
136 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap">&nbsp;<label for="checkbox_row_<?php echo $i; ?>"><?php echo $field_name; ?></label>&nbsp;</td>
137 <td bgcolor="<?php echo $bgcolor; ?>"<?php echo $type_nowrap; ?>><?php echo $type; ?><bdo dir="ltr"></bdo></td>
138 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php echo $strAttribute; ?></td>
139 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo (($row['Null'] == '') ? $strNo : $strYes); ?>&nbsp;</td>
140 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php if (isset($row['Default'])) echo $row['Default']; ?>&nbsp;</td>
141 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap"><?php echo $row['Extra']; ?>&nbsp;</td>
142 <td bgcolor="<?php echo $bgcolor; ?>">
143 <a href="tbl_alter.php3?<?php echo $url_query; ?>&amp;field=<?php echo $field_encoded; ?>">
144 <?php echo $strChange; ?></a>
145 </td>
146 <td bgcolor="<?php echo $bgcolor; ?>">
147 <?php
148 // loic1: Drop field only if there is more than one field in the table
149 if ($fields_cnt > 1) {
150 echo "\n";
152 <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']))); ?>"
153 onclick="return confirmLink(this, 'ALTER TABLE <?php echo PMA_jsFormat($table); ?> DROP <?php echo PMA_jsFormat($row['Field']); ?>')">
154 <?php echo $strDrop; ?></a>
155 <?php
156 } else {
157 echo "\n" . ' ' . $strDrop;
159 echo "\n";
161 </td>
162 <td bgcolor="<?php echo $bgcolor; ?>">
163 <?php
164 if ($type == 'text' || $type == 'blob') {
165 echo $strPrimary . "\n";
166 } else {
167 echo "\n";
169 <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']))); ?>"
170 onclick="return confirmLink(this, 'ALTER TABLE <?php echo PMA_jsFormat($table); ?> DROP PRIMARY KEY, ADD PRIMARY KEY(<?php echo PMA_jsFormat($row['Field']); ?>)')">
171 <?php echo $strPrimary; ?></a>
172 <?php
174 echo "\n";
176 </td>
177 <td bgcolor="<?php echo $bgcolor; ?>">
178 <?php
179 if ($type == 'text' || $type == 'blob') {
180 echo $strIndex . "\n";
181 } else {
182 echo "\n";
184 <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']))); ?>">
185 <?php echo $strIndex; ?></a>
186 <?php
188 echo "\n";
190 </td>
191 <td bgcolor="<?php echo $bgcolor; ?>">
192 <?php
193 if ($type == 'text' || $type == 'blob') {
194 echo $strUnique . "\n";
195 } else {
196 echo "\n";
198 <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']))); ?>">
199 <?php echo $strUnique; ?></a>
200 <?php
202 echo "\n";
204 </td>
205 <?php
206 if (PMA_MYSQL_INT_VERSION >= 32323) {
207 if ((!empty($tbl_type) && $tbl_type == 'MYISAM')
208 && ($type == 'text' || strpos(' ' . $type, 'varchar'))) {
209 echo "\n";
211 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap">
212 <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']))); ?>">
213 <?php echo $strIdxFulltext; ?></a>
214 </td>
215 <?php
216 } else {
217 echo "\n";
219 <td bgcolor="<?php echo $bgcolor; ?>" nowrap="nowrap">
220 <?php echo $strIdxFulltext . "\n"; ?>
221 </td>
222 <?php
223 } // end if... else...
224 } // end if
225 echo "\n"
227 </tr>
228 <?php
229 } // end while
231 echo "\n";
234 <tr>
235 <td colspan="<?php echo((PMA_MYSQL_INT_VERSION >= 32323) ? '13' : '12'); ?>">
236 <img src="./images/arrow_<?php echo $text_dir; ?>.gif" border="0" width="38" height="22" alt="<?php echo $strWithChecked; ?>" />
237 <i><?php echo $strWithChecked; ?></i>&nbsp;&nbsp;
238 <input type="submit" name="submit_mult" value="<?php echo $strChange; ?>" />
239 <?php
240 // Drop button if there is at least two fields
241 if ($fields_cnt > 1) {
243 &nbsp;<i><?php echo $strOr; ?></i>&nbsp;
244 <input type="submit" name="submit_mult" value="<?php echo $strDrop; ?>" />
245 <?php
247 echo "\n";
249 </td>
250 </tr>
251 </table>
253 </form>
256 <?php
258 * If there are more than 20 rows, displays browse/select/insert/empty/drop
259 * links again
261 if ($fields_cnt > 20) {
263 <!-- Browse links -->
264 <?php
265 echo "\n";
266 include('./tbl_properties_links.php3');
267 } // end if ($fields_cnt > 20)
268 echo "\n\n";
272 * Displays indexes
275 <!-- Indexes, space usage and row statistics -->
276 <br />
277 <table border="0" cellspacing="0" cellpadding="0">
278 <tr>
279 <td>
280 <?php
281 define('PMA_IDX_INCLUDED', 1);
282 require ('./tbl_indexes.php3');
284 </td>
286 <?php
288 * Displays Space usage and row statistics
290 // BEGIN - Calc Table Space - staybyte - 9 June 2001
291 // loic1, 22 feb. 2002: updated with patch from
292 // Joshua Nye <josh at boxcarmedia.com> to get valid
293 // statistics whatever is the table type
294 if ($cfg['ShowStats']) {
295 $nonisam = FALSE;
296 $is_innodb = (isset($showtable['Type']) && $showtable['Type'] == 'InnoDB');
297 if (isset($showtable['Type']) && !eregi('ISAM|HEAP', $showtable['Type'])) {
298 $nonisam = TRUE;
300 if (PMA_MYSQL_INT_VERSION >= 32303 && ($nonisam == FALSE || $is_innodb)) {
301 // Gets some sizes
302 $mergetable = FALSE;
303 if (isset($showtable['Type']) && $showtable['Type'] == 'MRG_MyISAM') {
304 $mergetable = TRUE;
306 list($data_size, $data_unit) = PMA_formatByteDown($showtable['Data_length']);
307 if ($mergetable == FALSE) {
308 list($index_size, $index_unit) = PMA_formatByteDown($showtable['Index_length']);
310 if (isset($showtable['Data_free']) && $showtable['Data_free'] > 0) {
311 list($free_size, $free_unit) = PMA_formatByteDown($showtable['Data_free']);
312 list($effect_size, $effect_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length'] - $showtable['Data_free']);
313 } else {
314 list($effect_size, $effect_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length']);
316 list($tot_size, $tot_unit) = PMA_formatByteDown($showtable['Data_length'] + $showtable['Index_length']);
317 if ($table_info_num_rows > 0) {
318 list($avg_size, $avg_unit) = PMA_formatByteDown(($showtable['Data_length'] + $showtable['Index_length']) / $showtable['Rows'], 6, 1);
321 // Displays them
324 <!-- Space usage -->
325 <td width="20">&nbsp;</td>
326 <td valign="top">
327 <?php echo $strSpaceUsage . '&nbsp;:' . "\n"; ?>
328 <a name="showusage"></a>
329 <table border="<?php echo $cfg['Border']; ?>">
330 <tr>
331 <th><?php echo $strType; ?></th>
332 <th colspan="2" align="center"><?php echo $strUsage; ?></th>
333 </tr>
334 <tr>
335 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" style="padding-right: 10px"><?php echo ucfirst($strData); ?></td>
336 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" align="right" nowrap="nowrap"><?php echo $data_size; ?></td>
337 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>"><?php echo $data_unit; ?></td>
338 </tr>
339 <?php
340 if (isset($index_size)) {
341 echo "\n";
343 <tr>
344 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" style="padding-right: 10px"><?php echo ucfirst($strIndex); ?></td>
345 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" align="right" nowrap="nowrap"><?php echo $index_size; ?></td>
346 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>"><?php echo $index_unit; ?></td>
347 </tr>
348 <?php
350 if (isset($free_size)) {
351 echo "\n";
353 <tr style="color: #bb0000">
354 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" style="padding-right: 10px"><?php echo ucfirst($strOverhead); ?></td>
355 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>" align="right" nowrap="nowrap"><?php echo $free_size; ?></td>
356 <td bgcolor="<?php echo $cfg['BgcolorTwo']; ?>"><?php echo $free_unit; ?></td>
357 </tr>
358 <tr>
359 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" style="padding-right: 10px"><?php echo ucfirst($strEffective); ?></td>
360 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" align="right" nowrap="nowrap"><?php echo $effect_size; ?></td>
361 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>"><?php echo $effect_unit; ?></td>
362 </tr>
363 <?php
365 if (isset($tot_size) && $mergetable == FALSE) {
366 echo "\n";
368 <tr>
369 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" style="padding-right: 10px"><?php echo ucfirst($strTotal); ?></td>
370 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>" align="right" nowrap="nowrap"><?php echo $tot_size; ?></td>
371 <td bgcolor="<?php echo $cfg['BgcolorOne']; ?>"><?php echo $tot_unit; ?></td>
372 </tr>
373 <?php
375 // Optimize link if overhead
376 if (isset($free_size) && ($tbl_type == 'MYISAM' || $tbl_type == 'BDB')) {
377 echo "\n";
379 <tr>
380 <td colspan="3" align="center">
381 [<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>]
382 </td>
383 </tr>
384 <?php
386 echo "\n";
388 </table>
389 </td>
391 <!-- Rows Statistic -->
392 <td width="20">&nbsp;</td>
393 <td valign="top">
394 <?php echo $strRowsStatistic . '&nbsp;:' . "\n"; ?>
395 <table border="<?php echo $cfg['Border']; ?>">
396 <tr>
397 <th><?php echo $strStatement; ?></th>
398 <th align="center"><?php echo $strValue; ?></th>
399 </tr>
400 <?php
401 $i = 0;
402 if (isset($showtable['Row_format'])) {
403 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
404 echo "\n";
406 <tr>
407 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strFormat); ?></td>
408 <td bgcolor="<?php echo $bgcolor; ?>" align="<?php echo $cell_align_left; ?>" nowrap="nowrap">
409 <?php
410 echo ' ';
411 if ($showtable['Row_format'] == 'Fixed') {
412 echo $strFixed;
414 else if ($showtable['Row_format'] == 'Dynamic') {
415 echo $strDynamic;
417 else {
418 echo $showtable['Row_format'];
420 echo "\n";
422 </td>
423 </tr>
424 <?php
426 if (!$is_innodb && isset($showtable['Rows'])) {
427 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
428 echo "\n";
430 <tr>
431 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strRows); ?></td>
432 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
433 <?php echo number_format($showtable['Rows'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; ?>
434 </td>
435 </tr>
436 <?php
438 if (!$is_innodb && isset($showtable['Avg_row_length']) && $showtable['Avg_row_length'] > 0) {
439 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
440 echo "\n";
442 <tr>
443 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strRowLength); ?>&nbsp;&oslash;</td>
444 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
445 <?php echo number_format($showtable['Avg_row_length'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; ?>
446 </td>
447 </tr>
448 <?php
450 if (!$is_innodb && isset($showtable['Data_length']) && $showtable['Rows'] > 0 && $mergetable == FALSE) {
451 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
452 echo "\n";
454 <tr>
455 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strRowSize); ?>&nbsp;&oslash;</td>
456 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
457 <?php echo $avg_size . ' ' . $avg_unit . "\n"; ?>
458 </td>
459 </tr>
460 <?php
462 if (isset($showtable['Auto_increment'])) {
463 $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']);
464 echo "\n";
466 <tr>
467 <td bgcolor="<?php echo $bgcolor; ?>"><?php echo ucfirst($strNext); ?>&nbsp;Autoindex</td>
468 <td bgcolor="<?php echo $bgcolor; ?>" align="right" nowrap="nowrap">
469 <?php echo number_format($showtable['Auto_increment'], 0, $number_decimal_separator, $number_thousands_separator) . "\n"; ?>
470 </td>
471 </tr>
472 <?php
474 echo "\n";
476 </table>
477 </td>
478 <?php
481 // END - Calc Table Space
482 echo "\n";
484 </tr>
485 </table>
486 <hr />
489 <?php
491 * Work on the table
494 <!-- TABLE WORK -->
495 <ul>
497 <!-- Printable view of the table -->
498 <li>
499 <div style="margin-bottom: 10px"><a href="tbl_printview.php3?<?php echo $url_query; ?>"><?php echo $strPrintView; ?></a></div>
500 </li>
502 <!-- Add some new fields -->
503 <li>
504 <form method="post" action="tbl_addfield.php3"
505 onsubmit="return checkFormElementInRange(this, 'num_fields', 1)">
506 <input type="hidden" name="server" value="<?php echo $server; ?>" />
507 <input type="hidden" name="lang" value="<?php echo $lang; ?>" />
508 <input type="hidden" name="db" value="<?php echo $db; ?>" />
509 <input type="hidden" name="table" value="<?php echo $table; ?>" />
510 <?php echo $strAddNewField; ?>&nbsp;:
511 <input type="text" name="num_fields" size="2" maxlength="2" value="1" class="textfield" style="vertical-align: middle" onfocus="this.select()" />
512 <select name="after_field" style="vertical-align: middle">
513 <option value="--end--"><?php echo $strAtEndOfTable; ?></option>
514 <option value="--first--"><?php echo $strAtBeginningOfTable; ?></option>
515 <?php
516 reset($aryFields);
517 while (list($junk, $fieldname) = each($aryFields)) {
518 echo ' <option value="' . urlencode($fieldname) . '">' . sprintf($strAfter, htmlspecialchars($fieldname)) . '</option>' . "\n";
520 unset($aryFields);
522 </select>
523 <input type="submit" value="<?php echo $strGo; ?>" style="vertical-align: middle" />
524 </form>
525 </li>
527 <?php
528 if ($cfg['Server']['relation']) {
530 <!-- Work on Relations -->
531 <li>
532 <div style="margin-bottom: 10px">
533 <a href="tbl_relation.php3?<?php echo $url_query; ?>"><?php echo $strRelationView; ?></a>
534 </div>
535 </li>
536 <?php
538 echo "\n";
541 <!-- Let MySQL propose the optimal structure -->
542 <li>
543 <div style="margin-bottom: 10px">
544 <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()'); ?>">
545 <?php echo $strStructPropose; ?></a>
546 <?php echo PMA_showMySQLDocu('Extending_MySQL', 'procedure_analyse') . "\n"; ?>
547 </div>
548 </li>
550 <?php
552 * Query box, bookmark, insert data from textfile
554 $goto = 'tbl_properties_structure.php3';
555 require('./tbl_query_box.php3');
558 </ul>
561 <?php
563 * Displays the footer
565 echo "\n";
566 require('./footer.inc.php3');