Location: PHPKode > projects > emlog > src/admin/views/default/edit_page.php
<?php if(!defined('EMLOG_ROOT')) {exit('error!');}?>
<div class=containertitle><b>编辑页面</b><span id="msg_2"></span></div><div id="msg"></div>
<div class=line></div>
  <form action="page.php?action=edit" method="post" id="addlog" name="addlog">
    <table cellspacing="1" cellpadding="4" width="720" border="0">
      <tbody>
        <tr nowrap="nowrap">
          <td><b>标题:</b><span id="auto_msg"></span><br />
          <input maxlength="200" style="width:380px;" name="title" id="title" value="<?php echo $title; ?>"/>
          </td>
        </tr>
        <tr>
          <td>
          <b>内容:</b> <a href="javascript: displayToggle('FrameUpload', 0);" class="thickbox">附件管理</a><span id="asmsg">
          <?php doAction('adm_writelog_head'); ?>
          <input type="hidden" name="as_logid" id="as_logid" value="<?php echo $pageId; ?>"></span><br />
          <div id="FrameUpload" style="display: none;"><iframe width="720" height="160" frameborder="0" src="attachment.php?action=attlib&logid=<?php echo $pageId; ?>"></iframe></div> 
          <script type="text/javascript" src="./ckeditor/ckeditor.js"></script>
		  <textarea id="content" name="content" style="width:719px; height:460px; border:#CCCCCC solid 1px;"><?php echo $content; ?></textarea>
		  <script type="text/javascript">CKEDITOR.replace( 'content',{resize_minHeight : 460,height : 460});</script>
		  </td>
        </tr>
        <tr nowrap="nowrap">
          <td><b>转向地址:</b>(如果填写,页面标题将指向该地址)<br />
          <input name="url" id="url" maxlength="200" style="width:715px;" value="<?php echo $pageUrl; ?>" /><br />
          </td>
        </tr>
        <tr>
        <td>页面是否接受评论?是
          	<input type="radio" checked="checked" value="y" name="allow_remark" <?php echo $ex; ?>/>否
          	<input type="radio" value="n" name="allow_remark" <?php echo $ex2; ?> />
        </td>
        </tr>
        <tr>
        <td>在新窗口打开页面?是
          	<input type="radio" checked="checked" value="_blank" name="is_blank" <?php echo $ex3; ?>/>否
          	<input type="radio" value="_parent" name="is_blank" <?php echo $ex4; ?> />
        </td>
        </tr>
        <tr>
          <td align="center" colspan="2"><br>
          <input type="hidden" name="ishide" id="ishide" value="<?php echo $hide; ?>">
		  <input type="hidden" name="gid" value=<?php echo $pageId; ?> />
		  <input type="submit" value="保存并返回" onclick="return chekform();" class="button" />
		  <input type="button" name="savedf" id="savedf" value="保存" onclick="autosave(3);" class="button" />
		  </td>
        </tr>
	</tbody>
	</table>
  </form>
<div class=line></div>
<script>
$("#menu_page").addClass('sidebarsubmenu1');
</script>
Return current item: emlog