|
@@ -22,9 +22,9 @@ if ($dopost == 'delete') { |
|
|
require_once(DEDEINC.'/libraries/oxwindow.class.php'); |
|
|
require_once(DEDEINC.'/libraries/oxwindow.class.php'); |
|
|
$row = $dsql->GetOne("SELECT tagname from `#@__myad` WHERE aid='$aid' "); |
|
|
$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>"; |
|
|
$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>"; |
|
|
$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 = new OxWindow(); |
|
|
$win->Init(); |
|
|
$win->Init(); |
|
|
$winform = $win->GetWindow("hand", $showhtml); |
|
|
$winform = $win->GetWindow("hand", $showhtml); |
|
|