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

📄 %%e8^e85^e858fb0d%%events_edit.tpl.html.php

📁 没用的东西? 国外php免费程序,相册 留言板 等
💻 PHP
字号:
<?php /* Smarty version 2.6.19, created on 2008-07-28 09:42:53         compiled from events_edit.tpl.html */ ?><link type="text/css" rel="stylesheet" href="/jslibs/calendar/dhtmlgoodies_calendar.css" media="screen"></LINK>
<SCRIPT type="text/javascript" src="/jslibs/calendar/dhtmlgoodies_calendar.js"></script>
<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">Events Title * </td>
    <td class="editArea"><input type="text" name="eventTitle" value="<?php echo $this->_tpl_vars['ONE']['eTitle']; ?>" size="40"></td>
  </tr>
  <tr>
    <td align="right">Events Keywords </td>
    <td class="editArea"><input type="text" name="eventKeywords" value="<?php echo $this->_tpl_vars['ONE']['eKeywords']; ?>" size="40"></td>
  </tr>
  <tr>
    <td align="right">Events Description </td>
    <td class="editArea"><input type="text" name="eventDescription" value="<?php echo $this->_tpl_vars['ONE']['eDescription']; ?>" size="40"></td>
  </tr>
  <tr>
    <td align="right">Events Date</td>
    <td class="editArea"><input type="text" name="eventDate" readonly style="width:80px;" onclick="displayCalendar(this,'yyyy/mm/dd',this)" value="<?php echo $this->_tpl_vars['ONE']['eTimes']; ?>"></td>
  </tr>
  <tr>
    <td align="right">Events Content * </td>
    <td class="editArea"><?php echo $this->_tpl_vars['ONE']['eContent']; ?></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><input type="submit" value=" Save Events "></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="event">
</form>
<script>
function sbcheck(form){
	if(form.eventTitle.value==''){
		alert('Events title can not be empty.');
		form.eventTitle.focus();
		return false;
	}
	var oEditor = FCKeditorAPI.GetInstance('eventContent');
	if(oEditor.GetXHTML()==''){
		alert('Events content can not be empty.');
		oEditor.Focus();
		return false;
	}
	
}
</script>

⌨️ 快捷键说明

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