国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

84 lines
3.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>标签源码碎片管理</title>
  6. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href="css/base.css" rel="stylesheet" type="text/css" />
  9. <style type="text/css">
  10. .linerow {
  11. border-bottom: 1px solid #CBD8AC;
  12. }
  13. td {
  14. padding-left: 5px;
  15. }
  16. </style>
  17. </head>
  18. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  19. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  20. class="table maintable table-bordered mt-3">
  21. <tr>
  22. <td height="28" background="images/tbg.gif" colspan="7" style="padding-left:10px;">
  23. <b>标签源码碎片管理</b>
  24. </td>
  25. </tr>
  26. </table>
  27. <table width='98%' border='0' cellspacing='1' cellpadding='0' bgcolor="#cfcfcf" align="center" class="table maintable table-bordered">
  28. <tr height="26" align="center">
  29. <td width="25%" background="images/wbg.gif"><strong>标签文件名</strong></td>
  30. <td width="33%" background="images/wbg.gif" align="left"><strong>标签说明</strong></td>
  31. <td width="22%" background="images/wbg.gif"><strong>修改时间</strong></td>
  32. <td width="20%" background="images/wbg.gif"><strong>操作</strong></td>
  33. </tr>
  34. <tr>
  35. <td colspan='4' height="28" bgcolor="#F9FCEF">
  36. <div style='float:left'>
  37. <b>
  38. 当前位置:标签源码碎片管理(文件存放在 ../include/taglib 文件夹)
  39. </b>
  40. </div>
  41. <div style='float:right;padding-right:10px'>
  42. <a href='tpl.php?action=addnewtag' class="btn btn-success btn-sm">增加一个新的标签</a>
  43. </div>
  44. </td>
  45. </tr>
  46. <?php
  47. $dh = dir($libdir);
  48. while($filename=$dh->read())
  49. {
  50. if(!preg_match("#\.php$#", $filename)) continue;
  51. $filetime = filemtime($libdir.'/'.$filename);
  52. $filetime = MyDate("Y-m-d H:i",$filetime);
  53. $fileinfo = GetHelpInfo(str_replace('.lib.php','',$filename));
  54. ?>
  55. <tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#FCFDEE';"
  56. onMouseOut="javascript:this.bgColor='#FFFFFF';">
  57. <td>
  58. <img src='images/htm.gif' border='0' align='absmiddle' /> <?php echo $filename; ?>
  59. </td>
  60. <td>
  61. <?php echo $fileinfo; ?>
  62. </td>
  63. <td align='center'>
  64. <?php echo $filetime; ?>
  65. </td>
  66. <td align='center'>
  67. <a href='tpl.php?action=edittag&filename=<?php echo $filename; ?>' class="btn btn-success btn-sm"><i class="fa fa-pencil-square-o" aria-hidden="true"></i> 编辑</a>
  68. </td>
  69. </tr>
  70. <?php } ?>
  71. <tr>
  72. <td colspan="4" height='32' bgcolor="#F9FCEF">
  73. <div class="alert alert-danger" role="alert">
  74. 修改系统标签有风险,请小心操作
  75. </div>
  76. </td>
  77. </tr>
  78. </table>
  79. </body>
  80. </html>