<?php
/* vim: set expandtab tabstop=4 shiftwidth=4: */
// +----------------------------------------------------------------------+
// | PHP version 5                                                        |
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2004 The PHP Group                                |
// +----------------------------------------------------------------------+
// | This source file is subject to version 3.0 of the PHP license,       |
// | that is bundled with this package in the file LICENSE, and is        |
// | available through the world-wide-web at the following url:           |
// | http://www.php.net/license/3_0.txt.                                  |
// | If you did not receive a copy of the PHP license and are unable to   |
// | obtain it through the world-wide-web, please send a note to          |
// | license@php.net so we can mail you a copy immediately.               |
// +----------------------------------------------------------------------+
// | Authors: Original Author <author@example.com>                        |
// |          Your Name <you@example.com>                                 |
// +----------------------------------------------------------------------+
//
// $Id:$

require "../Run.php";
$gro = $_GET['cid'];
if ($admin != 1 && $admin != 2) {
    header("location: ../login.php?cid=" . $_GET['cid']);
}
if ($admin == 1) {
    $z_admin = '<div class="admin_sub">切换至<a href="wap_admin_cg.php?">超级管理员后台</a></div>';
}
$html = head('网站管理后台') . '
<style>
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	font-family:"微软雅黑";
	background-color:#f8f8f8;
}

.admin_sub{
	height:30px;
	line-height:30px;
	background-color:#555;
	color:#fff;
	text-align:center;
	font-size:16px;
	font-weight:bold;
	border-bottom:#ccc 2px solid;
	}
.admin_content{
	height:50px;
	line-height:50px;
	width:100%;
	
	}
.admin_content tr td{
	width:50%;
}
.admin_content tr td .admin_content_a{
	margin:5px;
	text-align:center;
	height:40px;
	line-height:40px;
	background-color:#f8f8f8;
	border-bottom:#ccc 1px solid;
	border-right:#ccc 1px solid;
	border-left:2px solid #efefef;
	border-top:2px solid #efefef;
	-webkit-border-radius:5px ;
	-moz-border-radius:5px;
	-border-radius:5px;
	overflow:hidden;
	}
.admin_content tr td .admin_content_a a{
	float:left;
	text-align:center;
	width:100%;
	color:#222;
	
	}
a:link {
	text-decoration: none;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
a:active {
	text-decoration: none;
}
</style>
'.topNav('叮咚CMS后台管理',' ','<a href="../index.php">首页</a>').'
<div class="title">
手机管理
<a href="web/?">电脑管理</a>
</div>
' . $z_admin . '
<div class="admin_sub">基本设置</div>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="admin_content"><tr><td>
<div class="admin_content_a">
<a href="wap_info.php?cid=0">基本信息</a>
</div>
</td>
<td>
<div class="admin_content_a">
<a href="wap_config.php?cid=0">网站设置</a>
</div>
</td></tr><tr><td>
<div class="admin_content_a">
<a href="readhtml.php">缓存管理</a>
</div>
</td><td><div class="admin_content_a">
<a href="urlgl.php">安全过滤</a></div>
</td></tr><tr><td>
<div class="admin_content_a">
<a href="uploadtype.php">上传过滤</a>
</div></td><td>
<div class="admin_content_a">
<a href="wap_url.php?cid=0">域名绑定</a>
</div>
</td>
</tr></table>
<div class="admin_sub">布局设置</div>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="admin_content"><tr><td>
<div class="admin_content_a">
<a href="../indexadmin.php?cid=0">页面设计</a>
</div></td><td>
<div class="admin_content_a">
<a href="../CssSelect.php?action=admin&cid=0">CSS编辑</a>
</div></td></tr><tr>
<td><div class="admin_content_a">
<a href="../bbs/admin/modcss.php?">论坛CSS</a>
</td><td>
<div class="admin_content_a">
<a href="http://'.HTTP_HOST.'/admin/html/list.php">标签管理</a>
</div>
</td></tr><tr><td>
<div class="admin_content_a">
<a href="http://'.HTTP_HOST.'/admin/html/addtpl.php?">模板管理</a>
</div>
</td><td>
<div class="admin_content_a">
<a href="http://' . HTTP_HOST . '/readubb.php?">UBB手册</a>
</div>
</td></tr>
</table>
<div class="admin_sub">模块管理</div>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="admin_content"><tr><td>
<div class="admin_content_a">
<a href="../article/admin/list.php?">文章管理</a>
</div></td><td>
<div class="admin_content_a">
<a href="../html/admin/list.php?">HTML标签</a>
</div></td></tr>
<tr><td>
<div class="admin_content_a">
<a href="../bbs/admin/list.php?">论坛管理</a>
</div></td><td><div class="admin_content_a">
<a href="../download/admin/list.php?">下载管理</a></div></td></tr>
<tr><td>
<div class="admin_content_a">
<a href="../sitelink/admin/list.php?">友链管理</a></div></td><td><div class="admin_content_a"><a href="../liuyan/admin/list.php?">留言管理</a></div></td>
<tr><td>
<div class="admin_content_a">
<a href="../book/admin/list.php">小说管理</a>
</div></td><td><div class="admin_content_a">
<a href="#">暂时停用</a></div></td></tr>
<tr><td>
</tr></table>
<div class="admin_sub">运营管理</div>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="admin_content"><tr><td>
<div class="admin_content_a">
<a href="http://' . HTTP_HOST . '/bbs/xunzhang/list.php?action=admin">勋章管理</a>
</div></td><td>
<div class="admin_content_a">
<a href="http://' . HTTP_HOST . '/bbs/xunzhang/getxunz.php?">授予勋章</a>
</div></td></tr><tr><td>
<div class="admin_content_a">
<a href="regadmin.php?">注册开关</a>
</div></td><td>
<div class="admin_content_a">
<a href="../user/admin/useradmin.php?">会员管理</a></td></tr><tr><td>
<div class="admin_content_a">
<a href="../user/message/messcfg.php">注册短信</a>
</div></td><td><div class="admin_content_a">
<a href="visits.php?">访问统计</a>
</td></tr></table>
<div class="admin_sub">高级工具</div>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="admin_content"><tr><td>
<div class="admin_content_a">
<a href="zip/index.php?">ZIp解压</a>
</div>
</td><td>
<div class="admin_content_a">
<a href="version.php">版本管理</a>
</div></td></tr></table>
';
//输出
echo $html;
echo footer(1);
?>	