⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user_deel.php

📁 个人理财 一个很好的个人理财PHP源码程序。
💻 PHP
字号:
<? include "my_l.php";?>
<? include "hanshui.php";?>
<?
#⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒⌒#
 ########################################################## 
###  WEBHNMY 梦缘个人理财系统1.0                         ###
##   主   页:http://www.webhnmy.com                      ##
##   邮   箱:liudeshengaa@163.com                        ##
##   Q     Q:80507419                                    ##
##   联系 人:追风青年                                    ##
##   手   机:13539227807                                 ##
##   本站服务:本站免费提供网络源程序、电脑基础教程、广告招##
###           租、并设有讨论区。                         ###             
 ########################################################## 
?>
<? include "img/coon.php";?>
<?
session_register("session_cx");
$cx=($HTTP_SESSION_VARS["session_cx"]);
if($cx<>1) { 
liudesh("出错了","您没有权限管理本页,请核对后再试!","javascript:history.back()"); }
?>
<?
$getpath=strrpos(getenv("SCRIPT_FILENAME"),"/");
$rootdir=substr(getenv("SCRIPT_FILENAME"),0,$getpath);//根目录
if (isset($HTTP_COOKIE_VARS)) $testcookie="<font color=red>通 过</font>";
	else $testcookie="<font color=990000>失 败</font>"; ?>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>梦缘山庄-管理页面</title>
<style type=text/css>
body  {
	background:#799AE1;
	margin:0px;
	font:normal 12px 宋体;
	SCROLLBAR-FACE-COLOR: #FF9966;
	SCROLLBAR-HIGHLIGHT-COLOR: #FF9966;
	SCROLLBAR-SHADOW-COLOR: #FF9966;
	SCROLLBAR-DARKSHADOW-COLOR: #FF9966;
	SCROLLBAR-3DLIGHT-COLOR: #FF9966;
	SCROLLBAR-ARROW-COLOR: #FFFFFF;
	SCROLLBAR-TRACK-COLOR: #FFCC66;
	background-color: #FFEBE1;
}
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#428EFF;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#FFE6BF; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#FF6600; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#FFCC00; font-weight:bold; }
body,td,th {
	font-family: ;
}
.style2 {color: #FF0000}
.style3 {color: #FF0000; font-weight: bold; }
.style5 {color: #000000}
</style>
<table width="100%"  border="0" align="center" cellpadding="0" cellspacing="1">
  <tr>
    <td height="580" valign="top" bgcolor="#FFEBE1"><div align="center">
      <table width="97%" height="119"  border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF0000">
        <tr>
          <td height="117" valign="top" bgcolor="#FFEBE1"><table width="100%"  border="0" cellpadding="0" cellspacing="1">
              <tr>
                <td height="25" bgcolor="#FFCC00"><div align="center" class="style3"> 操作用户 </div></td>
              </tr>
            </table>
              <table width="100%"  border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="25" bgcolor="#CCCC66"><div align="center">注:此版快只有超级用户才有权限对此操作</div></td>
                </tr>
              </table>
              <table width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="#FF6600">
	<tr valign="bottom" bgcolor="#FFFF20">
      <td  width="153" height="25" valign="middle"><div align="center">用户名</div></td>
      <td  width="153" height="25" valign="middle"><div align="center">邮箱</div></td>
      <td  width="153" height="25" valign="middle"><div align="center">最后更新时间</div></td>
      <td  width="76" height="25" valign="middle"><div align="center">修改权限</div></td>
      <td  width="76" valign="middle"><div align="center">修改密码</div></td>
      <td  width="153" height="25" valign="middle"><div align="center">删除</div></td>
    </tr>
              </table>
			  <?
$limit=12;
$start=@$HTTP_GET_VARS["start"];
if(empty($start)) $start=0; 
$result=mysql_query("select * from user"); 
$num_max=mysql_numrows($result); 
$result=mysql_query("select * from user order by id  DESC limit $start,$limit"); 
$num=mysql_numrows($result); 
if (!empty($num)) { 
for ($i=0;$i<$num;$i++) { 
$id=mysql_result($result,$i,"id"); 
$user=mysql_result($result,$i,"user"); 
$emil=mysql_result($result,$i,"emil"); 
$mydata=mysql_result($result,$i,"mydata");
echo <<<EOD

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF6600">
    <tr valign="bottom" bgcolor="#FFFFE1">
	      <td  width="153" height="25" valign="middle"><div align="center">$user</div></td>
      <td  width="153" height="25" valign="middle"><div align="center">$emil</div></td>
      <td  width="153" height="25" valign="middle"><div align="center">$mydata</div></td>
      <td  width="76" height="25" valign="middle"><div align="center"><a href="user_echo.php?u=$id">修改权限</a></div></td>
      <td  width="76" valign="middle"><div align="center"><a href="user_echo.php?u=$id">修改密码</a></div></td>
      <td  width="153" height="25" valign="middle"><div align="center"><a href="user_del.php?u=$id">删除</a></div></td>
    </tr>
</table>
EOD;
}
}
?>
  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FF9900">

  <tr>
      <td bgcolor="#FFFFE1">
        <div align="left"><a href="user_deel.php">&lt;&lt;</a>
          <? 
$prve=$start-$limit; 
if ($prve>=0) { 
echo "<a href=user_deel.php?start=$prve>上一页</a>"; 
echo "   ";

} 

//设置向后翻页的跳转 
$next=$start+$limit; 
if ($next<$num_max) { 
echo "<a href=user_deel.php?start=$next>下一页</a>"; 
} 
			?>
                                                   共<font color=red><?php echo "$num_max" ?></font>条留言      </div></td>
    </tr>

  </table>            

            </td>
        </tr>
      </table>
      <br>
      </div>
      <? include "yj.php";?></td>
  </tr>
</table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -