repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/SQLServerBasicFunctionsTest.php | tests/SQLServerBasicFunctionsTest.php | <?php
use Workbench\BaseTest\BaseBasicFunctionsTest;
class SQLServerBasicFunctionsTest extends BaseBasicFunctionsTest
{
protected function getDatabaseEngine(): string
{
return 'sqlsrv';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/MysqlWhereClauseTest.php | tests/MysqlWhereClauseTest.php | <?php
use Workbench\BaseTest\BaseWhereClauseTest;
class MysqlWhereClauseTest extends BaseWhereClauseTest
{
protected function getDatabaseEngine(): string
{
return 'mysql';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/MariaDBlBasicFunctionsTest.php | tests/MariaDBlBasicFunctionsTest.php | <?php
use Orchestra\Testbench\TestCase;
use Workbench\BaseTest\BaseBasicFunctionsTest;
if (!str_starts_with(phpversion(), '8.1')) {
class MariaDBlBasicFunctionsTest extends BaseBasicFunctionsTest
{
protected function getDatabaseEngine(): string
{
return 'mariadb';
}
}
}... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/MariaDBProjectionTest.php | tests/MariaDBProjectionTest.php | <?php
use Orchestra\Testbench\TestCase;
use Workbench\BaseTest\BaseProjectionTest;
if (!str_starts_with(phpversion(), '8.1')) {
class MariaDBProjectionTest extends BaseProjectionTest
{
protected function getDatabaseEngine(): string
{
return 'mariadb';
}
}
} else {
c... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/SqliteWhereClauseTest.php | tests/SqliteWhereClauseTest.php | <?php
use Workbench\BaseTest\BaseWhereClauseTest;
class SqliteWhereClauseTest extends BaseWhereClauseTest
{
protected function getDatabaseEngine(): string
{
return 'sqlite';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/MysqlBasicFunctionsTest.php | tests/MysqlBasicFunctionsTest.php | <?php
use Workbench\BaseTest\BaseBasicFunctionsTest;
class MysqlBasicFunctionsTest extends BaseBasicFunctionsTest
{
protected function getDatabaseEngine(): string
{
return 'mysql';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/PostgreSQLProjectionTest.php | tests/PostgreSQLProjectionTest.php | <?php
use Workbench\BaseTest\BaseProjectionTest;
class PostgreSQLProjectionTest extends BaseProjectionTest
{
protected function getDatabaseEngine(): string
{
return 'pgsql';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/SqliteProjectionTest.php | tests/SqliteProjectionTest.php | <?php
use Workbench\BaseTest\BaseProjectionTest;
class SqliteProjectionTest extends BaseProjectionTest
{
protected function getDatabaseEngine(): string
{
return 'sqlite';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/MysqlProjectionTest.php | tests/MysqlProjectionTest.php | <?php
use Workbench\BaseTest\BaseProjectionTest;
class MysqlProjectionTest extends BaseProjectionTest
{
protected function getDatabaseEngine(): string
{
return 'mysql';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/PostgreSQLWhereClauseTest.php | tests/PostgreSQLWhereClauseTest.php | <?php
use Workbench\BaseTest\BaseWhereClauseTest;
class PostgreSQLWhereClauseTest extends BaseWhereClauseTest
{
protected function getDatabaseEngine(): string
{
return 'pgsql';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/MariaDBWhereClauseTest.php | tests/MariaDBWhereClauseTest.php | <?php
use Orchestra\Testbench\TestCase;
use Workbench\BaseTest\BaseWhereClauseTest;
if (!str_starts_with(phpversion(), '8.1')) {
class MariaDBWhereClauseTest extends BaseWhereClauseTest
{
protected function getDatabaseEngine(): string
{
return 'mariadb';
}
}
} else {
... | php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/PostgreSQLBasicFunctionsTest.php | tests/PostgreSQLBasicFunctionsTest.php | <?php
use Workbench\BaseTest\BaseBasicFunctionsTest;
class PostgreSQLBasicFunctionsTest extends BaseBasicFunctionsTest
{
protected function getDatabaseEngine(): string
{
return 'pgsql';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/SqliteBasicFunctionsTest.php | tests/SqliteBasicFunctionsTest.php | <?php
use Workbench\BaseTest\BaseBasicFunctionsTest;
class SqliteBasicFunctionsTest extends BaseBasicFunctionsTest
{
protected function getDatabaseEngine(): string
{
return 'sqlite';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/SQLServerProjectionTest.php | tests/SQLServerProjectionTest.php | <?php
use Workbench\BaseTest\BaseProjectionTest;
class SQLServerProjectionTest extends BaseProjectionTest
{
protected function getDatabaseEngine(): string
{
return 'sqlsrv';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
SiavashBamshadnia/Laravel-Query-Enrich | https://github.com/SiavashBamshadnia/Laravel-Query-Enrich/blob/bafb849ed83b7c816d9a94a0d71651821db780a0/tests/SQLServerWhereClauseTest.php | tests/SQLServerWhereClauseTest.php | <?php
use Workbench\BaseTest\BaseWhereClauseTest;
class SQLServerWhereClauseTest extends BaseWhereClauseTest
{
protected function getDatabaseEngine(): string
{
return 'sqlsrv';
}
}
| php | MIT | bafb849ed83b7c816d9a94a0d71651821db780a0 | 2026-01-05T04:51:45.342665Z | false |
darkwhispering/facebook-sdk-codeigniter | https://github.com/darkwhispering/facebook-sdk-codeigniter/blob/f29fb15d81542be7c7769b49b7d70569f9cc8390/application/controllers/Example.php | application/controllers/Example.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Example extends CI_Controller {
public function __construct()
{
parent::__construct();
// Load library and url helper
$this->load->library('facebook');
$this->load->helper('url');
}
// -------------------------------------------... | php | MIT | f29fb15d81542be7c7769b49b7d70569f9cc8390 | 2026-01-05T04:51:45.486028Z | false |
darkwhispering/facebook-sdk-codeigniter | https://github.com/darkwhispering/facebook-sdk-codeigniter/blob/f29fb15d81542be7c7769b49b7d70569f9cc8390/application/views/examples/web.php | application/views/examples/web.php | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Facebook PHP SDK for CodeIgniter - Redirect login example</title>
<style>
body {
padding: 0;
margin: 0;
font-family: Helvetica, Sans-serif;
font-size: 16px;
color: #333;
... | php | MIT | f29fb15d81542be7c7769b49b7d70569f9cc8390 | 2026-01-05T04:51:45.486028Z | false |
darkwhispering/facebook-sdk-codeigniter | https://github.com/darkwhispering/facebook-sdk-codeigniter/blob/f29fb15d81542be7c7769b49b7d70569f9cc8390/application/views/examples/start.php | application/views/examples/start.php | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Facebook PHP SDK for CodeIgniter</title>
<style>
body {
padding: 0;
margin: 0;
font-family: Helvetica, Sans-serif;
font-size: 16px;
color: #333;
line-height: 1.5;
}
.wrapper {
width: 800px;
margin: 60px auto;
border: 1px s... | php | MIT | f29fb15d81542be7c7769b49b7d70569f9cc8390 | 2026-01-05T04:51:45.486028Z | false |
darkwhispering/facebook-sdk-codeigniter | https://github.com/darkwhispering/facebook-sdk-codeigniter/blob/f29fb15d81542be7c7769b49b7d70569f9cc8390/application/views/examples/js.php | application/views/examples/js.php | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Facebook PHP SDK for CodeIgniter - Javascript SDK login example</title>
<style>
body {
padding: 0;
margin: 0;
font-family: Helvetica, Sans-serif;
font-size: 16px;
color: #333;
line-height: 1.5;
}
.wrapper {
width: 800px;
marg... | php | MIT | f29fb15d81542be7c7769b49b7d70569f9cc8390 | 2026-01-05T04:51:45.486028Z | false |
darkwhispering/facebook-sdk-codeigniter | https://github.com/darkwhispering/facebook-sdk-codeigniter/blob/f29fb15d81542be7c7769b49b7d70569f9cc8390/application/libraries/Facebook.php | application/libraries/Facebook.php | <?php defined('BASEPATH') OR exit('No direct script access allowed');
/**
* Facebook PHP SDK for CodeIgniter 3
*
* Library wrapper for Facebook PHP SDK. Check user login status, publish to feed
* and more with easy to use CodeIgniter syntax.
*
* This library requires the Facebook PHP SDK to be installed with Com... | php | MIT | f29fb15d81542be7c7769b49b7d70569f9cc8390 | 2026-01-05T04:51:45.486028Z | false |
darkwhispering/facebook-sdk-codeigniter | https://github.com/darkwhispering/facebook-sdk-codeigniter/blob/f29fb15d81542be7c7769b49b7d70569f9cc8390/application/config/facebook.php | application/config/facebook.php | <?php
defined('BASEPATH') OR exit('No direct script access allowed');
/*
| -------------------------------------------------------------------
| Facebook App details
| -------------------------------------------------------------------
|
| To get an facebook app details you have to be a registered developer
| at http... | php | MIT | f29fb15d81542be7c7769b49b7d70569f9cc8390 | 2026-01-05T04:51:45.486028Z | false |
Log1x/laravel-webfonts | https://github.com/Log1x/laravel-webfonts/blob/41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60/src/Webfonts.php | src/Webfonts.php | <?php
namespace Log1x\LaravelWebfonts;
use Illuminate\Support\Str;
class Webfonts
{
/**
* The fonts to preload.
*/
protected array $fonts = [];
/**
* The asset manifest.
*/
protected ?array $manifest = null;
/**
* The Preload Webfonts instance.
*/
protected Pre... | php | MIT | 41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60 | 2026-01-05T04:52:00.873412Z | false |
Log1x/laravel-webfonts | https://github.com/Log1x/laravel-webfonts/blob/41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60/src/PreloadWebfonts.php | src/PreloadWebfonts.php | <?php
namespace Log1x\LaravelWebfonts;
class PreloadWebfonts
{
/**
* The Webfonts instance.
*/
protected Webfonts $webfonts;
/**
* The font preload markup.
*/
protected ?string $markup = null;
/**
* Create a new Preload Fonts instance.
*/
public function __const... | php | MIT | 41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60 | 2026-01-05T04:52:00.873412Z | false |
Log1x/laravel-webfonts | https://github.com/Log1x/laravel-webfonts/blob/41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60/src/WebfontsServiceProvider.php | src/WebfontsServiceProvider.php | <?php
namespace Log1x\LaravelWebfonts;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
use Log1x\LaravelWebfonts\Console\Commands\WebfontsAddCommand;
class WebfontsServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
... | php | MIT | 41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60 | 2026-01-05T04:52:00.873412Z | false |
Log1x/laravel-webfonts | https://github.com/Log1x/laravel-webfonts/blob/41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60/src/Facades/Webfonts.php | src/Facades/Webfonts.php | <?php
namespace Log1x\LaravelWebfonts\Facades;
use Illuminate\Support\Facades\Facade;
class Webfonts extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'laravel-webfonts';
}
}
| php | MIT | 41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60 | 2026-01-05T04:52:00.873412Z | false |
Log1x/laravel-webfonts | https://github.com/Log1x/laravel-webfonts/blob/41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60/src/Console/Commands/WebfontsAddCommand.php | src/Console/Commands/WebfontsAddCommand.php | <?php
namespace Log1x\LaravelWebfonts\Console\Commands;
use Exception;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Str;
use ZipArchive;
use function Laravel\Prompts\confirm;
use function Laravel\Prompts\multisearch;
use function Lar... | php | MIT | 41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60 | 2026-01-05T04:52:00.873412Z | false |
Log1x/laravel-webfonts | https://github.com/Log1x/laravel-webfonts/blob/41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60/resources/views/font-face.blade.php | resources/views/font-face.blade.php | @props(['name', 'weight', 'style', 'path'])
@font-face {
font-display: swap;
font-family: '{{ $name }}';
font-style: {{ $style }};
font-weight: {{ $weight }};
src: url('{{ $path }}') format('woff2');
}
| php | MIT | 41bea5529ff2fe0c7969e3b9fed2ee55b95c8b60 | 2026-01-05T04:52:00.873412Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/jump.php | jump.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 12:25:10
* @LastEditTime: 2025-01-07 11:08:13
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\jump.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
if(!defined('IN_CRONLITE'))exit();
$is_defend = true;
@header('Cont... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/config.php | config.php | <?php
/*数据库配置*/
$dbconfig = array(
'host' => 'localhost', //数据库服务器
'port' => 3306, //数据库端口
'user' => '', //数据库用户名
'pwd' => '', //数据库密码
'dbname' => '', //数据库名
);
| php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/index.php | index.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 12:25:10
* @LastEditTime: 2025-01-05 17:52:29
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\index.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
$is_defend = true;
@header('Content-Type: text/html; charset=UTF-8... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/ValidateCode.class.php | includes/ValidateCode.class.php | <?php
/*
* @Author: yihua
* @Date: 2022-06-25 21:02:04
* @LastEditTime: 2022-07-11 14:51:25
* @LastEditors: yihua
* @Description:
* @FilePath: \ccpy\includes\ValidateCode.class.php
* 一花一叶 一行代码
* Copyright (c) 2022 by yihua 487735913@qq.com, All Rights Reserved.
*/
class ValidateCode {
private $charset = 'ab... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/function.php | includes/function.php | <?php
/**
* Undocumented function
*
* @param [type] $string
* @param string $operation
* @param string $key
* @param integer $expiry
* @author 一花 <487735913@qq.com>
* @copyright Undocumented function [type] string
*/
function authcode($string, $operation = 'DECODE', $key = '', $expiry = 0)
{
$ckey_length... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/member.php | includes/member.php | <?php
/*
* @Author: yihua
* @Date: 2022-06-25 21:02:04
* @LastEditTime: 2025-01-05 14:06:36
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\member.php
* 一花一叶 一行代码
* Copyright (c) 2022 by yihua 487735913@qq.com, All Rights Reserved.
*/
if (!defined('IN_CRONLITE')) exit();
if (isset($... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/authcode.php | includes/authcode.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-05 11:20:04
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\authcode.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
$authcode='0a555f617f4a15604345f059d2b37a85';
?> | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/cache.php | includes/cache.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-05 11:25:08
* @LastEditTime: 2025-01-05 11:26:12
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\cache.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* 缓存类
* 使用文件系统实现的缓存机制,支持自动过期、垃圾回收和调试
*/
class Ca... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/txprotect.php | includes/txprotect.php | <?php
/*
* @Author: yihua
* @Date: 2022-06-25 21:02:04
* @LastEditTime: 2022-07-29 09:36:20
* @LastEditors: yihua
* @Description: 反腾讯网址安全检测系统
* @FilePath: \ccpy\includes\txprotect.php
* 一花一叶 一行代码
* Copyright (c) 2022 by yihua 487735913@qq.com, All Rights Reserved.
*/
//IP屏蔽
$iptables='977012992~977013247|977... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/common.php | includes/common.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-05 18:10:04
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\common.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
set_error_handler(function($errno, $errstr, $errfile, $e... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/dbhelp.php | includes/dbhelp.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-05 16:24:41
* @LastEditors: yihua
* @Description:
* MySQL数据库操作类
* 1. 封装 MySQLi 扩展实现常用数据库快速操作
* 2. 非 ORM 实现方式,更关注 SQL 本身
* 3. 针对大数据表,请注意优化SQL索引及结果集规模
* @FilePath: \ccproxy_end\includes\dbhelp.php
* 💊物物而不物于物,念念而不念于念🍁
* ... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/hieroglyphy.class.php | includes/hieroglyphy.class.php | <?php
class hieroglyphy{
private $characters;
private $numbers;
private $unescape;
private $functionConstructor;
public function __construct(){
$this->precharacters();
}
private function precharacters(){
$this->numbers = array(
"+[]",
"+!![]",
"!+[]+!![]",
"!+[]+!![]+!![]",
"!+[]+!![]+!![]+... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/Scheduler.php | includes/Scheduler.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-05 13:47:54
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\Scheduler.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* Class Scheduler
*/
Class Scheduler
{
... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/Task.php | includes/Task.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-05 13:47:40
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\Task.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* Task任务类
*/
class Task
{
protected $taskI... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/360safe/webscan_cache.php | includes/360safe/webscan_cache.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 12:25:10
* @LastEditTime: 2025-01-05 21:31:47
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\360safe\webscan_cache.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
// 基础配置
$webscan_switch = 1; // 总开关,控制整... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/360safe/xss.php | includes/360safe/xss.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-11 13:34:11
* @LastEditors: yihua
* @Description:
* @FilePath: \undefinedc:\Users\liuqiang\Desktop\ccp\ccproxy_kami\includes\360safe\xss.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* 通... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/includes/360safe/360webscan.php | includes/360safe/360webscan.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 12:25:10
* @LastEditTime: 2025-01-04 20:41:23
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\includes\360safe\360webscan.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
webscan_error();
require_once('webscan_cach... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/api/api.php | api/api.php | <?php
/*
* @Author: yihua
* @Date: 2022-06-25 21:02:04
* @LastEditTime: 2025-01-05 16:25:26
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\api\api.php
* 一花一叶 一行代码
* Copyright (c) 2022 by yihua 487735913@qq.com, All Rights Reserved.
*/
include("../includes/common.php");
@header('Content-Type:... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/api/cpproxy.php | api/cpproxy.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-07 11:16:53
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\api\cpproxy.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
include("../includes/common.php");
@header('Content-Type: a... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/newapp.php | sub_admin/newapp.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo $subconf['hostname']?>应用名</title>
<meta name="renderer" co... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/app.php | sub_admin/app.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
// $sql = "SELECT * FROM `server_list`";
// $ser = $DB->select($sql);
// $serverlist = array();
// foreach ($ser as $key => $value) {
// //$se... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/head.php | sub_admin/head.php | <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="../assets/layui/css/layui.css?v=20241111001" />
<link rel="stylesheet" type="text/css" href="css/admin.css" />
<link rel="stylesheet" type="t... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/usermanger.php | sub_admin/usermanger.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo $subconf['hostname']?>用户管理</title>
<meta name="renderer" ... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/editserver.php | sub_admin/editserver.php | <?php
/*
* @Author: yihua
* @Date: 2022-07-11 17:19:14
* @LastEditTime: 2022-08-25 08:29:32
* @LastEditors: yihua
* @Description:
* @FilePath: \ccpy\sub_admin\editserver.php
* 一花一叶 一行代码
* Copyright (c) 2022 by yihua 487735913@qq.com, All Rights Reserved.
*/
include("../includes/common.php");
if (!($islogin =... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/code.php | sub_admin/code.php | <?php
session_start();
define('ROOT_PATH', dirname(__FILE__));
require '../includes/ValidateCode.class.php';
$_vc = new ValidateCode(); //实例化一个对象
$_vc->doimg();
$_SESSION['xx_session_code'] = $_vc->getCode();//验证码保存到SESSION中
?> | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/kami.php | sub_admin/kami.php |
<?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<title><?php echo $subconf['hostname'... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/server_list.php | sub_admin/server_list.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo $subconf['hostname']?>服务器管理</title>
<meta name="renderer"... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/ajax.php | sub_admin/ajax.php | <?php
require_once("../includes/Task.php");
require_once("../includes/Scheduler.php");
include("../includes/common.php");
if ($islogin == 1) {
} else exit("<script language='javascript'>window.location.href='./login.php';</script>");
$act = isset($_GET['act']) ? daddslashes($_GET['act']) : null;
@header('Content-Type: ... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | true |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/login.php | sub_admin/login.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:32:11
* @LastEditTime: 2025-01-05 22:24:13
* @LastEditors: yihua
* @Description: 登录
* @FilePath: \ccproxy_end\sub_admin\login.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
include("../includes/common.php");
// 登出处理
if (isset... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/hostset.php | sub_admin/hostset.php | <?php
include '../includes/common.php';
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
<?php echo $subconf['hostname']; ?>-网站设置
</title>
<!-- <link rel="... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/newuser.php | sub_admin/newuser.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo $subconf['hostname'] ?>添加用户</title>
<meta name="renderer" conten... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/index.php | sub_admin/index.php | <?php
include '../includes/common.php';
if (!($islogin == 1)) {
// exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
exit('<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>提示</title>
<script src="../assets/layui/layui.js"></script>
<... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/log.php | sub_admin/log.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo $subconf['hostname']?>用户管理</title>
<meta name="renderer" ... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/edituser.php | sub_admin/edituser.php | <?php
/*
* @Author: yihua
* @Date: 2022-07-07 17:45:59
* @LastEditTime: 2022-07-08 13:35:58
* @LastEditors: yihua
* @Description:
* @FilePath: \ccpy\sub_admin\edituser.php
* 一花一叶 一行代码
*/
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");wind... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/new_kami.php | sub_admin/new_kami.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
<?php echo $subconf['hostname'] ?>新增卡密
</title>
<?php
include("foot.php"... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/update_password.php | sub_admin/update_password.php | <?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
<?php echo $subconf['hostname']?>修改密码
</title>
<?php
include("fo... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/newserver.php | sub_admin/newserver.php |
<?php
include("../includes/common.php");
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title><?php echo $subconf['hostname']?>服务器</title>
<meta name="renderer" c... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/foot.php | sub_admin/foot.php | <?php
echo '<link rel="stylesheet" href="../assets/layui/css/layui.css?v=20201111001" />';
echo '<link rel="stylesheet" type="text/css" href="./css/theme.css?v=20201111001" />';
echo '<script src="../assets/layui/layui.js?v=20201111001"></script>';
?>
<!-- echo '<link rel="stylesheet" href="../assets/layui/css/layui.... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/sub_admin/primary.php | sub_admin/primary.php | <?php
include '../includes/common.php';
if (!($islogin == 1)) {
exit('<script language=\'javascript\'>alert("您还没有登录,请先登录!");window.location.href=\'login.php\';</script>');
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>
<?php echo $subconf['hostname'] . "后台管理首页" ?>
</title>
<?php
include("foo... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/install/class.php | install/class.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:57:38
* @LastEditTime: 2025-01-05 11:21:27
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\install\class.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* Class install
*/
class install
{
/**
* @p... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/install/ajax.php | install/ajax.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:57:38
* @LastEditTime: 2025-01-05 11:21:19
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\install\ajax.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* 安裝ajax.php文件
*/
error_reporting(0);
date_default_ti... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/install/db.class.php | install/db.class.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:57:38
* @LastEditTime: 2025-01-05 10:27:54
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\install\db.class.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
if (extension_loaded('mysqli')) {
class DB
{
... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | false |
yeuxuan/ccproxy_kami | https://github.com/yeuxuan/ccproxy_kami/blob/7ed97f478a791b213e3a1401a9853133324eed74/install/index.php | install/index.php | <?php
/*
* @Author: yihua
* @Date: 2025-01-04 17:57:38
* @LastEditTime: 2025-01-06 11:31:27
* @LastEditors: yihua
* @Description:
* @FilePath: \ccproxy_end\install\index.php
* 💊物物而不物于物,念念而不念于念🍁
* Copyright (c) 2025 by yihua, All Rights Reserved.
*/
/**
* 安装程序
*/
error_reporting(0);
define('VERSION', '2.0... | php | Apache-2.0 | 7ed97f478a791b213e3a1401a9853133324eed74 | 2026-01-05T04:52:19.238668Z | true |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/page.php | page.php | <?php
$latte->render(tr_view_path('templates/page'));
?>
| php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/functions.php | functions.php | <?php
define('TR_THEME_DIR', get_template_directory());
define('TR_GUTENBERG_DIR', TR_THEME_DIR . '/gutenberg');
define('TR_BLOCKS_DIR', TR_GUTENBERG_DIR . '/blocks');
require get_template_directory() . '/php-inc/theme-support.php';
require get_template_directory() . '/php-inc/latte.php';
// Check if ACF or ACF Pro ... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/index.php | index.php | <?php
$latte->render(tr_view_path('templates/index'));
?>
| php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/404.php | 404.php | <?php
$latte->render(tr_view_path('templates/404'));
| php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/front-page.php | front-page.php | <?php
$attrs = [];
$latte->render(tr_view_path('templates/front-page'), $attrs);
?>
| php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/single.php | single.php | <?php
$latte->render(tr_view_path('templates/single'));
?>
| php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/custom-post-types.php | php-inc/custom-post-types.php | <?php
// Either create them here, or use CPT UI plugin
// function create_post_type()
// {
// NEWS CPT
// register_post_type(
// 'news',
// array(
// 'labels' => array(
// 'name' => __('News'),
// 'singular_name' => __('News Post')
// ),
// 'hierarchical' => true,
... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/enqueue-block-specific-css-and-js.php | php-inc/enqueue-block-specific-css-and-js.php | <?php
function tr_enqueue_block_specific_css_and_js() {
if (!is_single() && !is_page()) return;
global $post;
if (empty($post->post_content)) return;
if (has_blocks($post->post_content)) {
$block_prefix = json_decode(file_get_contents(get_template_directory() . "/theme_redone_global_config.json"), t... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/remove-css-js-version.php | php-inc/remove-css-js-version.php | <?php
// Remove WP Version From Styles
add_filter('style_loader_src', 'sdt_remove_ver_css_js', 9999);
// Remove WP Version From Scripts
add_filter('script_loader_src', 'sdt_remove_ver_css_js', 9999);
// Function to remove version numbers
function sdt_remove_ver_css_js($src)
{
if (strpos($src, 'ver='))
$src = ... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/acf-options-pages.php | php-inc/acf-options-pages.php | <?php
if( function_exists('acf_add_options_page') )
{
acf_add_options_page(
array(
'page_title' => 'Theme General Settings',
'menu_title' => 'Theme Settings',
'menu_slug' => 'theme-general-settings',
'capability' => 'edit_posts',
'redirect' => false
)
);
acf_add_opti... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/dequeues.php | php-inc/dequeues.php | <?php
//remove stylesheets: Gutenberg, wp-pagenavi
function tr_dequeues() {
wp_dequeue_style('wp-pagenavi');
}
add_action( 'wp_print_styles', 'tr_dequeues', 100 );
function tr_disable_emojis()
{
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('admin_print_scripts', 'print_emoji_detec... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/sidebars.php | php-inc/sidebars.php | <?php
/*
function tr_tr_widgets_init() {
register_sidebar(
array(
'name' => esc_html__( 'Footer Top Left', 'tr' ),
'id' => 'footer-left-widget',
'description' => esc_html__( 'Footer Top Left widget area (Address)', 'tr' ),
'before_widget' => '<address>',
'after_widget' => '</... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/enqueues.php | php-inc/enqueues.php | <?php
// ADMIN-END ENQUEUES
function tr_admin_enqueue() {
wp_register_style( 'tr-admin-css', get_template_directory_uri() . '/prod/global/admin-style.css', false, '1.0.0' );
wp_enqueue_style( 'tr-admin-css' );
}
add_action( 'admin_enqueue_scripts', 'tr_admin_enqueue' );
// FRONT-END ENQUEUES
function tr_enqueu... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/latte.php | php-inc/latte.php | <?php
require get_template_directory() . '/vendor/autoload.php';
$latte = new Latte\Engine;
$latte->setTempDirectory(get_template_directory() . '/views/temp');
// TODO: remove/comment out when finished
use Tracy\Debugger;
Debugger::enable(); | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/sync-acf.php | php-inc/sync-acf.php | <?php
add_filter('acf/settings/save_json', 'tr_acf_json_save_point');
function tr_acf_json_save_point( $path ) {
// update path
$path = get_stylesheet_directory() . '/acf-data';
// return
return $path;
}
add_filter('acf/settings/load_json', 'tr_acf_json_load_point');
function tr_acf_json_load_poi... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/nav-walker-backup.php | php-inc/nav-walker-backup.php | <?php
/**
* Class Name: bs4Navwalker
* GitHub URI: https://github.com/dupkey/bs4navwalker
* Description: A custom WordPress nav walker class for Bootstrap 4 nav menus in a custom theme using the WordPress built in menu manager.
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*/
class bs... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/ThemeRedoneWalker.php | php-inc/ThemeRedoneWalker.php | <?php
/**
* Class Name: ThemeRedoneWalker
*/
class ThemeRedoneWalker extends Walker_Nav_Menu
{
/**
* Starts the list before the elements are added.
*
* @see Walker::start_lvl()
*
* @since 3.0.0
*
* @param string $output Passed by reference. Used to append additional content.
... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/theme-support.php | php-inc/theme-support.php | <?php
if ( ! function_exists( 'tr_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which
* runs before the init hook. The init hook is too late for some features, such
* as indicating suppor... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/sync-cptui.php | php-inc/sync-cptui.php | <?php
// CPT UI post types and taxonomies sync
// https://github.com/jonathanjanssens/custom-post-type-ui-sync
if(!function_exists('cptui_init')) {
require get_template_directory() . '/cptui/post_types.php';
require get_template_directory() . '/cptui/taxonomies.php';
} | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/php-inc/theme-functions.php | php-inc/theme-functions.php | <?php
/**
* Add a pingback url auto-discovery header for single posts, pages, or attachments.
*/
function tr_pingback_header() {
if ( is_singular() && pings_open() ) {
echo '<link rel="pingback" href="', esc_url( get_bloginfo( 'pingback_url' ) ), '">';
}
}
add_action( 'wp_head', 'tr_pingback_header' );
/**
... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-parts-_collapsible.latte--7d8b2f4b26.php | views/temp/views-parts-_collapsible.latte--7d8b2f4b26.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme_redone/views/parts/_collapsible.latte */
final class Template7d8b2f4b26 extends Latte\Runtime\Template
{
public const Blocks = [
['collapsible_trigger' => 'blockCollapsible_trigger', 'collapsible_content' => 'blockColla... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/layout-header.latte--287b753cf4.php | views/temp/layout-header.latte--287b753cf4.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme-redone/views//layout/header.latte */
final class Template287b753cf4 extends Latte\Runtime\Template
{
public function main(): array
{
extract($this->params);
echo '<!doctype html>
<html ';
echo language_attributes(... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-parts-todo-remove-examples.latte--203ed5b4c3.php | views/temp/views-parts-todo-remove-examples.latte--203ed5b4c3.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme-redone/views/parts/todo-remove-examples.latte */
final class Template203ed5b4c3 extends Latte\Runtime\Template
{
protected const BLOCKS = [
1 => ['tab_anchor' => 'blockTab_anchor', 'tab_panel' => 'blockTab_panel'],
2 ... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-parts-_accordion.latte--a8d33cc756.php | views/temp/views-parts-_accordion.latte--a8d33cc756.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme_redone/views/parts/_accordion.latte */
final class Templatea8d33cc756 extends Latte\Runtime\Template
{
public const Blocks = [
['acc_trigger' => 'blockAcc_trigger', 'acc_content' => 'blockAcc_content'],
];
public fu... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-templates-front-page.latte--c1b3f7dea5.php | views/temp/views-templates-front-page.latte--c1b3f7dea5.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme-redone/views/templates/front-page.latte */
final class Templatec1b3f7dea5 extends Latte\Runtime\Template
{
public function main(): array
{
extract($this->params);
$this->createTemplate(tr_view_path('/layout/header')... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/layout-main-menu.latte--8256872286.php | views/temp/layout-main-menu.latte--8256872286.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme_redone/views//layout/main-menu.latte */
final class Template8256872286 extends Latte\Runtime\Template
{
public function main(array $ʟ_args): void
{
echo '<header class="header">
<div class="container">
<nav class... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/layout-header.latte--0b324d01cd.php | views/temp/layout-header.latte--0b324d01cd.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme_redone/views//layout/header.latte */
final class Template0b324d01cd extends Latte\Runtime\Template
{
public function main(array $ʟ_args): void
{
extract($ʟ_args);
unset($ʟ_args);
echo '<!doctype html>
<html ';
... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-parts-_collapsibles.latte--7b10b89549.php | views/temp/views-parts-_collapsibles.latte--7b10b89549.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme-redone/views/parts/_collapsibles.latte */
final class Template7b10b89549 extends Latte\Runtime\Template
{
protected const BLOCKS = [
1 => ['acc_trigger' => 'blockAcc_trigger', 'acc_content' => 'blockAcc_content'],
2 =... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-parts-_accordion.latte--715e2ae4d8.php | views/temp/views-parts-_accordion.latte--715e2ae4d8.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme_redone/views/parts/_accordion.latte */
final class Template715e2ae4d8 extends Latte\Runtime\Template
{
protected const BLOCKS = [
['acc_trigger' => 'blockAcc_trigger', 'acc_content' => 'blockAcc_content'],
];
public... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
webredone/theme-redone | https://github.com/webredone/theme-redone/blob/1b016b92c4593563c030e995870b9fb6d102cc6e/views/temp/views-parts-_slider.latte--06877ba0ae.php | views/temp/views-parts-_slider.latte--06877ba0ae.php | <?php
use Latte\Runtime as LR;
/** source: C:\xampp\htdocs\theme_redone/wp-content/themes/theme_redone/views/parts/_slider.latte */
final class Template06877ba0ae extends Latte\Runtime\Template
{
protected const BLOCKS = [
['slide_q' => 'blockSlide_q', 'slide' => 'blockSlide', 'after_loop' => 'blockAfter_loop'],
... | php | MIT | 1b016b92c4593563c030e995870b9fb6d102cc6e | 2026-01-05T04:52:39.214683Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.