<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel='stylesheet' type="text/css" href="__PUBLIC__/css/style.css" />
<script type="text/javascript" src="__PUBLIC__/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
 <script language="JavaScript">
        <!--
        var URL = '__URL__';
        var APP	 = '__APP__';
        var SELF='__SELF__';
        var PUBLIC='__PUBLIC__';
        //-->
        </script>
</head>
<body>
<div class="main">
    <div class="pos">獲取代碼</div>
    <div class="operate">
        <div class="left">
            <input type="button" onclick="goUrl('{:U(GROUP_NAME. '/Abc/index')}')" class="btn_green" value="返回" />               
        </div>
    </div>
    <div class="form" style="clear:both;">   
    <div class="h3">調用方式一</div>
    <dl><dd>html調用代碼(啟用靜態緩存後，更換廣告需要重新生成所有頁面)</dd></dl>
    <dl><dd>
        <input type="text" name="code1" class="inp_one inp_w250" value="&lt;yang:ad id='{$id}' /&gt;">
        </dd>
    </dl> 
    <div class="h3">調用方式二</div>
    <dl><dd>js調用代碼(啟用靜態緩存後，更換廣告不用重新成所有頁面)</dd></dl>
    <dl><dd>
        <input type="text" name="code2" class="inp_one inp_w250" value="&lt;yang:ad id='{$id}' flag='1' /&gt;">
        </dd>
    </dl> 
    <div class="h3">調用方式三</div>
    <dl><dd>標籤調用(支持html代碼，靈活訂製調用)[幫助]</dd></dl>
    <dl><dd>
        <textarea name="code3" class="tarea_default">
&lt;yang:abc id='{$id}' $limit=''&gt;
<?php 
echo '{'.'$abc.title}為標籤字段'."\r\n";
echo '{'.'$abc.content}為內容字段(文本),圖片地址(圖片或動畫)'."\r\n";
echo '{'.'$abc.url}為鏈接地址'."\r\n";
echo '{'.'$abc.width}為廣告寬度'."\r\n";
echo '{'.'$abc.height}為廣告高度'."\r\n";
echo '{'.'$abc.autoindex}為自增變量(從0開始)'."\r\n";
?>......
&lt;/yang:abc&gt;
        </textarea>
        </dd>
    </dl> 
    </div>
</div>
</body>
</html>
