本文整理汇总了PHP中msg::umsg方法的典型用法代码示例。如果您正苦于以下问题:PHP msg::umsg方法的具体用法?PHP msg::umsg怎么用?PHP msg::umsg使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类msg
的用法示例。
在下文中一共展示了msg::umsg方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: exit
# Project: PHPDISK File Storage Solution
# This is NOT a freeware, use is subject to license terms.
#
# Site: http://www.google.com
#
# $Id: vip.php 121 2014-03-04 12:38:05Z along $
#
# Copyright (C) 2008-2014 PHPDisk Team. All Rights Reserved.
#
*/
include "includes/commons.inc.php";
if (!$auth[buy_vip_a] && !$auth[buy_vip_p]) {
exit(msg::umsg('Not_FMS', __('zcore_no_power')));
}
if (!$settings[open_vip]) {
exit(msg::umsg('Not_VIP_MODE', __('zcore_no_power')));
}
$in_front = true;
$title = __('buy_vip') . ' - ' . $settings['site_title'];
include PHPDISK_ROOT . "./includes/header.inc.php";
/*
$vip_id = get_profile($pd_uid,'vip_id');
if($vip_id){
$vip_end_time = get_profile($pd_uid,'vip_end_time');
if($vip_end_time>$timestamp){
$vip_end_time_txt = date('Y-m-d',get_profile($pd_uid,'vip_end_time'));
}else{
$vip_end_time_txt = date('Y-m-d',get_profile($pd_uid,'vip_end_time')).', <span class="txtred">('.__('vip_end_time_expire').')</span>';
}
$my_vip = __('my_vip_is').get_vip($vip_id,'subject').' , '.$vip_end_time_txt;
}else{
示例2: exit
<?php
/**
# Project: PHPDISK File Storage Solution
# This is NOT a freeware, use is subject to license terms.
#
# Site: http://www.google.com
#
# $Id: public.php 121 2014-03-04 12:38:05Z along $
#
# Copyright (C) 2008-2014 PHPDisk Team. All Rights Reserved.
#
*/
include "includes/commons.inc.php";
!$auth[is_fms] && exit(msg::umsg('Not_FMS', __('zcore_no_power')));
$in_front = true;
$cate_id = (int) gpc('cate_id', 'G', 0);
if ($cate_id) {
$cate_name = $db->result_first("select cate_name from {$tpf}categories where cate_id='{$cate_id}'");
}
$nav_title = $cate_name ? $cate_name . '' : '';
$nav_title = $nav_title;
$title = $nav_title . ' - ' . $settings['site_title'];
$file_keywords = $nav_title . ',';
$C[cate_hot_file] = get_cate_file($cate_id, 'file_downs');
if ($auth[pd_a]) {
$seo = get_seo('public', $cate_id);
if ($seo[title]) {
eval("\$title = \"{$seo['title']}\";");
}
eval("\$keywords = \"{$seo['keywords']}\";");
示例3: exit
/**
# Project: PHPDISK File Storage Solution
# This is NOT a freeware, use is subject to license terms.
#
# Site: http://www.google.com
#
# $Id: vip.inc.php 121 2014-03-04 12:38:05Z along $
#
# Copyright (C) 2008-2014 PHPDisk Team. All Rights Reserved.
#
*/
if (!defined('IN_PHPDISK') || !defined('IN_ADMINCP')) {
exit('[PHPDisk] Access Denied');
}
!($auth[buy_vip_p] || $auth[buy_vip_a]) && exit(msg::umsg('Not_vip', __('zcore_no_power')));
admin_no_power($task, 0, $pd_uid);
switch ($action) {
case 'add':
if ($task == 'add') {
form_auth(gpc('formhash', 'P', ''), formhash());
$subject = trim(gpc('subject', 'P', ''));
$content = trim(gpc('content', 'P', ''));
$img = trim(gpc('img', 'P', ''));
$price = trim(gpc('price', 'P', ''));
$days = gpc('days', 'P', '');
$pop_ads = (int) gpc('pop_ads', 'P', 0);
$down_second = (int) gpc('down_second', 'P', 0);
$downline_num = (int) gpc('downline_num', 'P', 0);
$search_down = (int) gpc('search_down', 'P', 0);
$img_link = (int) gpc('img_link', 'P', 0);
示例4: exit
# Copyright (C) 2008-2012 PHPDisk Team. All Rights Reserved.
#
*/
if (!defined('IN_PHPDISK') || !defined('IN_ADMINCP')) {
exit('[PHPDisk] Access Denied');
}
if (!$auth[pd_a]) {
exit(msg::umsg('no_power', __('zcore_no_power')));
}
$action = $action ? $action : 'set';
switch ($action) {
case 'stat_day':
case 'stat_hour':
case 'stat_user':
if (!$auth[pd_a]) {
exit(msg::umsg('Not', __('zcore_no_power')));
}
$pp = gpc('pp', 'G', '');
$v_ob = gpc('v_ob', 'G', '');
$d_ob = gpc('d_ob', 'G', '');
$v_ob = in_array($v_ob, array('asc', 'desc')) ? $v_ob : '';
$d_ob = in_array($d_ob, array('asc', 'desc')) ? $d_ob : '';
$v_order_by = $v_ob ? " views {$v_ob}" : '';
$d_order_by = $d_ob ? " downs {$d_ob}" : '';
$perpage = $pp ? (int) $pp : 50;
if ($v_order_by) {
$order_by = ' order by ' . $v_order_by;
} elseif ($d_order_by) {
$order_by = ' order by ' . $d_order_by;
} else {
$order_by = 'order by id desc';
示例5: auth_task_space_pwd
function auth_task_space_pwd()
{
echo msg::umsg('Task Error!', 'err-core-auth_task_space_pwd');
}