
<form action="" method="post">
<table class=listing width="98%" border=0 cellspacing=0 cellpadding=3 style="background-color:#F7F8FD;">
<?php QUnit_Templates::printFilter(2, $this->tabtitle.L_G_PZONE_POSTS) ?>
<tr>
  <td colspan="2"><?php echo $this->catesComboboxString; ?> <input type=text name=title size=73 maxlength="200" value="<?php echo $_POST['title']?>" title="<?php echo L_G_PZONE_ALERT_TITLE_CANOT_BE_EMPTY;?>" /> (*)
  <label><input type="checkbox" name="show2nav" value="yes" <?php echo $_POST['show2nav']=='yes'?'checked="checked"':''; ?> /> <?php echo L_G_PZONE_SHOW2NAV; ?></label>
  </td>
</tr>
<tr>
  <td colspan="2" align="center"><textarea id="myeditor" name="context"><?php echo $_POST['context']; ?></textarea>
  </td>
</tr>
<tr>
  <td class=dir_form align=center colspan=2>
  <input type=hidden name="md" value="Affiliate_Merchants_Views_PZoneArticles">
  <input type=hidden name="action" value="<?php echo $_REQUEST['action'];?>">
  <input type=hidden name="commited" value="yes">
  <input type=hidden name="id" value="<?php echo $this->id;?>">
  <input type=submit class=formbutton value='<?php echo L_G_SUBMIT?>'>
  </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(){
    if(typeof CKEDITOR == 'undefined') {
        $('#myeditor').value('加载CKEditor失败，请如果您不是开发人员，请联系系统管理员，谢谢！');
    } else {
        var __editor = CKEDITOR.replace('myeditor');
        CKFinder.setupCKEditor(__editor, '../include/ckfinder/');
    }
});
</script>
