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

📄 forumlogs.php

📁 bmb的论坛
💻 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");
require("lang/$language/forums.php");

$add_title=" &gt; $forum_name";
require("header.php");
if (file_exists("datafile/forumdata.php")) {
$forumlist=file("datafile/forumdata.php");
	$count=count($forumlist);
	for ($i=0; $i<$count; $i++) {
		$detail=explode("|", trim($forumlist[$i]));
		if ($detail[3]==$forumid) {
			$up_id=$detail[4];
			break;
		}
	}
	for ($i=0; $i<$count; $i++) {
		$detail=explode("|", trim($forumlist[$i]));
		if ($detail[3]==$up_id) {
			$up_name=$detail[1];
			break;
		}
	}
}
if(empty($up_name)) {
	$navimode=newmode;
	$des=$tip[10];
	$snavi_bar[0]="<a href='forums.php?forumid=$forumid&jinhua=$jinhua'>$forum_name</a>";
	navi_bar();
}else{
	$navimode=newmode;
	$des=$tip[10];
	$snavi_bar[0]="<a href='forums.php?forumid=$up_id&jinhua=$jinhua'>$up_name</a>";
	$snavi_bar[1]="<a href='forums.php?forumid=$forumid&jinhua=$jinhua'>$forum_name</a>";
	navi_bar();
}
if($clean_true && $addon=="clean") @unlink("datafile/actlog/$forumid.log");
print <<<EOT
<Br>
 <table cellspacing=0 cellpadding=4 width=$tablewidth align=center border=1 bgcolor='$categorycolor' background='$tile_back' bordercolor=$bordercolor>
  <tr align=center height=26><td width=* ><b><font color=$categoryfontcolor> $forumlogs[3]</font></b></td>
    <td width=72><b><font color=$categoryfontcolor>$forumlogs[0]</b></td>
    <td width=72><b><font color=$categoryfontcolor>$forumlogs[1]</b></td>
    <td width=120><b><font color=$categoryfontcolor>$forumlogs[2]</b></td>
  </tr>
</table>
EOT;
$openlogs=@file("datafile/actlog/$forumid.log");
$count=count($openlogs);
for($i=0;$i<$count;$i++){
	$detail=explode("|",$openlogs[$i]);
	$acttime=getfulldate($detail[3]);
	$action=str_replace("\n","",$detail[4]);
	if($action=="move"){$actionshow="$gl[311]";
	}elseif($action=="copy"){$actionshow="$gl[312]"; 
	}elseif($action=="del"){$actionshow="$gl[430]"; 
	}elseif($action=="lock"){$actionshow="$gl[431]"; 
	}elseif($action=="unlock"){$actionshow="$gl[432]"; 
	}elseif($action=="jihua"){$actionshow="$gl[433]"; 
	}elseif($action=="unjihua"){$actionshow="$gl[434]"; 
	}elseif($action=="recycle"){$actionshow="$gl[453]"; }
	if(empty($detail[0])) $detail[0]="None";
	if(!empty($detail[2])){
print <<<EOT
<table cellspacing=0 cellpadding=4 width="$tablewidth" align=center border=1 bordercolor=$bordercolor>
<tr align=center height=25 bgcolor=$list_color1>
<td width=* bgcolor=$list_color2 align=left onmouseover=javascript:this.bgColor='$list_color1' onmouseout=javascript:this.bgColor='$list_color2'>
<table width=$tablewidth border=0 cellspacing=0 cellpadding=4>
<tr>
<td>&nbsp;<B>$detail[2]</b> / $actionshow
</td>
</tr>
</table>
</td>
<td width=72><A href="profile.php?job=show&target=$detail[1]">$detail[1]</A></td>
<td width=72 bgcolor=$list_color2>$detail[0]</td>
<td width=120 align=left>&nbsp;$acttime</td>
</tr>
</table>
EOT;
	}
}
if($clean_true) echo "<br><center><a href=forumlogs.php?forumid=$forumid&addon=clean>$forumlogs[4]</a></center>";

include("footer.php");

⌨️ 快捷键说明

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