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

📄 showpayment.php

📁 Phpcms2008 是一款基于 PHP+Mysql 架构的网站内容管理系统
💻 PHP
字号:
<?php
require './include/common.inc.php';
require MOD_ROOT.'/include/payonline.class.php';
require_once 'times.class.php';
$times = new times();
$times->set('recharge', 3600, 1);
$payinfo = new payonline();
switch ($action)
{
	case 'type':
		$pay = trim($pay);
		if ('' == $pay)
		{
			include template('pay', 'showpayment_view');
		}
		else
		{
			if(!in_array($pay,array('offline','online','card'))) showmessage('闈炴硶鍙傛暟');
			if('offline' == $pay)
			{
				$offlines = $payinfo->get_offline();
			}
			if ('online' == $pay)
			{
				$onlines = $payinfo->get_online();
			}
            if('card' == $pay)
            {
                if($M['maxtopfailedtimes'])
                {
                    $times = new times();
                    $times->set('recharge', $M['maxiplockedtime']*3600, $M['maxtopfailedtimes']);
                    if($times->check()) showmessage('鍏呭

⌨️ 快捷键说明

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