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

📄 connect.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/>// -----------------------------------------------------------------------?><form action="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=connect" method="post"><div id="am_core_area">	<table class="content_table" cellspacing="0" cellpadding="0" border="0">		<tr>			<td valign="top" width="50%">				<?php				if (!empty($_SESSION['connection_id'])) {				?>								<div class="box">					<h1><?php echo $lang['hdr_logoff'];?></h1>					<p>						<?php echo $lang['txt_logoff'];?><br />					</p>					<ul>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>"><?php echo $lang['href_go_to_home'];?></a></li>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=network"><?php echo $lang['href_connections'];?></a></li>						<?php						if(isset($_SESSION['connection_permission']) && checkPermission('core', 'view_files', $_SESSION['connection_permission'])) {						?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=file"><?php echo $lang['href_view_files'];?></a></li>						<?php }?>					</ul>					<p align="right">						<input name="logoff" type="submit" value="<?php echo $lang['sub_logoff'];?>" class="input_submit" /><br />					</p>				</div>								<?php				}				else {				?>								<div class="box">					<h1><?php echo $lang['hdr_login'];?></h1>					<p>						<?php echo $lang['txt_login'];?><br />					</p>					<p>						<label for="openid_login"><?php echo $lang['txt_label_openid'];?></label><br />						<input type="text" id="openid_login" name="openid_login" value="" />						<input name="commit" type="submit" value="<?php echo $lang['sub_login'];?>" class="input_submit" />					</p>				</div>				<?php } ?>			</td>			<td>				<img src="<?php echo $template_path_core;?>img/pixel.png" width="60" height="1" border="0" alt="" /><br />			</td>			<td valign="top" width="50%">				<?php				if (!isset($_SESSION['connection_id'])) {				?>				<div class="box">					<h1><?php echo $lang['hdr_openid_about'];?></h1>					<p>						<?php echo $lang['txt_openid_about'];?><br />					</p>										<ul>						<li><a href="http://www.barnraiser.info">Barnraiser</a></li>						<li><a href="http://www.myopenid.com">MyOpenID</a></li>						<li><a href="http://pip.verisignlabs.com/">VeriSign</a></li>						<li><a href="https://getopenid.com">GetOpenID</a></li>						<li><a href="http://mylid.net">MyLID</a></li>						<li><a href="http://www.sxipper.com">Sxipper</a></li>					</ul>				</div>				<?php }?>				<div class="box">				<?php				if(isset($_SESSION['connection_permission']) && checkPermission('core', 'edit_webpages', $_SESSION['connection_permission'])) {				?>					<h1><?php echo $lang['hdr_edit_webspace'];?></h1>					<p>						<?php echo $lang['txt_edit_webspace'];?><br />					</p>					<ul>						<?php						if (isset($_SESSION['level_id']) && $_SESSION['level_id'] == 64) {						?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webspace"><?php echo $lang['href_webspace'];?></a></li>						<?php }?>												<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webpages"><?php echo $lang['href_webpages'];?></a></li>						<?php						if(isset($_SESSION['connection_permission']) && checkPermission('core', 'upload_files', $_SESSION['connection_permission'])) {						?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=file"><?php echo $lang['href_file'];?></a></li>						<?php }?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_webblocks"><?php echo $lang['href_webblocks'];?></a></li>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_plugins"><?php echo $lang['href_plugins'];?></a></li>					</ul>				<?php }?>					<ul>						<?php						if (isset($plugins)) {						foreach($plugins as $key => $i):						if (is_file("components/" . $i . "/admin.php") && is_file("components/" . $i . "/inc/plugin_admin_list.inc.php")) {						include_once("components/" . $i . "/language/" . $_SESSION['language_code'] . "/common.lang.php");						include_once("components/" . $i . "/inc/plugin_admin_list.inc.php");						}						endforeach;						}						?>					</ul>				</div>								<?php				if(isset($_SESSION['connection_permission']) && checkPermission('core', 'maintain_connections', $_SESSION['connection_permission'])) {				?>				<div class="box">					<h1><?php echo $lang['hdr_edit_connections'];?></h1>					<p>						<?php echo $lang['txt_edit_connections'];?><br />					</p>					<ul>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_network"><?php echo $lang['href_network'];?></a></li>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=admin_network&amp;default_permissions=1"><?php echo $lang['href_network_default'];?></a></li>					</ul>				</div>				<?php } ?>			</td>		</tr>	</table></div></form>

⌨️ 快捷键说明

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