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

25 lines
939B

  1. <?php
  2. /**
  3. * 生成专题
  4. *
  5. * @version $Id: makehtml_spec.php 1 11:17 2010年7月19日Z tianya $
  6. * @package DedeBIZ.Administrator
  7. * @copyright Copyright (c) 2020, DedeBIZ.COM
  8. * @license https://www.dedebiz.com/license
  9. * @link https://www.dedebiz.com
  10. */
  11. require_once(dirname(__FILE__) . "/config.php");
  12. CheckPurview('sys_MakeHtml');
  13. if (empty($dopost)) $dopost = "";
  14. if ($dopost == "ok") {
  15. require_once(DEDEINC . "/arc.specview.class.php");
  16. $sp = new SpecView();
  17. $rurl = $sp->MakeHtml(0);
  18. echo "<link rel=\"stylesheet\" href=\"{$cfg_cmsurl}/static/css/bootstrap.min.css\"><style>.modal {position: static;}</style>";
  19. echo "<div class=\"alert alert-success\" role=\"alert\">成功生成所有专题HTML列表!<a href='$rurl' target='_blank' class='btn btn-secondary'>预览</a></div>";
  20. exit();
  21. }
  22. include DedeInclude('templets/makehtml_spec.htm');