📄 qyfbtg.php
字号:
<?
require "config.php";
$strsql="select * from $qyhy where user='$cokeuser3' and password='$cokepass3'";
$result=mysql_query($strsql,$myconn);
$num=mysql_num_rows($result);
if($num)
{
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>企业会员注册提交</title>
<style type="text/css">
<!--
.style3 {color: #999999}
-->
</style>
</head>
<body>
<center>
<table border=0 cellpadding=0 cellspacing=0 width=500>
<tbody>
<tr>
<td height=18 width="100%"> </td>
</tr>
</tbody>
</table>
<table border=0 cellpadding=0 cellspacing=0 width=500 height="120">
<tbody>
<tr>
<td height=59 background="images/error_bg1.gif" valign=top width="100%">
<div align=right> </div> </td>
</tr>
</tbody>
</table>
<table bgcolor=#ffb639 border=0 cellpadding=0 cellspacing=0 width=500>
<tbody>
<tr valign="top">
<td width="100%" height="181">
<div align=center>
<center>
<table bgcolor=#ffffff border=0 cellpadding=4 cellspacing=0 width=480>
<tbody>
<tr valign="bottom">
<td id=text height="42">
<div align="center">会员注册错误!!!</div>
</td>
</tr>
<tr>
<td id=text>
<div align="center">
<hr size="1" color="#ffb639" width="80%">
<table border="0" cellspacing="0" cellpadding="0" width="355">
<tr>
<td width="207" height="62" style="font-size: 9pt" valign="top">错误信息如下:<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><? $ycsgw=strip_tags($ycsgw);
$fbtime=date("Y-m-d");
if(strlen($ycsgw)<1)
{
echo "欲从事岗位没有写";
}
elseif(strlen($ycsgw)>20)
{
echo "招聘岗位字段太长";
}
elseif(strlen($text)>225)
{
echo "具体要求字段太长";
}
elseif(strlen($xggznx)>5)
{
echo "相关工作年限太长";
}
elseif($time==365 or $time==180 or $time==30 or $time==7 or $time==1)
{
$sqltj="insert into $qyfb(ycsgw,xggznx,text,yxts,fbtime,fbuser)
values('$ycsgw','$xggznx','$text','$time','$fbtime','$cokeuser3')";
$result1=mysql_query($sqltj,$myconn)or die(mysql_error());
echo"<meta http-equiv=refresh content=0;URL=zccg.php>";
}
else
{
echo "出错了请不要做小动作";
}
?> </td>
</tr>
</table> <br></td>
<td width="4" height="62">
<div align="left"><img src="images/error_dog.gif" width="63" height="70"></div>
</td>
</tr>
</table>
<input type="button" name="button1" value="返回上一页" onclick="javascript:window.history.back()">
<input type="button" name="button2" value="关闭窗口" onclick="javascript:self.close()">
</div>
</td>
</tr>
<tr>
<td id=text height="2">
<div align="center"></div>
</td>
</tr>
</tbody>
</table>
</center>
</div>
</td>
</tr>
</tbody>
</table>
<img border=0 height=21 src="images/error_bg2.gif" width=500>
<?
}
else
{
echo"出错了";
}
?>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -