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

38 lines
980B

  1. <?php
  2. if(!defined('DEDEINC'))
  3. {
  4. exit("Request Error!");
  5. }
  6. /**
  7. * 下载说明标签
  8. *
  9. * @version $Id: softmsg.lib.php 1 9:29 2010年7月6日Z tianya $
  10. * @package DedeCMS.Taglib
  11. * @copyright Copyright (c) 2020, DedeBIZ.COM
  12. * @license https://www.dedebiz.com/license
  13. * @link https://www.dedebiz.com
  14. */
  15. /*>>dede>>
  16. <name>下载说明</name>
  17. <type>软件内容模板</type>
  18. <for>V55,V56,V57</for>
  19. <description>下载说明标签</description>
  20. <demo>
  21. {dede:softmsg /}
  22. </demo>
  23. <attributes>
  24. </attributes>
  25. >>dede>>*/
  26. function lib_softmsg(&$ctag,&$refObj)
  27. {
  28. global $dsql;
  29. //$attlist="type|textall,row|24,titlelen|24,linktype|1";
  30. //FillAttsDefault($ctag->CAttribute->Items,$attlist);
  31. //extract($ctag->CAttribute->Items, EXTR_SKIP);
  32. $revalue = '';
  33. $row = $dsql->GetOne(" SELECT * FROM `#@__softconfig` ");
  34. if(is_array($row)) $revalue = $row['downmsg'];
  35. return $revalue;
  36. }