📄 menu.php
字号:
<?
if(empty($_SESSION["web_username"]) || empty($_SESSION["web_userid"])){
fun_alert("请先登陆再使用本功能!");
fun_goto("../index/");
exit();
}
$sql_web="select admin_stat,is_lock from webmember where username='$_SESSION[web_username]'";
$rs_web=mysql_query($sql_web);
$row_web=mysql_fetch_array($rs_web);
/* 判断锁定 */
if($row_web["is_lock"]==1){
echo "<p align=center>您的帐户已被锁定,请联系管理员!</p>";
fun_alert("您的帐户已被锁定,请联系管理员!");
fun_goto("../public/logout.php");
exit();
}
/* 判断是否未审核 */
if($cfg_webislogin==2 && $PHP_SELF!="/web/index.php" && $PHP_SELF!="/index/affiche.php" && $PHP_SELF!="/index/affiche_index.php" && $PHP_SELF!="/index/question_web.php" && $PHP_SELF!="/index/webmaster.php" && ($row_web["admin_stat"]==1 || $row_web["admin_stat"]==3)){
echo "<p align=center>您的帐户还未通过审核,请联系管理员!</p>";
fun_alert("您的帐户还未通过审核,请联系管理员!");
fun_back();
exit();
}
?>
<table width="200" border="0" bgcolor="#758BA2" cellpadding="0" cellspacing="0">
<tr>
<td width="200" height="30" bgcolor="5786BA" class="whitetext"> <strong>
<?
echo $_SESSION["web_username"];
?>
: </strong></td>
</tr>
<tr>
<td bgcolor="5786BA" class="whitetext"> 您好,欢迎您登陆<?=$cfg_site_name?>!</td>
</tr>
</table>
<script>
function showmess(id){
if (get_cookie('keyrunwebmessage'+id)==''){
var Then = new Date();
Then.setTime(Then.getTime() + 300*1000);
document.cookie='keyrunwebmessage'+id+'=yes;expires='+ Then.toGMTString();
show_dlg('../web/showmessage.php?mtype=web',520,400);
}
}
</script>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/index.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">网站主系统首页</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/affiche.php';" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">系统公告</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/getcode.php?type=size'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext"> 广告代码-尺寸规格</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/getcode.php?type=adser'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">广告代码-广告主</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/getcode_l.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">广告代码-文字广告</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/ads_dayview.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">本日广告数据统计</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/ads_history.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">历史广告数据统计</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/ads_historypic.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">历史数据分布图示</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/rakeoff_week.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">本周佣金查询</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/rakeoff_history.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">历史佣金记录</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/web_modify.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">修改帐户信息</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/web_passwd.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">修改密码</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../web/message.php';" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">留言管理</span>
<?
$rsmes=mysql_query("select id from message where to_type=2 and is_view=0 and s_id=0 and username='$_SESSION[web_username]'");
$num_mess=mysql_num_rows($rsmes);
if($num_mess>0){
$rowmes=mysql_fetch_array($rsmes);
?>
<img src="../image/xf.gif" width="16" height="12">
<?
echo "<script>showmess('".$rowmes["id"]."');</script>";
}?>
</td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../index/question_web.php'" bgcolor="C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">系统帮助</span></td>
</tr>
<tr>
<td height="1" align="left" valign="middle" bgcolor="#FFFFFF"></td>
</tr>
<tr>
<td height="24" align="left" valign="middle" class="hand" onClick="location='../public/logout.php'" bgcolor="#C1D7ED" onmouseout="this.style.backgroundColor='#C1D7ED'"onmouseover="this.style.backgroundColor='#DCECFB'"> <img src="../image/dot_arrow.gif" width="5" height="12"> <span class="bluetext">安全退出</span></td>
</tr>
<tr>
<td height="1" align="left" valign="top" bgcolor="#FFFFFF"></td>
</tr>
</table>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -