Browse Source

Update ad_edit.php

tags/6.3.0
叙述、别离 6 months ago
parent
commit
2f908864a0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/admin/ad_edit.php

+ 2
- 2
src/admin/ad_edit.php View File

@@ -22,9 +22,9 @@ if ($dopost == 'delete') {
require_once(DEDEINC.'/libraries/oxwindow.class.php');
$row = $dsql->GetOne("SELECT tagname from `#@__myad` WHERE aid='$aid' ");
$tagcode = "{dede:myad name='{$row['tagname']}'/} <script src='{$cfg_phpurl}/ad_js.php?aid=$aid'></script>";
$showhtml = "<p>2种标签调用示例</p><xmp>$tagcode</xmp>";
$showhtml = "<p>2种方法调用</p><xmp>$tagcode</xmp>";
$showhtml .= "<p>前台调用效果</p><iframe name='testfrm' frameborder='0' src='ad_edit.php?aid={$aid}&dopost=testjs' id='testfrm' width='100%' height='350'></iframe>";
$wecome_info = "<a href='ad_main.php'>广告管理</a> - 调用例";
$wecome_info = "<a href='ad_main.php'>广告管理</a> - 调用例";
$win = new OxWindow();
$win->Init();
$winform = $win->GetWindow("hand", $showhtml);


Loading…
Cancel
Save