|
Last change
on this file since 11505 was 11505, checked in by Daniela Dorner, 14 years ago |
|
added plenty of new features to view and edit the configuration database
|
-
Property svn:executable
set to
*
|
|
File size:
917 bytes
|
| Line | |
|---|
| 1 | <?php
|
|---|
| 2 | {
|
|---|
| 3 | ini_set("display_errors", "On");
|
|---|
| 4 | ini_set("mysql.trace_mode", "On");
|
|---|
| 5 |
|
|---|
| 6 | echo (file_get_contents("index-header.html"));
|
|---|
| 7 |
|
|---|
| 8 | //call get_progs() at startup
|
|---|
| 9 | printf("<script type=\"text/javascript\" >\n");
|
|---|
| 10 | printf("window.onload = function () { get_progs(\"\",\"10\",\"edit\"); }\n");
|
|---|
| 11 | printf("</script>\n");
|
|---|
| 12 |
|
|---|
| 13 | include("db.php");
|
|---|
| 14 | printf("With this page, you can <u>edit</u> the DB <b>%s</b>.\n", $db);
|
|---|
| 15 | printf("For view, please go <a href='view_po.php'>here</a>.<br><br>\n");
|
|---|
| 16 | printf("<table border='0'><tbody>\n");
|
|---|
| 17 | printf("<tr>\n");
|
|---|
| 18 | printf("<td valign='top' id='progfield'></td>\n");
|
|---|
| 19 | printf("<td valign='top' id='keyfield'></td>\n");
|
|---|
| 20 | printf("<td valign='top' id='valuefield1'></td>\n");
|
|---|
| 21 | printf("</tr>\n</tbody></table>\n");
|
|---|
| 22 |
|
|---|
| 23 | echo (file_get_contents("index-footer.html"));
|
|---|
| 24 |
|
|---|
| 25 | ini_set("display_errors", "Off");
|
|---|
| 26 | ini_set("mysql.trace_mode", "Off");
|
|---|
| 27 | }
|
|---|
| 28 | ?>
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.