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

📄 credit.inc.php

📁 Phpcms2008 是一款基于 PHP+Mysql 架构的网站内容管理系统
💻 PHP
字号:
<?php
defined('IN_PHPCMS') or exit('Access Denied');
require_once PHPCMS_ROOT.'member/include/member.class.php';
$member = new member();
require_once MOD_ROOT.'admin/include/credit.class.php';
$credit = new credit();

$submenu = array
(
	array($LANG['all_integral'], '?mod='.$mod.'&file='.$file.'&action=total'),
	array($LANG['premonth_integral'], '?mod='.$mod.'&file='.$file.'&action=month'),
	array($LANG['preweek_integral'], '?mod='.$mod.'&file='.$file.'&action=week')
);
$menu = admin_menu($LANG['credit_list'],$submenu);

if(!$action) $action = 'total';
switch($action)
{
	case 'week':
	$infos = $credit->listinfo('', 'preweek DESC', 1, 50, 1);
    break;
    
	case 'month':
	$infos = $credit->listinfo('', 'premonth DESC', 1, 50, 1);
    break;
    
    case 'total':
	$infos = $credit->listinfo('', '', 1, 50);

	break;
}
include admin_tpl('credit');
?>

⌨️ 快捷键说明

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