├── Application
├── index.html
├── Home
│ ├── index.html
│ ├── Conf
│ │ ├── index.html
│ │ └── config.php
│ ├── View
│ │ ├── index.html
│ │ ├── 20170117_offline.log
│ │ ├── Notice
│ │ │ └── index.html
│ │ ├── Support
│ │ │ └── index.html
│ │ ├── Contact
│ │ │ └── index.html
│ │ └── Common
│ │ │ └── Navigation.html
│ ├── Common
│ │ ├── index.html
│ │ └── Des
│ │ │ └── DES.php
│ ├── Model
│ │ └── index.html
│ └── Controller
│ │ ├── index.html
│ │ ├── SupportController.class.php
│ │ ├── NoticeController.class.php
│ │ ├── ContactController.class.php
│ │ ├── ManagesoftController.class.php
│ │ └── ModifypasswordController.class.php
├── Common
│ ├── index.html
│ └── Conf
│ │ ├── index.html
│ │ └── config.php
├── Index
│ ├── index.html
│ ├── Common
│ │ └── index.html
│ ├── Conf
│ │ ├── index.html
│ │ └── config.php
│ ├── Model
│ │ └── index.html
│ ├── Controller
│ │ ├── index.html
│ │ ├── IndexController.class.php
│ │ ├── IntroController.class.php
│ │ └── SdkController.class.php
│ └── View
│ │ ├── Sdk
│ │ └── phpwind
│ │ │ ├── Application
│ │ │ ├── index.html
│ │ │ ├── Home
│ │ │ │ ├── index.html
│ │ │ │ ├── Conf
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── config.php
│ │ │ │ ├── View
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── Notice
│ │ │ │ │ │ └── index.html
│ │ │ │ │ └── Contact
│ │ │ │ │ │ └── index.html
│ │ │ │ ├── Common
│ │ │ │ │ └── index.html
│ │ │ │ ├── Model
│ │ │ │ │ └── index.html
│ │ │ │ └── Controller
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── NoticeController.class.php
│ │ │ │ │ ├── ContactController.class.php
│ │ │ │ │ ├── ManagesoftController.class.php
│ │ │ │ │ └── ModifypasswordController.class.php
│ │ │ ├── Common
│ │ │ │ ├── index.html
│ │ │ │ └── Conf
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── config.php
│ │ │ ├── Index
│ │ │ │ ├── index.html
│ │ │ │ ├── Common
│ │ │ │ │ └── index.html
│ │ │ │ ├── Conf
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── config.php
│ │ │ │ ├── Model
│ │ │ │ │ └── index.html
│ │ │ │ ├── Controller
│ │ │ │ │ ├── index.html
│ │ │ │ │ ├── IndexController.class.php
│ │ │ │ │ ├── IntroController.class.php
│ │ │ │ │ └── SdkController.class.php
│ │ │ │ └── View
│ │ │ │ │ └── Common
│ │ │ │ │ └── bottom.html
│ │ │ └── Runtime
│ │ │ │ ├── index.html
│ │ │ │ ├── Data
│ │ │ │ ├── index.html
│ │ │ │ └── _fields
│ │ │ │ │ ├── cloud.cloud_notice.php
│ │ │ │ │ ├── cloud.cloud_trial.php
│ │ │ │ │ ├── cms.cms_manage.php
│ │ │ │ │ ├── cloud.cloud_user.php
│ │ │ │ │ ├── cloud.cloud_software.php
│ │ │ │ │ └── cloud.cloud_regcode.php
│ │ │ │ └── Logs
│ │ │ │ ├── Home
│ │ │ │ ├── 16_12_06.log
│ │ │ │ ├── 16_11_20.log
│ │ │ │ ├── 16_12_02.log
│ │ │ │ ├── 16_10_13.log
│ │ │ │ └── 16_12_12.log
│ │ │ │ └── Common
│ │ │ │ └── 16_11_30.log
│ │ │ ├── baidu_verify_ltdJP8g59L.html
│ │ │ ├── ThinkPHP
│ │ │ ├── Library
│ │ │ │ ├── Vendor
│ │ │ │ │ ├── README.txt
│ │ │ │ │ ├── spyc
│ │ │ │ │ │ ├── tests
│ │ │ │ │ │ │ ├── failing1.yaml
│ │ │ │ │ │ │ ├── comments.yaml
│ │ │ │ │ │ │ ├── quotes.yaml
│ │ │ │ │ │ │ └── indent_1.yaml
│ │ │ │ │ │ ├── examples
│ │ │ │ │ │ │ ├── yaml-load.php
│ │ │ │ │ │ │ └── yaml-dump.php
│ │ │ │ │ │ ├── composer.json
│ │ │ │ │ │ ├── php4
│ │ │ │ │ │ │ └── 5to4.php
│ │ │ │ │ │ ├── README.md
│ │ │ │ │ │ └── COPYING
│ │ │ │ │ ├── phpRPC
│ │ │ │ │ │ └── pecl
│ │ │ │ │ │ │ └── xxtea
│ │ │ │ │ │ │ ├── CREDITS
│ │ │ │ │ │ │ ├── config.w32
│ │ │ │ │ │ │ ├── config.m4
│ │ │ │ │ │ │ ├── test
│ │ │ │ │ │ │ └── test.php
│ │ │ │ │ │ │ ├── README
│ │ │ │ │ │ │ ├── php_xxtea.sln
│ │ │ │ │ │ │ └── xxtea.h
│ │ │ │ │ ├── Boris
│ │ │ │ │ │ ├── ExportInspector.php
│ │ │ │ │ │ ├── DumpInspector.php
│ │ │ │ │ │ └── Inspector.php
│ │ │ │ │ ├── Smarty
│ │ │ │ │ │ ├── plugins
│ │ │ │ │ │ │ ├── modifiercompiler.noprint.php
│ │ │ │ │ │ │ ├── variablefilter.htmlspecialchars.php
│ │ │ │ │ │ │ ├── modifiercompiler.string_format.php
│ │ │ │ │ │ │ ├── modifiercompiler.cat.php
│ │ │ │ │ │ │ ├── modifiercompiler.count_paragraphs.php
│ │ │ │ │ │ │ ├── modifier.spacify.php
│ │ │ │ │ │ │ ├── modifiercompiler.indent.php
│ │ │ │ │ │ │ ├── modifiercompiler.count_sentences.php
│ │ │ │ │ │ │ ├── modifiercompiler.strip_tags.php
│ │ │ │ │ │ │ ├── modifiercompiler.upper.php
│ │ │ │ │ │ │ ├── modifiercompiler.lower.php
│ │ │ │ │ │ │ ├── modifiercompiler.strip.php
│ │ │ │ │ │ │ ├── modifiercompiler.default.php
│ │ │ │ │ │ │ ├── modifiercompiler.to_charset.php
│ │ │ │ │ │ │ ├── modifiercompiler.from_charset.php
│ │ │ │ │ │ │ ├── modifier.replace.php
│ │ │ │ │ │ │ ├── modifiercompiler.count_characters.php
│ │ │ │ │ │ │ ├── modifiercompiler.count_words.php
│ │ │ │ │ │ │ ├── shared.literal_compiler_param.php
│ │ │ │ │ │ │ ├── shared.make_timestamp.php
│ │ │ │ │ │ │ └── modifiercompiler.unescape.php
│ │ │ │ │ │ └── sysplugins
│ │ │ │ │ │ │ ├── smarty_resource_recompiled.php
│ │ │ │ │ │ │ ├── smarty_internal_get_include_path.php
│ │ │ │ │ │ │ ├── smarty_internal_compile_ldelim.php
│ │ │ │ │ │ │ ├── smarty_internal_compile_rdelim.php
│ │ │ │ │ │ │ ├── smarty_internal_compile_debug.php
│ │ │ │ │ │ │ └── smarty_resource_uncompiled.php
│ │ │ │ │ ├── TemplateLite
│ │ │ │ │ │ └── internal
│ │ │ │ │ │ │ ├── template.build_dir.php
│ │ │ │ │ │ │ ├── compile.compile_custom_function.php
│ │ │ │ │ │ │ ├── template.generate_debug_output.php
│ │ │ │ │ │ │ ├── template.fetch_compile_include.php
│ │ │ │ │ │ │ ├── template.destroy_dir.php
│ │ │ │ │ │ │ └── compile.include.php
│ │ │ │ │ ├── EaseTemplate
│ │ │ │ │ │ └── template.ease.php
│ │ │ │ │ └── Hprose
│ │ │ │ │ │ └── HproseIO.php
│ │ │ │ ├── Think
│ │ │ │ │ ├── Verify
│ │ │ │ │ │ ├── bgs
│ │ │ │ │ │ │ ├── 1.jpg
│ │ │ │ │ │ │ ├── 2.jpg
│ │ │ │ │ │ │ ├── 3.jpg
│ │ │ │ │ │ │ ├── 4.jpg
│ │ │ │ │ │ │ ├── 5.jpg
│ │ │ │ │ │ │ ├── 6.jpg
│ │ │ │ │ │ │ ├── 7.jpg
│ │ │ │ │ │ │ └── 8.jpg
│ │ │ │ │ │ └── ttfs
│ │ │ │ │ │ │ ├── 1.ttf
│ │ │ │ │ │ │ ├── 2.ttf
│ │ │ │ │ │ │ ├── 3.ttf
│ │ │ │ │ │ │ ├── 4.ttf
│ │ │ │ │ │ │ ├── 5.ttf
│ │ │ │ │ │ │ └── 6.ttf
│ │ │ │ │ ├── Exception.class.php
│ │ │ │ │ ├── Behavior.class.php
│ │ │ │ │ ├── Template
│ │ │ │ │ │ └── Driver
│ │ │ │ │ │ │ └── Mobile.class.php
│ │ │ │ │ ├── Controller
│ │ │ │ │ │ ├── JsonRpcController.class.php
│ │ │ │ │ │ └── YarController.class.php
│ │ │ │ │ └── Storage.class.php
│ │ │ │ ├── Behavior
│ │ │ │ │ ├── AgentCheckBehavior.class.php
│ │ │ │ │ ├── WriteHtmlCacheBehavior.class.php
│ │ │ │ │ └── BrowserCheckBehavior.class.php
│ │ │ │ └── Org
│ │ │ │ │ └── Util
│ │ │ │ │ └── Stack.class.php
│ │ │ ├── logo.png
│ │ │ ├── Conf
│ │ │ │ └── debug.php
│ │ │ └── LICENSE.txt
│ │ │ ├── Public
│ │ │ ├── js
│ │ │ │ ├── index.js
│ │ │ │ └── common.js
│ │ │ └── image
│ │ │ │ ├── logo.png
│ │ │ │ ├── signxx.png
│ │ │ │ └── managesoft.jpg
│ │ │ ├── file
│ │ │ ├── 20161206_offline.log
│ │ │ ├── 20161211_offline.log
│ │ │ ├── 20161122_offline.log
│ │ │ ├── 20161205_offline.log
│ │ │ ├── 20161208_offline.log
│ │ │ ├── 20161213_offline.log
│ │ │ ├── 20161217_offline.log
│ │ │ ├── 20161125_offline.log
│ │ │ ├── 20161130_offline.log
│ │ │ ├── 20161202_offline.log
│ │ │ ├── 20161203_offline.log
│ │ │ ├── 20161207_offline.log
│ │ │ ├── 20161209_offline.log
│ │ │ ├── 20161210_offline.log
│ │ │ ├── 20161212_offline.log
│ │ │ ├── 20161126_offline.log
│ │ │ ├── 20161127_offline.log
│ │ │ ├── 20161128_offline.log
│ │ │ ├── 20161214_offline.log
│ │ │ ├── 20161215_offline.log
│ │ │ ├── 20161123_offline.log
│ │ │ ├── 20161204_offline.log
│ │ │ ├── 20161216_offline.log
│ │ │ ├── 20161124_offline.log
│ │ │ ├── 20161129_offline.log
│ │ │ ├── 20161219_offline.log
│ │ │ ├── 20161220_offline.log
│ │ │ ├── 20161218_offline.log
│ │ │ └── 20161201_offline.log
│ │ │ ├── favicon.ico
│ │ │ └── index.php
│ │ └── Common
│ │ └── bottom.html
└── Runtime
│ ├── index.html
│ └── Data
│ ├── index.html
│ └── _fields
│ ├── cms.cms_manage.php
│ ├── cloud.cloud_user.php
│ └── cloud.cloud_software.php
├── ThinkPHP
├── Library
│ ├── Vendor
│ │ ├── README.txt
│ │ ├── spyc
│ │ │ ├── tests
│ │ │ │ ├── failing1.yaml
│ │ │ │ ├── comments.yaml
│ │ │ │ ├── quotes.yaml
│ │ │ │ └── indent_1.yaml
│ │ │ ├── examples
│ │ │ │ ├── yaml-load.php
│ │ │ │ └── yaml-dump.php
│ │ │ ├── composer.json
│ │ │ ├── php4
│ │ │ │ └── 5to4.php
│ │ │ ├── README.md
│ │ │ └── COPYING
│ │ ├── phpRPC
│ │ │ └── pecl
│ │ │ │ └── xxtea
│ │ │ │ ├── CREDITS
│ │ │ │ ├── config.w32
│ │ │ │ ├── config.m4
│ │ │ │ ├── test
│ │ │ │ └── test.php
│ │ │ │ ├── README
│ │ │ │ ├── php_xxtea.sln
│ │ │ │ └── xxtea.h
│ │ ├── Boris
│ │ │ ├── ExportInspector.php
│ │ │ ├── DumpInspector.php
│ │ │ └── Inspector.php
│ │ ├── Smarty
│ │ │ ├── plugins
│ │ │ │ ├── modifiercompiler.noprint.php
│ │ │ │ ├── variablefilter.htmlspecialchars.php
│ │ │ │ ├── modifiercompiler.string_format.php
│ │ │ │ ├── modifiercompiler.cat.php
│ │ │ │ ├── modifiercompiler.count_paragraphs.php
│ │ │ │ ├── modifier.spacify.php
│ │ │ │ ├── modifiercompiler.indent.php
│ │ │ │ ├── modifiercompiler.count_sentences.php
│ │ │ │ ├── modifiercompiler.strip_tags.php
│ │ │ │ ├── modifiercompiler.upper.php
│ │ │ │ ├── modifiercompiler.lower.php
│ │ │ │ ├── modifiercompiler.strip.php
│ │ │ │ ├── modifiercompiler.default.php
│ │ │ │ ├── modifiercompiler.to_charset.php
│ │ │ │ ├── modifiercompiler.from_charset.php
│ │ │ │ ├── modifier.replace.php
│ │ │ │ ├── modifiercompiler.count_characters.php
│ │ │ │ ├── modifiercompiler.count_words.php
│ │ │ │ ├── shared.literal_compiler_param.php
│ │ │ │ ├── shared.make_timestamp.php
│ │ │ │ └── modifiercompiler.unescape.php
│ │ │ └── sysplugins
│ │ │ │ ├── smarty_resource_recompiled.php
│ │ │ │ ├── smarty_internal_get_include_path.php
│ │ │ │ ├── smarty_internal_compile_ldelim.php
│ │ │ │ ├── smarty_internal_compile_rdelim.php
│ │ │ │ ├── smarty_internal_compile_debug.php
│ │ │ │ └── smarty_resource_uncompiled.php
│ │ ├── TemplateLite
│ │ │ └── internal
│ │ │ │ ├── template.build_dir.php
│ │ │ │ ├── compile.compile_custom_function.php
│ │ │ │ ├── template.generate_debug_output.php
│ │ │ │ ├── template.fetch_compile_include.php
│ │ │ │ ├── template.destroy_dir.php
│ │ │ │ └── compile.include.php
│ │ ├── EaseTemplate
│ │ │ └── template.ease.php
│ │ └── Hprose
│ │ │ └── HproseIO.php
│ ├── Think
│ │ ├── Verify
│ │ │ ├── bgs
│ │ │ │ ├── 1.jpg
│ │ │ │ ├── 2.jpg
│ │ │ │ ├── 3.jpg
│ │ │ │ ├── 4.jpg
│ │ │ │ ├── 5.jpg
│ │ │ │ ├── 6.jpg
│ │ │ │ ├── 7.jpg
│ │ │ │ └── 8.jpg
│ │ │ └── ttfs
│ │ │ │ ├── 1.ttf
│ │ │ │ ├── 2.ttf
│ │ │ │ ├── 3.ttf
│ │ │ │ ├── 4.ttf
│ │ │ │ ├── 5.ttf
│ │ │ │ └── 6.ttf
│ │ ├── Exception.class.php
│ │ ├── Behavior.class.php
│ │ ├── Template
│ │ │ └── Driver
│ │ │ │ ├── Mobile.class.php
│ │ │ │ └── Lite.class.php
│ │ ├── Controller
│ │ │ ├── JsonRpcController.class.php
│ │ │ └── YarController.class.php
│ │ └── Storage.class.php
│ ├── Behavior
│ │ ├── AgentCheckBehavior.class.php
│ │ ├── WriteHtmlCacheBehavior.class.php
│ │ └── BrowserCheckBehavior.class.php
│ └── Org
│ │ └── Util
│ │ └── Stack.class.php
├── logo.png
├── Conf
│ └── debug.php
└── LICENSE.txt
├── Public
├── js
│ ├── index.js
│ └── common.js
└── image
│ ├── logo.png
│ ├── qrcode.png
│ ├── signxx.png
│ └── managesoft.jpg
├── favicon.ico
├── .htaccess
├── .idea
├── misc.xml
├── modules.xml
├── tuwei.iml
└── deployment.xml
├── README.md
├── index.php
└── LICENSE
/Application/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/View/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Runtime/Data/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/README.txt:
--------------------------------------------------------------------------------
1 | 第三方类库包目录
--------------------------------------------------------------------------------
/Public/js/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * 官网首页用的js
3 | */
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/View/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Common/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Data/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/baidu_verify_ltdJP8g59L.html:
--------------------------------------------------------------------------------
1 | ltdJP8g59L
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/favicon.ico
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/README.txt:
--------------------------------------------------------------------------------
1 | 第三方类库包目录
--------------------------------------------------------------------------------
/Application/Index/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | );
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/failing1.yaml:
--------------------------------------------------------------------------------
1 | MyObject:
2 | Prop1: {key1:val1}
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Public/js/index.js:
--------------------------------------------------------------------------------
1 | /**
2 | * 官网首页用的js
3 | */
4 |
--------------------------------------------------------------------------------
/ThinkPHP/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/logo.png
--------------------------------------------------------------------------------
/Public/image/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Public/image/logo.png
--------------------------------------------------------------------------------
/Public/image/qrcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Public/image/qrcode.png
--------------------------------------------------------------------------------
/Public/image/signxx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Public/image/signxx.png
--------------------------------------------------------------------------------
/Public/image/managesoft.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Public/image/managesoft.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/CREDITS:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 | Ma Bingyao (andot@coolcode.cn)
3 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | );
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/tests/failing1.yaml:
--------------------------------------------------------------------------------
1 | MyObject:
2 | Prop1: {key1:val1}
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/comments.yaml:
--------------------------------------------------------------------------------
1 | foo: 'bar' #Comment
2 | arr: ['x', 'y', 'z'] # Comment here
3 | bar: kittens
--------------------------------------------------------------------------------
/Application/Index/View/Common/bottom.html:
--------------------------------------------------------------------------------
1 |
2 | Copyright © 2019 粤ICP备19040606号-1 土味免费网络验证
3 |
4 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/1.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/2.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/3.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/4.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/5.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/6.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/7.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/bgs/8.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/1.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/ttfs/1.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/2.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/ttfs/2.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/3.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/ttfs/3.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/4.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/ttfs/4.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/5.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/ttfs/5.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/6.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/ThinkPHP/Library/Think/Verify/ttfs/6.ttf
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161206_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 51EABAE46E83756826B80B998D89FB9C
3 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161211_offline.log:
--------------------------------------------------------------------------------
1 | CF6534F4E4A9BC42B8486204CFB89764
2 | C79033E7620C902D797292156CDC7C9A
3 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/CREDITS:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 | Ma Bingyao (andot@coolcode.cn)
3 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/favicon.ico
--------------------------------------------------------------------------------
/Public/js/common.js:
--------------------------------------------------------------------------------
1 | function create_code(){
2 | document.getElementById('valid').src = '/Home/login/getVerifyImg?' + Math.random() * 10000;
3 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/logo.png
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/View/Common/bottom.html:
--------------------------------------------------------------------------------
1 |
2 | Copyright © 2016 浙ICP备16035010号-1 土味免费网络验证
3 |
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Public/image/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/Public/image/logo.png
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/tests/comments.yaml:
--------------------------------------------------------------------------------
1 | foo: 'bar' #Comment
2 | arr: ['x', 'y', 'z'] # Comment here
3 | bar: kittens
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Logs/Home/16_12_06.log:
--------------------------------------------------------------------------------
1 | [ 2016-12-06T16:25:44+08:00 ] 223.104.25.242 /Home/&p=p
2 | ERR: 无法加载控制器:&p=p
3 |
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Public/image/signxx.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/Public/image/signxx.png
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161122_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 404A36B11A3D20DC30571CDDED75C6D4
3 | 61D646A65A337AECDC41BAF764260C50
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161205_offline.log:
--------------------------------------------------------------------------------
1 | 0079121025BD37B0BF1797EC5BAC6B22
2 | A3E4A6C71B5B952041E7B1805E5CC234
3 | 24E17C362C8520AB87D603BE83D7E36E
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161208_offline.log:
--------------------------------------------------------------------------------
1 | 51EABAE46E83756826B80B998D89FB9C
2 | A3E4A6C71B5B952041E7B1805E5CC234
3 | 446F20CF3D84B0F74F9271558FA6782C
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161213_offline.log:
--------------------------------------------------------------------------------
1 | 0FB386718ED2412DDF161DEDA6DBD8D1
2 | CF6534F4E4A9BC42B8486204CFB89764
3 | C79033E7620C902D797292156CDC7C9A
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161217_offline.log:
--------------------------------------------------------------------------------
1 | 35E3120370AD30EA5D3B62C73FBB68CB
2 | 0FB386718ED2412DDF161DEDA6DBD8D1
3 | 51EABAE46E83756826B80B998D89FB9C
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Public/image/managesoft.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/Public/image/managesoft.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Logs/Home/16_11_20.log:
--------------------------------------------------------------------------------
1 | [ 2016-11-20T04:51:41+08:00 ] 85.25.197.231 /home/wp-login.php
2 | ERR: 无法加载控制器:Wp-login.php
3 |
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Logs/Home/16_12_02.log:
--------------------------------------------------------------------------------
1 | [ 2016-12-02T12:30:30+08:00 ] 187.18.124.240 /home/wp-login.php
2 | ERR: 无法加载控制器:Wp-login.php
3 |
4 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Public/js/common.js:
--------------------------------------------------------------------------------
1 | function create_code(){
2 | document.getElementById('valid').src = '/Home/login/getVerifyImg?' + Math.random() * 10000;
3 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/quotes.yaml:
--------------------------------------------------------------------------------
1 | html_tags:
2 | -
3 | -
4 | html_content:
5 | -
hello world
6 | - hello
world
7 | text_content:
8 | - hello world
--------------------------------------------------------------------------------
/Application/Home/View/20170117_offline.log:
--------------------------------------------------------------------------------
1 | 86AC0DA6A38250D594561677C2F631AC
2 | 1348387DC9EE2276EED4E9E238101272
3 | 891F42E3C6BD8960BED1A5F5C61DE15D
4 | 6E0498A9377CB9947AC4A2886B53EF5B
5 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/config.w32:
--------------------------------------------------------------------------------
1 | ARG_ENABLE("xxtea", "xxtea module", "no");
2 |
3 | if (PHP_XXTEA != "no") {
4 | EXTENSION("xxtea", "php_xxtea.c xxtea.c");
5 | }
6 |
7 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/1.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/2.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/3.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/4.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/5.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/6.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/7.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/bgs/8.jpg
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/1.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/1.ttf
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/2.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/2.ttf
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/3.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/3.ttf
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/4.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/4.ttf
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/5.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/5.ttf
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/6.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/koala9527/tuwei/HEAD/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Verify/ttfs/6.ttf
--------------------------------------------------------------------------------
/.htaccess:
--------------------------------------------------------------------------------
1 |
2 | RewriteEngine on
3 | RewriteCond %{REQUEST_FILENAME} !-d
4 | RewriteCond %{REQUEST_FILENAME} !-f
5 | RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
6 |
7 |
--------------------------------------------------------------------------------
/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161125_offline.log:
--------------------------------------------------------------------------------
1 | F5FC8CFABA91706197E0D76D9F0145A2
2 | 404A36B11A3D20DC30571CDDED75C6D4
3 | 51EABAE46E83756826B80B998D89FB9C
4 | 179B471659350FFD5F4C6DDF72FE48D3
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161130_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 0079121025BD37B0BF1797EC5BAC6B22
3 | 37C8E636829D55DA3A1F1A3E605F0DE5
4 | 03BE2B65C7A1A9F7B3136EEBEC05E650
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161202_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 51EABAE46E83756826B80B998D89FB9C
3 | B969EE65707F12CC1AA806D0F483EA41
4 | 50AA1327E13265374B95C70BE3C68423
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161203_offline.log:
--------------------------------------------------------------------------------
1 | 0079121025BD37B0BF1797EC5BAC6B22
2 | 51EABAE46E83756826B80B998D89FB9C
3 | CF6534F4E4A9BC42B8486204CFB89764
4 | 24E17C362C8520AB87D603BE83D7E36E
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161207_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 51EABAE46E83756826B80B998D89FB9C
3 | BC2A6C768019FA7704C4ABE29DDFE5E4
4 | CF6534F4E4A9BC42B8486204CFB89764
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161209_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 51EABAE46E83756826B80B998D89FB9C
3 | CF6534F4E4A9BC42B8486204CFB89764
4 | 446F20CF3D84B0F74F9271558FA6782C
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161210_offline.log:
--------------------------------------------------------------------------------
1 | 51EABAE46E83756826B80B998D89FB9C
2 | BC2A6C768019FA7704C4ABE29DDFE5E4
3 | 24E17C362C8520AB87D603BE83D7E36E
4 | 446F20CF3D84B0F74F9271558FA6782C
5 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161212_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 0FB386718ED2412DDF161DEDA6DBD8D1
3 | CF6534F4E4A9BC42B8486204CFB89764
4 | 9BF541D3DE08E1302163C05C34306F85
5 |
--------------------------------------------------------------------------------
/Application/Common/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
3 | 'MODULE_ALLOW_LIST' => array('Home','Index'),
4 | 'DEFAULT_MODULE' => 'Index',
5 | 'URL_MODEL' => 2,
6 | );
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/tests/quotes.yaml:
--------------------------------------------------------------------------------
1 | html_tags:
2 | -
3 | -
4 | html_content:
5 | -
hello world
6 | - hello
world
7 | text_content:
8 | - hello world
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/config.w32:
--------------------------------------------------------------------------------
1 | ARG_ENABLE("xxtea", "xxtea module", "no");
2 |
3 | if (PHP_XXTEA != "no") {
4 | EXTENSION("xxtea", "php_xxtea.c xxtea.c");
5 | }
6 |
7 |
--------------------------------------------------------------------------------
/Application/Index/Controller/IndexController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 | }
--------------------------------------------------------------------------------
/Application/Index/Controller/IntroController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 | }
--------------------------------------------------------------------------------
/Application/Index/Controller/SdkController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Common/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
3 | 'MODULE_ALLOW_LIST' => array('Home','Index'),
4 | 'DEFAULT_MODULE' => 'Index',
5 | 'URL_MODEL' => 2,
6 | );
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161126_offline.log:
--------------------------------------------------------------------------------
1 | F5FC8CFABA91706197E0D76D9F0145A2
2 | 404A36B11A3D20DC30571CDDED75C6D4
3 | 0079121025BD37B0BF1797EC5BAC6B22
4 | 51EABAE46E83756826B80B998D89FB9C
5 | 37C8E636829D55DA3A1F1A3E605F0DE5
6 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161127_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 51EABAE46E83756826B80B998D89FB9C
3 | 179B471659350FFD5F4C6DDF72FE48D3
4 | 5C642110BF164F595A2FAB56ED618869
5 | 1ED40DDB600324C6800B42C967AFF061
6 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161128_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 0079121025BD37B0BF1797EC5BAC6B22
3 | 51EABAE46E83756826B80B998D89FB9C
4 | 1ED40DDB600324C6800B42C967AFF061
5 | 03BE2B65C7A1A9F7B3136EEBEC05E650
6 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161214_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 35E3120370AD30EA5D3B62C73FBB68CB
3 | 51EABAE46E83756826B80B998D89FB9C
4 | CF6534F4E4A9BC42B8486204CFB89764
5 | 9EC07E4001C4B4609CD71A173E620489
6 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161215_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 35E3120370AD30EA5D3B62C73FBB68CB
3 | 0FB386718ED2412DDF161DEDA6DBD8D1
4 | 51EABAE46E83756826B80B998D89FB9C
5 | CF6534F4E4A9BC42B8486204CFB89764
6 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Controller/IndexController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Controller/IntroController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Index/Controller/SdkController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161123_offline.log:
--------------------------------------------------------------------------------
1 | 61D646A65A337AECDC41BAF764260C50
2 | 0079121025BD37B0BF1797EC5BAC6B22
3 | BDF8C65DB7020D18628BB9AED9D72810
4 | E6A379616729FCF5692E0A4149755096
5 | 51EABAE46E83756826B80B998D89FB9C
6 | BC2A6C768019FA7704C4ABE29DDFE5E4
7 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161204_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 51EABAE46E83756826B80B998D89FB9C
3 | 4725ECE2DBFAF8AE46253FC239490A2B
4 | 9F1E6C8197703B689DE3B190C1B214FC
5 | CF6534F4E4A9BC42B8486204CFB89764
6 | 24E17C362C8520AB87D603BE83D7E36E
7 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161216_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 0FB386718ED2412DDF161DEDA6DBD8D1
3 | 51EABAE46E83756826B80B998D89FB9C
4 | CF6534F4E4A9BC42B8486204CFB89764
5 | C79033E7620C902D797292156CDC7C9A
6 | 648DC54E3129C4DA3318E102E9481899
7 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/config.m4:
--------------------------------------------------------------------------------
1 | PHP_ARG_ENABLE(xxtea, xxtea module,
2 | [ --enable-xxtea Enable xxtea module.])
3 |
4 | if test "$PHP_XXTEA" != "no"; then
5 | PHP_NEW_EXTENSION(xxtea, php_xxtea.c xxtea.c, $ext_shared)
6 | AC_DEFINE(HAVE_XXTEA, 1, [Have XXTEA library])
7 | fi
8 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161124_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | F5FC8CFABA91706197E0D76D9F0145A2
3 | 404A36B11A3D20DC30571CDDED75C6D4
4 | 61D646A65A337AECDC41BAF764260C50
5 | BDF8C65DB7020D18628BB9AED9D72810
6 | E6A379616729FCF5692E0A4149755096
7 | 51EABAE46E83756826B80B998D89FB9C
8 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161129_offline.log:
--------------------------------------------------------------------------------
1 | 58C93658E76ABFEBECF378D01FA2B325
2 | EDE82A713FD96FE0016E2907F5AE9778
3 | 404A36B11A3D20DC30571CDDED75C6D4
4 | 0079121025BD37B0BF1797EC5BAC6B22
5 | 51EABAE46E83756826B80B998D89FB9C
6 | A28492A81AEB5C822F9F053142088BCF
7 | 03BE2B65C7A1A9F7B3136EEBEC05E650
8 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161219_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 86AC0DA6A38250D594561677C2F631AC
3 | 35E3120370AD30EA5D3B62C73FBB68CB
4 | 0FB386718ED2412DDF161DEDA6DBD8D1
5 | F1C44158A496A8E9029A5ED3FA1EF6B2
6 | CF6534F4E4A9BC42B8486204CFB89764
7 | C79033E7620C902D797292156CDC7C9A
8 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161220_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 86AC0DA6A38250D594561677C2F631AC
3 | 0B545E09CE3DDE6988E076D6760876E2
4 | C5F73B241EFF0BC7D632D203127220C1
5 | 35E3120370AD30EA5D3B62C73FBB68CB
6 | 0FB386718ED2412DDF161DEDA6DBD8D1
7 | CF6534F4E4A9BC42B8486204CFB89764
8 |
--------------------------------------------------------------------------------
/.idea/tuwei.iml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Data/_fields/cloud.cloud_notice.php:
--------------------------------------------------------------------------------
1 | a:6:{i:0;s:2:"id";i:1;s:10:"creat_time";i:2;s:5:"title";i:3;s:7:"content";s:3:"_pk";s:2:"id";s:5:"_type";a:4:{s:2:"id";s:16:"int(11) unsigned";s:10:"creat_time";s:11:"varchar(20)";s:5:"title";s:12:"varchar(200)";s:7:"content";s:12:"varchar(200)";}}
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/config.m4:
--------------------------------------------------------------------------------
1 | PHP_ARG_ENABLE(xxtea, xxtea module,
2 | [ --enable-xxtea Enable xxtea module.])
3 |
4 | if test "$PHP_XXTEA" != "no"; then
5 | PHP_NEW_EXTENSION(xxtea, php_xxtea.c xxtea.c, $ext_shared)
6 | AC_DEFINE(HAVE_XXTEA, 1, [Have XXTEA library])
7 | fi
8 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161218_offline.log:
--------------------------------------------------------------------------------
1 | 949F4358A1A3150462DBEAC6EFB62B96
2 | 0B545E09CE3DDE6988E076D6760876E2
3 | 35E3120370AD30EA5D3B62C73FBB68CB
4 | 0FB386718ED2412DDF161DEDA6DBD8D1
5 | 932DD314DE2DCBC13D10DBA10DAD6C62
6 | CF6534F4E4A9BC42B8486204CFB89764
7 | C79033E7620C902D797292156CDC7C9A
8 | 648DC54E3129C4DA3318E102E9481899
9 |
--------------------------------------------------------------------------------
/Application/Home/Controller/SupportController.class.php:
--------------------------------------------------------------------------------
1 | assign('support_selected', 'selected');
11 | $this->display();
12 | }
13 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/file/20161201_offline.log:
--------------------------------------------------------------------------------
1 | EDE82A713FD96FE0016E2907F5AE9778
2 | 949F4358A1A3150462DBEAC6EFB62B96
3 | 0079121025BD37B0BF1797EC5BAC6B22
4 | 51EABAE46E83756826B80B998D89FB9C
5 | DDAB41F2215B00A2B91A27BD7C6D2C05
6 | 8BDC38D5D12B244446D5D9CDD7A85328
7 | 6B495151273D871B67C1652BD552CF1E
8 | 50AA1327E13265374B95C70BE3C68423
9 | FB34C4152EAE3E6CF6D47A0AB94EF8B8
10 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Boris/ExportInspector.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Boris/ExportInspector.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/test/test.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Boris/DumpInspector.php:
--------------------------------------------------------------------------------
1 | spyc.yaml loaded into PHP:
';
15 | print_r($array);
16 | echo '';
17 |
18 |
19 | echo 'YAML Data dumped back:
';
20 | echo Spyc::YAMLDump($array);
21 | echo '
';
22 |
--------------------------------------------------------------------------------
/Application/Home/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 |
5 | 'DB_TYPE' => 'mysql', 'DB_HOST' => '127.0.0.1', // 服务器地址
6 | 'DB_NAME' => 'cloud', // 数据库名
7 | 'DB_USER' => '', // 用户名
8 | 'DB_PWD' => '', // 密码
9 | 'DB_PORT' => 3306, // 端口
10 | 'DB_PREFIX' => 'cloud_', // 数据库表前缀
11 | 'DB_CHARSET' => 'utf8', // 字符集
12 | 'DB_DEBUG' => TRUE, // 数据库调试模式 开启后可以记录SQL日志 3.2.3新增
13 | // 'SHOW_PAGE_TRACE'=>True, // 调试工具显示
14 | 'SESSION_AUTO_START' => true, // 开启SESSION
15 |
16 | );
17 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Data/_fields/cms.cms_manage.php:
--------------------------------------------------------------------------------
1 | a:10:{i:0;s:2:"id";i:1;s:10:"admin_user";i:2;s:10:"admin_pass";i:3;s:5:"level";i:4;s:11:"login_count";i:5;s:7:"last_ip";i:6;s:9:"last_time";i:7;s:8:"reg_time";s:3:"_pk";s:2:"id";s:5:"_type";a:8:{s:2:"id";s:21:"mediumint(8) unsigned";s:10:"admin_user";s:11:"varchar(20)";s:10:"admin_pass";s:8:"char(40)";s:5:"level";s:19:"tinyint(1) unsigned";s:11:"login_count";s:20:"smallint(5) unsigned";s:7:"last_ip";s:11:"varchar(20)";s:9:"last_time";s:8:"datetime";s:8:"reg_time";s:8:"datetime";}}
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/examples/yaml-load.php:
--------------------------------------------------------------------------------
1 | spyc.yaml loaded into PHP:
';
15 | print_r($array);
16 | echo '';
17 |
18 |
19 | echo 'YAML Data dumped back:
';
20 | echo Spyc::YAMLDump($array);
21 | echo '
';
22 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.noprint.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: noprint
14 | * Purpose: return an empty string
15 | *
16 | * @author Uwe Tews
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_noprint($params, $compiler)
21 | {
22 | return "''";
23 | }
24 |
25 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 |
5 | 'DB_TYPE' => 'mysql', 'DB_HOST' => '139.196.164.40', // 服务器地址
6 | 'DB_NAME' => 'cloud', // 数据库名
7 | 'DB_USER' => 'root', // 用户名
8 | 'DB_PWD' => 'aifeifei', // 密码
9 | 'DB_PORT' => 3306, // 端口
10 | 'DB_PREFIX' => 'cloud_', // 数据库表前缀
11 | 'DB_CHARSET' => 'utf8', // 字符集
12 | 'DB_DEBUG' => TRUE, // 数据库调试模式 开启后可以记录SQL日志 3.2.3新增
13 | // 'SHOW_PAGE_TRACE'=>True, // 调试工具显示
14 | 'SESSION_AUTO_START' => true, // 开启SESSION
15 |
16 | );
17 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/variablefilter.htmlspecialchars.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Logs/Common/16_11_30.log:
--------------------------------------------------------------------------------
1 | [ 2016-11-30T16:20:18+08:00 ] 101.226.66.172 /HOME
2 | ERR: 无法加载模块:HOME
3 |
4 | [ 2016-11-30T16:20:18+08:00 ] 117.185.27.115 /HOME/LOGIN
5 | ERR: 无法加载模块:HOME
6 |
7 | [ 2016-11-30T16:20:24+08:00 ] 101.226.33.224 /HOME/LOGIN/GETVERIFYIMG
8 | ERR: 无法加载模块:HOME
9 |
10 | [ 2016-11-30T18:20:39+08:00 ] 180.153.214.199 /HOME/CREATECODE?SOFTNAME=卧虎藏龙&COUNT=1&TIME=3&TIME_TYPE=DAY&MARK=&CREAT_TYPE=0&PRODUCE=
11 | ERR: 无法加载模块:HOME
12 |
13 | [ 2016-11-30T18:20:48+08:00 ] 180.153.201.79 /HOME/CREATECODE
14 | ERR: 无法加载模块:HOME
15 |
16 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.noprint.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: noprint
14 | * Purpose: return an empty string
15 | *
16 | * @author Uwe Tews
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_noprint($params, $compiler)
21 | {
22 | return "''";
23 | }
24 |
25 | ?>
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 土味网络验证系统
2 |
3 | ## php, des加解密,rsa非对称加密,心跳验证
4 |
5 | ## js对接验证例子已经完成,验证测试例子网址:https://github.com/koala9527/tw_js
6 | ## 开源原因
7 | 二次开发github其他项目,其他项目停止维护了
8 |
9 | 本项目地址:https://tw.twgcs.xyz/
10 |
11 | 原项目的相关附件,没有修改
12 | https://pan.baidu.com/s/1cB4hZhPcHlgsS2XjXrnB6A 提取码:5kuq
13 |
14 |
15 | ## 这个东西是干嘛的?
16 |
17 | 用途是给js所写的游戏脚本的进行收费管理
18 |
19 | ## 详细功能介绍
20 |
21 | 服务端(php)介绍:
22 |
23 | * 官网,用于展示、注册登录、忘记密码等;
24 | * 后台网站,用户统计、软件管理、注册码管理、推荐人规则等功能;
25 | * 供客户端调用的接口,请求数据使用rsa和des加解密,确保封包安全;
26 |
27 | 客户端(dll)介绍:
28 |
29 | * 登录;
30 | * 试用;
31 | * 解绑;
32 | * 离线;
33 | * 推荐人加时;
34 |
35 | ## 客户端接口(供脚本调用)
36 |
37 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/variablefilter.htmlspecialchars.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/template.build_dir.php:
--------------------------------------------------------------------------------
1 | _get_dir($dir);
15 | }
16 | $_result = $object->_get_dir($dir);
17 | foreach($_args as $value)
18 | {
19 | $_result .= $value.DIRECTORY_SEPARATOR;
20 | if (!is_dir($_result))
21 | {
22 | @mkdir($_result, 0777);
23 | }
24 | }
25 | return $_result;
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/TemplateLite/internal/template.build_dir.php:
--------------------------------------------------------------------------------
1 | _get_dir($dir);
15 | }
16 | $_result = $object->_get_dir($dir);
17 | foreach($_args as $value)
18 | {
19 | $_result .= $value.DIRECTORY_SEPARATOR;
20 | if (!is_dir($_result))
21 | {
22 | @mkdir($_result, 0777);
23 | }
24 | }
25 | return $_result;
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/Application/Runtime/Data/_fields/cloud.cloud_user.php:
--------------------------------------------------------------------------------
1 | a:13:{i:0;s:2:"id";i:1;s:8:"username";i:2;s:8:"password";i:3;s:5:"email";i:4;s:8:"reg_time";i:5;s:14:"lastlogin_time";i:6;s:12:"lastlogin_ip";i:7;s:17:"currentlogin_time";i:8;s:15:"currentlogin_ip";i:9;s:11:"login_count";i:10;s:11:"forget_time";s:3:"_pk";s:2:"id";s:5:"_type";a:11:{s:2:"id";s:16:"int(10) unsigned";s:8:"username";s:11:"varchar(20)";s:8:"password";s:8:"char(40)";s:5:"email";s:11:"varchar(30)";s:8:"reg_time";s:8:"datetime";s:14:"lastlogin_time";s:8:"datetime";s:12:"lastlogin_ip";s:11:"varchar(20)";s:17:"currentlogin_time";s:8:"datetime";s:15:"currentlogin_ip";s:11:"varchar(20)";s:11:"login_count";s:16:"int(10) unsigned";s:11:"forget_time";s:8:"datetime";}}
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mustangostang/spyc",
3 | "description": "A simple YAML loader/dumper class for PHP",
4 | "type": "library",
5 | "keywords": [
6 | "spyc",
7 | "yaml",
8 | "yml"
9 | ],
10 | "homepage": "https://github.com/mustangostang/spyc/",
11 | "authors" : [{
12 | "name": "mustangostang",
13 | "email": "vlad.andersen@gmail.com"
14 | }],
15 | "license": "MIT",
16 | "require": {
17 | "php": ">=5.3.1"
18 | },
19 | "autoload": {
20 | "files": [ "Spyc.php" ]
21 | },
22 | "extra": {
23 | "branch-alias": {
24 | "dev-master": "0.5.x-dev"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Data/_fields/cloud.cloud_user.php:
--------------------------------------------------------------------------------
1 | a:13:{i:0;s:2:"id";i:1;s:8:"username";i:2;s:8:"password";i:3;s:5:"email";i:4;s:8:"reg_time";i:5;s:14:"lastlogin_time";i:6;s:12:"lastlogin_ip";i:7;s:17:"currentlogin_time";i:8;s:15:"currentlogin_ip";i:9;s:11:"login_count";i:10;s:11:"forget_time";s:3:"_pk";s:2:"id";s:5:"_type";a:11:{s:2:"id";s:16:"int(10) unsigned";s:8:"username";s:11:"varchar(20)";s:8:"password";s:8:"char(40)";s:5:"email";s:11:"varchar(30)";s:8:"reg_time";s:8:"datetime";s:14:"lastlogin_time";s:8:"datetime";s:12:"lastlogin_ip";s:11:"varchar(20)";s:17:"currentlogin_time";s:8:"datetime";s:15:"currentlogin_ip";s:11:"varchar(20)";s:11:"login_count";s:16:"int(10) unsigned";s:11:"forget_time";s:8:"datetime";}}
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.string_format.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: string_format
14 | * Purpose: format strings via sprintf
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_string_format($params, $compiler)
22 | {
23 | return 'sprintf(' . $params[1] . ',' . $params[0] . ')';
24 | }
25 |
26 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mustangostang/spyc",
3 | "description": "A simple YAML loader/dumper class for PHP",
4 | "type": "library",
5 | "keywords": [
6 | "spyc",
7 | "yaml",
8 | "yml"
9 | ],
10 | "homepage": "https://github.com/mustangostang/spyc/",
11 | "authors" : [{
12 | "name": "mustangostang",
13 | "email": "vlad.andersen@gmail.com"
14 | }],
15 | "license": "MIT",
16 | "require": {
17 | "php": ">=5.3.1"
18 | },
19 | "autoload": {
20 | "files": [ "Spyc.php" ]
21 | },
22 | "extra": {
23 | "branch-alias": {
24 | "dev-master": "0.5.x-dev"
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Exception.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | /**
13 | * ThinkPHP系统异常基类
14 | */
15 | class Exception extends \Exception {
16 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.string_format.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: string_format
14 | * Purpose: format strings via sprintf
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_string_format($params, $compiler)
22 | {
23 | return 'sprintf(' . $params[1] . ',' . $params[0] . ')';
24 | }
25 |
26 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Exception.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | /**
13 | * ThinkPHP系统异常基类
14 | */
15 | class Exception extends \Exception {
16 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.cat.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: cat
14 | * Date: Feb 24, 2003
15 | * Purpose: catenate a value to a variable
16 | * Input: string to catenate
17 | * Example: {$var|cat:"foo"}
18 | *
19 | * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
20 | * (Smarty online manual)
21 | * @author Uwe Tews
22 | * @param array $params parameters
23 | * @return string with compiled code
24 | */
25 | function smarty_modifiercompiler_cat($params, $compiler)
26 | {
27 | return '('.implode(').(', $params).')';
28 | }
29 |
30 | ?>
--------------------------------------------------------------------------------
/Application/Runtime/Data/_fields/cloud.cloud_software.php:
--------------------------------------------------------------------------------
1 | a:15:{i:0;s:2:"id";i:1;s:4:"name";i:2;s:7:"version";i:3;s:4:"info";i:4;s:10:"update_url";i:5;s:11:"create_time";i:6;s:7:"user_id";i:7;s:11:"try_minutes";i:8;s:9:"try_count";i:9;s:10:"updatemode";i:10;s:8:"bindmode";i:11;s:10:"unbindmode";i:12;s:6:"frozen";s:3:"_pk";s:2:"id";s:5:"_type";a:13:{s:2:"id";s:16:"int(10) unsigned";s:4:"name";s:11:"varchar(20)";s:7:"version";s:11:"varchar(10)";s:4:"info";s:11:"varchar(45)";s:10:"update_url";s:11:"varchar(45)";s:11:"create_time";s:8:"datetime";s:7:"user_id";s:16:"int(10) unsigned";s:11:"try_minutes";s:16:"int(10) unsigned";s:9:"try_count";s:16:"int(10) unsigned";s:10:"updatemode";s:21:"mediumint(1) unsigned";s:8:"bindmode";s:21:"mediumint(1) unsigned";s:10:"unbindmode";s:21:"mediumint(1) unsigned";s:6:"frozen";s:21:"mediumint(1) unsigned";}}
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/php4/5to4.php:
--------------------------------------------------------------------------------
1 | ', $code);
13 | $f = fopen ($dest, 'w');
14 | fwrite($f, $code);
15 | fclose ($f);
16 | print "Written to $dest.\n";
17 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/README:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 |
3 | What is it?
4 | -----------------------------------------------
5 | This extension based on xxtea library, which provides a set of functions
6 | for encrypt or decrypt data with XXTEA algorithm.
7 |
8 |
9 |
10 | How to install it?
11 | -----------------------------------------------
12 | See INSTALL for installation instructions.
13 |
14 |
15 |
16 | How to use it?
17 | -----------------------------------------------
18 | string xxtea_encrypt(string data, string key)
19 |
20 | Encrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.
21 |
22 | string xxtea_decrypt(string data, string key)
23 |
24 | Decrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.
25 |
26 | string xxtea_info()
27 |
28 | Get the version information.
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.cat.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: cat
14 | * Date: Feb 24, 2003
15 | * Purpose: catenate a value to a variable
16 | * Input: string to catenate
17 | * Example: {$var|cat:"foo"}
18 | *
19 | * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat
20 | * (Smarty online manual)
21 | * @author Uwe Tews
22 | * @param array $params parameters
23 | * @return string with compiled code
24 | */
25 | function smarty_modifiercompiler_cat($params, $compiler)
26 | {
27 | return '('.implode(').(', $params).')';
28 | }
29 |
30 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Data/_fields/cloud.cloud_software.php:
--------------------------------------------------------------------------------
1 | a:15:{i:0;s:2:"id";i:1;s:4:"name";i:2;s:7:"version";i:3;s:4:"info";i:4;s:10:"update_url";i:5;s:11:"create_time";i:6;s:7:"user_id";i:7;s:11:"try_minutes";i:8;s:9:"try_count";i:9;s:10:"updatemode";i:10;s:8:"bindmode";i:11;s:10:"unbindmode";i:12;s:6:"frozen";s:3:"_pk";s:2:"id";s:5:"_type";a:13:{s:2:"id";s:16:"int(10) unsigned";s:4:"name";s:11:"varchar(20)";s:7:"version";s:11:"varchar(10)";s:4:"info";s:11:"varchar(45)";s:10:"update_url";s:11:"varchar(45)";s:11:"create_time";s:8:"datetime";s:7:"user_id";s:16:"int(10) unsigned";s:11:"try_minutes";s:16:"int(10) unsigned";s:9:"try_count";s:16:"int(10) unsigned";s:10:"updatemode";s:21:"mediumint(1) unsigned";s:8:"bindmode";s:21:"mediumint(1) unsigned";s:10:"unbindmode";s:21:"mediumint(1) unsigned";s:6:"frozen";s:21:"mediumint(1) unsigned";}}
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/php4/5to4.php:
--------------------------------------------------------------------------------
1 | ', $code);
13 | $f = fopen ($dest, 'w');
14 | fwrite($f, $code);
15 | fclose ($f);
16 | print "Written to $dest.\n";
17 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_paragraphs.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_paragraphs
14 | * Purpose: count the number of paragraphs in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
17 | * count_paragraphs (Smarty online manual)
18 | * @author Uwe Tews
19 | * @param array $params parameters
20 | * @return string with compiled code
21 | */
22 | function smarty_modifiercompiler_count_paragraphs($params, $compiler)
23 | {
24 | // count \r or \n characters
25 | return '(preg_match_all(\'#[\r\n]+#\', ' . $params[0] . ', $tmp)+1)';
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/README:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 |
3 | What is it?
4 | -----------------------------------------------
5 | This extension based on xxtea library, which provides a set of functions
6 | for encrypt or decrypt data with XXTEA algorithm.
7 |
8 |
9 |
10 | How to install it?
11 | -----------------------------------------------
12 | See INSTALL for installation instructions.
13 |
14 |
15 |
16 | How to use it?
17 | -----------------------------------------------
18 | string xxtea_encrypt(string data, string key)
19 |
20 | Encrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.
21 |
22 | string xxtea_decrypt(string data, string key)
23 |
24 | Decrypt data using XXTEA algorithm. The key is a 16 bytes(128 bits) string.
25 |
26 | string xxtea_info()
27 |
28 | Get the version information.
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_paragraphs.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_paragraphs
14 | * Purpose: count the number of paragraphs in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
17 | * count_paragraphs (Smarty online manual)
18 | * @author Uwe Tews
19 | * @param array $params parameters
20 | * @return string with compiled code
21 | */
22 | function smarty_modifiercompiler_count_paragraphs($params, $compiler)
23 | {
24 | // count \r or \n characters
25 | return '(preg_match_all(\'#[\r\n]+#\', ' . $params[0] . ', $tmp)+1)';
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.spacify.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: spacify
13 | * Purpose: add spaces between characters in a string
14 | *
15 | * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @param string $string input string
18 | * @param string $spacify_char string to insert between characters.
19 | * @return string
20 | */
21 | function smarty_modifier_spacify($string, $spacify_char = ' ')
22 | {
23 | // well… what about charsets besides latin and UTF-8?
24 | return implode($spacify_char, preg_split('//u', $string, -1, PREG_SPLIT_NO_EMPTY));
25 | }
26 |
27 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.indent.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: indent
13 | * Purpose: indent lines of text
14 | *
15 | * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
16 | * @author Uwe Tews
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 |
21 | function smarty_modifiercompiler_indent($params, $compiler)
22 | {
23 | if (!isset($params[1])) {
24 | $params[1] = 4;
25 | }
26 | if (!isset($params[2])) {
27 | $params[2] = "' '";
28 | }
29 | return 'preg_replace(\'!^!m\',str_repeat(' . $params[2] . ',' . $params[1] . '),' . $params[0] . ')';
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_sentences.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_sentences
14 | * Purpose: count the number of sentences in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
17 | * count_sentences (Smarty online manual)
18 | * @author Uwe Tews
19 | * @param array $params parameters
20 | * @return string with compiled code
21 | */
22 | function smarty_modifiercompiler_count_sentences($params, $compiler)
23 | {
24 | // find periods, question marks, exclamation marks with a word before but not after.
25 | return 'preg_match_all("#\w[\.\?\!](\W|$)#uS", ' . $params[0] . ', $tmp)';
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/Application/Home/View/Notice/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 土味免费网络验证 后台管理
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
{$title}
23 | {$content}
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.spacify.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: spacify
13 | * Purpose: add spaces between characters in a string
14 | *
15 | * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @param string $string input string
18 | * @param string $spacify_char string to insert between characters.
19 | * @return string
20 | */
21 | function smarty_modifier_spacify($string, $spacify_char = ' ')
22 | {
23 | // well… what about charsets besides latin and UTF-8?
24 | return implode($spacify_char, preg_split('//u', $string, -1, PREG_SPLIT_NO_EMPTY));
25 | }
26 |
27 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.indent.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: indent
13 | * Purpose: indent lines of text
14 | *
15 | * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual)
16 | * @author Uwe Tews
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 |
21 | function smarty_modifiercompiler_indent($params, $compiler)
22 | {
23 | if (!isset($params[1])) {
24 | $params[1] = 4;
25 | }
26 | if (!isset($params[2])) {
27 | $params[2] = "' '";
28 | }
29 | return 'preg_replace(\'!^!m\',str_repeat(' . $params[2] . ',' . $params[1] . '),' . $params[0] . ')';
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.strip_tags.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip_tags
14 | * Purpose: strip html tags from text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.strip.tags.php strip_tags (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_strip_tags($params, $compiler)
22 | {
23 | if (!isset($params[1])) {
24 | $params[1] = true;
25 | }
26 | if ($params[1] === true) {
27 | return "preg_replace('!<[^>]*?>!', ' ', {$params[0]})";
28 | } else {
29 | return 'strip_tags(' . $params[0] . ')';
30 | }
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.upper.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: lower
14 | * Purpose: convert string to uppercase
15 | *
16 | * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_upper($params, $compiler)
22 | {
23 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
24 | return 'mb_strtoupper(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
25 | }
26 | // no MBString fallback
27 | return 'strtoupper(' . $params[0] . ')';
28 | }
29 |
30 | ?>
--------------------------------------------------------------------------------
/Application/Home/Controller/NoticeController.class.php:
--------------------------------------------------------------------------------
1 | assign('home_selected', 'selected');
11 | $this->init();
12 | $this->display();
13 | }
14 |
15 | private function init() {
16 | if (I('nid') != '') {
17 | $id = I('nid');
18 | $mysql = M('Notice');
19 | $ret = $mysql->query("SELECT * FROM cloud_notice WHERE id = '$id'");
20 | if ($ret) {
21 | $this->assign('title', $ret[0]['title']);
22 | // 回车替换
23 | $content = str_replace('##', '
', $ret[0]['content']);
24 | $this->assign('content', $content);
25 | }
26 |
27 | }
28 | }
29 |
30 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_sentences.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_sentences
14 | * Purpose: count the number of sentences in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php
17 | * count_sentences (Smarty online manual)
18 | * @author Uwe Tews
19 | * @param array $params parameters
20 | * @return string with compiled code
21 | */
22 | function smarty_modifiercompiler_count_sentences($params, $compiler)
23 | {
24 | // find periods, question marks, exclamation marks with a word before but not after.
25 | return 'preg_match_all("#\w[\.\?\!](\W|$)#uS", ' . $params[0] . ', $tmp)';
26 | }
27 |
28 | ?>
--------------------------------------------------------------------------------
/Application/Home/Controller/ContactController.class.php:
--------------------------------------------------------------------------------
1 | assign('contact_selected', 'selected');
11 | $this->init();
12 | $this->display();
13 | }
14 |
15 | private function init() {
16 | if (!I('content')) {
17 | return;
18 | }
19 |
20 | $userID = $this->getUserId();
21 | $submitTime = date('Y-m-d H:i:s', time());
22 | $submitIP = HJCTool::getRealIP();
23 | $content = I('content');
24 |
25 | $mysql = M();
26 | $mysql->execute("INSERT INTO cloud_advise SET user_id = '$userID', submit_time = '$submitTime', submit_ip = '$submitIP', content = '$content'");
27 | HJCTool::alertToLocation('感谢您宝贵的建议!', '/Home/contact');
28 | }
29 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/View/Notice/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 土味免费网络验证 后台管理
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
{$title}
23 | {$content}
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.strip_tags.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip_tags
14 | * Purpose: strip html tags from text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.strip.tags.php strip_tags (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_strip_tags($params, $compiler)
22 | {
23 | if (!isset($params[1])) {
24 | $params[1] = true;
25 | }
26 | if ($params[1] === true) {
27 | return "preg_replace('!<[^>]*?>!', ' ', {$params[0]})";
28 | } else {
29 | return 'strip_tags(' . $params[0] . ')';
30 | }
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.upper.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: lower
14 | * Purpose: convert string to uppercase
15 | *
16 | * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_upper($params, $compiler)
22 | {
23 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
24 | return 'mb_strtoupper(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
25 | }
26 | // no MBString fallback
27 | return 'strtoupper(' . $params[0] . ')';
28 | }
29 |
30 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Behavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | /**
13 | * ThinkPHP Behavior基础类
14 | */
15 | abstract class Behavior {
16 | /**
17 | * 执行行为 run方法是Behavior唯一的接口
18 | * @access public
19 | * @param mixed $params 行为参数
20 | * @return void
21 | */
22 | abstract public function run(&$params);
23 |
24 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Controller/NoticeController.class.php:
--------------------------------------------------------------------------------
1 | assign('home_selected', 'selected');
11 | $this->init();
12 | $this->display();
13 | }
14 |
15 | private function init() {
16 | if (I('nid') != '') {
17 | $id = I('nid');
18 | $mysql = M('Notice');
19 | $ret = $mysql->query("SELECT * FROM cloud_notice WHERE id = '$id'");
20 | if ($ret) {
21 | $this->assign('title', $ret[0]['title']);
22 | // 回车替换
23 | $content = str_replace('##', '
', $ret[0]['content']);
24 | $this->assign('content', $content);
25 | }
26 |
27 | }
28 | }
29 |
30 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.lower.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: lower
13 | * Purpose: convert string to lowercase
14 | *
15 | * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 |
22 | function smarty_modifiercompiler_lower($params, $compiler)
23 | {
24 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
25 | return 'mb_strtolower(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
26 | }
27 | // no MBString fallback
28 | return 'strtolower(' . $params[0] . ')';
29 | }
30 |
31 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.strip.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip
14 | * Purpose: Replace all repeated spaces, newlines, tabs
15 | * with a single space or supplied replacement string.
16 | * Example: {$var|strip} {$var|strip:" "}
17 | * Date: September 25th, 2002
18 | *
19 | * @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
20 | * @author Uwe Tews
21 | * @param array $params parameters
22 | * @return string with compiled code
23 | */
24 |
25 | function smarty_modifiercompiler_strip($params, $compiler)
26 | {
27 | if (!isset($params[1])) {
28 | $params[1] = "' '";
29 | }
30 | return "preg_replace('!\s+!u', {$params[1]},{$params[0]})";
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Controller/ContactController.class.php:
--------------------------------------------------------------------------------
1 | assign('contact_selected', 'selected');
11 | $this->init();
12 | $this->display();
13 | }
14 |
15 | private function init() {
16 | if (!I('content')) {
17 | return;
18 | }
19 |
20 | $userID = $this->getUserId();
21 | $submitTime = date('Y-m-d H:i:s', time());
22 | $submitIP = HJCTool::getRealIP();
23 | $content = I('content');
24 |
25 | $mysql = M();
26 | $mysql->execute("INSERT INTO cloud_advise SET user_id = '$userID', submit_time = '$submitTime', submit_ip = '$submitIP', content = '$content'");
27 | HJCTool::alertToLocation('感谢您宝贵的建议!', '/Home/contact');
28 | }
29 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.default.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: default
14 | * Purpose: designate default value for empty variables
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_default ($params, $compiler)
22 | {
23 | $output = $params[0];
24 | if (!isset($params[1])) {
25 | $params[1] = "''";
26 | }
27 |
28 | array_shift($params);
29 | foreach ($params as $param) {
30 | $output = '(($tmp = @' . $output . ')===null||$tmp===\'\' ? ' . $param . ' : $tmp)';
31 | }
32 | return $output;
33 | }
34 |
35 | ?>
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 |
12 | // 应用入口文件
13 |
14 | // 检测PHP环境
15 | if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
16 |
17 | // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
18 | define('APP_DEBUG',true);
19 |
20 | //define('BIND_MODULE','Index');
21 |
22 | // 定义应用目录
23 | define('APP_PATH','./Application/');
24 |
25 | // 引入ThinkPHP入口文件
26 | require './ThinkPHP/ThinkPHP.php';
27 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Behavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | /**
13 | * ThinkPHP Behavior基础类
14 | */
15 | abstract class Behavior {
16 | /**
17 | * 执行行为 run方法是Behavior唯一的接口
18 | * @access public
19 | * @param mixed $params 行为参数
20 | * @return void
21 | */
22 | abstract public function run(&$params);
23 |
24 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.lower.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: lower
13 | * Purpose: convert string to lowercase
14 | *
15 | * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 |
22 | function smarty_modifiercompiler_lower($params, $compiler)
23 | {
24 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
25 | return 'mb_strtolower(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ;
26 | }
27 | // no MBString fallback
28 | return 'strtolower(' . $params[0] . ')';
29 | }
30 |
31 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.strip.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: strip
14 | * Purpose: Replace all repeated spaces, newlines, tabs
15 | * with a single space or supplied replacement string.
16 | * Example: {$var|strip} {$var|strip:" "}
17 | * Date: September 25th, 2002
18 | *
19 | * @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual)
20 | * @author Uwe Tews
21 | * @param array $params parameters
22 | * @return string with compiled code
23 | */
24 |
25 | function smarty_modifiercompiler_strip($params, $compiler)
26 | {
27 | if (!isset($params[1])) {
28 | $params[1] = "' '";
29 | }
30 | return "preg_replace('!\s+!u', {$params[1]},{$params[0]})";
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.default.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: default
14 | * Purpose: designate default value for empty variables
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_default ($params, $compiler)
22 | {
23 | $output = $params[0];
24 | if (!isset($params[1])) {
25 | $params[1] = "''";
26 | }
27 |
28 | array_shift($params);
29 | foreach ($params as $param) {
30 | $output = '(($tmp = @' . $output . ')===null||$tmp===\'\' ? ' . $param . ' : $tmp)';
31 | }
32 | return $output;
33 | }
34 |
35 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.to_charset.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: to_charset
14 | * Purpose: convert character encoding from internal encoding to $charset
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_to_charset($params, $compiler)
21 | {
22 | if (!SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
23 | // FIXME: (rodneyrehm) shouldn't this throw an error?
24 | return $params[0];
25 | }
26 |
27 | if (!isset($params[1])) {
28 | $params[1] = '"ISO-8859-1"';
29 | }
30 |
31 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[1] . ', SMARTY_RESOURCE_CHAR_SET)';
32 | }
33 |
34 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.from_charset.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: from_charset
14 | * Purpose: convert character encoding from $charset to internal encoding
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_from_charset($params, $compiler)
21 | {
22 | if (!SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
23 | // FIXME: (rodneyrehm) shouldn't this throw an error?
24 | return $params[0];
25 | }
26 |
27 | if (!isset($params[1])) {
28 | $params[1] = '"ISO-8859-1"';
29 | }
30 |
31 | return 'mb_convert_encoding(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET, ' . $params[1] . ')';
32 | }
33 |
34 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/README.md:
--------------------------------------------------------------------------------
1 | **Spyc** is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that
2 | you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document
3 | built from your data.
4 |
5 | **YAML** is an amazingly human friendly and strikingly versatile data serialization language which can be used
6 | for log files, config files, custom protocols, the works. For more information, see http://www.yaml.org.
7 |
8 | Spyc supports YAML 1.0 specification.
9 |
10 | ## Using Spyc
11 |
12 | Using Spyc is trivial:
13 |
14 | ```
15 |
10 | // +----------------------------------------------------------------------
11 |
12 | // 应用入口文件
13 |
14 | // 检测PHP环境
15 | if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
16 |
17 | // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
18 | //define('APP_DEBUG',true);
19 |
20 | //define('BIND_MODULE','Index');
21 |
22 | // 定义应用目录
23 | define('APP_PATH','./Application/');
24 |
25 | // 引入ThinkPHP入口文件
26 | require './ThinkPHP/ThinkPHP.php';
27 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_resource_recompiled.php:
--------------------------------------------------------------------------------
1 | filepath = false;
30 | $compiled->timestamp = false;
31 | $compiled->exists = false;
32 | }
33 |
34 | }
35 |
36 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.to_charset.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: to_charset
14 | * Purpose: convert character encoding from internal encoding to $charset
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_to_charset($params, $compiler)
21 | {
22 | if (!SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
23 | // FIXME: (rodneyrehm) shouldn't this throw an error?
24 | return $params[0];
25 | }
26 |
27 | if (!isset($params[1])) {
28 | $params[1] = '"ISO-8859-1"';
29 | }
30 |
31 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[1] . ', SMARTY_RESOURCE_CHAR_SET)';
32 | }
33 |
34 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.from_charset.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: from_charset
14 | * Purpose: convert character encoding from $charset to internal encoding
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_from_charset($params, $compiler)
21 | {
22 | if (!SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
23 | // FIXME: (rodneyrehm) shouldn't this throw an error?
24 | return $params[0];
25 | }
26 |
27 | if (!isset($params[1])) {
28 | $params[1] = '"ISO-8859-1"';
29 | }
30 |
31 | return 'mb_convert_encoding(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET, ' . $params[1] . ')';
32 | }
33 |
34 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/README.md:
--------------------------------------------------------------------------------
1 | **Spyc** is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that
2 | you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document
3 | built from your data.
4 |
5 | **YAML** is an amazingly human friendly and strikingly versatile data serialization language which can be used
6 | for log files, config files, custom protocols, the works. For more information, see http://www.yaml.org.
7 |
8 | Spyc supports YAML 1.0 specification.
9 |
10 | ## Using Spyc
11 |
12 | Using Spyc is trivial:
13 |
14 | ```
15 | filepath = false;
30 | $compiled->timestamp = false;
31 | $compiled->exists = false;
32 | }
33 |
34 | }
35 |
36 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/EaseTemplate/template.ease.php:
--------------------------------------------------------------------------------
1 | '1', //缓存ID
27 | 'TplType' =>'htm', //模板格式
28 | 'CacheDir' =>'cache', //缓存目录
29 | 'TemplateDir'=>'template' , //模板存放目录
30 | 'AutoImage' =>'on' , //自动解析图片目录开关 on表示开放 off表示关闭
31 | 'LangDir' =>'language' , //语言文件存放的目录
32 | 'Language' =>'default' , //语言的默认文件
33 | 'Copyright' =>'off' , //版权保护
34 | 'MemCache' =>'' , //Memcache服务器地址例如:127.0.0.1:11211
35 | )
36 | ){
37 |
38 | parent::ETCoreStart($set);
39 | }
40 |
41 | }
42 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.replace.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: replace
13 | * Purpose: simple search/replace
14 | *
15 | * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @author Uwe Tews
18 | * @param string $string input string
19 | * @param string $search text to search for
20 | * @param string $replace replacement text
21 | * @return string
22 | */
23 | function smarty_modifier_replace($string, $search, $replace)
24 | {
25 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
26 | require_once(SMARTY_PLUGINS_DIR . 'shared.mb_str_replace.php');
27 | return smarty_mb_str_replace($search, $replace, $string);
28 | }
29 |
30 | return str_replace($search, $replace, $string);
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/EaseTemplate/template.ease.php:
--------------------------------------------------------------------------------
1 | '1', //缓存ID
27 | 'TplType' =>'htm', //模板格式
28 | 'CacheDir' =>'cache', //缓存目录
29 | 'TemplateDir'=>'template' , //模板存放目录
30 | 'AutoImage' =>'on' , //自动解析图片目录开关 on表示开放 off表示关闭
31 | 'LangDir' =>'language' , //语言文件存放的目录
32 | 'Language' =>'default' , //语言的默认文件
33 | 'Copyright' =>'off' , //版权保护
34 | 'MemCache' =>'' , //Memcache服务器地址例如:127.0.0.1:11211
35 | )
36 | ){
37 |
38 | parent::ETCoreStart($set);
39 | }
40 |
41 | }
42 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/examples/yaml-dump.php:
--------------------------------------------------------------------------------
1 | 'A sequence','second' => 'of mapped values');
18 | $array['Mapped'] = array('A sequence','which is mapped');
19 | $array['A Note'] = 'What if your text is too long?';
20 | $array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
21 | $array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
22 | $array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
23 | $array['key:withcolon'] = "Should support this to";
24 |
25 | $yaml = Spyc::YAMLDump($array,4,60);
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_get_include_path.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifier.replace.php:
--------------------------------------------------------------------------------
1 |
12 | * Name: replace
13 | * Purpose: simple search/replace
14 | *
15 | * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
16 | * @author Monte Ohrt
17 | * @author Uwe Tews
18 | * @param string $string input string
19 | * @param string $search text to search for
20 | * @param string $replace replacement text
21 | * @return string
22 | */
23 | function smarty_modifier_replace($string, $search, $replace)
24 | {
25 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
26 | require_once(SMARTY_PLUGINS_DIR . 'shared.mb_str_replace.php');
27 | return smarty_mb_str_replace($search, $replace, $string);
28 | }
29 |
30 | return str_replace($search, $replace, $string);
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Data/_fields/cloud.cloud_regcode.php:
--------------------------------------------------------------------------------
1 | a:21:{i:0;s:2:"id";i:1;s:7:"user_id";i:2;s:11:"software_id";i:3;s:8:"time_str";i:4;s:13:"software_name";i:5;s:4:"code";i:6;s:12:"produce_time";i:7;s:11:"all_minutes";i:8;s:8:"isonline";i:9;s:7:"overdue";i:10;s:12:"computer_uid";i:11;s:13:"beginuse_time";i:12;s:11:"expire_time";i:13;s:9:"last_time";i:14;s:7:"last_ip";i:15;s:9:"use_count";i:16;s:6:"frozen";i:17;s:5:"token";i:18;s:4:"mark";s:3:"_pk";s:2:"id";s:5:"_type";a:19:{s:2:"id";s:16:"int(10) unsigned";s:7:"user_id";s:7:"int(11)";s:11:"software_id";s:7:"int(11)";s:8:"time_str";s:11:"varchar(10)";s:13:"software_name";s:11:"varchar(20)";s:4:"code";s:8:"char(32)";s:12:"produce_time";s:8:"datetime";s:11:"all_minutes";s:16:"int(10) unsigned";s:8:"isonline";s:21:"mediumint(1) unsigned";s:7:"overdue";s:21:"mediumint(1) unsigned";s:12:"computer_uid";s:8:"char(16)";s:13:"beginuse_time";s:8:"datetime";s:11:"expire_time";s:8:"datetime";s:9:"last_time";s:8:"datetime";s:7:"last_ip";s:11:"varchar(20)";s:9:"use_count";s:16:"int(10) unsigned";s:6:"frozen";s:12:"mediumint(1)";s:5:"token";s:7:"char(5)";s:4:"mark";s:8:"char(30)";}}
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_characters.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_characteres
14 | * Purpose: count the number of characters in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_count_characters($params, $compiler)
22 | {
23 | if (!isset($params[1]) || $params[1] != 'true') {
24 | return 'preg_match_all(\'/[^\s]/u\',' . $params[0] . ', $tmp)';
25 | }
26 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
27 | return 'mb_strlen(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET)';
28 | }
29 | // no MBString fallback
30 | return 'strlen(' . $params[0] . ')';
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/examples/yaml-dump.php:
--------------------------------------------------------------------------------
1 | 'A sequence','second' => 'of mapped values');
18 | $array['Mapped'] = array('A sequence','which is mapped');
19 | $array['A Note'] = 'What if your text is too long?';
20 | $array['Another Note'] = 'If that is the case, the dumper will probably fold your text by using a block. Kinda like this.';
21 | $array['The trick?'] = 'The trick is that we overrode the default indent, 2, to 4 and the default wordwrap, 40, to 60.';
22 | $array['Old Dog'] = "And if you want\n to preserve line breaks, \ngo ahead!";
23 | $array['key:withcolon'] = "Should support this to";
24 |
25 | $yaml = Spyc::YAMLDump($array,4,60);
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Behavior/AgentCheckBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | /**
13 | * 行为扩展:代理检测
14 | */
15 | class AgentCheckBehavior {
16 | public function run(&$params) {
17 | // 代理访问检测
18 | $limitProxyVisit = C('LIMIT_PROXY_VISIT',null,true);
19 | if($limitProxyVisit && ($_SERVER['HTTP_X_FORWARDED_FOR'] || $_SERVER['HTTP_VIA'] || $_SERVER['HTTP_PROXY_CONNECTION'] || $_SERVER['HTTP_USER_AGENT_VIA'])) {
20 | // 禁止代理访问
21 | exit('Access Denied');
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_get_include_path.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2013-2015 MJRefresh (https://github.com/CoderMJLee/MJRefresh)
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
20 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_characters.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_characteres
14 | * Purpose: count the number of characters in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_count_characters($params, $compiler)
22 | {
23 | if (!isset($params[1]) || $params[1] != 'true') {
24 | return 'preg_match_all(\'/[^\s]/u\',' . $params[0] . ', $tmp)';
25 | }
26 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
27 | return 'mb_strlen(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET)';
28 | }
29 | // no MBString fallback
30 | return 'strlen(' . $params[0] . ')';
31 | }
32 |
33 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/COPYING:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2011 Vladimir Andersen
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.count_words.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_words
14 | * Purpose: count the number of words in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_count_words($params, $compiler)
22 | {
23 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
24 | // return 'preg_match_all(\'#[\w\pL]+#u\', ' . $params[0] . ', $tmp)';
25 | // expression taken from http://de.php.net/manual/en/function.str-word-count.php#85592
26 | return 'preg_match_all(\'/\p{L}[\p{L}\p{Mn}\p{Pd}\\\'\x{2019}]*/u\', ' . $params[0] . ', $tmp)';
27 | }
28 | // no MBString fallback
29 | return 'str_word_count(' . $params[0] . ')';
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.compile_custom_function.php:
--------------------------------------------------------------------------------
1 | _plugin_exists($function, "function"))
12 | {
13 | $_args = $object->_parse_arguments($arguments);
14 | foreach($_args as $key => $value)
15 | {
16 | if (is_bool($value))
17 | {
18 | $value = $value ? 'true' : 'false';
19 | }
20 | if (is_null($value))
21 | {
22 | $value = 'null';
23 | }
24 | $_args[$key] = "'$key' => $value";
25 | }
26 | $_result = '_parse_modifier($function . '(array(' . implode(',', (array)$_args) . '), $this)', $modifiers) . '; ';
30 | }
31 | else
32 | {
33 | $_result .= $function . '(array(' . implode(',', (array)$_args) . '), $this);';
34 | }
35 | $_result .= '?>';
36 | return true;
37 | }
38 | else
39 | {
40 | return false;
41 | }
42 | }
43 |
44 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Behavior/AgentCheckBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | /**
13 | * 行为扩展:代理检测
14 | */
15 | class AgentCheckBehavior {
16 | public function run(&$params) {
17 | // 代理访问检测
18 | $limitProxyVisit = C('LIMIT_PROXY_VISIT',null,true);
19 | if($limitProxyVisit && ($_SERVER['HTTP_X_FORWARDED_FOR'] || $_SERVER['HTTP_VIA'] || $_SERVER['HTTP_PROXY_CONNECTION'] || $_SERVER['HTTP_USER_AGENT_VIA'])) {
20 | // 禁止代理访问
21 | exit('Access Denied');
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Template/Driver/Mobile.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * MobileTemplate模板引擎驱动
14 | */
15 | class Mobile {
16 | /**
17 | * 渲染模板输出
18 | * @access public
19 | * @param string $templateFile 模板文件名
20 | * @param array $var 模板变量
21 | * @return void
22 | */
23 | public function fetch($templateFile,$var) {
24 | $templateFile=substr($templateFile,strlen(THEME_PATH));
25 | $var['_think_template_path']=$templateFile;
26 | exit(json_encode($var));
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/shared.literal_compiler_param.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: count_words
14 | * Purpose: count the number of words in a text
15 | *
16 | * @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual)
17 | * @author Uwe Tews
18 | * @param array $params parameters
19 | * @return string with compiled code
20 | */
21 | function smarty_modifiercompiler_count_words($params, $compiler)
22 | {
23 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
24 | // return 'preg_match_all(\'#[\w\pL]+#u\', ' . $params[0] . ', $tmp)';
25 | // expression taken from http://de.php.net/manual/en/function.str-word-count.php#85592
26 | return 'preg_match_all(\'/\p{L}[\p{L}\p{Mn}\p{Pd}\\\'\x{2019}]*/u\', ' . $params[0] . ', $tmp)';
27 | }
28 | // no MBString fallback
29 | return 'str_word_count(' . $params[0] . ')';
30 | }
31 |
32 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.compile_custom_function.php:
--------------------------------------------------------------------------------
1 | _plugin_exists($function, "function"))
12 | {
13 | $_args = $object->_parse_arguments($arguments);
14 | foreach($_args as $key => $value)
15 | {
16 | if (is_bool($value))
17 | {
18 | $value = $value ? 'true' : 'false';
19 | }
20 | if (is_null($value))
21 | {
22 | $value = 'null';
23 | }
24 | $_args[$key] = "'$key' => $value";
25 | }
26 | $_result = '_parse_modifier($function . '(array(' . implode(',', (array)$_args) . '), $this)', $modifiers) . '; ';
30 | }
31 | else
32 | {
33 | $_result .= $function . '(array(' . implode(',', (array)$_args) . '), $this);';
34 | }
35 | $_result .= '?>';
36 | return true;
37 | }
38 | else
39 | {
40 | return false;
41 | }
42 | }
43 |
44 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Template/Driver/Mobile.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * MobileTemplate模板引擎驱动
14 | */
15 | class Mobile {
16 | /**
17 | * 渲染模板输出
18 | * @access public
19 | * @param string $templateFile 模板文件名
20 | * @param array $var 模板变量
21 | * @return void
22 | */
23 | public function fetch($templateFile,$var) {
24 | $templateFile=substr($templateFile,strlen(THEME_PATH));
25 | $var['_think_template_path']=$templateFile;
26 | exit(json_encode($var));
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/shared.literal_compiler_param.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
31 | if ($_attr['nocache'] === true) {
32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
33 | }
34 | // this tag does not return compiled code
35 | $compiler->has_code = true;
36 | return $compiler->smarty->left_delimiter;
37 | }
38 |
39 | }
40 |
41 | ?>
42 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_rdelim.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
31 | if ($_attr['nocache'] === true) {
32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
33 | }
34 | // this tag does not return compiled code
35 | $compiler->has_code = true;
36 | return $compiler->smarty->right_delimiter;
37 | }
38 |
39 | }
40 |
41 | ?>
--------------------------------------------------------------------------------
/Application/Home/View/Support/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 土味免费网络验证 后台管理
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |

32 |
这是本人的微信二维码,网站运营需要服务器费用,如果能给予本网站一点捐助,在下一定万分感谢!不管多少,您的帮助就是本网站免费运营下去的动力!
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_ldelim.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
31 | if ($_attr['nocache'] === true) {
32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
33 | }
34 | // this tag does not return compiled code
35 | $compiler->has_code = true;
36 | return $compiler->smarty->left_delimiter;
37 | }
38 |
39 | }
40 |
41 | ?>
42 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_rdelim.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
31 | if ($_attr['nocache'] === true) {
32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno);
33 | }
34 | // this tag does not return compiled code
35 | $compiler->has_code = true;
36 | return $compiler->smarty->right_delimiter;
37 | }
38 |
39 | }
40 |
41 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_debug.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
32 |
33 | // compile always as nocache
34 | $compiler->tag_nocache = true;
35 |
36 | // display debug template
37 | $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>";
38 | return $_output;
39 | }
40 |
41 | }
42 |
43 | ?>
--------------------------------------------------------------------------------
/Application/Home/View/Contact/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 土味免费网络验证 后台管理
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
28 |
29 |
QQ群: 182440207 (加群请备注用户名)
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_compile_debug.php:
--------------------------------------------------------------------------------
1 | getAttributes($compiler, $args);
32 |
33 | // compile always as nocache
34 | $compiler->tag_nocache = true;
35 |
36 | // display debug template
37 | $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>";
38 | return $_output;
39 | }
40 |
41 | }
42 |
43 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/indent_1.yaml:
--------------------------------------------------------------------------------
1 | root:
2 | child_1: 2
3 |
4 | child_2: 0
5 | child_3: 1
6 |
7 | root2:
8 | child_1: 1
9 | # A comment
10 | child_2: 2
11 |
12 | displays:
13 | - resolutions:
14 | 1024: 768
15 | - resolutions:
16 | 1920: 1200
17 |
18 | display:
19 | - resolutions:
20 | 1024: 768
21 | 1920: 1200
22 | producer: "Nec"
23 |
24 | nested_hashes_and_seqs:
25 | - { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} }
26 |
27 | easier_nest: { h: [{a: b, a1: b1}, {c: d}] }
28 |
29 | one_space: |
30 | By four
31 | spaces
32 |
33 | steps:
34 | - step: &id001
35 | instrument: Lasik 2000
36 | pulseEnergy: 5.4
37 | pulseDuration: 12
38 | repetition: 1000
39 | spotSize: 1mm
40 | - step:
41 | <<: *id001
42 | spotSize: 2mm
43 |
44 | death masks are:
45 | sad: 2
46 | <<: {magnificent: 4}
47 |
48 | login: &login
49 | adapter: mysql
50 | host: localhost
51 |
52 | development:
53 | database: rails_dev
54 | <<: *login
55 |
56 | "key": "value:"
57 | colon_only: ":"
58 |
59 | list_and_comment: [one, two, three] # comment
60 | kai:
61 | -example: value
62 | kai_list_of_items:
63 | - -item
64 | - '-item'
65 | -item
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/View/Contact/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | 土味免费网络验证 后台管理
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
28 |
29 |
30 |
31 |
QQ群: 182440207 (加群请备注用户名)
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/spyc/tests/indent_1.yaml:
--------------------------------------------------------------------------------
1 | root:
2 | child_1: 2
3 |
4 | child_2: 0
5 | child_3: 1
6 |
7 | root2:
8 | child_1: 1
9 | # A comment
10 | child_2: 2
11 |
12 | displays:
13 | - resolutions:
14 | 1024: 768
15 | - resolutions:
16 | 1920: 1200
17 |
18 | display:
19 | - resolutions:
20 | 1024: 768
21 | 1920: 1200
22 | producer: "Nec"
23 |
24 | nested_hashes_and_seqs:
25 | - { row: 0, col: 0, headsets_affected: [{ports: [0], side: left}], switch_function: {ics_ptt: true} }
26 |
27 | easier_nest: { h: [{a: b, a1: b1}, {c: d}] }
28 |
29 | one_space: |
30 | By four
31 | spaces
32 |
33 | steps:
34 | - step: &id001
35 | instrument: Lasik 2000
36 | pulseEnergy: 5.4
37 | pulseDuration: 12
38 | repetition: 1000
39 | spotSize: 1mm
40 | - step:
41 | <<: *id001
42 | spotSize: 2mm
43 |
44 | death masks are:
45 | sad: 2
46 | <<: {magnificent: 4}
47 |
48 | login: &login
49 | adapter: mysql
50 | host: localhost
51 |
52 | development:
53 | database: rails_dev
54 | <<: *login
55 |
56 | "key": "value:"
57 | colon_only: ":"
58 |
59 | list_and_comment: [one, two, three] # comment
60 | kai:
61 | -example: value
62 | kai_list_of_items:
63 | - -item
64 | - '-item'
65 | -item
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Runtime/Logs/Home/16_12_12.log:
--------------------------------------------------------------------------------
1 | [ 2016-12-12T15:00:57+08:00 ] 183.69.192.109 /Home/changesoft?sid=133&software=%E7%82%89%E5%AD%90%E3%80%82&try_minutes=30&try_count=1&bindmode=1&unbindmode=0&version=5&update_url=%E8%81%94%E7%B3%BBQQ352025111&updatemode=0&info=%E5%BF%AB%E5%88%B0%E6%9C%9F%E7%9A%84%E8%AF%B7%E6%8F%90%E5%89%8D3%E5%A4%A9%E7%BB%AD%E8%B4%B9%EF%BC%81%E8%B0%A2%E8%B0%A2%EF%BC%81%E8%BD%AF%E4%BB%B6%E6%9B%B4%E6%96%B05.0%E7%89%88%E6%9C%AC%E3%80%82%E5%8F%AF%E6%9B%BF%E6%8D%A2%E8%B5%B0%E5%8A%BF%E4%B8%8E%E8%A7%84%E7%9F%A9%E4%BD%8D%E7%BD%AE%EF%BC%81%E9%9C%80%E8%A6%81%E6%9B%B4%E6%8D%A2%E7%89%88%E6%9C%AC%E7%9A%84%E8%81%94%E7%B3%BB%EF%BC%81&frozen=0&submit=
2 | ERR: 1406:Data too long for column 'info' at row 1
3 | [ SQL语句 ] : UPDATE cloud_software SET user_id = '36', name = '炉子。', try_minutes = '30', try_count = '1', bindmode = '1',unbindmode = '0',version = '5', update_url = '联系QQ352025111',updatemode = '0',info = '快到期的请提前3天续费!谢谢!软件更新5.0版本。可替换走势与规矩位置!需要更换版本的联系!',frozen ='0' WHERE id = '133'
4 | ERR: 1406:Data too long for column 'info' at row 1
5 | [ SQL语句 ] : UPDATE cloud_software SET user_id = '36', name = '炉子。', try_minutes = '30', try_count = '1', bindmode = '1',unbindmode = '0',version = '5', update_url = '联系QQ352025111',updatemode = '0',info = '快到期的请提前3天续费!谢谢!软件更新5.0版本。可替换走势与规矩位置!需要更换版本的联系!',frozen ='0' WHERE id = '133'
6 |
7 |
--------------------------------------------------------------------------------
/ThinkPHP/Conf/debug.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 |
12 | /**
13 | * ThinkPHP 默认的调试模式配置文件
14 | */
15 | defined('THINK_PATH') or exit();
16 | // 调试模式下面默认设置 可以在应用配置目录下重新定义 debug.php 覆盖
17 | return array(
18 | 'LOG_RECORD' => true, // 进行日志记录
19 | 'LOG_EXCEPTION_RECORD' => true, // 是否记录异常信息日志
20 | 'LOG_LEVEL' => 'EMERG,ALERT,CRIT,ERR,WARN,NOTIC,INFO,DEBUG,SQL', // 允许记录的日志级别
21 | 'DB_FIELDS_CACHE' => false, // 字段缓存信息
22 | 'DB_DEBUG' => true, // 开启调试模式 记录SQL日志
23 | 'TMPL_CACHE_ON' => false, // 是否开启模板编译缓存,设为false则每次都会重新编译
24 | 'TMPL_STRIP_SPACE' => false, // 是否去除模板文件里面的html空格与换行
25 | 'SHOW_ERROR_MSG' => true, // 显示错误信息
26 | 'URL_CASE_INSENSITIVE' => false, // URL区分大小写
27 | );
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Controller/JsonRpcController.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Controller;
12 | /**
13 | * ThinkPHP JsonRPC控制器类
14 | */
15 | class JsonRpcController {
16 |
17 | /**
18 | * 架构函数
19 | * @access public
20 | */
21 | public function __construct() {
22 | //控制器初始化
23 | if(method_exists($this,'_initialize'))
24 | $this->_initialize();
25 | //导入类库
26 | Vendor('jsonRPC.jsonRPCServer');
27 | // 启动server
28 | \jsonRPCServer::handle($this);
29 | }
30 |
31 | /**
32 | * 魔术方法 有不存在的操作的时候执行
33 | * @access public
34 | * @param string $method 方法名
35 | * @param array $args 参数
36 | * @return mixed
37 | */
38 | public function __call($method,$args){}
39 | }
40 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/template.generate_debug_output.php:
--------------------------------------------------------------------------------
1 | _vars;
12 | ksort($assigned_vars);
13 | if (@is_array($object->_config[0]))
14 | {
15 | $config_vars = $object->_config[0];
16 | ksort($config_vars);
17 | $object->assign("_debug_config_keys", array_keys($config_vars));
18 | $object->assign("_debug_config_vals", array_values($config_vars));
19 | }
20 |
21 | $included_templates = $object->_templatelite_debug_info;
22 |
23 | $object->assign("_debug_keys", array_keys($assigned_vars));
24 | $object->assign("_debug_vals", array_values($assigned_vars));
25 | $object->assign("_debug_tpls", $included_templates);
26 | $object->assign("_templatelite_debug_output", "");
27 |
28 | $object->_templatelite_debug_loop = true;
29 | $object->_templatelite_debug_dir = $object->template_dir;
30 | $object->template_dir = TEMPLATE_LITE_DIR . "internal/";
31 | $debug_output = $object->fetch("debug.tpl");
32 | $object->template_dir = $object->_templatelite_debug_dir;
33 | $object->_templatelite_debug_loop = false;
34 | return $debug_output;
35 | }
36 |
37 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/LICENSE.txt:
--------------------------------------------------------------------------------
1 |
2 | ThinkPHP遵循Apache2开源协议发布,并提供免费使用。
3 | 版权所有Copyright © 2006-2014 by ThinkPHP (http://thinkphp.cn)
4 | All rights reserved。
5 | ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。
6 |
7 | Apache Licence是著名的非盈利开源组织Apache采用的协议。
8 | 该协议和BSD类似,鼓励代码共享和尊重原作者的著作权,
9 | 允许代码修改,再作为开源或商业软件发布。需要满足
10 | 的条件:
11 | 1. 需要给代码的用户一份Apache Licence ;
12 | 2. 如果你修改了代码,需要在被修改的文件中说明;
13 | 3. 在延伸的代码中(修改和有源代码衍生的代码中)需要
14 | 带有原来代码中的协议,商标,专利声明和其他原来作者规
15 | 定需要包含的说明;
16 | 4. 如果再发布的产品中包含一个Notice文件,则在Notice文
17 | 件中需要带有本协议内容。你可以在Notice中增加自己的
18 | 许可,但不可以表现为对Apache Licence构成更改。
19 | 具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0
20 |
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 | POSSIBILITY OF SUCH DAMAGE.
33 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Conf/debug.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 |
12 | /**
13 | * ThinkPHP 默认的调试模式配置文件
14 | */
15 | defined('THINK_PATH') or exit();
16 | // 调试模式下面默认设置 可以在应用配置目录下重新定义 debug.php 覆盖
17 | return array(
18 | 'LOG_RECORD' => true, // 进行日志记录
19 | 'LOG_EXCEPTION_RECORD' => true, // 是否记录异常信息日志
20 | 'LOG_LEVEL' => 'EMERG,ALERT,CRIT,ERR,WARN,NOTIC,INFO,DEBUG,SQL', // 允许记录的日志级别
21 | 'DB_FIELDS_CACHE' => false, // 字段缓存信息
22 | 'DB_DEBUG' => true, // 开启调试模式 记录SQL日志
23 | 'TMPL_CACHE_ON' => false, // 是否开启模板编译缓存,设为false则每次都会重新编译
24 | 'TMPL_STRIP_SPACE' => false, // 是否去除模板文件里面的html空格与换行
25 | 'SHOW_ERROR_MSG' => true, // 显示错误信息
26 | 'URL_CASE_INSENSITIVE' => false, // URL区分大小写
27 | );
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Controller/JsonRpcController.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Controller;
12 | /**
13 | * ThinkPHP JsonRPC控制器类
14 | */
15 | class JsonRpcController {
16 |
17 | /**
18 | * 架构函数
19 | * @access public
20 | */
21 | public function __construct() {
22 | //控制器初始化
23 | if(method_exists($this,'_initialize'))
24 | $this->_initialize();
25 | //导入类库
26 | Vendor('jsonRPC.jsonRPCServer');
27 | // 启动server
28 | \jsonRPCServer::handle($this);
29 | }
30 |
31 | /**
32 | * 魔术方法 有不存在的操作的时候执行
33 | * @access public
34 | * @param string $method 方法名
35 | * @param array $args 参数
36 | * @return mixed
37 | */
38 | public function __call($method,$args){}
39 | }
40 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/TemplateLite/internal/template.generate_debug_output.php:
--------------------------------------------------------------------------------
1 | _vars;
12 | ksort($assigned_vars);
13 | if (@is_array($object->_config[0]))
14 | {
15 | $config_vars = $object->_config[0];
16 | ksort($config_vars);
17 | $object->assign("_debug_config_keys", array_keys($config_vars));
18 | $object->assign("_debug_config_vals", array_values($config_vars));
19 | }
20 |
21 | $included_templates = $object->_templatelite_debug_info;
22 |
23 | $object->assign("_debug_keys", array_keys($assigned_vars));
24 | $object->assign("_debug_vals", array_values($assigned_vars));
25 | $object->assign("_debug_tpls", $included_templates);
26 | $object->assign("_templatelite_debug_output", "");
27 |
28 | $object->_templatelite_debug_loop = true;
29 | $object->_templatelite_debug_dir = $object->template_dir;
30 | $object->template_dir = TEMPLATE_LITE_DIR . "internal/";
31 | $debug_output = $object->fetch("debug.tpl");
32 | $object->template_dir = $object->_templatelite_debug_dir;
33 | $object->_templatelite_debug_loop = false;
34 | return $debug_output;
35 | }
36 |
37 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/LICENSE.txt:
--------------------------------------------------------------------------------
1 |
2 | ThinkPHP遵循Apache2开源协议发布,并提供免费使用。
3 | 版权所有Copyright © 2006-2014 by ThinkPHP (http://thinkphp.cn)
4 | All rights reserved。
5 | ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。
6 |
7 | Apache Licence是著名的非盈利开源组织Apache采用的协议。
8 | 该协议和BSD类似,鼓励代码共享和尊重原作者的著作权,
9 | 允许代码修改,再作为开源或商业软件发布。需要满足
10 | 的条件:
11 | 1. 需要给代码的用户一份Apache Licence ;
12 | 2. 如果你修改了代码,需要在被修改的文件中说明;
13 | 3. 在延伸的代码中(修改和有源代码衍生的代码中)需要
14 | 带有原来代码中的协议,商标,专利声明和其他原来作者规
15 | 定需要包含的说明;
16 | 4. 如果再发布的产品中包含一个Notice文件,则在Notice文
17 | 件中需要带有本协议内容。你可以在Notice中增加自己的
18 | 许可,但不可以表现为对Apache Licence构成更改。
19 | 具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0
20 |
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
28 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
29 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 | POSSIBILITY OF SUCH DAMAGE.
33 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_resource_uncompiled.php:
--------------------------------------------------------------------------------
1 | filepath = false;
38 | $compiled->timestamp = false;
39 | $compiled->exists = false;
40 | }
41 |
42 | }
43 |
44 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_resource_uncompiled.php:
--------------------------------------------------------------------------------
1 | filepath = false;
38 | $compiled->timestamp = false;
39 | $compiled->exists = false;
40 | }
41 |
42 | }
43 |
44 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Behavior/WriteHtmlCacheBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | use Think\Storage;
13 | /**
14 | * 系统行为扩展:静态缓存写入
15 | */
16 | class WriteHtmlCacheBehavior {
17 |
18 | // 行为扩展的执行入口必须是run
19 | public function run(&$content) {
20 | //2014-11-28 修改 如果有HTTP 4xx 3xx 5xx 头部,禁止存储
21 | //2014-12-1 修改 对注入的网址 防止生成,例如 /game/lst/SortType/hot/-e8-90-8c-e5-85-94-e7-88-b1-e6-b6-88-e9-99-a4/-e8-bf-9b-e5-87-bb-e7-9a-84-e9-83-a8-e8-90-bd/-e9-a3-8e-e4-ba-91-e5-a4-a9-e4-b8-8b/index.shtml
22 | if (C('HTML_CACHE_ON') && defined('HTML_FILE_NAME')
23 | && !preg_match('/Status.*[345]{1}\d{2}/i', implode(' ', headers_list()))
24 | && !preg_match('/(-[a-z0-9]{2}){3,}/i',HTML_FILE_NAME)) {
25 | //静态文件写入
26 | Storage::put(HTML_FILE_NAME, $content, 'html');
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/Application/Home/Controller/ManagesoftController.class.php:
--------------------------------------------------------------------------------
1 | assign('managesoft_selected', 'selected');
10 | // 把当前页数传到tpl,在请求的时候可以带过来,以便删除商品后刷新在当前页
11 | $this->assign('querystr', $this->_lastQueryStr);
12 |
13 | parent::showTableAndPage('software');
14 | $this->deleteSoft();
15 | $this->display();
16 |
17 | }
18 |
19 | private function deleteSoft(){
20 | if (I('delsid') == '') return;
21 |
22 | $sid = I('delsid');
23 | $userId = $this->getUserId();
24 | $mysql = M('Software');
25 | $updateret = $mysql->execute("DELETE FROM cloud_software WHERE id = '$sid' AND user_id = '$userId'");
26 | if ($updateret) {
27 | // 删除对应的注册码
28 | $mysql = M('Regcode');
29 | $updateret = $mysql->execute("DELETE FROM cloud_regcode WHERE software_id = '$sid' AND user_id = '$userId'");
30 | // 不去判断有没有删除成功了,没有注册码会返回flase
31 | if (I('page') == '') {
32 | HJCTool::alertToLocation('删除成功', 'managesoft');
33 | } else {
34 | HJCTool::alertToLocation('删除成功', 'managesoft?page=' . I('page'));
35 | }
36 | } else {
37 | HJCTool::alertBack('删除失败');
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Hprose/HproseIO.php:
--------------------------------------------------------------------------------
1 | *
20 | * *
21 | \**********************************************************/
22 |
23 | require_once('HproseTags.php');
24 | require_once('HproseClassManager.php');
25 | require_once('HproseReader.php');
26 | require_once('HproseWriter.php');
27 | require_once('HproseFormatter.php');
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/php_xxtea.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 9.00
2 | # Visual Studio 2005
3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "php_xxtea", "php_xxtea.vcproj", "{71165FA5-1EBC-4021-AA17-0CCBC7CD5204}"
4 | EndProject
5 | Global
6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
7 | Debug_php4|Win32 = Debug_php4|Win32
8 | Debug_php5|Win32 = Debug_php5|Win32
9 | Release_php4|Win32 = Release_php4|Win32
10 | Release_php5|Win32 = Release_php5|Win32
11 | EndGlobalSection
12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
13 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php4|Win32.ActiveCfg = Debug_php4|Win32
14 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php4|Win32.Build.0 = Debug_php4|Win32
15 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php5|Win32.ActiveCfg = Debug_php5|Win32
16 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php5|Win32.Build.0 = Debug_php5|Win32
17 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php4|Win32.ActiveCfg = Release_php4|Win32
18 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php4|Win32.Build.0 = Release_php4|Win32
19 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php5|Win32.ActiveCfg = Release_php5|Win32
20 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php5|Win32.Build.0 = Release_php5|Win32
21 | EndGlobalSection
22 | GlobalSection(SolutionProperties) = preSolution
23 | HideSolutionNode = FALSE
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Storage.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | // 分布式文件存储类
13 | class Storage {
14 |
15 | /**
16 | * 操作句柄
17 | * @var string
18 | * @access protected
19 | */
20 | static protected $handler ;
21 |
22 | /**
23 | * 连接分布式文件系统
24 | * @access public
25 | * @param string $type 文件类型
26 | * @param array $options 配置数组
27 | * @return void
28 | */
29 | static public function connect($type='File',$options=array()) {
30 | $class = 'Think\\Storage\\Driver\\'.ucwords($type);
31 | self::$handler = new $class($options);
32 | }
33 |
34 | static public function __callstatic($method,$args){
35 | //调用缓存驱动的方法
36 | if(method_exists(self::$handler, $method)){
37 | return call_user_func_array(array(self::$handler,$method), $args);
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Controller/YarController.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Controller;
12 | /**
13 | * ThinkPHP Yar控制器类
14 | */
15 | class YarController {
16 |
17 | /**
18 | * 架构函数
19 | * @access public
20 | */
21 | public function __construct() {
22 | //控制器初始化
23 | if(method_exists($this,'_initialize'))
24 | $this->_initialize();
25 | //判断扩展是否存在
26 | if(!extension_loaded('yar'))
27 | E(L('_NOT_SUPPORT_').':yar');
28 | //实例化Yar_Server
29 | $server = new \Yar_Server($this);
30 | // 启动server
31 | $server->handle();
32 | }
33 |
34 | /**
35 | * 魔术方法 有不存在的操作的时候执行
36 | * @access public
37 | * @param string $method 方法名
38 | * @param array $args 参数
39 | * @return mixed
40 | */
41 | public function __call($method,$args){}
42 | }
43 |
--------------------------------------------------------------------------------
/Application/Home/Controller/ModifypasswordController.class.php:
--------------------------------------------------------------------------------
1 | init();
11 | $this->display();
12 | }
13 |
14 | private function init() {
15 | if (I('oldpwd') == '' || I('newpwd') == '') {
16 | return;
17 | }
18 | if (I('newpwd', '', '/^[a-z0-9A-Z]{6,16}$/') == '') {
19 | HJCTool::alertBack('密码格式错误: 请输入6-16位英文字母或数字');
20 | }
21 | if (I('oldpwd') == I('newpwd')) {
22 | HJCTool::alertBack('新密码不可和旧密码相同');
23 | }
24 |
25 | $oldpwd = HJCTool::secret(I('oldpwd'));
26 | $newpwd = HJCTool::secret(I('newpwd'));
27 | $userId = $this->getUserId();
28 | $mysql = M();
29 | $ret = $mysql->query("SELECT * FROM cloud_user WHERE id = '$userId' AND password = '$oldpwd'");
30 | if ($ret) {
31 | $updateret = $mysql->execute("UPDATE cloud_user SET password = '$newpwd' WHERE id = '$userId'");
32 | if ($updateret) {
33 | // 修改成功退出登录
34 | HJCTool::alertToLocation('修改成功,请重新登录!', '/Home/?a=logout');
35 | } else {
36 | HJCTool::alertBack('修改失败!');
37 | }
38 | } else {
39 | HJCTool::alertBack('密码不正确');
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Behavior/WriteHtmlCacheBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | use Think\Storage;
13 | /**
14 | * 系统行为扩展:静态缓存写入
15 | */
16 | class WriteHtmlCacheBehavior {
17 |
18 | // 行为扩展的执行入口必须是run
19 | public function run(&$content) {
20 | //2014-11-28 修改 如果有HTTP 4xx 3xx 5xx 头部,禁止存储
21 | //2014-12-1 修改 对注入的网址 防止生成,例如 /game/lst/SortType/hot/-e8-90-8c-e5-85-94-e7-88-b1-e6-b6-88-e9-99-a4/-e8-bf-9b-e5-87-bb-e7-9a-84-e9-83-a8-e8-90-bd/-e9-a3-8e-e4-ba-91-e5-a4-a9-e4-b8-8b/index.shtml
22 | if (C('HTML_CACHE_ON') && defined('HTML_FILE_NAME')
23 | && !preg_match('/Status.*[345]{1}\d{2}/i', implode(' ', headers_list()))
24 | && !preg_match('/(-[a-z0-9]{2}){3,}/i',HTML_FILE_NAME)) {
25 | //静态文件写入
26 | Storage::put(HTML_FILE_NAME, $content, 'html');
27 | }
28 | }
29 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Controller/ManagesoftController.class.php:
--------------------------------------------------------------------------------
1 | assign('managesoft_selected', 'selected');
10 | // 把当前页数传到tpl,在请求的时候可以带过来,以便删除商品后刷新在当前页
11 | $this->assign('querystr', $this->_lastQueryStr);
12 |
13 | parent::showTableAndPage('software');
14 | $this->deleteSoft();
15 | $this->display();
16 |
17 | }
18 |
19 | private function deleteSoft(){
20 | if (I('delsid') == '') return;
21 |
22 | $sid = I('delsid');
23 | $userId = $this->getUserId();
24 | $mysql = M('Software');
25 | $updateret = $mysql->execute("DELETE FROM cloud_software WHERE id = '$sid' AND user_id = '$userId'");
26 | if ($updateret) {
27 | // 删除对应的注册码
28 | $mysql = M('Regcode');
29 | $updateret = $mysql->execute("DELETE FROM cloud_regcode WHERE software_id = '$sid' AND user_id = '$userId'");
30 | // 不去判断有没有删除成功了,没有注册码会返回flase
31 | if (I('page') == '') {
32 | HJCTool::alertToLocation('删除成功', 'managesoft');
33 | } else {
34 | HJCTool::alertToLocation('删除成功', 'managesoft?page=' . I('page'));
35 | }
36 | } else {
37 | HJCTool::alertBack('删除失败');
38 | }
39 | }
40 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Hprose/HproseIO.php:
--------------------------------------------------------------------------------
1 | *
20 | * *
21 | \**********************************************************/
22 |
23 | require_once('HproseTags.php');
24 | require_once('HproseClassManager.php');
25 | require_once('HproseReader.php');
26 | require_once('HproseWriter.php');
27 | require_once('HproseFormatter.php');
28 |
29 | ?>
30 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/php_xxtea.sln:
--------------------------------------------------------------------------------
1 | Microsoft Visual Studio Solution File, Format Version 9.00
2 | # Visual Studio 2005
3 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "php_xxtea", "php_xxtea.vcproj", "{71165FA5-1EBC-4021-AA17-0CCBC7CD5204}"
4 | EndProject
5 | Global
6 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
7 | Debug_php4|Win32 = Debug_php4|Win32
8 | Debug_php5|Win32 = Debug_php5|Win32
9 | Release_php4|Win32 = Release_php4|Win32
10 | Release_php5|Win32 = Release_php5|Win32
11 | EndGlobalSection
12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
13 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php4|Win32.ActiveCfg = Debug_php4|Win32
14 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php4|Win32.Build.0 = Debug_php4|Win32
15 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php5|Win32.ActiveCfg = Debug_php5|Win32
16 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Debug_php5|Win32.Build.0 = Debug_php5|Win32
17 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php4|Win32.ActiveCfg = Release_php4|Win32
18 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php4|Win32.Build.0 = Release_php4|Win32
19 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php5|Win32.ActiveCfg = Release_php5|Win32
20 | {71165FA5-1EBC-4021-AA17-0CCBC7CD5204}.Release_php5|Win32.Build.0 = Release_php5|Win32
21 | EndGlobalSection
22 | GlobalSection(SolutionProperties) = preSolution
23 | HideSolutionNode = FALSE
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Storage.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think;
12 | // 分布式文件存储类
13 | class Storage {
14 |
15 | /**
16 | * 操作句柄
17 | * @var string
18 | * @access protected
19 | */
20 | static protected $handler ;
21 |
22 | /**
23 | * 连接分布式文件系统
24 | * @access public
25 | * @param string $type 文件类型
26 | * @param array $options 配置数组
27 | * @return void
28 | */
29 | static public function connect($type='File',$options=array()) {
30 | $class = 'Think\\Storage\\Driver\\'.ucwords($type);
31 | self::$handler = new $class($options);
32 | }
33 |
34 | static public function __callstatic($method,$args){
35 | //调用缓存驱动的方法
36 | if(method_exists(self::$handler, $method)){
37 | return call_user_func_array(array(self::$handler,$method), $args);
38 | }
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/shared.make_timestamp.php:
--------------------------------------------------------------------------------
1 |
11 | * Purpose: used by other smarty functions to make a timestamp from a string.
12 | *
13 | * @author Monte Ohrt
14 | * @param DateTime|int|string $string date object, timestamp or string that can be converted using strtotime()
15 | * @return int
16 | */
17 | function smarty_make_timestamp($string)
18 | {
19 | if (empty($string)) {
20 | // use "now":
21 | return time();
22 | } elseif ($string instanceof DateTime) {
23 | return $string->getTimestamp();
24 | } elseif (strlen($string) == 14 && ctype_digit($string)) {
25 | // it is mysql timestamp format of YYYYMMDDHHMMSS?
26 | return mktime(substr($string, 8, 2),substr($string, 10, 2),substr($string, 12, 2),
27 | substr($string, 4, 2),substr($string, 6, 2),substr($string, 0, 4));
28 | } elseif (is_numeric($string)) {
29 | // it is a numeric string, we handle it as timestamp
30 | return (int) $string;
31 | } else {
32 | // strtotime should handle it
33 | $time = strtotime($string);
34 | if ($time == -1 || $time === false) {
35 | // strtotime() was not able to parse $string, use "now":
36 | return time();
37 | }
38 | return $time;
39 | }
40 | }
41 |
42 | ?>
43 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Think/Controller/YarController.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Controller;
12 | /**
13 | * ThinkPHP Yar控制器类
14 | */
15 | class YarController {
16 |
17 | /**
18 | * 架构函数
19 | * @access public
20 | */
21 | public function __construct() {
22 | //控制器初始化
23 | if(method_exists($this,'_initialize'))
24 | $this->_initialize();
25 | //判断扩展是否存在
26 | if(!extension_loaded('yar'))
27 | E(L('_NOT_SUPPORT_').':yar');
28 | //实例化Yar_Server
29 | $server = new \Yar_Server($this);
30 | // 启动server
31 | $server->handle();
32 | }
33 |
34 | /**
35 | * 魔术方法 有不存在的操作的时候执行
36 | * @access public
37 | * @param string $method 方法名
38 | * @param array $args 参数
39 | * @return mixed
40 | */
41 | public function __call($method,$args){}
42 | }
43 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.unescape.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: unescape
14 | * Purpose: unescape html entities
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_unescape($params, $compiler)
21 | {
22 | if (!isset($params[1])) {
23 | $params[1] = 'html';
24 | }
25 | if (!isset($params[2])) {
26 | $params[2] = "SMARTY_RESOURCE_CHAR_SET";
27 | } else {
28 | $params[2] = "'" . $params[2] . "'";
29 | }
30 |
31 | switch (trim($params[1], '"\'')) {
32 | case 'entity':
33 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')';
34 | case 'htmlall':
35 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
36 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')';
37 | }
38 | return 'html_entity_decode(' . $params[0] . ', ENT_QUOTES, ' . $params[2] . ')';
39 |
40 | case 'html':
41 | return 'htmlspecialchars_decode(' . $params[0] . ', ENT_QUOTES)';
42 |
43 | default:
44 | return $params[0];
45 | }
46 | }
47 |
48 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/Application/Home/Controller/ModifypasswordController.class.php:
--------------------------------------------------------------------------------
1 | init();
11 | $this->display();
12 | }
13 |
14 | private function init() {
15 | if (I('oldpwd') == '' || I('newpwd') == '') {
16 | return;
17 | }
18 | if (I('newpwd', '', '/^[a-z0-9A-Z]{6,16}$/') == '') {
19 | HJCTool::alertBack('密码格式错误: 请输入6-16位英文字母或数字');
20 | }
21 | if (I('oldpwd') == I('newpwd')) {
22 | HJCTool::alertBack('新密码不可和旧密码相同');
23 | }
24 |
25 | $oldpwd = HJCTool::secret(I('oldpwd'));
26 | $newpwd = HJCTool::secret(I('newpwd'));
27 | $userId = $this->getUserId();
28 | $mysql = M();
29 | $ret = $mysql->query("SELECT * FROM cloud_user WHERE id = '$userId' AND password = '$oldpwd'");
30 | if ($ret) {
31 | $updateret = $mysql->execute("UPDATE cloud_user SET password = '$newpwd' WHERE id = '$userId'");
32 | if ($updateret) {
33 | // 修改成功退出登录
34 | HJCTool::alertToLocation('修改成功,请重新登录!', '/Home/?a=logout');
35 | } else {
36 | HJCTool::alertBack('修改失败!');
37 | }
38 | } else {
39 | HJCTool::alertBack('密码不正确');
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Org/Util/Stack.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Org\Util;
12 |
13 | /**
14 | * Stack实现类
15 | * @category ORG
16 | * @package ORG
17 | * @subpackage Util
18 | * @author liu21st
19 | */
20 | class Stack extends ArrayList {
21 |
22 | /**
23 | * 架构函数
24 | * @access public
25 | * @param array $values 初始化数组元素
26 | */
27 | public function __construct($values = array()) {
28 | parent::__construct($values);
29 | }
30 |
31 | /**
32 | * 将堆栈的内部指针指向第一个单元
33 | * @access public
34 | * @return mixed
35 | */
36 | public function peek() {
37 | return reset($this->toArray());
38 | }
39 |
40 | /**
41 | * 元素进栈
42 | * @access public
43 | * @param mixed $value
44 | * @return mixed
45 | */
46 | public function push($value) {
47 | $this->add($value);
48 | return $value;
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/shared.make_timestamp.php:
--------------------------------------------------------------------------------
1 |
11 | * Purpose: used by other smarty functions to make a timestamp from a string.
12 | *
13 | * @author Monte Ohrt
14 | * @param DateTime|int|string $string date object, timestamp or string that can be converted using strtotime()
15 | * @return int
16 | */
17 | function smarty_make_timestamp($string)
18 | {
19 | if (empty($string)) {
20 | // use "now":
21 | return time();
22 | } elseif ($string instanceof DateTime) {
23 | return $string->getTimestamp();
24 | } elseif (strlen($string) == 14 && ctype_digit($string)) {
25 | // it is mysql timestamp format of YYYYMMDDHHMMSS?
26 | return mktime(substr($string, 8, 2),substr($string, 10, 2),substr($string, 12, 2),
27 | substr($string, 4, 2),substr($string, 6, 2),substr($string, 0, 4));
28 | } elseif (is_numeric($string)) {
29 | // it is a numeric string, we handle it as timestamp
30 | return (int) $string;
31 | } else {
32 | // strtotime should handle it
33 | $time = strtotime($string);
34 | if ($time == -1 || $time === false) {
35 | // strtotime() was not able to parse $string, use "now":
36 | return time();
37 | }
38 | return $time;
39 | }
40 | }
41 |
42 | ?>
43 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/Smarty/plugins/modifiercompiler.unescape.php:
--------------------------------------------------------------------------------
1 |
13 | * Name: unescape
14 | * Purpose: unescape html entities
15 | *
16 | * @author Rodney Rehm
17 | * @param array $params parameters
18 | * @return string with compiled code
19 | */
20 | function smarty_modifiercompiler_unescape($params, $compiler)
21 | {
22 | if (!isset($params[1])) {
23 | $params[1] = 'html';
24 | }
25 | if (!isset($params[2])) {
26 | $params[2] = "SMARTY_RESOURCE_CHAR_SET";
27 | } else {
28 | $params[2] = "'" . $params[2] . "'";
29 | }
30 |
31 | switch (trim($params[1], '"\'')) {
32 | case 'entity':
33 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')';
34 | case 'htmlall':
35 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) {
36 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')';
37 | }
38 | return 'html_entity_decode(' . $params[0] . ', ENT_QUOTES, ' . $params[2] . ')';
39 |
40 | case 'html':
41 | return 'htmlspecialchars_decode(' . $params[0] . ', ENT_QUOTES)';
42 |
43 | default:
44 | return $params[0];
45 | }
46 | }
47 |
48 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/template.fetch_compile_include.php:
--------------------------------------------------------------------------------
1 | debugging)
12 | {
13 | $object->_templatelite_debug_info[] = array('type' => 'template',
14 | 'filename' => $_templatelite_include_file,
15 | 'depth' => ++$object->_inclusion_depth,
16 | 'exec_time' => array_sum(explode(' ', microtime())) );
17 | $included_tpls_idx = count($object->_templatelite_debug_info) - 1;
18 | }
19 |
20 | $object->_vars = array_merge($object->_vars, $_templatelite_include_vars);
21 | $_templatelite_include_file = $object->_get_resource($_templatelite_include_file);
22 | if(isset($object->_confs[0]))
23 | {
24 | array_unshift($object->_confs, $object->_confs[0]);
25 | $_compiled_output = $object->_fetch_compile($_templatelite_include_file);
26 | array_shift($object->_confs);
27 | }
28 | else
29 | {
30 | $_compiled_output = $object->_fetch_compile($_templatelite_include_file);
31 | }
32 |
33 | $object->_inclusion_depth--;
34 |
35 | if ($object->debugging)
36 | {
37 | $object->_templatelite_debug_info[$included_tpls_idx]['exec_time'] = array_sum(explode(' ', microtime())) - $object->_templatelite_debug_info[$included_tpls_idx]['exec_time'];
38 | }
39 | return $_compiled_output;
40 | }
41 |
42 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/template.destroy_dir.php:
--------------------------------------------------------------------------------
1 | template_dir = $object->_get_dir($object->template_dir);
32 |
33 | $name = ($object->encode_file_name) ? md5($object->template_dir.$file).'.php' : str_replace(".", "_", str_replace("/", "_", $file)).'.php';
34 | @unlink($dir.$name);
35 | }
36 | else
37 | {
38 | $_args = "";
39 | foreach(explode('|', $id) as $value)
40 | {
41 | $_args .= $value.DIRECTORY_SEPARATOR;
42 | }
43 | template_rm_dir($dir.DIRECTORY_SEPARATOR.$_args);
44 | }
45 | }
46 | }
47 |
48 | function template_rm_dir($dir)
49 | {
50 | if (is_file(substr($dir, 0, -1)))
51 | {
52 | @unlink(substr($dir, 0, -1));
53 | return;
54 | }
55 | if ($d = opendir($dir))
56 | {
57 | while(($f = readdir($d)) !== false)
58 | {
59 | if ($f != '.' && $f != '..')
60 | {
61 | template_rm_dir($dir.$f.DIRECTORY_SEPARATOR, $object);
62 | }
63 | }
64 | @rmdir($dir.$f);
65 | }
66 | }
67 |
68 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Org/Util/Stack.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Org\Util;
12 |
13 | /**
14 | * Stack实现类
15 | * @category ORG
16 | * @package ORG
17 | * @subpackage Util
18 | * @author liu21st
19 | */
20 | class Stack extends ArrayList {
21 |
22 | /**
23 | * 架构函数
24 | * @access public
25 | * @param array $values 初始化数组元素
26 | */
27 | public function __construct($values = array()) {
28 | parent::__construct($values);
29 | }
30 |
31 | /**
32 | * 将堆栈的内部指针指向第一个单元
33 | * @access public
34 | * @return mixed
35 | */
36 | public function peek() {
37 | return reset($this->toArray());
38 | }
39 |
40 | /**
41 | * 元素进栈
42 | * @access public
43 | * @param mixed $value
44 | * @return mixed
45 | */
46 | public function push($value) {
47 | $this->add($value);
48 | return $value;
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/TemplateLite/internal/template.fetch_compile_include.php:
--------------------------------------------------------------------------------
1 | debugging)
12 | {
13 | $object->_templatelite_debug_info[] = array('type' => 'template',
14 | 'filename' => $_templatelite_include_file,
15 | 'depth' => ++$object->_inclusion_depth,
16 | 'exec_time' => array_sum(explode(' ', microtime())) );
17 | $included_tpls_idx = count($object->_templatelite_debug_info) - 1;
18 | }
19 |
20 | $object->_vars = array_merge($object->_vars, $_templatelite_include_vars);
21 | $_templatelite_include_file = $object->_get_resource($_templatelite_include_file);
22 | if(isset($object->_confs[0]))
23 | {
24 | array_unshift($object->_confs, $object->_confs[0]);
25 | $_compiled_output = $object->_fetch_compile($_templatelite_include_file);
26 | array_shift($object->_confs);
27 | }
28 | else
29 | {
30 | $_compiled_output = $object->_fetch_compile($_templatelite_include_file);
31 | }
32 |
33 | $object->_inclusion_depth--;
34 |
35 | if ($object->debugging)
36 | {
37 | $object->_templatelite_debug_info[$included_tpls_idx]['exec_time'] = array_sum(explode(' ', microtime())) - $object->_templatelite_debug_info[$included_tpls_idx]['exec_time'];
38 | }
39 | return $_compiled_output;
40 | }
41 |
42 | ?>
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/TemplateLite/internal/template.destroy_dir.php:
--------------------------------------------------------------------------------
1 | template_dir = $object->_get_dir($object->template_dir);
32 |
33 | $name = ($object->encode_file_name) ? md5($object->template_dir.$file).'.php' : str_replace(".", "_", str_replace("/", "_", $file)).'.php';
34 | @unlink($dir.$name);
35 | }
36 | else
37 | {
38 | $_args = "";
39 | foreach(explode('|', $id) as $value)
40 | {
41 | $_args .= $value.DIRECTORY_SEPARATOR;
42 | }
43 | template_rm_dir($dir.DIRECTORY_SEPARATOR.$_args);
44 | }
45 | }
46 | }
47 |
48 | function template_rm_dir($dir)
49 | {
50 | if (is_file(substr($dir, 0, -1)))
51 | {
52 | @unlink(substr($dir, 0, -1));
53 | return;
54 | }
55 | if ($d = opendir($dir))
56 | {
57 | while(($f = readdir($d)) !== false)
58 | {
59 | if ($f != '.' && $f != '..')
60 | {
61 | template_rm_dir($dir.$f.DIRECTORY_SEPARATOR, $object);
62 | }
63 | }
64 | @rmdir($dir.$f);
65 | }
66 | }
67 |
68 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Behavior/BrowserCheckBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | /**
13 | * 浏览器防刷新检测
14 | */
15 | class BrowserCheckBehavior {
16 | public function run(&$params) {
17 | if($_SERVER['REQUEST_METHOD'] == 'GET') {
18 | // 启用页面防刷新机制
19 | $guid = md5($_SERVER['PHP_SELF']);
20 | // 浏览器防刷新的时间间隔(秒) 默认为10
21 | $refleshTime = C('LIMIT_REFLESH_TIMES',null,10);
22 | // 检查页面刷新间隔
23 | if(cookie('_last_visit_time_'.$guid) && cookie('_last_visit_time_'.$guid)>time()-$refleshTime) {
24 | // 页面刷新读取浏览器缓存
25 | header('HTTP/1.1 304 Not Modified');
26 | exit;
27 | }else{
28 | // 缓存当前地址访问时间
29 | cookie('_last_visit_time_'.$guid, $_SERVER['REQUEST_TIME']);
30 | //header('Last-Modified:'.(date('D,d M Y H:i:s',$_SERVER['REQUEST_TIME']-C('LIMIT_REFLESH_TIMES'))).' GMT');
31 | }
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/xxtea.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 |
3 | Copyright 2006-2007 Ma Bingyao
4 |
5 | These sources is free software. Redistributions of source code must
6 | retain the above copyright notice. Redistributions in binary form
7 | must reproduce the above copyright notice. You can redistribute it
8 | freely. You can use it with any free or commercial software.
9 |
10 | These sources is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY. Without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 |
14 | You may contact the author by:
15 | e-mail: andot@coolcode.cn
16 |
17 | *************************************************************************/
18 |
19 | #ifndef XXTEA_H
20 | #define XXTEA_H
21 |
22 | #include /* for size_t & NULL declarations */
23 |
24 | #if defined(_MSC_VER)
25 |
26 | typedef unsigned __int32 xxtea_long;
27 |
28 | #else
29 |
30 | #if defined(__FreeBSD__) && __FreeBSD__ < 5
31 | /* FreeBSD 4 doesn't have stdint.h file */
32 | #include
33 | #else
34 | #include
35 | #endif
36 |
37 | typedef uint32_t xxtea_long;
38 |
39 | #endif /* end of if defined(_MSC_VER) */
40 |
41 | #define XXTEA_MX (z >> 5 ^ y << 2) + (y >> 3 ^ z << 4) ^ (sum ^ y) + (k[p & 3 ^ e] ^ z)
42 | #define XXTEA_DELTA 0x9e3779b9
43 |
44 | void xxtea_long_encrypt(xxtea_long *v, xxtea_long len, xxtea_long *k);
45 | void xxtea_long_decrypt(xxtea_long *v, xxtea_long len, xxtea_long *k);
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.include.php:
--------------------------------------------------------------------------------
1 | _parse_arguments($arguments);
12 |
13 | $arg_list = array();
14 | if (empty($_args['file']))
15 | {
16 | $object->trigger_error("missing 'file' attribute in include tag", E_USER_ERROR, __FILE__, __LINE__);
17 | }
18 |
19 | foreach ($_args as $arg_name => $arg_value)
20 | {
21 | if ($arg_name == 'file')
22 | {
23 | $include_file = $arg_value;
24 | continue;
25 | }
26 | else if ($arg_name == 'assign')
27 | {
28 | $assign_var = $arg_value;
29 | continue;
30 | }
31 | if (is_bool($arg_value))
32 | {
33 | $arg_value = $arg_value ? 'true' : 'false';
34 | }
35 | $arg_list[] = "'$arg_name' => $arg_value";
36 | }
37 |
38 | if (isset($assign_var))
39 | {
40 | $output = '_vars;' .
41 | "\n\$this->assign(" . $assign_var . ", \$this->_fetch_compile_include(" . $include_file . ", array(".implode(',', (array)$arg_list).")));\n" .
42 | "\$this->_vars = \$_templatelite_tpl_vars;\n" .
43 | "unset(\$_templatelite_tpl_vars);\n" .
44 | ' ?>';
45 | }
46 | else
47 | {
48 | $output = '_vars;' .
49 | "\necho \$this->_fetch_compile_include(" . $include_file . ", array(".implode(',', (array)$arg_list)."));\n" .
50 | "\$this->_vars = \$_templatelite_tpl_vars;\n" .
51 | "unset(\$_templatelite_tpl_vars);\n" .
52 | ' ?>';
53 | }
54 | return $output;
55 | }
56 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Template/Driver/Lite.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * TemplateLite模板引擎驱动
14 | */
15 | class Lite {
16 | /**
17 | * 渲染模板输出
18 | * @access public
19 | * @param string $templateFile 模板文件名
20 | * @param array $var 模板变量
21 | * @return void
22 | */
23 | public function fetch($templateFile,$var) {
24 | vendor("TemplateLite.class#template");
25 | $templateFile = substr($templateFile,strlen(THEME_PATH));
26 | $tpl = new \Template_Lite();
27 | $tpl->template_dir = THEME_PATH;
28 | $tpl->compile_dir = CACHE_PATH ;
29 | $tpl->cache_dir = TEMP_PATH ;
30 | if(C('TMPL_ENGINE_CONFIG')) {
31 | $config = C('TMPL_ENGINE_CONFIG');
32 | foreach ($config as $key=>$val){
33 | $tpl->{$key} = $val;
34 | }
35 | }
36 | $tpl->assign($var);
37 | $tpl->display($templateFile);
38 | }
39 | }
--------------------------------------------------------------------------------
/Application/Home/View/Common/Navigation.html:
--------------------------------------------------------------------------------
1 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Behavior/BrowserCheckBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | /**
13 | * 浏览器防刷新检测
14 | */
15 | class BrowserCheckBehavior {
16 | public function run(&$params) {
17 | if($_SERVER['REQUEST_METHOD'] == 'GET') {
18 | // 启用页面防刷新机制
19 | $guid = md5($_SERVER['PHP_SELF']);
20 | // 浏览器防刷新的时间间隔(秒) 默认为10
21 | $refleshTime = C('LIMIT_REFLESH_TIMES',null,10);
22 | // 检查页面刷新间隔
23 | if(cookie('_last_visit_time_'.$guid) && cookie('_last_visit_time_'.$guid)>time()-$refleshTime) {
24 | // 页面刷新读取浏览器缓存
25 | header('HTTP/1.1 304 Not Modified');
26 | exit;
27 | }else{
28 | // 缓存当前地址访问时间
29 | cookie('_last_visit_time_'.$guid, $_SERVER['REQUEST_TIME']);
30 | //header('Last-Modified:'.(date('D,d M Y H:i:s',$_SERVER['REQUEST_TIME']-C('LIMIT_REFLESH_TIMES'))).' GMT');
31 | }
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/xxtea.h:
--------------------------------------------------------------------------------
1 | /***********************************************************************
2 |
3 | Copyright 2006-2007 Ma Bingyao
4 |
5 | These sources is free software. Redistributions of source code must
6 | retain the above copyright notice. Redistributions in binary form
7 | must reproduce the above copyright notice. You can redistribute it
8 | freely. You can use it with any free or commercial software.
9 |
10 | These sources is distributed in the hope that it will be useful,
11 | but WITHOUT ANY WARRANTY. Without even the implied warranty of
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
13 |
14 | You may contact the author by:
15 | e-mail: andot@coolcode.cn
16 |
17 | *************************************************************************/
18 |
19 | #ifndef XXTEA_H
20 | #define XXTEA_H
21 |
22 | #include /* for size_t & NULL declarations */
23 |
24 | #if defined(_MSC_VER)
25 |
26 | typedef unsigned __int32 xxtea_long;
27 |
28 | #else
29 |
30 | #if defined(__FreeBSD__) && __FreeBSD__ < 5
31 | /* FreeBSD 4 doesn't have stdint.h file */
32 | #include
33 | #else
34 | #include
35 | #endif
36 |
37 | typedef uint32_t xxtea_long;
38 |
39 | #endif /* end of if defined(_MSC_VER) */
40 |
41 | #define XXTEA_MX (z >> 5 ^ y << 2) + (y >> 3 ^ z << 4) ^ (sum ^ y) + (k[p & 3 ^ e] ^ z)
42 | #define XXTEA_DELTA 0x9e3779b9
43 |
44 | void xxtea_long_encrypt(xxtea_long *v, xxtea_long len, xxtea_long *k);
45 | void xxtea_long_decrypt(xxtea_long *v, xxtea_long len, xxtea_long *k);
46 |
47 | #endif
48 |
--------------------------------------------------------------------------------
/Application/Index/View/Sdk/phpwind/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.include.php:
--------------------------------------------------------------------------------
1 | _parse_arguments($arguments);
12 |
13 | $arg_list = array();
14 | if (empty($_args['file']))
15 | {
16 | $object->trigger_error("missing 'file' attribute in include tag", E_USER_ERROR, __FILE__, __LINE__);
17 | }
18 |
19 | foreach ($_args as $arg_name => $arg_value)
20 | {
21 | if ($arg_name == 'file')
22 | {
23 | $include_file = $arg_value;
24 | continue;
25 | }
26 | else if ($arg_name == 'assign')
27 | {
28 | $assign_var = $arg_value;
29 | continue;
30 | }
31 | if (is_bool($arg_value))
32 | {
33 | $arg_value = $arg_value ? 'true' : 'false';
34 | }
35 | $arg_list[] = "'$arg_name' => $arg_value";
36 | }
37 |
38 | if (isset($assign_var))
39 | {
40 | $output = '_vars;' .
41 | "\n\$this->assign(" . $assign_var . ", \$this->_fetch_compile_include(" . $include_file . ", array(".implode(',', (array)$arg_list).")));\n" .
42 | "\$this->_vars = \$_templatelite_tpl_vars;\n" .
43 | "unset(\$_templatelite_tpl_vars);\n" .
44 | ' ?>';
45 | }
46 | else
47 | {
48 | $output = '_vars;' .
49 | "\necho \$this->_fetch_compile_include(" . $include_file . ", array(".implode(',', (array)$arg_list)."));\n" .
50 | "\$this->_vars = \$_templatelite_tpl_vars;\n" .
51 | "unset(\$_templatelite_tpl_vars);\n" .
52 | ' ?>';
53 | }
54 | return $output;
55 | }
56 | ?>
--------------------------------------------------------------------------------
/Application/Home/Common/Des/DES.php:
--------------------------------------------------------------------------------
1 | strlen($text)) {
13 | return false;
14 | }
15 | if (strspn($text, chr($pad), strlen($text) - $pad) != $pad) {
16 | return false;
17 | }
18 | return substr($text, 0, -1 * $pad);
19 | }
20 |
21 | public static function encrypt($key, $data) {
22 | $size = mcrypt_get_block_size('des', 'ecb');
23 | $data = DES::pkcs5_pad($data, $size);
24 | $td = mcrypt_module_open('des', '', 'ecb', '');
25 | $iv = @mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);
26 | @mcrypt_generic_init($td, $key, $iv);
27 | $data = mcrypt_generic($td, $data);
28 | mcrypt_generic_deinit($td);
29 | mcrypt_module_close($td);
30 | return $data;
31 | }
32 |
33 | public static function decrypt($key, $data) {
34 | $td = mcrypt_module_open('des','','ecb','');
35 | $iv = @mcrypt_create_iv(mcrypt_enc_get_iv_size($td), MCRYPT_RAND);
36 | $ks = mcrypt_enc_get_key_size($td);
37 | @mcrypt_generic_init($td, $key, $iv);
38 | $decrypted = mdecrypt_generic($td, $data);
39 | mcrypt_generic_deinit($td);
40 | mcrypt_module_close($td);
41 | $result = DES::pkcs5_unpad($decrypted);
42 | return $result;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------