vendor_user/uc_client/model/misc.php

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?php

/*
    [UCenter] (C)2001-2099 Comsenz Inc.
    This is NOT a freeware, use is subject to license terms

    $Id: misc.php 1059 2011-03-01 07:25:09Z monkey $
*/

!defined('IN_UC') && exit('Access Denied');

define('UC_ARRAY_SEP_1', 'UC_ARRAY_SEP_1');
define('UC_ARRAY_SEP_2', 'UC_ARRAY_SEP_2');

class miscmodel
{
    public $db;
    public $base;

    public function __construct(&$base)
    {
        $this->miscmodel($base);
    }

    public function miscmodel(&$base)
    {
        $this->base = $base;
        $this->db = $base->db;
    }

    public function get_apps($col = '*', $where = '')
    {
        $arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE.'applications'.($where ? ' WHERE '.$where : ''));

        return $arr;
    }

    public function delete_apps($appids)
    {
    }

    public function update_app($appid, $name, $url, $authkey, $charset, $dbcharset)
    {
    }

    //private
    public function alter_app_table($appid, $operation = 'ADD')
    {
    }

    public function get_host_by_url($url)
    {
    }

    public function check_url($url)
    {
    }

    public function check_ip($url)
    {

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。