panos

文件备份:left.php

<?
@session_start();
Include("../include/conn.inc.php");
if(isset($_SESSION['name'])){
$zh=$_SESSION['name'];
$mm=$_SESSION['mm'];
$sql="select * from guanli where zh='".$zh."' and che='1'";
$result=mysql_query($sql);
if($rs=mysql_fetch_array($result)){
if($rs["zh"]==$zh AND $rs["mm"]==md5($mm))
{
?>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="../include/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--

.STYLE1 {color: #FF0000}
-->
</style></head>

<body bgcolor="#f1f7f0"  topmargin="0">
<table><tr><td><fieldset><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr><td><div align="center" class="new_title">
    <span class="new_content">中南民大团委青年网-新闻发布后台管理系统A1.19</span><br />
 系统开发:贾少天[基本平面]<br />
    <hr>
    欢迎管理员<font color="#0000FF"><?=$_SESSION['name']?></font><br />
 <?
 $sql="select * from guanli where zh='".$_SESSION['name']."'";
 $result=mysql_query($sql);
 $res=mysql_fetch_array($result);
 if($res["level"]=="1"){
$level="普通管理员";
}
else if($res["level"]=="2"){
$level="中级管理员";
}
else if($res["level"]=="3"){
$level="高级管理员";
}
else if($res["level"]=="4"){
$level="root";
}
 ?>
 等级:<font color="#0000FF"><?=$level?> </font><hr> 
  </div></td></tr></table>
  </fieldset><br />
<fieldset>
  <legend class="new_content STYLE1">管理设置</legend>
  <div align="center" class="new_title"><img src="../images/arrow2.gif" width="9" height="9" /><a href="right.php" target="mainFrame">管理首页</a><br />
    <?
 $sql="select * from guanli where zh='".$_SESSION['name']."'";
 $result=mysql_query($sql);
 $rs=mysql_fetch_array($result);
 if($rs["level"]>=3){
 ?><img src="../images/arrow2.gif" width="9" height="9" /><a href="admin.php" target="mainFrame">帐号管理</a><br />
 <?
 }
 else {
 }
 ?>
    <img src="../images/arrow2.gif" width="9" height="9" /><a href="delsession.php" target="mainFrame">退出管理</a> </div>
</fieldset><br />
<fieldset>
  <legend class="new_content STYLE1">栏目导航</legend>
  <div align="center" class="new_title"><img src="../images/arrow2.gif" width="9" height="9" /><a href="upload.php?no=5" target="mainFrame">FALSH内图</a><br />
  <img src="../images/arrow2.gif" width="9" height="9" /><a href="upload.php?no=1" target="mainFrame">第二课堂图</a><br />
    <img src="../images/arrow2.gif" width="9" height="9" /><a href="upload.php?no=2" target="mainFrame">基层新闻图</a><br />
    <img src="../images/arrow2.gif" width="9" height="9" /><a href="upload.php?no=3" target="mainFrame">家国天下图</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="upload.php?no=4" target="mainFrame">主题活动图</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="gonggao.php" target="mainFrame">公告内容</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=dekt" target="mainFrame">第二课堂</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=mdsj" target="mainFrame">基层新闻</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=jgtx" target="mainFrame">家国天下</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=wjfb" target="mainFrame">工作简讯</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=twyj" target="mainFrame">团委影集</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=zxsp" target="mainFrame">在线视频</a><br />
 <img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=twjj" target="mainFrame">团委简介</a></div>
</fieldset><br />
<fieldset>
  <legend class="new_content STYLE1">管理日志</legend>
<div align="center" class="new_title"><img src="../images/arrow2.gif" width="9" height="9" /><a href="rizhi.php" target="mainFrame">管理日志</a><br>
  <?
 $sql="select * from guanli where zh='".$_SESSION['name']."'";
 $result=mysql_query($sql);
 $rs=mysql_fetch_array($result);
 if($rs["level"]>=3){
 ?><img src="../images/arrow2.gif" width="9" height="9" /><a href="derz.php" target="mainFrame">删除记录</a>
 <?
 }
 else {
 }
 ?></div>
</fieldset><br />
<fieldset>
  <legend class="new_content STYLE1">搜索工作情况</legend>
  <div align="center" class="new_title"><img src="../images/arrow2.gif" width="9" height="9" /><a href="search.php?sort=title" target="mainFrame">以文章标题搜索</a><br />
    <img src="../images/arrow2.gif" width="9" height="9" /><a href="search.php?sort=ar" target="mainFrame">以记者名字搜索</a><br />
    <img src="../images/arrow2.gif" width="9" height="9" /><a href="search.php?sort=chan" target="mainFrame">以编辑名字搜索</a></div>
</fieldset><br />
<fieldset>
  <legend class="new_content STYLE1">其他管理</legend>
  <div align="center" class="new_title">
    <p><img src="../images/arrow2.gif" width="9" height="9" /><a href="../../ent/admin/all.php" target="_blank">娱乐无极限后台管理</a></p>
    <p><img src="../images/arrow2.gif" width="9" height="9" /><a href="new.php?kind=回音" target="mainFrame">回音壁新主题管理</a></p>
    <p><img src="../images/arrow2.gif" width="9" height="9" /><a href="lygl.php" target="mainFrame">回音壁留言管理</a></p>
  </div>
</fieldset>
</td></tr></table>

</body>
</html>
<?
}
else
    {
      echo "<script>alert('帐号或密码错误!');top.location.href='index.php';</script>";
    }
  }
  else
  {
  echo "<script>alert('帐号或密码错误!');top.location.href='index.php';</script>";
  }
  }
else
{
echo "<script>alert('帐号或密码错误!');location.href='index.php';</script>";
}
  ?>

posted on 2006-05-29 14:38 mr.panos 阅读(143) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
<2006年6月>
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

导航

统计

常用链接

留言簿(1)

随笔分类

随笔档案

中文百科全书

搜索

最新评论

阅读排行榜

评论排行榜