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

📄 edit_blog.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_blog&amp;c=blog&amp;ws=<?php echo $_REQUEST['ws']; ?>&amp;wp=<?php echo $_REQUEST['wp']; ?>" method="POST"><input type="hidden" name="blog_id" value="<?php if (isset($blog['blog_id'])) { echo $blog['blog_id'];}?>" /><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_blog'];?></h1>										<p>						<?php echo $lang['txt_blog'];?><br />					</p>						<ul>						<li><a href="index.php?ws=<?php echo $_REQUEST['ws']; ?>&amp;wp=<?php echo $_REQUEST['wp'];?>"><?php echo $lang['href_return_to_blog'];?></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_blog'];?></h1>								<p>					<label for="id_blog_title"><?php echo $lang['txt_label_title'];?></label><br />					<input type="text" name="blog_title" id="id_blog_title" value="<?php if (isset($blog['blog_title'])) { echo $blog['blog_title'];}?>" style="width:390px;" />				</p>				<p>					<label for="id_blog_body"><?php echo $lang['txt_label_blog'];?></label><br />				</p>					<?php $html_editor_name = "blog_body"; ?>				<?php $content = isset($blog['blog_body']) ? $blog['blog_body']: ""; ?>				<?php include $template_path_core . 'inc/html_editor.inc.php'; ?>								<p align="right">					<input type="button" value="backup" onclick="javascript:saveToFile('blog_body');" class="input_submit" />					<input type="submit" name="update_blog" 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="blog<?php if (isset($blog['blog_id'])) { echo $blog['blog_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 + -