<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>申请友情链接</title>
<link href="../base.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style2 {
	color: #CC0000;
	font-size: 11pt;
}
-->
</style>
</head>
<body>
<table width="650" border="0" align="center" cellspacing="2">
  <tr> 
    <td><img src="img/flink-add.gif" width="320" height="46"></td>
  </tr>
  <tr> 
    <td bgcolor="#CCCC99" height="6"></td>
  </tr>
  <tr> 
    <td bgcolor="#DEEFE2">
    	&nbsp;申请友情链接：
    <a href='flink.php'>[所有链接]</a>
    <a href='/'>[返回主页]</a>
   </td>
  </tr>
  <tr> 
    <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td height="3"></td>
        </tr>
        <tr> 
          <td height="100" align="center" valign="top">
		  <form name="form1" method="post" action="flink.php">
		  	<input type='hidden' name='dopost' value='save'>
		      <table width="98%"  border="0" cellspacing="1" cellpadding="3">
                <tr> 
                  <td height="8" colspan="2"></td>
                </tr>
                <tr>
                  <td height="25">验证码：</td>
                  <td><table width="200" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td width="84"><input name="validate" type="text" id="vdcode2" size="10"></td>
                        <td width="116"><img src='../include/vdimgck.php' width='50' height='20'></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td width="19%" height="25">网址：</td>
                  <td width="81%"><input name="url" type="text" id="url" value="http://" size="30"></td>
                </tr>
                <tr> 
                  <td height="25">网站名称：</td>
                  <td><input name="webname" type="text" id="webname" size="30"></td>
                </tr>
                <tr> 
                  <td height="25">网站Logo：</td>
                  <td><input name="logo" type="text" id="logo" size="30">
                    (88*31 gif或jpg)</td>
                </tr>
                <tr> 
                  <td height="25">网站简况：</td>
                  <td><textarea name="msg" cols="50" rows="4" id="msg"></textarea></td>
                </tr>
                <tr> 
                  <td height="25">站长Email：</td>
                  <td><input name="email" type="text" id="email" size="30"></td>
                </tr>
                <tr> 
                  <td height="25">网站类型：</td>
                  <td> <select name="typeid" id="typeid">
                      <?php 
        $dsql = new DedeSql(false);
        $dsql->SetQuery("select * from #@__flinktype");
        $dsql->Execute();
        while($row=$dsql->GetObject())
        {
        	echo "	<option value='".$row->ID."'>".$row->typename."</option>\r\n";
        }
        $dsql->Close();
        ?>
                    </select> </td>
                </tr>
                <tr> 
                  <td height="51">&nbsp;</td>
                  <td><input type="submit" name="Submit" value=" 提 交 ">
                    　 　 
                    <input type="reset" name="Submit" value=" 重 置 "></td>
                </tr>
              </table>
		  </form>
			</td>
        </tr>
        <tr> 
          <td height="3"></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td bgcolor="#CCCC99" height="6"></td>
  </tr>
  <tr> 
    <td align="center" height="30">
    <a href="http://www.dedecms.com" target="_blank">Power by DedeCms 织梦内容管理系统</a>
    </td>
  </tr>
</table>
	</td>
  </tr>
  <tr>
    <td height="20">&nbsp;</td>
  </tr>
</table>
</body>
</html>