📄 friendlist.php
字号:
<?
/* BMForum Plus! Bulletin Board Systems Version : Plus! This is a freeware, but don't change the copyright information. A SourceForge Project - GNU Licence project. Web Site: http://www.bmforum.com Copyright (C) Bluview Technology*/
require("datafile/config.php");
require("getskin.php");
include("template.php");
require("lang/$language/usercp.php");
$onlinefile="datafile/online.php";
$online_user=file($onlinefile);
$count=count($online_user);
for ($i=0; $i<$count; $i++) {
$online_user_info=explode("|",$online_user[$i]);
if($online_user_info[1]!="$gl[174]" && $online_user_info[9]!="yes") {
if ($timestamp-$online_user_info[2]<=$online_limit ) $onlineww[$i]=$online_user_info[1];
}
}
if ($login_status==0) {
include("header.php");
navi_bar($navi_bar_des,$navi_bar_l2,"$gl[53]");
$status="$gl[73]";
print_err();
include("footer.php");
exit;
}
if($action=="add"){
if (empty($fusertype)){
include("header.php");
navi_bar("$gl[52]","$gl[53]");
$status="$gl[54]";
print_err();
include("footer.php");
exit;
}
$current_time = date("F j, Y, g:i:s a");
$newstring="$friendname|$current_time|$fusertype|\n";
$favFile ="$id_unique/".$o_username.".frd";
if (!file_exists("$id_unique/".urlencode($friendname).".php")){
include("header.php");
navi_bar("$gl[55]",$gl[53]);
$status="$friendname $gl[56]";
print_err();
include("footer.php");
exit;
}
if (file_exists($favFile)){ //妫
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -