
    <h3><?php echo L_G_PZONE_SETTINGS; ?></h3>
    <p><?php echo L_G_PZONE_BASICSETTINGS_DESC; ?></p>

    <form action="" method="post">
    <table class="listing tb2 mt10" width="630" border=0 cellspacing=0 cellpadding=3>
    <?php QUnit_Templates::printFilter(2, L_G_PZONE_SETTINGS) ?>
    <tr>
      <td class="listheaderNoLineLeft" width="100"><?php echo L_G_PZONE_SITETITLE;?></td>
      <td><input type=text name=sitename style="width:400px;" maxlength="200" value="<?php echo $this->a_settings['sitename']['svalue'];?>" /> (*) </td>
    </tr>

    <tr>
      <td class="listheaderNoLineLeft" width="100"><?php echo L_G_PZONE_SITEURL;?></td>
      <td><input type=text name=siteurl style="width:400px;" maxlength="200" value="<?php echo $this->a_settings['siteurl']['svalue'];?>" /> (<?php echo L_G_PZONE_DESCSITEURL;?>) </td>
    </tr>

    <tr>
        <td class="listheaderNoLineLeft" valign="top"><?php echo L_G_PZONE_LOGOURL;?></td>
        <td>
            <input type=text name=sitelogo style="width:400px;" maxlength="200" value="<?php echo $this->a_settings['sitelogo']['svalue']; ?>" /> <br /><br />
            <?php
                echo L_G_PZONE_CLICKTOUPLOADIMG_DESC;
                if(!empty($this->a_settings['sitelogo']['svalue'])) {
                    $logohtml = '<img src="'.$this->a_settings['sitelogo']['svalue'].'" /><hr />';
                }
            ?>
            <textarea id="editor1" name="context" readonly="readonly"><?php echo $logohtml.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="basicsettings">
          <input type=hidden name="commited" value="yes">
          <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']
		],
        width: '390px',
        height: '200px'
	};


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