top.php

来自「自己写的一个网络日志(BLOG)系统」· PHP 代码 · 共 25 行

PHP
25
字号
<?php!function_exists('getdirname') && exit('Forbidden');empty($type) && $type = GetGP('type','G');$headerdb = $showhead = array();$indexdb = array('blog','photo','bookmark','goods','file','music');$headerdb['index'] = $menuhead['index'];foreach ($menulang as $key => $value) {	!$tkey && array_key_exists($type.$action,$value) && $tkey = $key;	if ((in_array($key,$indexdb) && strpos(",$_GROUP[module],",",$key,")===false) || ($key == 'teamcp' && $db_teamgroups && strpos(",$db_teamgroups,",",$groupid,")===false)) {		continue;	}	$headerdb[$key] = $menuhead[$key];}!$tkey && $tkey = 'index';$headerdb[$tkey][1] = '';if ($tkey != 'index') {	foreach ($menulang[$tkey] as $key => $value) {		$key == $type.$action && $value[1] = '';		$db_cbbbsopen == '0' && $key=='bbsatc' && $value[0]='';		$showhead[$key] = $value;	}}require PrintEot('top');?>

⌨️ 快捷键说明

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