📄 1.php
字号:
<?php
//write.php 在子目录article中
require "articlelib.php";
if ($post)
{
if (empty($parent))
{
$parent = 0;
}
write_card($title, $content, $writer, $parent, $adda);
}
?>
<script language="JavaScript">
function check(obj)
{
var checkok = true;
if (obj.title.value == "")
{
alert ("请检查您的标题,不可以为空!");
obj.title.focus();
return false;
}
if (obj.title.value == "")
{
alert ("请检查您的种子地址,不可以为空!");
obj.adda.focus();
return false;
}
if (obj.content.value == "")
{
alert ("请检查您的电影简介,不可以为空!");
obj.title.focus();
return false;
}
return checkok;
}
</script>
<html>
<head>
<title>我要发布种子</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<? article_style(); ?>
</head>
<body bgcolor="#FFFFFF">
<center>
<table border="0" cellpadding="0" cellspacing="0" width="240">
<tbody>
<tr>
<td>
<table border="1" cellSpacing="0" borderColor="#006421" width="100%" bgcolor="#eeeecc">
<tr>
<td valign="top">
<form name="frmwrite" method="post" enctype="multipart/form-data" action="ok.php" onSubmit="return check(document.frmwrite)">
<input type="hidden" name="parent" value="<? print $id;?>">
<input type="hidden" name="cryptname" value="<? print $cryptname;?>">
<table bgcolor="#dff0e7" border="0" cellSpacing="0" align="center" width="100%" valign="top" height="100%">
<tr bgcolor="a5cbbd">
<td align="center" colspan="2">
发布种子
</td>
</tr>
<tr>
<td align="center" colSpan="2">
<table border="0" width="100%" cellSpacing="0" height="100%">
<tr>
<td>
电影名称:<input type="text" maxLength="100" name="title" size="50">
</td>
</tr>
<tr>
<td> 电影分类:<select name="fl">
<option value="1" selected>3gp连续剧</option>
<option value="2">3gp电影</option>
<option value="3">3gp动漫</option>
<option value="4">其他</option>
</select>
</td>
</tr>
<tr>
<td>
种子地址:<input type="text" maxLength="200" name="adda" size="40"><A href="/up" target=_blank><FONT size=2>上传种子</FONT></A>
</td>
</tr>
<tr>
<td>
作者:<input type="text" maxLength="100" name="writer" size="10" value="匿名">
</td>
</tr>
<tr>
<td>
<div align="left">
电影简介:插入图片请用 [img]图片地址[/img]
</div>
<br>
<textarea cols="60" name="content" rows="10" wrap="virtual"></textarea>
</td>
</tr>
<tr>
<td>
<p align="center">
</p>
<p align="center">
<input type="submit" value="发送" name="post">
<input type="reset" value="取消重写">
<A href="index.php" target=_blank><FONT size=2>不想发了</FONT></A> </p>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table><br><td>本站只允许把种子上传到<A href="/up" target=_blank><FONT size=2>本站</FONT></A>
</td></tr>
<script src='http://s116.cnzz.com/stat.php?id=458108&web_id=458108&show=pic' language='JavaScript' charset='gb2312'></script>
</center>
</body>
</html>
<?php
db_close();
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -