OSDN Git Service

Small bug fixes.
[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-2009 iDB Support - http://idb.berlios.de/
12     Copyright 2004-2009 Game Maker 2k - http://gamemaker2k.org/
13
14     $FileInfo: table.php - Last Update: 7/17/2009 SVN 273 - Author: cooldude2k $
15 */
16 $File3Name = basename($_SERVER['SCRIPT_NAME']);
17 if ($File3Name=="table.php"||$File3Name=="/table.php") {
18         require('index.php');
19         exit(); }
20 ?><div class="TableSMenuBorder">
21 <?php if($ThemeSet['TableStyle']=="div") { ?>
22 <div class="TableSMenuRow1">
23 <?php echo $ThemeSet['TitleIcon']; ?>Main Settings</div>
24 <?php } ?>
25 <table id="AdminLinks" class="TableSMenu" style="width: 100%; text-align: left; vertical-align: top;">
26 <?php if($ThemeSet['TableStyle']=="table") { ?>
27 <tr class="TableSMenuRow1">
28 <td class="TableSMenuColumn1"><?php echo $ThemeSet['TitleIcon']; ?>Main Settings</td>
29 </tr><?php } ?>
30 <tr class="TableSMenuRow2">
31 <td class="TableSMenuColumn2">&nbsp;</td>
32 </tr><tr class="TableSMenuRow3">
33 <td class="TableSMenuColumn3"><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>
34 </tr><tr class="TableSMenuRow3">
35 <td class="TableSMenuColumn3"><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>
36 <?php if($GroupInfo['ViewDBInfo']=="yes") { ?>
37 </tr><tr class="TableSMenuRow3">
38 <td class="TableSMenuColumn3"><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>
39 </tr><tr class="TableSMenuRow3">
40 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=vercheck",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>" onclick="window.open(this.href);return false;">Version Checker</a></td>
41 </tr><tr class="TableSMenuRow3">
42 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=sqldumper",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">SQL Dumper</a></td>
43 <?php } ?>
44 </tr><tr class="TableSMenuRow3">
45 <td class="TableSMenuColumn3"><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>
46 </tr><tr class="TableSMenuRow4">
47 <td class="TableSMenuColumn4">&nbsp;</td>
48 </tr></table></div>
49 <div>&nbsp;</div>
50 <div class="TableSMenuBorder">
51 <?php if($ThemeSet['TableStyle']=="div") { ?>
52 <div class="TableSMenuRow1">
53 <?php echo $ThemeSet['TitleIcon']; ?>Forum Tool</div>
54 <?php } ?>
55 <table id="ForumTool" class="TableSMenu" style="width: 100%; text-align: left; vertical-align: top;">
56 <?php if($ThemeSet['TableStyle']=="table") { ?>
57 <tr class="TableSMenuRow1">
58 <td class="TableSMenuColumn1"><?php echo $ThemeSet['TitleIcon']; ?>Forum Tool</td>
59 </tr><?php } ?><tr class="TableSMenuRow2">
60 <td class="TableSMenuColumn2">&nbsp;</td>
61 </tr><tr class="TableSMenuRow3">
62 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=addforum",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Add Forums</a></td>
63 </tr><tr class="TableSMenuRow3">
64 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=editforum",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Edit Forums</a></td>
65 </tr><tr class="TableSMenuRow3">
66 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=deleteforum",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Delete Forums</a></td>
67 </tr><tr class="TableSMenuRow3">
68 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=fpermissions",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Forum Permissions</a></td>
69 </tr><tr class="TableSMenuRow4">
70 <td class="TableSMenuColumn4">&nbsp;</td>
71 </tr></table></div>
72 <div>&nbsp;</div>
73 <div class="TableSMenuBorder">
74 <?php if($ThemeSet['TableStyle']=="div") { ?>
75 <div class="TableSMenuRow1">
76 <?php echo $ThemeSet['TitleIcon']; ?>Category Tool</div>
77 <?php } ?>
78 <table id="CategoryTool" class="TableSMenu" style="width: 100%; text-align: left; vertical-align: top;">
79 <?php if($ThemeSet['TableStyle']=="table") { ?>
80 <tr class="TableSMenuRow1">
81 <td class="TableSMenuColumn1"><?php echo $ThemeSet['TitleIcon']; ?>Category Tool</td>
82 </tr><?php } ?><tr class="TableSMenuRow2">
83 <td class="TableSMenuColumn2">&nbsp;</td>
84 </tr><tr class="TableSMenuRow3">
85 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=addcategory",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Add Categories</a></td>
86 </tr><tr class="TableSMenuRow3">
87 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=editcategory",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Edit Categories</a></td>
88 </tr><tr class="TableSMenuRow3">
89 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=deletecategory",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Delete Categories</a></td>
90 </tr><tr class="TableSMenuRow3">
91 <td class="TableSMenuColumn3"><a href="<?php echo url_maker($exfile['admin'],$Settings['file_ext'],"act=cpermissions",$Settings['qstr'],$Settings['qsep'],$prexqstr['admin'],$exqstr['admin']); ?>">Category Permissions</a></td>
92 </tr><tr class="TableSMenuRow4">
93 <td class="TableSMenuColumn4">&nbsp;</td>
94 </tr></table></div>