<?php
	!defined('DIRCMS_MANAGE') && exit('Access Denied!');
?>
<!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>
<title>企业模板</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<link rel="stylesheet" type="text/css" href="admin/template/css/style.css" />
<script type="text/javascript" src="images/js/jquery.min.js"></script>
<style type="text/css">
a:active{blr:expression(this.onFocus=this.blur())}
a:focus {
    outline:none;
    -moz-outline:none;
}
.floatul li{float:left; margin:2px 3px; text-align:center}
.floatul li a{border:#FFffff 1px solid;display:block; width:135px; height:90px}
.floatul li a:hover{border:#FF9933 1px solid}
</style>
</head>
<body>
<div id="wrap">
	<div class="tab">
		<ul>
			<li><a href="javascript:void(0);" class="on">黄页模板</a></li>			
		</ul>
	</div>
	<div class="main">
	<fieldset>
		<legend>操作提示</legend>
		如果您自己要新增模板，请将您的模板文件夹命名为英文数字，并上传到 template/comtmp/ 文件夹下。
	</fieldset>
	<form action="" method="post" name="myform">
	<input type="hidden" name="do_submit" value="1" />
	<table cellspacing="0" class="sub">
		<tr>
			<td>
			<ul style="width:98%; clear:both" class="floatul">
			<?php foreach($r as $v){?>
				<li><a href="<?php echo ADMIN_FILE;?>?file=yellowpages&action=template_list&tlp=<?php echo $v;?>"><img src="template/comtmp/<?php echo $v;?>/temp.gif" width="135px" height="90px" /></a></li>
			<?php }?>
			</ul>
			</td>
		</tr>
	</table>
	</form>

	</div>
</div>
</body>
</html>