header.php

来自「很好的一套PHP树形论坛程序」· PHP 代码 · 共 30 行

PHP
30
字号
<?php
!function_exists('readover') && exit('Forbidden');

if(file_exists(D_P."data/style/$skin.php") && strpos($skin,'..')===false){
	@include (D_P."data/style/$skin.php");
}elseif(file_exists(D_P."data/style/$db_defaultstyle.php") && strpos($db_defaultstyle,'..')===false){
	@include (D_P."data/style/$db_defaultstyle.php");
}else{
	@include (D_P."data/style/wind.php");
}
$yeyestyle=='no' ? $i_table="bgcolor=$tablecolor" : $i_table='class=i_table';

$msgsound=$head_pop='';
if($groupid=='guest' && $db_regpopup=='1'){
	$head_pop='head_pop';
} else{
	if($winddb['newpm']==1){
		if($db_msgsound && $secondurl!='message.php'){
			$msgsound="<bgsound src='$imgpath/$stylepath/msg/msg.wav' border='0'>";
		}
	}
}
if($db_union){
	$db_union=explode("\t",stripslashes($db_union));
	if($db_union[5]) unset($db_hackdb['live']);
	$db_union[0] && $db_hackdb=array_merge($db_hackdb,unserialize($db_union[0]));
	$dbinfo = unserialize($db_union[6]);
}
@require (PrintEot('header'));
?>

⌨️ 快捷键说明

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