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

📄 network.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=network" method="post"><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_connections'];?></h1>										<p>						<?php echo $lang['txt_connections'];?><br />					</p>					<ul>						<?php						$link_css = "";						if (!isset($_REQUEST['invited'])) {							$link_css = " class=\"highlight\"";						}						?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=network"<?php echo $link_css;?>><?php echo $lang['href_view_status_active'];?></a></li>						<?php						$link_css = "";						if (isset($_REQUEST['invited'])) {							$link_css = " class=\"highlight\"";						}						?>						<li><a href="index.php?ws=<?php echo $webspace['webspace_id'];?>&amp;t=network&amp;invited=1"<?php echo $link_css;?>><?php echo $lang['href_view_status_invited'];?></a></li>					</ul>				</div>				<?php				if(isset($_SESSION['connection_permission']) && checkPermission('core', 'invite_connections', $_SESSION['connection_permission']) && !empty($webspace['webspace_locked'])) {				?>				<div class="box">					<h1><?php echo $lang['hdr_invite']; ?></h1>										<p>						<?php echo $lang['txt_locked_intro'];?><br />					</p>					<p>						<label for="id_invite_nickname"><?php echo $lang['txt_label_nickname'];?></label><br />						<input type="text" id="id_invite_nickname" name="invite_nickname" value="" style="width: 140px;" /><br />					<p>										<p>						<label for="id_invite_nickname"><?php echo $lang['txt_label_openid'];?></label><br />						<input type="text" id="openid_login" name="invite_open_id" value="" style="width: 140px;" /><br />					</p>					<p align="right">						<input name="invite" type="submit" class="input_submit" value="invite" /><br />					</p>				</div>				<?php }?>			</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">				<?php				if (isset($invited)) {				?>				<div class="box">					<h1><?php echo $lang['hdr_invited_connections'];?></h1>					<p>						<?php echo $lang['txt_invited_connection'];?><br />					</p>				</div>				<?php }?>								<div class="box">					<?php					if (isset($_REQUEST['invited'])) {					?>					<h1><?php echo $lang['hdr_invited_non_connections'];?></h1>					<?php					}					else {					?>					<h1><?php echo $lang['hdr_connectioned'];?></h1>					<?php }?>										<?php					if (isset($connections)) {					?>					<table cellspacing="2" cellpadding="4" border="0" width="100%">						<tr>							<td valign="top">								<b><?php echo $lang['txt_label_name'];?></b><br />							</td>							<td valign="top">								<b><?php echo $lang['txt_label_email'];?></b><br />							</td>							<td valign="top">								<b><?php echo $lang['txt_label_country'];?></b><br />							</td>							<td valign="top">								<b><?php echo $lang['txt_label_language'];?></b><br />							</td>							<?php							if (isset($_REQUEST['invited'])) {							?>							<td valign="top">								<b><?php echo $lang['txt_label_invited'];?></b><br />							</td>							<?php							}							else {							?>							<td valign="top">								<b><?php echo $lang['txt_label_create_datetime'];?></b><br />							</td>							<td valign="top">								<b><?php echo $lang['txt_label_last_datetime'];?></b><br />							</td>							<?php }?>							<td valign="top" align="right">								<b><?php echo $lang['txt_label_invited'];?></b><br />							</td>						</tr>						<?php						foreach ($connections as $key => $i):						?>						<tr>							<td valign="top">								<a href="<?php echo $i['connection_openid'];?>"><?php echo $i['connection_nickname'];?></a><br />							</td>							<td valign="top">								<?php								if (isset($i['connection_email'])) {								?>								<a href="mailto: <?php echo $i['connection_email'];?>"><?php echo $i['connection_email'];?></a><br />								<?php }?>							</td>							<td valign="top">								<?php								if (isset($i['connection_country'])) {								?>								<?php echo $i['connection_country'];?><br />								<?php }?>							</td>							<td valign="top">								<?php								if (isset($i['connection_language'])) {								?>								<?php echo $i['connection_language'];?><br />								<?php }?>							</td>							<td valign="top">								<?php echo am_strftime($i['connection_create_datetime'],1);?><br />							</td>							<?php							if (!isset($_REQUEST['invited'])) {							?>							<td valign="top">								<?php								if (isset($i['connection_last_datetime'])) {								?>								<?php echo am_strftime($i['connection_last_datetime'],1);?>								<?php }?>								<br />							</td>							<?php }?>							<td valign="top" align="right">								<?php								if (isset($i['invitee_connection_id'])) {								?>								<?php echo $i['invitee_connection_id'];?><br />								<?php }?>							</td>						</tr>						<?php						endforeach;						?>					</table>					<?php }?>				</div>			</td>		</tr>	</table></div></form>

⌨️ 快捷键说明

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