<?php 
require_once('../../include/class.inc.php'); 
?>

<!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" />
<link rel="stylesheet" href="../inc/css.css" type="text/css" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE5 {color: #FFFFFF; font-weight: bold; }
.STYLE6 {color: #FF0000}
.STYLE10 {color: #999999}
-->
</style>
</head>
<body>                <?php
			$result=$my->data_select('webinfo','','','','');
			while($rs=mysql_fetch_array($result)){
		  ?>
<form method="post" enctype="multipart/form-data" name="class" action="webinfoup.php?id=<?php echo $rs["id"];?>">
  <table width="1052" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#799AE1" class="tableBorder">
    <tbody>
      <tr bgcolor="#CCCCCC">
        <td height="20" colspan="2" bgcolor="#4455aa"><div align="center" class="STYLE5">
            <div align="left">网站参数管理<strong></strong></div>
        </div></td>
      </tr>
	 <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>网站地址</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="url" type="text" id="url" value="<?php echo $rs["url"];?>" size="70" />
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>网站名称</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="webname" type="text" id="webname" value="<?php echo $rs["webname"];?>" size="70" />
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>联系方式</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="phone" type="text" id="phone" value="<?php echo $rs["phone"];?>" size="70" />
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>Email</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="Email" type="text" id="Email" value="<?php echo $rs["Email"];?>" size="70" />
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>ICP</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="ICP" type="text" id="ICP" value="<?php echo $rs["ICP"];?>" size="70" />
        </div></td>
      </tr>
      
       <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>网站logo</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input type="file" name="logo" value="<?php echo $rs["logo"]?>" /><input type="hidden" name="check_img" value="<?php echo $rs["logo"]?>" />&nbsp;&nbsp;<font color="#FF0000">建议上传 210*70</font>
        </div></td>
      </tr>
      
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>网站标题</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="title" type="text" id="title" value="<?php echo $rs["title"];?>" size="70" />
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center"><strong>网站关键字</strong></div></td>
        <td align="center" class="txlrow"><div align="left">
          <input name="keywords" type="text" id="keywords" value="<?php echo $rs["keywords"];?>" size="70" />
        </div></td>
      </tr>
      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow"><div align="center">
          <div align="center"><strong>网站描述</strong></div>
        </div></td>
        <td width="943" align="center" class="txlrow"><div align="left">
          <textarea name="description" id="description" cols="70" rows="5"><?php echo $rs["description"];?></textarea>
</div></td>
      </tr>

      <tr bgcolor="#DEE5FA">
        <td align="center" class="txlrow">&nbsp;</td>
        <td align="center" class="txlrow"><div align="left">
            <input type="submit" name="button2" id="button2" value="提交" />
            <input type="reset" name="button" id="button" value="重置" />
        </div></td>
      </tr>
    </tbody>
  </table>
</form>
<?php
};
?>
</body>
</html>
