⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 %%c4^c4a^c4a6ea11%%page_edit.tpl.html.php

📁 没用的东西? 国外php免费程序,相册 留言板 等
💻 PHP
字号:
<?php /* Smarty version 2.6.19, created on 2008-07-28 09:20:55         compiled from page_edit.tpl.html */ ?><form action="index.php" method="post" onsubmit="return sbcheck(this);">
<table width="100%" border="0" cellspacing="1" cellpadding="8" class="fdsmain">
  <tr>
    <td width="150" align="right">Page Title * </td>
    <td class="editArea"><input type="text" name="pageTitle" value="<?php echo $this->_tpl_vars['ONE']['pTitle']; ?>" size="40"></td>
  </tr>
  <?php if ($this->_tpl_vars['_PAGE']['EXT'] == 1): ?><tr>
    <td align="right">Page Keywords </td>
    <td class="editArea"><input type="text" name="pageKeywords" value="<?php echo $this->_tpl_vars['ONE']['pKeywords']; ?>" size="40"></td>
  </tr>
  <tr>
    <td align="right">Page Description </td>
    <td class="editArea"><input type="text" name="pageDescription" value="<?php echo $this->_tpl_vars['ONE']['pDescription']; ?>" size="40"></td>
  </tr><?php endif; ?>
  <tr>
    <td align="right">Page Content * </td>
    <td class="editArea"><?php echo $this->_tpl_vars['ONE']['pContent']; ?></td>
  </tr>
  <?php if ($this->_tpl_vars['_PAGE']['MEMBER'] == 1): ?><tr>
    <td align="right" title="Site Member Only">M.O</td>
    <td>
	<input type="checkbox" name="pageMember" id="pageMember"<?php if ($this->_tpl_vars['ONE']['pMember'] == 1): ?> checked<?php endif; ?>> <label for="pageMember">Checked to set it for member only.</label>
	</td>
  </tr><?php else: ?><input type="hidden" name="pageMember" value="<?php echo $this->_tpl_vars['ONE']['pMember']; ?>"><?php endif; ?>
  <?php if ($this->_tpl_vars['_PAGE']['SOM'] == 1): ?><tr>
    <td align="right" title="Show On Main Menu">S.O.M</td>
    <td>
	<input type="checkbox" onclick="if(this.checked){$('pOrder').style.display='';}else{$('pOrder').style.display='none';}" name="pageShow" id="pageShow"<?php if ($this->_tpl_vars['ONE']['pShow'] == 1): ?> checked<?php endif; ?>> <label for="pageShow">Checked to be show on main menu.</label>
	</td>
  </tr><?php else: ?><input type="hidden" name="pageShow" value="<?php echo $this->_tpl_vars['ONE']['pShow']; ?>"><?php endif; ?>
  <?php if ($this->_tpl_vars['_PAGE']['ORDER'] == 1): ?><tr>
    <td align="right">Order</td>
    <td>
	<input type="text" size="4" name="pageOrder" value="<?php echo $this->_tpl_vars['ONE']['pOrder']; ?>"> Zero for auto ordering.
	</td>
  </tr><?php else: ?><input type="hidden" name="pageOrder" value="<?php echo $this->_tpl_vars['ONE']['pOrder']; ?>"><?php endif; ?>
  <tr>
    <td>&nbsp;</td>
    <td>
	<input type="submit" value=" Save Page "></label>
	</td>
  </tr>
</table>
<input type="hidden" name="id" value="<?php echo $this->_tpl_vars['ONE']['ID']; ?>">
<input type="hidden" name="cate" value="save">
<input type="hidden" name="action" value="page">
</form>
<script>
function sbcheck(form){
	if(form.pageTitle.value==''){
		alert('Page title can not be empty.');
		form.pageTitle.focus();
		return false;
	}
	var oEditor = FCKeditorAPI.GetInstance('pageContent');
	if(oEditor.GetXHTML()==''){
		alert('Page content can not be empty.');
		oEditor.Focus();
		return false;
	}
	
	if(form.pageOrder.value==''){
		alert('Page order can not be empty.');
		form.pageOrder.focus();
		return false;
	}
}
</script>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -