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

23 lines
669B

  1. <?php if(!defined('DEDEINC')) exit('Request Error!');
  2. /**
  3. * 广告调用
  4. *
  5. * @version $Id: myad.lib.php 1 9:29 2010年7月6日Z tianya $
  6. * @package DedeCMS.Taglib
  7. * @copyright Copyright (c) 2020, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(DEDEINC.'/taglib/mytag.lib.php');
  12. function lib_myad(&$ctag, &$refObj)
  13. {
  14. $attlist = "typeid|0,name|";
  15. FillAttsDefault($ctag->CAttribute->Items,$attlist);
  16. extract($ctag->CAttribute->Items, EXTR_SKIP);
  17. $body = lib_GetMyTagT($refObj, $typeid, $name, '#@__myad');
  18. return $body;
  19. }