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

📄 edit_event.tpl.php

📁 一款开源的sns系统源码 安装简单
💻 PHP
字号:
<?php// -----------------------------------------------------------------------// This file is part of AROUNDMe// // Copyright (C) 2003-2007 Barnraiser// http://www.barnraiser.org/// info@barnraiser.org// // This program is free software: you can redistribute it and/or modify// it under the terms of the GNU General Public License as published by// the Free Software Foundation, either version 3 of the License, or// (at your option) any later version.// // This program is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the// GNU General Public License for more details.// // You should have received a copy of the GNU General Public License// along with this program; see the file COPYING.txt.  If not, see// <http://www.gnu.org/licenses/>// -----------------------------------------------------------------------?><?php$javascript_css = "";if (isset($webspace['webspace_css'])) {	$javascript_css = str_replace(Array("\r\n","\n","\r"), "", $webspace['webspace_css']);}?><script language="JavaScript" src="<?php echo $template_path_core;?>js/html_gui_editor.js" type="text/javascript"></script><script language="javascript" type="text/javascript">//<![CDATA[	var template_path = '<?php echo $template_path_core;?>';	var webspace_css = '<?php echo $javascript_css;?>';//]]></script><form action="index.php?t=edit_event&amp;c=event&amp;ws=<?php echo $_REQUEST['ws']; ?>" method="POST"><input type="hidden" name="event_id" value="<?php if (isset($event['event_id'])) { echo $event['event_id'];}?>" /><input type="hidden" name="wp" value="<?php echo $_REQUEST['wp'];?>" /><div id="am_core_area">	<table cellpadding="0" cellspacing="0" border="0" width="100%">		<tr>			<td width="240" valign="top">				<div class="box">					<h1><?php echo $lang['hdr_event'];?></h1>										<p>						<?php echo $lang['txt_event_intro'];?><br />					</p>										<p>						<?php echo $lang['txt_dateformat'];?><br />					</p>						<ul>						<li><a href="index.php?ws=<?php echo $_REQUEST['ws']; ?>&amp;wp=<?php echo $_REQUEST['wp'];?>&amp;event_id=<?php if (isset($event['event_id'])) { echo $event['event_id'];}?>"><?php echo $lang['href_return_to_event'];?></a></li>					</ul>				</div>							</td>			<td width="30" style="border-right: 1px solid #333">				<img src="<?php echo $template_path_core;?>img/pixel.png" width="30" height="1" border="0" alt="" /><br />			</td>			<td width="40">				<img src="<?php echo $template_path_core;?>img/pixel.png" width="40" height="1" border="0" alt="" /><br />			</td>			<td valign="top">								<h1><?php echo $lang['hdr_edit_event'];?></h1>								<p>					<label for="id_event_title"><?php echo $lang['txt_label_title'];?></label><br />					<input type="text" name="event_title" id="id_event_title" value="<?php if (isset($event['event_title'])) { echo $event['event_title'];}?>" style="width:390px;" />				</p>				<p>					<label for="id_event_venue"><?php echo $lang['txt_venue'];?></label><br />					<input type="text" name="event_venue" id="id_event_venue" value="<?php if (isset($event['event_venue'])) { echo $event['event_venue'];}?>" style="width:390px;" />				</p>				<p>					<table>						<tr>							<td>								<label for="id_event_start_date"><?php echo $lang['txt_start_datetime'];?></label><br />							</td>							<td>								<label for="id_event_start_time"><?php echo $lang['txt_start_time'];?></label>							</td>						</tr>						<tr>							<td>								<input type="text" size="14" name="event_start_date" id="id_event_start_date" value="<?php if (isset($event['event_start_date'])) { echo $event['event_start_date'];}?>" />							</td>							<td>								<input type="text" size="6" name="event_start_time" id="id_event_start_time" value="<?php if (isset($event['event_start_time'])) { echo $event['event_start_time'];}?>" />							</td>						</tr>					</table>				</p>				<p>					<table>						<tr>							<td>								<label for="id_event_end_date"><?php echo $lang['txt_end_datetime'];?></label><br />							</td>							<td>								<label for="id_event_end_time"><?php echo $lang['txt_end_time'];?></label>							</td>						</tr>						<tr>							<td>								<input type="text" size="14" name="event_end_date" id="id_event_end_date" value="<?php if (isset($event['event_end_date'])) { echo $event['event_end_date'];}?>" />							</td>							<td>								<input type="text" size="6" name="event_end_time" id="id_event_end_time" value="<?php if (isset($event['event_end_time'])) { echo $event['event_end_time'];}?>" />							</td>						</tr>					</table>				</p>				<?php				if (isset($lang['arr_event_types'])) {				?>				<p>					<label for="id_event_allocation"><?php echo $lang['txt_event_type'];?></label><br />					<select name="event_type">						<?php						foreach ($lang['arr_event_types'] as $key => $i):						?>						<option = "<?php echo $key;?>"><?php echo $i;?></option>						<?php						endforeach;						?>						<option = "0"><?php echo $lang['txt_other'];?></option>					</select>				</p>				<?php }?>				<p>					<label for="id_event_body"><?php echo $lang['txt_label_event'];?></label><br />				</p>					<?php $html_editor_name = "event_body"; ?>				<?php $content = isset($event['event_body']) ? $event['event_body']: ""; ?>				<?php include $template_path_core . 'inc/html_editor.inc.php'; ?>				<p align="right">			<input type="submit" name="update_event" value="<?php echo $lang['sub_save'];?>" class="input_submit" /><br />		</p>	</td>	</tr>	</table></div></form>

⌨️ 快捷键说明

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