{include file="pageheader.htm"}
{insert_scripts files='../js/quickView.js'}

<link rel="stylesheet" href="images/css/lightbox.css" type="text/css" media="screen" />
<script src="images/js/prototype.js" type="text/javascript"></script>
<script src="images/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="images/js/lightbox.js" type="text/javascript"></script>

<div class="BodyRight">
	<div class="RightDetill">
		<ul>
			<li class="Green"><a href="http://www.nitc.cc/About-nitc/488.html#_Toc239504393" target="_blank">查看演示文件</a></li>
			<li class="SkyBlue"><a href="help_document.php?action=download">下载演示文档</a></li>
			<li class="Black">操作帮助请详见演示文件!</li>
			<li class="DetillRigh"></li>
		</ul>
	</div>
	
	<div class="PageContent">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
		<td class="LineRightBlue1">
			<table width="95%" border="0" cellpadding="0" cellspacing="0" style="margin-left:20px;">
		  <tr>
			<td width="88%" height="24">网站管理 > 网站主题设置</td>
			<td width="12%" align="right"><a href="http://www.nitc.cc/templates/showroom/index.html" target="_blank"><img src="images/{$skin}/bt_more.gif" width="80" height="24" border="0" /></a></td>
		  </tr>
		</table>
		</td>
	  </tr>
	</table>
	
	<form action="" method="post" name="theForm">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListCategory" style="line-height:25px;">
			<tr>
			<th width="20%" height="35" align="left" style="padding-left:10px;"><span>缩略图</span></th>
			<th width="40%" height="35" align="left" style="padding-left:10px;"><span>主题</span></th>
			<th width="10%" align="left"><span>是否启用</span></th>
			<th width="20%" align="left"><span>模板位置</span></th>
			<th width="10%">
			<span>操作</span>			
			</th>			
			</tr>
			<tr><td colspan="7" style="border:none;">
			<table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-left:1px solid #D6DFE7;border-right:1px solid #D6DFE7;border-top:1px solid #D6DFE7;">
			{section name=loop loop=$dir_list}
			<tr title='{$dir_list[loop].xml_config.theme_description}'>
			<td align="left" style="padding-left:10px; padding-top:5px; padding-bottom:5px;" width="20%">
			{if $dir_list[loop].image_url}
			<a href='{$dir_list[loop].image_url}' rel='lightbox[roadtrip]' title='{$dir_list[loop].xml_config.theme_title} {$dir_list[loop].xml_config.theme_version} by {$dir_list[loop].xml_config.theme_author}'><img src="{$dir_list[loop].image_url}" width="80" border="0" /></a>&nbsp;
			{else}
			{$dir_list[loop].image_str}&nbsp;
			{/if}
			</td>
			<td align="left" style="padding-left:10px;" width="40%">{$dir_list[loop].xml_config.theme_title} {$dir_list[loop].xml_config.theme_version} by {$dir_list[loop].xml_config.theme_author}&nbsp;</td>
			<td align="left" width="10%">&nbsp;{if $config.template == $dir_list[loop].dir_name}<span style='color:#FF0000'>已启用</span>{/if}
			</td>
			<td align="left" width="20%">/themes/{$dir_list[loop].dir_name}/&nbsp;</td>
			<td nowrap align="center" width="10%">
			<div style="margin:0px auto;width:35px;">
            <div class="operation">
			<a href="template.php?action=active&template_name={$dir_list[loop].dir_name}" title="启用" class="op_start"></a>
			</div>
            </div>
			</td>
			</tr>
			{/section}	
			</table>
			</td></tr>	
		</table>
		
		<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;">
		  <tr>
			<td height="36" class="BotNavBg">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
			  <tr>
				<td align="right"  style="padding-right:10px;">
				{$page}
				 </td>
			  </tr>
			</table>
			</td>
		  </tr>
		</table>
	</form>
	</div>
</div>
<script type="text/javascript">
{literal}
function clearSearchText(searchText){
	if(document.getElementById(searchText).value=="查找产品信息..."){
		document.getElementById(searchText).value="";
	}
}
function doSearchSubmit(){
	if(document.getElementById("searchText").value=="查找产品信息..."){
		document.getElementById("searchText").value="";
	}
}
{/literal}
</script>
{include file="pagefooter.htm"}