/[LeafOK_CVS]/fenglin/www/site_reg.php
ViewVC logotype

Diff of /fenglin/www/site_reg.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Fri Sep 9 13:35:20 2005 UTC Revision 1.2 by sysadm, Sat Mar 1 09:08:07 2025 UTC
# Line 1  Line 1 
 <?  
         include "./log.inc.php";  
 ?>  
1  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2  <html>  <html>
3  <head>  <head>
4  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5  <title>枫林在线</title>  <title>鏋灄鍦ㄧ嚎</title>
6  <link rel="stylesheet" href="css/default.css" type="text/css">  <link rel="stylesheet" href="css/default.css" type="text/css">
7  </head>  </head>
8  <body>  <body>
# Line 16  Line 13 
13  <table width="760" border="0" cellpadding="0" cellspacing="0">  <table width="760" border="0" cellpadding="0" cellspacing="0">
14          <tr height=20 bgcolor=#F3F9FC>          <tr height=20 bgcolor=#F3F9FC>
15                  <td width="20">&nbsp;</td>                  <td width="20">&nbsp;</td>
16                  <td>枫林在线 &gt;&gt; <a href="search.php">搜索</a> &gt;&gt; 网站登录</td>                  <td>鏋灄鍦ㄧ嚎 &gt;&gt; <a href="search.php">鎼滅储</a> &gt;&gt; 缃戠珯鐧诲綍</td>
17                  <td width="20">&nbsp;</td>                  <td width="20">&nbsp;</td>
18          </tr>          </tr>
19          <tr>          <tr>
# Line 93  Line 90 
90    
91          if ($sitename=="" || $description=="" || $name=="" || $email=="")          if ($sitename=="" || $description=="" || $name=="" || $email=="")
92          {          {
93                  echo ("资料填写不完整!");                  echo ("璧勬枡濉啓涓嶅畬鏁达紒");
94          }          }
95          else          else
96          {          {
# Line 103  Line 100 
100                          or die("Query data error!");                          or die("Query data error!");
101                  if (mysql_num_rows($rs))                  if (mysql_num_rows($rs))
102                  {                  {
103                          echo ("网址已存在!");                          echo ("缃戝潃宸插瓨鍦紒");
104                  }                  }
105                  else                  else
106                  {                  {
# Line 111  Line 108 
108                                  "email,ip) values('$sitename','$url','$class','$location','$description','$name',".                                  "email,ip) values('$sitename','$url','$class','$location','$description','$name',".
109                                  "'$email','".Client_Address()."')")                                  "'$email','".Client_Address()."')")
110                                  or die("Add data error!");                                  or die("Add data error!");
111                          echo ("资料提交完成,我们将在两个工作日内办理。<br>\n");                          echo ("璧勬枡鎻愪氦瀹屾垚锛屾垜浠皢鍦ㄤ袱涓伐浣滄棩鍐呭姙鐞嗐<br>\n");
112                          echo("感谢您的支持!\n");                          echo("鎰熻阿鎮ㄧ殑鏀寔锛乗n");
113                  }                  }
114                  mysql_free_result($rs);                  mysql_free_result($rs);
115                  mysql_close($db_conn);                  mysql_close($db_conn);


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1