<?php
/**
 * 拒绝直接访问模板
 */ 
if(ZIBANMA_SYS_LINK != 'zibanma_com'){
	die('access deny');
}
?>
<!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>main</title>
<link href="/template/admin/style/style.css" rel="stylesheet" type="text/css"/>
<style type="text/css">
td { background-color:#006699; line-height:30px; text-indent:5px; height:28px;}
</style>
</head>
<body id="main">
	<div class="body">
		<div class="title"><?php echo $menu_name;?></div>
		<div class="content">
			<form action="<?php echo $common->get_rewriter_url_arr(array('admin','link_add'));?>" method="post">
				<table style="width:100%;">
					<tr>
						<td style="text-align:right;" width="20%">网站名称：</td>
						<td><input type="text" name="title" class="input" /></td>
					</tr>
					<tr>
						<td style="text-align:right;">网站地址：</td>
						<td><input type="text" name="url" class="input" /></td>
					</tr>
					<tr>
						<td style="text-align:right;">网站LOGO：</td>
						<td><input type="text" name="logo" class="input" /></td>
					</tr>
					<tr>
						<td style="text-align:right;">站长姓名：</td>
						<td><input type="text" name="name" class="input" /></td>
					</tr>
					<tr>
						<td style="text-align:right;">QQ：</td>
						<td><input type="text" name="qq" class="input" /></td>
					</tr>
					<tr>
						<td style="text-align:right;">联系电话：</td>
						<td><input type="text" name="tel" class="input" /></td>
					</tr>
					<tr>
						<td style="text-align:right;">显示位置：</td>
						<td>
							<label><input type="radio" name="index" value="1" checked="checked" />首页</label>&nbsp;&nbsp;
							<label><input type="radio" name="index" value="0" />内页</label>
						</td>
					</tr>
					<tr>
						<td style="text-align:right;">审核通过：</td>
						<td>
							<label><input type="radio" name="status" value="1" checked="checked" />通过审核</label>&nbsp;&nbsp;
							<label><input type="radio" name="status" value="0" />不审核</label>
						</td>
					</tr>
					<tr>
						<td style="text-align:right;">&nbsp;</td>
						<td><input type="submit" value="确认提交" style="width:100px; height:30px;" /></td>
					</tr>
					
				</table>
				</form>
		</div>
	</div>
</body>
</html>