📄 senderror.php
字号:
<?
include_once("globla.php");
require $movie_root.("/Connections/showmov.php");
$action=$_GET['action'];
if ($action=="save")
{
$sql="insert into jdzcnnet_error(title,userid,content,times,location) values('".$_POST['title']."','游客','".$_POST['msg']."',".time().",'".$_SERVER['REMOTE_ADDR']."')";
mysql_query($sql);
mysql_close($showmov);
echo "<script>alert('感谢您的发布!信息提交成功!');window.close();</script>";
exit;
}
$id=sql_cut($_GET['id']);
if($id=="")
{
echo "<script>alert('参数错误');window.close;</script>";
}
$sql="select title from jdzcnnet_movie where id=".$id."";
$rs=mysql_fetch_array(mysql_query($sql));
if(!$rs[0])
{
echo "<script>alert('没有这部影片');window.close;</script>";
}
$title=$rs[0];
mysql_close($showmov);
?><!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>
<link href="img/Netbar_css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
margin-top: 0px;
margin-left: 0px;
}
-->
</style></head>
<body>
<table width="414" height="223" border="0" cellpadding="0" cellspacing="0" background="img/feedback02.jpg" style="border-collapse:collapse">
<tr>
<td width="414" height="25"><img src="img/feedback01.jpg" width="409" height="40" /></td>
</tr>
<tr>
<td>
<table width="95%" border="0" align="center" cellpadding="3" cellspacing="0">
<form id="form1" name="form1" method="post" action="?action=save"><tr>
<td>用户 ID:</td>
<td>游客</td>
</tr>
<tr>
<td width="19%">影片名称:</td>
<td width="81%">
<label>
<input name="title" type="text" id="title" value="<?=$title?>" />
</label> </td>
</tr>
<tr>
<td height="27">错误描述</td>
<td><label>
<textarea name="msg" cols="40" rows="15" id="msg"></textarea>
</label></td>
</tr>
<tr>
<td> </td>
<td><label>
<input type="submit" name="Submit" value="提交" />
</label></td>
</tr></form>
</table></td>
</tr>
<tr>
<td height="16"><img src="img/feedback03.jpg" width="409" height="14" /></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -