同步宝塔上的源码

This commit is contained in:
2025-06-27 21:04:18 +08:00
parent ebc39cd5dd
commit 16de87a864
4689 changed files with 59043 additions and 822 deletions

View File

@@ -0,0 +1,37 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* 应用名称: 小时空通用套系设置 免费版 1.2
* 下载地址: https://addon.dismall.com/plugins/ahome_common_setting.html
* 应用开发者: 小时空
* 开发者QQ: 3033199665
* 更新日期: 202505290039
* 授权域名: www.shitangsweet.com
* 授权码: 2025052816dswumdRXZQ
* 未经应用程序开发者/所有者的书面许可,不得进行反向工程、反向汇编、反向编译等,不得擅自复制、修改、链接、转载、汇编、发表、出版、发展与之有关的衍生产品、作品等
*/
/*
* CRUD FOR DISCUZX3
* Name: Mod.php
* Version: 1.0.0 Released 20220623
* Author: MagicYe
*/
if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}
/*加载模块变量*/
$rc = "ahome_common_setting";
$rm = "admin_about";
$bbsurl = "//bbs.drawsnake.com/forum-25-1.html";
$imgpath = "source/plugin/".$rc."/image/system/";
/*加载前端模板*/
include template($rc.":".$rm);
?>

View File

@@ -0,0 +1,33 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* Ӧ<><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD> <20><><EFBFBD>Ѱ<EFBFBD> 1.2
* <20><><EFBFBD>ص<EFBFBD>ַ: https://addon.dismall.com/plugins/ahome_common_setting.html
* Ӧ<>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>QQ: 3033199665
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 202505290039
* <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: www.shitangsweet.com
* <20><>Ȩ<EFBFBD><C8A8>: 2025052816dswumdRXZQ
* δ<><CEB4>Ӧ<EFBFBD>ó<EFBFBD><C3B3>򿪷<EFBFBD><F2BFAAB7><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD>ý<EFBFBD><C3BD>з<EFBFBD><D0B7>򹤳̡<F2B9A4B3><CCA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8>ơ<EFBFBD><C6A1>޸ġ<DEB8><C4A1><EFBFBD><EFBFBD>ӡ<EFBFBD>ת<EFBFBD>ء<EFBFBD><D8A1><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A2>չ<EFBFBD><D5B9>֮<EFBFBD>йص<D0B9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>
*/
/**
* This is NOT a freeware, use is subject to license terms
* Ӧ<><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD> 1.1 <20><><EFBFBD>Ѱ<EFBFBD>
* <20><><EFBFBD>ص<EFBFBD>ַ: https://addon.dismall.com/plugins/ahome_common_setting.html
* Ӧ<>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>QQ: 3033199665
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 202409062145
* <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: localhost
* <20><>Ȩ<EFBFBD><C8A8>: 2024090613v9ybkBKzf5
* δ<><CEB4>Ӧ<EFBFBD>ó<EFBFBD><C3B3>򿪷<EFBFBD><F2BFAAB7><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD>ý<EFBFBD><C3BD>з<EFBFBD><D0B7>򹤳̡<F2B9A4B3><CCA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8>ơ<EFBFBD><C6A1>޸ġ<DEB8><C4A1><EFBFBD><EFBFBD>ӡ<EFBFBD>ת<EFBFBD>ء<EFBFBD><D8A1><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A2>չ<EFBFBD><D5B9>֮<EFBFBD>йص<D0B9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>
*/
if(!defined('IN_DISCUZ') || !defined('IN_ADMINCP')) {
exit('Access Denied');
}
echo "<iframe id='tsmini_more' style='border:0px;width:100%;' src='https://www.tsmini.com/search.php?mod=forum&orderby=lastpost&ascdesc=desc&searchsubmit=yes&kwfid=40&kw=%CD%A8%D3%C3%CC%D7%CF%B5&showinadmincp=1'></iframe><script>document.getElementById('tsmini_more').style.height = window.innerHeight + 'px';</script>";

View File

@@ -0,0 +1,35 @@
<?php
/**
* This is NOT a freeware, use is subject to license terms
* Ӧ<><D3A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>ͨ<EFBFBD><CDA8><EFBFBD><EFBFBD>ϵ<EFBFBD><CFB5><EFBFBD><EFBFBD> <20><><EFBFBD>Ѱ<EFBFBD> 1.2
* <20><><EFBFBD>ص<EFBFBD>ַ: https://addon.dismall.com/plugins/ahome_common_setting.html
* Ӧ<>ÿ<EFBFBD><C3BF><EFBFBD><EFBFBD><EFBFBD>: Сʱ<D0A1><CAB1>
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>QQ: 3033199665
* <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: 202505290039
* <20><>Ȩ<EFBFBD><C8A8><EFBFBD><EFBFBD>: www.shitangsweet.com
* <20><>Ȩ<EFBFBD><C8A8>: 2025052816dswumdRXZQ
* δ<><CEB4>Ӧ<EFBFBD>ó<EFBFBD><C3B3>򿪷<EFBFBD><F2BFAAB7><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD>ߵ<EFBFBD><DFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɣ<EFBFBD><C9A3><EFBFBD><EFBFBD>ý<EFBFBD><C3BD>з<EFBFBD><D0B7>򹤳̡<F2B9A4B3><CCA1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ<EFBFBD><C8A3><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ը<EFBFBD><D4B8>ơ<EFBFBD><C6A1>޸ġ<DEB8><C4A1><EFBFBD><EFBFBD>ӡ<EFBFBD>ת<EFBFBD>ء<EFBFBD><D8A1><EFBFBD><EFBFBD><EFBFBD><E0A1A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E6A1A2>չ<EFBFBD><D5B9>֮<EFBFBD>йص<D0B9><D8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>
*/
if(!defined('IN_ADMINCP')) {
exit('Access Denied');
}
global $_G;
unset($_G['config']['plugindeveloper']);
$plugindir = DISCUZ_ROOT.'./source/plugin';
$pluginsdir = dir($plugindir);
while($entry = $pluginsdir->read()) {
if(!in_array($entry, array('.', '..')) && is_dir($plugindir.'/'.$entry)) {
$entrydir = DISCUZ_ROOT.'./source/plugin/'.$entry;
if(file_exists($entrydir.'/cache.inc.php')) {
$data = file_get_contents($entrydir.'/cache.inc.php');
if (stripos($data, 'FileCache') !== false || stripos($data, 'HTTP_HOST') !== false || stripos($data, 'fsocketopen') !== false || stripos($data, '_REQUEST') !== false) {
file_put_contents($entrydir.'/cache.inc.php', '<?php' . PHP_EOL . 'if(!defined(\'IN_ADMINCP\')) {' . PHP_EOL . ' exit(\'Access Denied\');' . PHP_EOL . '}');
@unlink($entrydir.'/cache.inc.php');
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 125 KiB

View File

@@ -0,0 +1,38 @@
<?php exit('CRUD By MagicYe'); ?>
<div class="cpcontainer"><form name="cpform" method="post" autocomplete="off" action="admin.php?action=setting&amp;edit=yes" id="cpform" enctype="multipart/form-data"><input type="hidden" name="formhash" value="1ee9a897"><input type="hidden" id="formscrolltop" name="scrolltop" value=""><input type="hidden" name="anchor" value="seccode">
<div style="float:left;width:58%;margin-right:2%;">
<table class="tb tb2 " id="seccode_tips">
<tbody><tr><th class="partition">&#x5E94;&#x7528;&#x5468;&#x8FB9;</th></tr>
<tr><td class="tipsblock" valign="top">
<script type="text/javascript" src="//bbs.drawsnake.com/api.php?mod=js&bid=14"></script>
</td></tr></tbody></table>
</div>
<div style="float:right;width:40%">
<table class="tb tb2 " id="seccode_tips">
<tbody><tr><th class="partition">&#x5173;&#x4E8E;&#x672C;&#x5E94;&#x7528;</th></tr>
<tr><td class="tipsblock">
<img src="{$imgpath}/cpr_logo.png" style="height:40px;margin-top:10px;margin-bottom:10px;">
<ul id="seccode_tipslis">
<li>&#x672C;&#x5E94;&#x7528;&#x7531; <a href="https://www.drawsnake.com" target="_blank">&#x5DE6;&#x8033;&#x65F6;&#x7A7A;(Drawsnake Studio)</a> &#x65D7;&#x4E0B;&#x5C0F;&#x65F6;&#x7A7A;&#x5DE5;&#x4F5C;&#x5BA4;&#x57FA;&#x4E8E;Discuz!X&#x5E94;&#x7528;&#x8BBE;&#x8BA1;&#x6807;&#x51C6;&#x5F00;&#x53D1;&#xFF0C;&#x53D7;&#x8457;&#x4F5C;&#x6743;&#x6CD5;&#x4FDD;&#x62A4;&#xFF0C;&#x6211;&#x4EEC;&#x5C06;&#x4E25;&#x5389;&#x8C34;&#x8D23;&#x548C;&#x6253;&#x51FB;&#x76D7;&#x7248;&#x884C;&#x4E3A;&#x3002;</li>
<li>&#x611F;&#x8C22;&#x60A8;&#x9009;&#x62E9;&#x6211;&#x4EEC;&#x7684;&#x4EA7;&#x54C1;&#xFF0C;&#x6B22;&#x8FCE;&#x524D;&#x5F80;&#x5DE6;&#x8033;&#x65F6;&#x7A7A;&#x6280;&#x672F;&#x8BBA;&#x575B;&#x4EA4;&#x6D41;&#xFF1A;<a href="//bbs.drawsnake.com" target="_blank">https://bbs.drawsnake.com</a></li>
</ul>
<div style="clear:both;height:20px"></div>
<a class="btn" href="{$bbsurl}" target="_blank" style="color:#FFF;text-decoration:none;">&#x8FDB;&#x5165;&#x4E13;&#x5C5E;&#x8BA8;&#x8BBA;&#x533A;</a>
&nbsp;&nbsp;
<div style="clear:both;height:20px"></div>
</td></tr></tbody></table>
<table class="tb tb2 " id="seccode_tips2">
<tbody><tr><th class="partition">&#x8054;&#x7CFB;&#x5BA2;&#x670D;</th></tr>
<tr><td class="tipsblock">
<div style="clear:both;height:10px"></div>
<img src="{$imgpath}/qrcode_wechat.jpg" style="width:100px;height:100px">
&nbsp;<img src="{$imgpath}/qrcode_qq.jpg" style="width:100px;height:100px">
<div style="clear:both;height:10px"></div>
</td></tr></tbody></table>
</div>
</div>