OSDN Git Service

Small bug fix and added more to admin cp.
[idb/iDB.git.git] / inc / admin / table.php
1 <?php
2 /*
3     This program is free software; you can redistribute it and/or modify
4     it under the terms of the Revised BSD License.
5
6     This program is distributed in the hope that it will be useful,
7     but WITHOUT ANY WARRANTY; without even the implied warranty of
8     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9     Revised BSD License for more details.
10
11     Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
12     Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/
13
14     $FileInfo: table.php - Last Update: 02/15/2008 SVN 148 - Author: cooldude2k $
15 */
16 $File3Name = basename($_SERVER['SCRIPT_NAME']);
17 if ($File3Name=="table.php"||$File3Name=="/table.php") {
18         require('index.php');
19         exit(); }
20 ?>
21 <table id="AdminLinks" class="Table1" style="width: 100%; float: left; vertical-align: top;">
22 <tr class="TableRow1">
23 <td class="TableRow1"><?php echo $ThemeSet['TitleIcon'] ?>Main Settings</td>
24 </tr><tr class="TableRow2">
25 <td class="TableRow2">&nbsp;</td>
26 </tr><tr class="TableRow3">
27 <td class="TableRow3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Main Page</a></td>
28 </tr><tr class="TableRow3">
29 <td class="TableRow3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=settings",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Edit Settings</a></td>
30 <?php if($GroupInfo['ViewDBInfo']=="yes") { ?>
31 </tr><tr class="TableRow4">
32 <td class="TableRow3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=mysql",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">MySQL Settings</a></td>
33 <?php } ?>
34 </tr><tr class="TableRow3">
35 <td class="TableRow3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=info",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Edit Board Info</a></td>
36 </tr><tr class="TableRow4">
37 <td class="TableRow4">&nbsp;</td>
38 </tr></table><div>&nbsp;</div>
39 <table id="MainSettings" class="Table1" style="width: 100%; float: left; vertical-align: top;">
40 <tr class="TableRow1">
41 <td class="TableRow1"><?php echo $ThemeSet['TitleIcon'] ?>Main Settings</td>
42 </tr><tr class="TableRow2">
43 <td class="TableRow2">&nbsp;</td>
44 </tr><tr class="TableRow3">
45 <td class="TableRow3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=view",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Main Page</a></td>
46 </tr><tr class="TableRow3">
47 <td class="TableRow3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=settings",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Edit Settings</a></td>
48 </tr><tr class="TableRow4">
49 <td class="TableRow4">&nbsp;</td>
50 </tr></table>