📄 qyhyzctg.php
字号:
<?
require "config.php";
?>
<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><? $time=date("Y-m-d");
$jqyr=5;
$strsql="select*from $qyhy where user='$user'";
$result=mysql_query($strsql,$myconn);
$num=mysql_num_rows($result);
if($num)
{
echo "你填写的用户名已存在";
}
elseif($password!=$password2)
{
echo "两次输入的密码不一样";
}
elseif(strlen($user)<1)
{
echo "你的用户名是非法的";
}
elseif(strlen($corpname)<1)
{
echo "公司名称没写";
}
elseif(strlen($password)<1)
{
echo "你没有填写密码";
}
elseif(strlen($info)>225)
{
echo "公司简介太长";
}
elseif(strlen($corpname)>38)
{
echo "公司名称太长";
}
else
{
$sqltj="insert into $qyhy(user,password,lname,gender,corpname,email,phone,fax,state,city,address,zip,position,biztype,corpclass,employee,turnover,info,homepage,jqyr,time)
values('$user','$password','$lname','$gender','$corpname','$email','$phone','$fax','$state','$city','$address','$zip','$position','$biztype','$corpclass','$employee','$turnover','$info','$homepage','$jqyr','$time')";
$result1=mysql_query($sqltj,$myconn)or die(mysql_error());
echo"<meta http-equiv=refresh content=1;URL=zccg.php>";
}
?> </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>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -