
    <h3><?php echo L_G_PZONE_FLASHAD; ?></h3>
    <div style="width:620px;"><p><?php echo L_G_PZONE_FLASHSETTINGS_DESC; ?></p></div>

    <form action="" method="post">
    <table class="listing tb2 mt10" width="620" border=0 cellspacing=0 cellpadding=3>
    <?php QUnit_Templates::printFilter(2, L_G_PZONE_FLASHAD) ?>

    <tr><td class="listheaderNoLineLeft" colspan="2"><center><b><?php echo L_G_PZONE_FLASHIMGAD_PERVIEW; ?></b></center></td></tr>

    <tr>
        <td colspan="2"><center>
            <script type="text/javascript" src="../templates/affiliate/default/swfobject_modified.js" ></script>
            <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="662" height="217">
              <param name="movie" value="../templates/affiliate/default/images/bcastr3.swf" />
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="menu" value="false" />
              <param name="swfversion" value="8.0.35.0" />
              <param name="FlashVars" value="<?php echo $this->flashAdString; ?>" />
              <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
              <param name="expressinstall" value="../templates/affiliate/default/images/expressInstall.swf" />
              <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
              <!--[if !IE]>-->
              <object type="application/x-shockwave-flash" data="../templates/affiliate/default/images/bcastr3.swf" width="662" height="217">
                <!--<![endif]-->
                <param name="quality" value="high" />
                <param name="wmode" value="opaque" />
                <param name="menu" value="false" />
                <param name="swfversion" value="8.0.35.0" />
                <param name="FlashVars" value="<?php echo $this->flashAdString; ?>" />
                <param name="expressinstall" value="../templates/affiliate/default/images/expressInstall.swf" />
                <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
                <div>
                  <h4>此页面上的内容需要较新版本的 Adobe Flash Player。<a target="_blank" href="http://www.adobe.com/go/getflashplayer">点此获取 Adobe Flash Player.</a></h4>
                </div>
                <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object>
            </center>
            <script type="text/javascript">
            <!--
                //swfobject.registerObject("FlashID");
            //-->
            </script>
        </td>
    </tr>

<?php
    $i=0;
    while($i++<6) {
?>
    <tr>
      <td class="listheaderNoLineLeft" width="100"><center><?php echo $i;?></center></td>
      <td>
        <p>图像：<input type=text name="img[]" style="width:400px;" maxlength="200" value="<?php echo urldecode($this->flashAdData['img'][$i-1]);?>" /></p>
        <p>链接：<input type=text name="lnk[]" style="width:400px;" maxlength="200" value="<?php echo urldecode($this->flashAdData['lnk'][$i-1]);?>" /></p>
      </td>
    </tr>

<?php } ?>

    <tr>
        <td colspan="2" align="center">
            <?php echo L_G_PZONE_CLICKTOUPLOADIMG_DESC; ?>
            <textarea id="editor1" name="context" readonly="readonly"><?php echo L_G_PZONE_VIEWIMGFILE; ?></textarea>
        </td>
    </tr>

    <tr>
      <td class=listheaderNoLineLeft align=center colspan=2><center>
          <input type=hidden name="md" value="Affiliate_Merchants_Views_PZoneSettings">
          <input type=hidden name="action" value="flashad">
          <input type=hidden name="commited" value="yes">
          <input type=hidden name="id" value="<?php echo $this->a_settings['flashad']['ID'];?>">
          <input type=submit class=formbutton value='<?php echo L_G_SUBMIT?>'></center>
      </td>
    </tr>
    </table>
    </form>


<script type="text/javascript" src="../include/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="../include/ckfinder/ckfinder.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	var config = {
		toolbar:
		[
			['Image']
		],
        height: '200px'
	};


    if(typeof CKEDITOR == 'undefined') {
        $('#editor1').value('加载CKEditor失败，请如果您不是开发人员，请联系系统管理员，谢谢！');
    } else {
        var __editor1 = CKEDITOR.replace('editor1',config);
        CKFinder.setupCKEditor(__editor1, '../include/ckfinder/');
    }
});
</script>
