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

article_keywords_select.php 994B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * 文档关键词选择
  4. *
  5. * @version $Id: article_keywords_select.php$
  6. * @package DedeCMS.Administrator
  7. * @copyright Copyright (c) 2020, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license/v6
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(dirname(__FILE__)."/config.php");
  12. require_once(DEDEINC."/datalistcp.class.php");
  13. setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
  14. $f = RemoveXSS($f);
  15. if(empty($keywords)) $keywords = "";
  16. $sql = "SELECT * FROM #@__keywords ORDER BY rank DESC";
  17. $dlist = new DataListCP();
  18. $dlist->SetTemplate(DEDEADMIN."/templets/article_keywords_select.htm");
  19. $dlist->pageSize = 300;
  20. $dlist->SetParameter("f",$f);
  21. $dlist->SetSource($sql);
  22. $dlist->Display();
  23. function GetSta($sta)
  24. {
  25. if($sta==1) return "正常";
  26. else return "<font color='red'>禁用</font>";
  27. }
  28. function GetMan($sta)
  29. {
  30. if($sta==1) return "<u>禁用</u>";
  31. else return "<u>启用</u>";
  32. }