<!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=utf-8" />
	<title> OOPHP博客管理系统</title>
	<link rel="stylesheet" type="text/css" media="screen" href="<{$baseUrl}>/public/styles/layout.css" />
	<link rel="stylesheet" rev="stylesheet" type="text/css" media="screen, projection" href="<{$baseUrl}>/public/styles/pagenav.css" />
</head>

<body>
<div id="navbar">
    <p><!-- <span><select name=""><option value="0">后台首页</option></select></span> -->你的位置: <a href="main.html" title="">后台首页</a> &gt; 增加友情链接</p>
</div>
<div class="table-div">
    <form method="post" action="<{$baseUrl}>/admin/weblink/add/">
    <table>
	<thead>
	  <tr>
	    <th class="title" colspan="2">增加友情链接</th>
	  </tr>
	</thead>	
	<tbody>
      <tr>
	    <th style="width:15%;">网站名称</th>
		<td><input type="text" name="title" id="title" size="60" /></td>
	  </tr>
	  <tr>
	    <th>网站描述</th>
		<td><input type="text" name="content" id="content" size="60" /></td>
	  </tr>
	  <tr>
	    <th>网站URL地址</th>
		<td><input type="text" name="url" value="http://" id="url" size="60" /></td>
	  </tr>
	  <tr>
	    <th>站长Email</th>
		<td><input type="text" name="email" id="email"  size="60" /></td>
	  </tr>
	    <tr>
	    <th>是否前台显示</th>
		<td><select id="show" name="show"  >
		<option  value="1">显示</option>
		<option  value="0">暂不显示</option>
		<option  value="2">锁定</option>
		</select></td>
	  </tr>
	   <tr>
	    <th>网站LOGO图片</th>
		<td><p id="fileupload1">
		<input type="file" name="uploadfile[]" size="50" id="uploadfile"  /><input type="button" name="Submit"  onclick="uploadImg('1','fileupload1','uploadform');" value="上传" />
		</p></td>
	  </tr>
	  <tr>
	    <th colspan="2"><input type="submit" value="确定增加" class="cmd" /></th>
	  </tr>
	  </tbody>
	</table>
    </form>
<iframe name="uploadImgFrame" width="0" height="0" frameborder="0" id="uploadImgFrame"></iframe>
</div>
</body>
</html>