📄 user_map.php
字号:
<?php
require_once('user/checks.php');
require_once('libs/config.inc');
require_once('libs/dbmanager.inc');
require_once('libs/function.inc');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" href="skin/style.css" />
<title>我的管理中心</title>
<base target="_self" />
</head>
<script language="javascript" type="text/javascript" src="js/menu.js"></script>
<body>
<?php require_once('pagetag/page_top.html'); ?>
<table align="center" width="964" cellpadding="0" cellspacing="0">
<tr><Td height="10"></Td></tr>
<tr>
<td width="203" valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td align="center" colspan="3" height="9" background="skin/line_top.gif"></td>
</tr>
<tr>
<td width="1" class="line1"></td>
<td valign="top" width="201" align="center">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td><img src="skin/center.gif"></td>
</tr>
<tr>
<td height="10" align="center"><img src="skin/m_m.gif" width="180" height="1"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="3">
<tr>
<td colspan="3"> <img src="skin/smallpic/00.gif"></td>
</tr>
<tr>
<td width="30"></td>
<td width="15"><img src="skin/smallpic/02.gif"></td>
<td><a href="user/user_help.php" target="boot">管理中心帮助</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/01.gif"></td>
<td><a href="user/chage_user.php" target="boot">修改我的资料</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/01.gif"></td>
<td><a href="user/chg_userpwd.php" target="boot">修改我的密码</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/03.gif"></td>
<td><a href="user/user_mail.php?action=from" target="boot">网站短信管理</a></td>
</tr>
<tr>
<td colspan="3"> <img src="skin/smallpic/00.gif"></td>
</tr>
<?php
$conn = DBManager::getConnection();
$checkname = $_SESSION['username'];
$arry = $conn->query("SELECT * FROM ".$tablepre."shop WHERE shopowner = '$checkname'");
$arr = $arry->fetch_assoc();
if($arr == false){
?>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td class="red"><a href="user/reg_shop.php" target="boot">我要申请店铺</a></td>
</tr>
<?php
}
elseif($arr[shopmode] == 1)
{
?>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td class="red">店铺正在审核</td>
</tr>
<?php
}elseif($arr[shopmode] == 0)
{
?>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td><a href="user/add_goods.php" target="boot">添加店铺商品</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td><a href="user/chage_shop.php" target="boot">店铺资料修改</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td><a href="user/show_goods.php" target="boot">店铺商品管理</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td><a href="user/edit_news.php" target="boot">管理店铺新闻</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td><a href="user/edit_ann.php" target="boot">管理店铺公告</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/04.gif"></td>
<td><a href="user/shop_ms.php" target="boot">管理店铺评论</a></td>
</tr>
<?php
}
?>
<tr>
<td colspan="3"> <img src="skin/smallpic/00.gif"></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/05.gif"></td>
<td><a href="user/edit_second.php" target="boot">管理二手信息</a></td>
</tr>
<tr>
<td></td>
<td><img src="skin/smallpic/05.gif"></td>
<td><a href="user/add_second.php" target="boot">发布二手信息</a></td>
</tr>
</table>
</td>
<Td width="1" class="line1"></Td>
</tr>
<tr>
<td colspan="3" height="11" background="skin/sch_bot.gif"></td>
</tr>
</table>
</Td>
<td width="10"></td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td height="40" background="skin/m_l.gif" width="8"></td>
<td>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3" background="skin/m_m.gif" height="1"></td>
</tr>
<tr height="38">
<td width="40"><img src="skin/m_pic.gif"></td><td width="601">
<span class="red"><a href="user/user_fot.php" target="boot">管理首页</a></span>
| <a href="user/chage_user.php" target="boot">修改资料</a>
| <a href="user/user_mail.php?action=from" target="boot">管理短信</a>
| <span class="blue"><a href="user/add_goods.php" target="boot">添加商品</a></span>
| <span class="red"><a href="user/add_second.php" target="boot">添加二手</a></span></td>
<td width="84" align="center">
<a href="userchk.php?action=logout">退出登陆</a></td>
</tr>
<tr>
<td colspan="3" background="skin/m_m.gif" height="1"></td>
</tr>
</table>
</td>
<td background="skin/m_r.gif" width="8"></td>
</tr>
<tr>
<td height="10"></td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<iframe height="500" width="100%" frameborder="0" name="boot" scrolling="auto" src="user/user_fot.php"></iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?php
require_once('pagetag/bottommation.php');
$conn->close()
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -