国内流行的内容管理系统(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.

29 lines
855B

  1. <?php
  2. /**
  3. * @version $Id: tags.php 1 2010-06-30 11:43:09Z tianya $
  4. * @package DedeBIZ.Site
  5. * @copyright Copyright (c) 2020, DedeBIZ.COM
  6. * @license https://www.dedebiz.com/license
  7. * @link https://www.dedebiz.com
  8. */
  9. require_once(dirname(__FILE__) . "/include/common.inc.php");
  10. require_once(DEDEINC . "/arc.taglist.class.php");
  11. $PageNo = 1;
  12. if (isset($_SERVER['QUERY_STRING'])) {
  13. $tag = trim($_SERVER['QUERY_STRING']);
  14. $tags = explode('/', $tag);
  15. if (isset($tags[1])) $tag = $tags[1];
  16. if (isset($tags[2])) $PageNo = intval($tags[2]);
  17. } else {
  18. $tag = '';
  19. }
  20. $tag = FilterSearch(urldecode($tag));
  21. if ($tag != addslashes($tag)) $tag = '';
  22. if ($tag == '') $dlist = new TagList($tag, 'tag.htm');
  23. else $dlist = new TagList($tag, 'taglist.htm');
  24. $dlist->Display();
  25. exit();