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

📄 admin_webpage.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" type="text/javascript">//<![CDATA[	var template_path = '<?php echo $template_path_core;?>';	var webspace_css = '<?php echo $javascript_css;?>';//]]></script><form action="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webpage" method="POST"><input type="hidden" name="webpage_id" value="<?php if (isset($_REQUEST['wp'])) { echo $_REQUEST['wp'];}?>" /><input type="hidden" name="wp" value="<?php if (isset($_REQUEST['wp'])) { echo $_REQUEST['wp'];}?>" /><input type="hidden" name="webpage_name" value="<?php if (isset($webpage_name)) { echo $webpage_name;}?>" /><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_webpages'];?></h1>										<p>						<?php echo $lang['txt_create_webpage'];?><br />					</p>						<ul>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=connect"><?php echo $lang['href_return_to_start'];?></a></li>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webpages"><?php echo $lang['href_list_webpages'];?></a></li>						<?php						if (isset($webspace['webpage_id'])) {						?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;wp=<?php echo $webspace['webpage_id'];?>"><?php echo $lang['href_goto_webpage'];?></a></li>						<?php }?>					</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_webpage'];?></h1>								<p>					<label for="id_webpage_title"><?php echo $lang['txt_webpage_title'];?></label><br />					<input type="text" name="webpage_title" id="id_webpage_title" value="<?php if (isset($webpage['webpage_title'])) { echo $webpage['webpage_title'];}?>" style="width:390px;" />				</p>				<p>					<label for="id_webpage_body"><?php echo $lang['txt_webpage_body'];?></label><br />				</p>				<?php $html_editor_name = "webpage_body"; ?>				<?php $content = isset($webpage['webpage_body']) ? $webpage['webpage_body']: ""; ?>				<?php include $template_path_core . 'inc/html_editor.inc.php'; ?>								<p align="right">					<input type="button" value="backup" onclick="javascript:saveToFile('webpage_body');" class="input_submit" />					<input type="submit" name="update_webpage" value="<?php echo $lang['sub_save'];?>" class="input_submit" /><br />				</p>			</td>		</tr>	</table></div></form><form action="components/core/relay/savetofile.php" method="POST" name="sendtofileform"><input type="hidden" name="filename" value="webpage<?php if (isset($webpage['webpage_id'])) { echo $webpage['webpage_id'];}?>" /><input type="hidden" name="data" id="sendtofile" value="" /></form><script type="text/javascript">//<![CDATA[function saveToFile(id) {	document.getElementById('sendtofile').value = document.getElementById(id).value;	document.sendtofileform.submit();}//]]></script>

⌨️ 快捷键说明

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