<!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">
<meta http-equiv="x-ua-compatible" content="ie=7" />
<link href="{$tplroot}/admin/images/admincp.css?UmR" rel="stylesheet" type="text/css" />
</head>
<body>
<script type="text/JavaScript">
var admincpfilename = 'admin.php', IMGDIR = 'static/image/common', STYLEID = '1', VERHASH = 'UmR', IN_ADMINCP = true, ISFRAME = 1, STATICURL='static/', SITEURL = 'http://localhost/discuz/bbs/', JSPATH = 'static/js/';
</script>
<script src="{$tplroot}/admin/js/common.js?UmR" type="text/javascript"></script>
<script src="{$tplroot}/admin/js/admincp.js?UmR" type="text/javascript"></script>
<script type="text/javascript">
if(ISFRAME && !parent.document.getElementById('leftmenu') && !parent.parent.document.getElementById('leftmenu')) {
	redirect(admincpfilename + '?frames=yes&' + document.URL.substr(document.URL.indexOf(admincpfilename) + admincpfilename.length + 1));
}
</script>
<div id="append_parent"></div><div id="ajaxwaitid"></div>
<div class="container" id="cpcontainer"><script type="text/JavaScript">parent.document.title = 'iQQol 管理中心 - 风格 - 模板编辑';if(parent.$('admincpnav')) parent.$('admincpnav').innerHTML='风格&nbsp;&raquo;&nbsp;模板编辑&nbsp;&nbsp;';</script><div class="itemtitle"><h3>模板编辑</h3></div><form name="cpform" method="post" action="admin.php?action=styles&operation=edit&f={$_GET['f']}&id={$_GET['id']}" >
<table class="tb tb2 ">
<tr onmouseover="setfaq(this, 'faq68c1')"><td colspan="2" class="td27" s="1">模板编辑({$_GET['id']}):<a id="faq68c1" class="faq" title="查看更多提示" href="" target="_blank" style="display:none">&nbsp;&nbsp;&nbsp;</a></td></tr>
<tr class="noborder"><td class="vtop ">
<textarea  rows="28" ondblclick="textareasize(this, 1)" onkeyup="textareasize(this, 0)" name="info"  cols="80" >{$get}</textarea><br><input type="submit" class="btn" id="submit_settingsubmit" name="settingsubmit" title="按 Enter 键可随时提交您的修改" value="提交" /></td><td class="vtop tips2" s="1">编辑您的模板信息<br />双击输入框可扩大/缩小<br />若出现错误请到官网重下模板修复<br>请使用php语言修改！<br>[模板目录]<br><a href="admin.php?action=styles&operation=edit&f=lang&id={$_GET['id']}" style="color:blue">lang.inc.php</a><br><a href="admin.php?action=styles&operation=edit&f=info&id={$_GET['id']}" style="color:blue">info.php</a><br>
<?php
$files=iqqol_parameter::get_dir_glob('template/'.$_GET['id'],'name',false);
foreach($files as $key){
if($key!='info.php' and $key!='lang.inc.php')
echo $key.'<br>';
}

?></td></tr></table>

</div></tr>
</form>

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