menu.php

来自「城市分类信息,门户网站,我做为地方信息网」· PHP 代码 · 共 79 行

PHP
79
字号
<?php



if(!defined('IN_FLY')) {
	exit('Access Denied');
}
@header('Content-Type: text/html; charset='.$charset);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>SoCity!</title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<link rel="stylesheet" type="text/css" id="css" href="./css/admincp.css">
<script>
var is_ie = document.all ? true : false;
var is_ff = window.addEventListener ? true : false;
function refreshmainframe(e) {
	e = e ? e : window.event;
	actualCode = e.keyCode ? e.keyCode : e.charCode;
	if(actualCode == 116 && parent.main) {
		parent.main.location.reload();
		if(is_ie) {
			e.keyCode = 0;
			e.returnValue = false;
		} else {
			e.preventDefault();
		}
	}
}
function get_cookie(name) {
	cookiename = name + '=';
	cookiepos = document.cookie.indexOf(cookiename);
	if(cookiepos != -1) {
		cookiestart =cookiepos+cookiename.length;
		cookieend = document.cookie.indexOf(';', cookiestart);
		if(cookieend == -1) {
			cookieend = document.cookie.length;
		}
		return unescape(document.cookie.substring(cookiestart, cookieend));
	}
	return '';
}
function set_cookie(name, value) {
	expires = new Date();
	expires.setTime(expires.getTime() + 2592000);
	document.cookie = name + "=" + value + "; path=/; expires=" + expires.toGMTString();
}
function $(id) {
	return document.getElementById(id);
}
var collapsed=get_cookie('cdb_collapse');
function collapse_change(menucount) {
	if($('menu_' + menucount).style.display == 'none') {
		$('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		$('menuimg_' + menucount).src = './css/menu_reduce.gif';
	} else {
		$('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		$('menuimg_' + menucount).src = './css/menu_add.gif';
	}
	
}
</script>
</head>

<body onkeydown="refreshmainframe(event)" style="margin:5px!important;margin:3px;">

<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;"><tr class="leftmenutext"><td><div align="center">缃戠珯棣栭〉&nbsp;&nbsp;<a href="#"  onClick="parent.menu.location='admincp.php?action=menu'; parent.main.location='admincp.php?action=main';return false;">鍚庡彴棣栭〉</a></div></td></tr></table>

<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
<tr class="leftmenutext"><td><a href="###" onclick="collapse_change(1)">
<img id="menuimg_1" src="./css/menu_add.gif" border="0"/></a>&nbsp;<a href="###" onclick="collapse_change(1)">绯荤粺璁剧疆</a></td></tr>
<tbody id="menu_1" style="display:none"><tr class="leftmenutd"><td><table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
<tr><td><a href="admincp.php?action=webset" target="main">缃戠珯鍙傛暟</a></td></tr>
<tr><td><a href="admincp.php?action=settings" target="main">鍩烘湰鍙傛暟</a></td></tr>
<tr><td><a href="admincp.php?action=userreg" target="main">瀹夊叏鍙傛暟</a></td></tr>
<tr><td><a href="admincp.php?action=localcity" target="main">鏈

⌨️ 快捷键说明

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