<!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=gb2312" />
<title>标签源码碎片管理</title>

<link rel="stylesheet" href="css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="css/base.css">
<script language="javascript" src="js/jquery.min.js" type="text/javascript"></script>	
<script type="text/javascript" src="js/admin.jquery.configuration.js"></script>

<script language="javascript" src="js/global.js"></script>
<script language="javascript" src="../include/js/dedeajax2.js"></script>
<style type="text/css">
.linerow { border-bottom: 1px solid #CBD8AC; }
td { padding-left:5px; }
</style>
</head>
<body>
<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
<?php include(DEDEADMIN.'/templets/menu.htm'); ?>
<script language="javascript">
$("#templets").addClass("current");$("#templets_tagsource").addClass("current");</script>				

	<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>标签源码碎片管理</h3>
					
					<ul class="content-box-tabs">

					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
<div class="tab-content  default-tab" id="tab1">				

<table width='98%' border='0' cellspacing='1' cellpadding='0' align="center">
   <tr height="26" align="center">
     <td width="25%"><strong>标签文件名</strong></td>
     <td width="33%" align="left"><strong>标签说明</strong></td>
     <td width="22%"><strong>修改时间</strong></td>
     <td width="20%"><strong>操作</strong></td>
   </tr>
   <tr>
      <td colspan='4' height="28">
      	<div style='float:left'>
      	<b>
      		当前位置：标签源码碎片管理(文件存放在 ../include/taglib 文件夹)
      	</b>
        </div>
      	<div style='float:right;padding-right:10px'>
      		<a href='tpl.php?action=addnewtag'>[<u>增加一个新的标签</u>]</a>
        </div>
      </td>
   </tr>
   <?php
   $dh = dir($libdir);
   while($filename=$dh->read())
   {
   	  if(!preg_match("#\.php$#", $filename)) continue;
   	  $filetime = filemtime($libdir.'/'.$filename);
      $filetime = MyDate("Y-m-d H:i",$filetime);
      $fileinfo = GetHelpInfo(str_replace('.lib.php','',$filename));
   ?>
   <tr>
	  <td>
       <img src='images/htm.gif' border='0' align='absmiddle' /><?php echo $filename; ?>
    </td>
		<td>
			<?php echo $fileinfo; ?>
		</td>
		<td align='center'>
			<?php echo $filetime; ?>
		</td>
		<td align='center'>
			<a href='tpl.php?action=edittag&filename=<?php echo $filename; ?>'>[编辑]</a>
		</td>
	</tr>
	<?php } ?>
	<tr>
    <td colspan="4">
      <p style="text-align:center;color:red">修改系统标签有风险，请小心操作！</p>
    </td>
  </tr>
</table>
							<div class="clear"></div><!-- End .clear -->
							
						
						
					</div> <!-- End #tab1 -->

					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="clear"></div>
			
           <?php include(DEDEADMIN.'/templets/footer.htm'); ?>
			
		</div> <!-- End #main-content -->	
	</div>
</body>
</html>