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

📄 admin_webblocks.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_webblocks" method="POST"><input type="hidden" name="webspace_id" value="<?php if (isset($webspace['webspace_id'])) { echo $webspace['webspace_id'];}?>" /><input type="hidden" name="webblock_id" value="<?php if (isset($webblock['webblock_id'])) { echo $webblock['webblock_id'];}?>" /><div id="am_core_area">	<table cellpadding="0" cellspacing="0" border="0">		<tr>			<td width="240" valign="top">				<div class="box">					<h1><?php echo $lang['hdr_webblocks_intro'];?></h1>										<p>						<?php echo $lang['txt_webblocks_intro'];?><br />					</p>						<ul>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=connect"><?php echo $lang['href_back_to_start'];?></a></li>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webblocks&amp;add_webblock=1"><?php echo $lang['href_add_webblock'];?></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" width="390">				<h1><?php echo $lang['hdr_webblocks'];?></h1>				<?php				if (isset($webblocks)) {				?>				<div class="box">					<p>						<?php						foreach ($webblocks as $key => $i):						?>						<a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webblocks&amp;webblock_id=<?php echo $i['webblock_id'];?>"><?php echo $i['webblock_tag'];?></a><br />						<?php						endforeach;						?>					</p>				</div>				<?php }?>				<?php				if (isset($webblock) || isset($_REQUEST['add_webblock'])) {				?>								<div class="box">								<h1><?php echo $lang['hdr_webblock'];?></h1>					<?php					if (isset($webblock['webblock_tag'])) {					?>					<p>						<?php echo $lang['txt_usage']; ?> <b>&lt;AM_BLOCK_<?php echo $webblock['webblock_tag'];?> /&gt;</b> <?php echo $lang['txt_usage_end']; ?><br />					</p>					<?php					}					else {					?>					<p>						<label for="id_webblock_tag"><?php echo $lang['txt_webblock_tag'];?></label><br />						AM_BLOCK_<input type="text" name="webblock_tag" id="id_webblock_tag" value="<?php if (isset($webblock['webblock_proposed_tag'])) { echo $webblock['webblock_proposed_tag'];}?>" style="width:160px;" />					</p>					<?php }?>					<p>						<label for="id_webblock_body"><?php echo $lang['txt_webblock_body'];?></label><br />					</p>										<?php $html_editor_name = "webblock_body"; ?>					<?php $content = isset($webblock['webblock_body']) ? $webblock['webblock_body']: ""; ?>					<?php include $template_path_core . 'inc/html_editor.inc.php'; ?>										<p align="right">						<?php						if (isset($webblock['webblock_id'])) {						?>						<input type="submit" name="delete_webblock" value="<?php echo $lang['sub_delete'];?>" class="input_submit" />&nbsp;						<?php }?>						<input type="submit" name="update_webblock" value="<?php echo $lang['sub_save'];?>" class="input_submit" /><br />					</p>									</div>				<?php }?>			</td>		</tr>	</table></div></form>

⌨️ 快捷键说明

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