source: temp/test-xoops.ec-cube.net/html/modules/newbb/admin/index.php @ 405

Revision 405, 4.9 KB checked in by root, 20 years ago (diff)
Line 
1<?php
2// $Id: index.php,v 1.4 2005/08/03 12:39:13 onokazu Exp $
3//  ------------------------------------------------------------------------ //
4//                XOOPS - PHP Content Management System                      //
5//                    Copyright (c) 2000 XOOPS.org                           //
6//                       <http://www.xoops.org/>                             //
7//  ------------------------------------------------------------------------ //
8//  This program is free software; you can redistribute it and/or modify     //
9//  it under the terms of the GNU General Public License as published by     //
10//  the Free Software Foundation; either version 2 of the License, or        //
11//  (at your option) any later version.                                      //
12//                                                                           //
13//  You may not change or alter any portion of this comment or credits       //
14//  of supporting developers from this source code or any supporting         //
15//  source code which is considered copyrighted (c) material of the          //
16//  original comment or credit authors.                                      //
17//                                                                           //
18//  This program is distributed in the hope that it will be useful,          //
19//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
20//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
21//  GNU General Public License for more details.                             //
22//                                                                           //
23//  You should have received a copy of the GNU General Public License        //
24//  along with this program; if not, write to the Free Software              //
25//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
26//  ------------------------------------------------------------------------ //
27// Author: Kazumi Ono (AKA onokazu)                                          //
28// URL: http://www.myweb.ne.jp/, http://www.xoops.org/, http://jp.xoops.org/ //
29// Project: The XOOPS Project                                                //
30// ------------------------------------------------------------------------- //
31include '../../../include/cp_header.php';
32include '../functions.php';
33include '../config.php';
34xoops_cp_header();
35echo"<table width='100%' border='0' cellspacing='1' class='outer'>"
36."<tr><td class=\"odd\">";
37echo "<a href='./index.php'><h4>"._MD_A_FORUMCONF."</h4></a>";
38if(isset($mode)) {
39
40}
41else {
42?>
43<table border="0" cellpadding="4" cellspacing="1" width="100%">
44
45<tr class='bg1' align="left">
46    <td><span class='fg2'><a href="<?php echo XOOPS_URL; ?>/modules/system/admin.php?fct=preferences&amp;op=showmod&amp;mod=<?php echo $xoopsModule->mid(); ?>"><?php echo _PREFERENCES; ?></a></span></td>
47    <td><span class='fg2'>&nbsp;</span></td>
48</tr>
49<tr class='bg1' align="left">
50    <td><span class='fg2'><a href="<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=addforum"><?php echo _MD_A_ADDAFORUM;?></a></span></td>
51    <td><span class='fg2'><?php echo _MD_A_LINK2ADDFORUM;?></span></td>
52</tr>
53<tr class='bg1' align="left">
54    <td><span class='fg2'><a href='<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=editforum'><?php echo _MD_A_EDITAFORUM;?></a></span></td>
55    <td><span class='fg2'><?php echo _MD_A_LINK2EDITFORUM;?></span></td>
56</tr>
57<tr class='bg1' align='left'>
58    <td><span class='fg2'><a href="<?php echo $bbUrl['admin']?>/admin_priv_forums.php?mode=editforum"><?php echo _MD_A_SETPRIVFORUM;?></a></span></td>
59    <td><span class='fg2'><?php echo _MD_A_LINK2SETPRIV;?></span></td>
60</tr>
61<tr class='bg1' align='left'>
62    <td><span class='fg2'><a href="<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=sync"><?php echo _MD_A_SYNCFORUM;?></a></span></td>
63    <td><span class='fg2'><?php echo _MD_A_LINK2SYNC;?></span></td>
64</tr>
65<tr class='bg1' align='left'>
66    <td><span class='fg2'><a href="<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=addcat"><?php echo _MD_A_ADDACAT;?></a></span></td>
67    <td><span class='fg2'><?php echo _MD_A_LINK2ADDCAT;?></span></td>
68</tr>
69<tr class='bg1' align='left'>
70    <td><span class='fg2'><a href="<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=editcat"><?php echo _MD_A_EDITCATTTL;?></a></span></td>
71    <td><span class='fg2'><?php echo _MD_A_LINK2EDITCAT;?></span></td>
72</tr>
73<tr class='bg1' align='left'>
74     <td><span class='fg2'><a href="<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=remcat"><?php echo _MD_A_RMVACAT;?></a></span></td>
75     <td><span class='fg2'><?php echo _MD_A_LINK2RMVCAT;?></span></td>
76</tr>
77<tr class='bg1' align='left'>
78     <td><span class='fg2'><a href="<?php echo $bbUrl['admin'];?>/admin_forums.php?mode=catorder"><?php echo _MD_A_REORDERCAT;?></a></span></td>
79     <td><span class='fg2'><?php echo _MD_A_LINK2ORDERCAT;?></span></td>
80</tr>
81
82</table>
83<?php
84}
85
86echo"</td></tr></table>";
87xoops_cp_footer();
88?>
Note: See TracBrowser for help on using the repository browser.