出现奇怪的事情
时间:2007-05-07
来源:互联网
<script language="JavaScript">
function trim(s)
{
var count = s.length;
var st = 0; // start
var end = count-1; // end
if (s == "") return s;
while (st < count) {
if (s.charAt(st) == " ")
st ++;
else
break;
}
while (end > st) {
if (s.charAt(end) == " ")
end --;
else
break;
}
return s.substring(st,end + 1);
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>普通用户组列表</title>
<link href="../common/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 { font-family: "宋体";
font-size: 12px;
color: rgb(0,51,135);
}
-->
</style>
</head>
<script language="JavaScript" src="../common/function.js"></script>
<body>
<?php
$sql="select * from user_group";
require('../include/conn.php');
$result = mysql_query($sql);
$number = mysql_num_rows($result);
?>
<table width="100%" border="0" bordercolor="black" cellspacing=0 cellpadding="0" height="25">
<tr>
<td valign="bottom" width="25" height=25 background="../image/topleft.gif"></td>
<td height="25" align="left" width="40%" style="padding-top:3px;color:#000000" background="../image/topback.gif">普通用户组列表</td>
<td height="25" style="padding-top:3px;" align="right" background="../image/topback.gif"> </td>
<td valign="bottom" width="25" height="25" background="../image/topright.gif"></td>
</tr>
</table>
<table width="100%" border="0" bordercolor="red" cellspacing=0 cellpadding="0"><!--这个表格只有一行-->
<tr><!--这仅有的一行里面只有两格子-->
<td background="../image/left.gif" width=25><img src="../image/blank.gif" width="15"></td><!--第一个格子-->
<td align="center"> <!--第二个格子,下面有好多东西--><br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<form action="general_group_list.php" method="post" name="query">
<tr>
<td width="84%" height="30">关键字查询:
<input name="keyword" type="text" class="input_2" id="keyword" value="" size="60"></td>
<td width="16%"><input name="Submit" type="submit" class="BUTTON_01" value=" 查询 " onMouseOut="msout()" onMouseOver="msover()">
<input name="actions" type="hidden" id="actions" value="query"></td>
</tr>
</form>
</table>
<hr width=100% color=#c6d2dd>
<input name="Submit2" type="button" class="BUTTON_01" value="增加普通用户组" onMouseOut="msout()" onMouseOver="msover()" onClick="window.location='general_group_add.php'">
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84%" height="25" align="center">
<?
if($number)
echo "<font color=rgb(87,137,188)>共有<b>".$number."</b>个记录</font>  ";
?>
</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<?
if ($number){
echo "<pre>";
?>
<tr class="trList_05">
<th width="17%" height="25" class="tdList_02_0">组名</th>
<th width="12%" class="tdList_02_0">计费规则</th>
<th width="14%" class="tdList_02_0">流量限制</th>
<th width="14%" class="tdList_02_0">超流量计费</th>
<th width="13%" class="tdList_02_0">带宽限制</th>
<th width="10%" class="tdList_02_0">报警线</th>
<th width="10%" class="tdList_02_0">操作者</th>
<th width="10%" class="tdList_02_0">操作</th>
</tr>
<?
echo "</pre>";}
else
echo "<div align='center'>没有用户组!";
?>
<?
while($row = mysql_fetch_array($result))//循环开始
{
?>
<tr class="trList_06">
<td height="25" class="tdList_02_0"> <? echo $row[1];?></td>
<td align="center" class="tdList_02_0"> <? echo "2.".$row[4]."元/小时";?></td>
<td align="center" class="tdList_02_0"> <? echo "3.".$row[5]."兆/小时";?> </td>
<td align="center" class="tdList_02_0"> <? echo "4.".$row[3]."元/兆";?></td>
<td align="center" class="tdList_02_0"> <? echo "5.".$row[8]."K/秒";?></td>
<td align="center" class="tdList_02_0"> <? echo "6.".$row[12]."元";?></td>
<td align="center" class="tdList_02_0"> <? echo $row[15];?></td>
<td><div align="center">
[<a href="general_group_add.php?id=<?php echo $row[0];?>&actions=editgroup">编辑</a>]
[<a href="general_group_actions.php?id=<?php echo $row[0];?>&actions=delgroup">删除</a>]
</div></td>
</tr>
<?
}//循环结束
?>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84%" height="25" align="center">
<?
if($number)
echo "<font color=rgb(87,137,188)>共有<b>".$number."</b>个记录</font>  ";
?>
</td>
</tr>
</table>
<h1>如何把del功能做成原版的:点击出现提示框,确认删除 ;原版本使用from提交 </h1>
</td><!--第二个格子结束-->
<td width=25 background="../image/right.gif"><img src="../image/blank.gif" width="25"></td><!--第三个格子结束-->
</tr>
</table>
<table width="100%" border=0 bordercolor="#000000" cellpadding=0 cellspacing=0>
<tr>
<td width=25 height=25 background="../image/bottomleft.gif"><img height=25 src="../image/blank.gif" width=25></td>
<td width="100%" background="../image/bottomback.gif" height=10><img height=25 src="../image/blank.gif" width=10></td>
<td width=25 height=25 background="../image/bottomright.gif"><img height=25 src="../image/blank.gif" width=25></td>
</tr>
</table>
</body>
</html>
function trim(s)
{
var count = s.length;
var st = 0; // start
var end = count-1; // end
if (s == "") return s;
while (st < count) {
if (s.charAt(st) == " ")
st ++;
else
break;
}
while (end > st) {
if (s.charAt(end) == " ")
end --;
else
break;
}
return s.substring(st,end + 1);
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>普通用户组列表</title>
<link href="../common/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 { font-family: "宋体";
font-size: 12px;
color: rgb(0,51,135);
}
-->
</style>
</head>
<script language="JavaScript" src="../common/function.js"></script>
<body>
<?php
$sql="select * from user_group";
require('../include/conn.php');
$result = mysql_query($sql);
$number = mysql_num_rows($result);
?>
<table width="100%" border="0" bordercolor="black" cellspacing=0 cellpadding="0" height="25">
<tr>
<td valign="bottom" width="25" height=25 background="../image/topleft.gif"></td>
<td height="25" align="left" width="40%" style="padding-top:3px;color:#000000" background="../image/topback.gif">普通用户组列表</td>
<td height="25" style="padding-top:3px;" align="right" background="../image/topback.gif"> </td>
<td valign="bottom" width="25" height="25" background="../image/topright.gif"></td>
</tr>
</table>
<table width="100%" border="0" bordercolor="red" cellspacing=0 cellpadding="0"><!--这个表格只有一行-->
<tr><!--这仅有的一行里面只有两格子-->
<td background="../image/left.gif" width=25><img src="../image/blank.gif" width="15"></td><!--第一个格子-->
<td align="center"> <!--第二个格子,下面有好多东西--><br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<form action="general_group_list.php" method="post" name="query">
<tr>
<td width="84%" height="30">关键字查询:
<input name="keyword" type="text" class="input_2" id="keyword" value="" size="60"></td>
<td width="16%"><input name="Submit" type="submit" class="BUTTON_01" value=" 查询 " onMouseOut="msout()" onMouseOver="msover()">
<input name="actions" type="hidden" id="actions" value="query"></td>
</tr>
</form>
</table>
<hr width=100% color=#c6d2dd>
<input name="Submit2" type="button" class="BUTTON_01" value="增加普通用户组" onMouseOut="msout()" onMouseOver="msover()" onClick="window.location='general_group_add.php'">
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84%" height="25" align="center">
<?
if($number)
echo "<font color=rgb(87,137,188)>共有<b>".$number."</b>个记录</font>  ";
?>
</td>
</tr>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<?
if ($number){
echo "<pre>";
?>
<tr class="trList_05">
<th width="17%" height="25" class="tdList_02_0">组名</th>
<th width="12%" class="tdList_02_0">计费规则</th>
<th width="14%" class="tdList_02_0">流量限制</th>
<th width="14%" class="tdList_02_0">超流量计费</th>
<th width="13%" class="tdList_02_0">带宽限制</th>
<th width="10%" class="tdList_02_0">报警线</th>
<th width="10%" class="tdList_02_0">操作者</th>
<th width="10%" class="tdList_02_0">操作</th>
</tr>
<?
echo "</pre>";}
else
echo "<div align='center'>没有用户组!";
?>
<?
while($row = mysql_fetch_array($result))//循环开始
{
?>
<tr class="trList_06">
<td height="25" class="tdList_02_0"> <? echo $row[1];?></td>
<td align="center" class="tdList_02_0"> <? echo "2.".$row[4]."元/小时";?></td>
<td align="center" class="tdList_02_0"> <? echo "3.".$row[5]."兆/小时";?> </td>
<td align="center" class="tdList_02_0"> <? echo "4.".$row[3]."元/兆";?></td>
<td align="center" class="tdList_02_0"> <? echo "5.".$row[8]."K/秒";?></td>
<td align="center" class="tdList_02_0"> <? echo "6.".$row[12]."元";?></td>
<td align="center" class="tdList_02_0"> <? echo $row[15];?></td>
<td><div align="center">
[<a href="general_group_add.php?id=<?php echo $row[0];?>&actions=editgroup">编辑</a>]
[<a href="general_group_actions.php?id=<?php echo $row[0];?>&actions=delgroup">删除</a>]
</div></td>
</tr>
<?
}//循环结束
?>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="84%" height="25" align="center">
<?
if($number)
echo "<font color=rgb(87,137,188)>共有<b>".$number."</b>个记录</font>  ";
?>
</td>
</tr>
</table>
<h1>如何把del功能做成原版的:点击出现提示框,确认删除 ;原版本使用from提交 </h1>
</td><!--第二个格子结束-->
<td width=25 background="../image/right.gif"><img src="../image/blank.gif" width="25"></td><!--第三个格子结束-->
</tr>
</table>
<table width="100%" border=0 bordercolor="#000000" cellpadding=0 cellspacing=0>
<tr>
<td width=25 height=25 background="../image/bottomleft.gif"><img height=25 src="../image/blank.gif" width=25></td>
<td width="100%" background="../image/bottomback.gif" height=10><img height=25 src="../image/blank.gif" width=10></td>
<td width=25 height=25 background="../image/bottomright.gif"><img height=25 src="../image/blank.gif" width=25></td>
</tr>
</table>
</body>
</html>
作者: salty1003 发布时间: 2007-05-07
X-Powered-By: PHP/5.2.0
Content-type: text/html
<script language="JavaScript">
function trim(s)
{
var count = s.length;
var st = 0; // start
var end = count-1; // end
if (s == "") return s;
while (st < count) {
if (s.charAt(st) == " ")
st ++;
else
break;
}
while (end > st) {
if (s.charAt(end) == " ")
end --;
else
break;
}
return s.substring(st,end + 1);
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>普通用户组列表</title>
<link href="../common/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 { font-family: "宋体";
font-size: 12px;
color: rgb(0,51,135);
}
-->
</style>
</head>
<script language="JavaScript" src="../common/function.js"></script>
<body>
<!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" />
<title>无标题文档</title>
</head>
<body>
</body>
</html>
。。。。。。。。。以下省略。。。。。。。。。。。
[ 本帖最后由 salty1003 于 2007-5-7 01:04 编辑 ]
Content-type: text/html
<script language="JavaScript">
function trim(s)
{
var count = s.length;
var st = 0; // start
var end = count-1; // end
if (s == "") return s;
while (st < count) {
if (s.charAt(st) == " ")
st ++;
else
break;
}
while (end > st) {
if (s.charAt(end) == " ")
end --;
else
break;
}
return s.substring(st,end + 1);
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>普通用户组列表</title>
<link href="../common/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 { font-family: "宋体";
font-size: 12px;
color: rgb(0,51,135);
}
-->
</style>
</head>
<script language="JavaScript" src="../common/function.js"></script>
<body>
<!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" />
<title>无标题文档</title>
</head>
<body>
</body>
</html>
。。。。。。。。。以下省略。。。。。。。。。。。
[ 本帖最后由 salty1003 于 2007-5-7 01:04 编辑 ]
作者: salty1003 发布时间: 2007-05-07
那些红色代码怎么会生成呢?
作者: salty1003 发布时间: 2007-05-07
顶起
作者: salty1003 发布时间: 2007-05-07
用stdio5.2
调试的时候生成的!
调试的时候生成的!
作者: salty1003 发布时间: 2007-05-07
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28