<!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" xml:lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>申请友情链接</title>
<link href="../templets/style/dede.css" rel="stylesheet" type="text/css" />
<link href="../templets/style/spage.css" rel="stylesheet" type="text/css" />
</head>
</head>
<body>

<div class="stop">
	<span class="toptitle">友情链接</span>
	<span class="toplink"><a href="/">返回主页</a> <a href="flink.php">所有链接</a></span></div>

<div class="smain">
	<div class="mtitle">
		<div class="mtname"><strong>申请友情链接</strong></div>
		</div>
	<div class="mbox">
		<div class="ptlink">
        	<form name="form1" method="post" action="flink.php">
		  	<input type='hidden' name='dopost' value='save'>
			<dl>
				<dt>验证码：</dt>
				<dd>
				  <input name="validate" type="text" id="vdcode2" size="10" />
				  <img src="../include/vdimgck.php" width="60" height="20" alt="gdcode" />				</dd>
			</dl>
			<dl>
				<dt>网址：</dt>
				<dd>
				  <input name="url" type="text" id="url" value="http://" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>网站名称：</dt>
				<dd>
				  <input name="webname" type="text" id="webname" size="30" />
				</dd>
			</dl>
			<dl>
				<dt>网站Logo：</dt>
				<dd>
					<input name="logo" type="text" id="logo" size="30" />
				  (88*31 gif或jpg)				</dd>
			</dl>
			<dl>
				<dt>网站简况：</dt>
				<dd>
				  <textarea name="msg" cols="50" rows="4" id="msg"></textarea>
				</dd>
			</dl>
			<dl>
				<dt>站长Email：</dt>
				<dd>
				  <input name="email" type="text" id="email" size="30" />
				</dd>
			</dl>
	  <dl>
				<dt>网站类型：</dt>
				<dd>
				  <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>
				</dd>
			</dl>
	  <div class="lksubmit">
				<input type="submit" value="申请加入友情链接"/>
			</div>
            </form>
		</div>
		
		
  </div>
</div>


</body>
</html>
