├── Application
├── index.html
├── Home
│ ├── index.html
│ ├── Conf
│ │ ├── index.html
│ │ └── config.php
│ ├── View
│ │ ├── index.html
│ │ ├── Public
│ │ │ ├── foot.html
│ │ │ ├── share_head.html
│ │ │ └── head.html
│ │ ├── Share
│ │ │ ├── index.html
│ │ │ └── privacy.html
│ │ ├── Index
│ │ │ └── index.html
│ │ ├── Disk
│ │ │ └── fileList.html
│ │ └── layout
│ │ │ ├── share.html
│ │ │ ├── main.html
│ │ │ └── disk.html
│ ├── Common
│ │ ├── index.html
│ │ └── function.php
│ ├── Model
│ │ ├── index.html
│ │ └── MimeModel.class.php
│ └── Controller
│ │ ├── index.html
│ │ ├── UserController.class.php
│ │ ├── CommonController.class.php
│ │ └── IndexController.class.php
├── README.md
├── Common
│ ├── index.html
│ ├── Common
│ │ ├── function.php
│ │ └── index.html
│ └── Conf
│ │ ├── index.html
│ │ └── config.php
└── Runtime
│ └── Cache
│ └── Home
│ └── 685e614e5d14b4153c5f730a9e0c0035.php
├── Public
├── README.md
├── img
│ ├── cloud_128.png
│ ├── cloud_24.png
│ ├── cloud_32.png
│ └── favicon.ico
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
├── plugins
│ ├── plupload
│ │ └── js
│ │ │ ├── Moxie.swf
│ │ │ ├── Moxie.xap
│ │ │ ├── jquery.plupload.queue
│ │ │ └── img
│ │ │ │ ├── done.gif
│ │ │ │ ├── buttons.png
│ │ │ │ ├── delete.gif
│ │ │ │ ├── error.gif
│ │ │ │ ├── throbber.gif
│ │ │ │ ├── transp50.png
│ │ │ │ ├── backgrounds.gif
│ │ │ │ └── buttons-disabled.png
│ │ │ ├── jquery.ui.plupload
│ │ │ └── img
│ │ │ │ ├── loading.gif
│ │ │ │ └── plupload.png
│ │ │ └── i18n
│ │ │ ├── be_BY.js
│ │ │ ├── zh_CN.js
│ │ │ ├── zh_TW.js
│ │ │ ├── ko.js
│ │ │ ├── ja.js
│ │ │ ├── he.js
│ │ │ ├── sr.js
│ │ │ ├── sv.js
│ │ │ ├── et.js
│ │ │ ├── en.js
│ │ │ ├── da.js
│ │ │ ├── az.js
│ │ │ ├── tr.js
│ │ │ ├── cy.js
│ │ │ ├── hy.js
│ │ │ ├── ar.js
│ │ │ ├── th_TH.js
│ │ │ ├── fa.js
│ │ │ ├── lt.js
│ │ │ ├── pl.js
│ │ │ ├── ms.js
│ │ │ ├── it.js
│ │ │ ├── ka.js
│ │ │ ├── kk.js
│ │ │ ├── km.js
│ │ │ ├── cs.js
│ │ │ ├── sk.js
│ │ │ ├── fi.js
│ │ │ ├── vi.js
│ │ │ ├── es.js
│ │ │ ├── id.js
│ │ │ ├── ku_IQ.js
│ │ │ ├── bs.js
│ │ │ ├── hu.js
│ │ │ ├── de.js
│ │ │ ├── hr.js
│ │ │ ├── ro.js
│ │ │ ├── pt_BR.js
│ │ │ ├── ca.js
│ │ │ ├── nl.js
│ │ │ ├── lv.js
│ │ │ ├── ru.js
│ │ │ ├── bg.js
│ │ │ ├── el.js
│ │ │ ├── uk_UA.js
│ │ │ ├── sq.js
│ │ │ └── fr.js
│ ├── ZeroClipboard
│ │ └── ZeroClipboard.swf
│ └── validator
│ │ └── css
│ │ ├── bootstrapValidator.min.css
│ │ └── bootstrapValidator.css
└── css
│ ├── common.css
│ ├── share.css
│ └── signup.css
├── 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
│ │ ├── qiniu
│ │ │ ├── examples
│ │ │ │ ├── php-logo.png
│ │ │ │ ├── upload_token.php
│ │ │ │ ├── README.md
│ │ │ │ ├── download_token.php
│ │ │ │ ├── fetch.php
│ │ │ │ ├── list_file.php
│ │ │ │ ├── callback.php
│ │ │ │ ├── pfop.php
│ │ │ │ ├── mkzip.php
│ │ │ │ └── bucket_mgr.php
│ │ │ ├── .gitignore
│ │ │ ├── tests
│ │ │ │ ├── Qiniu
│ │ │ │ │ └── Tests
│ │ │ │ │ │ ├── Base64Test.php
│ │ │ │ │ │ ├── Crc32Test.php
│ │ │ │ │ │ ├── DownloadTest.php
│ │ │ │ │ │ ├── FopTest.php
│ │ │ │ │ │ ├── HttpTest.php
│ │ │ │ │ │ └── EtagTest.php
│ │ │ │ └── bootstrap.php
│ │ │ ├── autoload.php
│ │ │ ├── src
│ │ │ │ └── Qiniu
│ │ │ │ │ ├── Http
│ │ │ │ │ ├── Request.php
│ │ │ │ │ └── Error.php
│ │ │ │ │ ├── Zone.php
│ │ │ │ │ ├── Config.php
│ │ │ │ │ └── Processing
│ │ │ │ │ └── Operation.php
│ │ │ ├── CHANGELOG.md
│ │ │ ├── phpunit.xml.dist
│ │ │ ├── .travis.yml
│ │ │ ├── composer.json
│ │ │ ├── CONTRIBUTING.md
│ │ │ ├── .scrutinizer.yml
│ │ │ └── LICENSE
│ │ ├── 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.count_sentences.php
│ │ │ │ ├── modifiercompiler.indent.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
│ │ │ │ └── compile.generate_compiler_debug_output.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
│ │ │ │ ├── Smarty.class.php
│ │ │ │ ├── Smart.class.php
│ │ │ │ └── Ease.class.php
│ │ ├── Controller
│ │ │ ├── JsonRpcController.class.php
│ │ │ └── YarController.class.php
│ │ └── Storage.class.php
│ ├── Behavior
│ │ ├── AgentCheckBehavior.class.php
│ │ ├── WriteHtmlCacheBehavior.class.php
│ │ ├── BrowserCheckBehavior.class.php
│ │ └── RobotCheckBehavior.class.php
│ └── Org
│ │ └── Util
│ │ └── Stack.class.php
├── logo.png
├── Conf
│ └── debug.php
└── LICENSE.txt
├── README.md
├── composer.json
└── index.php
/Application/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Public/README.md:
--------------------------------------------------------------------------------
1 | 资源文件目录
--------------------------------------------------------------------------------
/Application/Home/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/README.md:
--------------------------------------------------------------------------------
1 | 项目目录
--------------------------------------------------------------------------------
/Application/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/View/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/Common/function.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Common/Conf/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Common/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Model/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/View/Public/foot.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/View/Share/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Application/Home/Controller/index.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/README.txt:
--------------------------------------------------------------------------------
1 | 第三方类库包目录
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # YouPan
2 | YouPan是一个在线网盘程序,使用ThinkPHP框架进行开发,文件存储于七牛云存储
3 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/failing1.yaml:
--------------------------------------------------------------------------------
1 | MyObject:
2 | Prop1: {key1:val1}
--------------------------------------------------------------------------------
/Application/Home/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | );
--------------------------------------------------------------------------------
/ThinkPHP/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/logo.png
--------------------------------------------------------------------------------
/Public/img/cloud_128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/img/cloud_128.png
--------------------------------------------------------------------------------
/Public/img/cloud_24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/img/cloud_24.png
--------------------------------------------------------------------------------
/Public/img/cloud_32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/img/cloud_32.png
--------------------------------------------------------------------------------
/Public/img/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/img/favicon.ico
--------------------------------------------------------------------------------
/Public/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/phpRPC/pecl/xxtea/CREDITS:
--------------------------------------------------------------------------------
1 | XXTEA PHP extension
2 | Ma Bingyao (andot@coolcode.cn)
3 |
--------------------------------------------------------------------------------
/Public/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/Public/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/Moxie.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/Moxie.swf
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/Moxie.xap:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/Moxie.xap
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/spyc/tests/comments.yaml:
--------------------------------------------------------------------------------
1 | foo: 'bar' #Comment
2 | arr: ['x', 'y', 'z'] # Comment here
3 | bar: kittens
--------------------------------------------------------------------------------
/Public/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/1.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/2.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/3.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/4.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/5.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/6.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/7.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/bgs/8.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/bgs/8.jpg
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/1.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/ttfs/1.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/2.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/ttfs/2.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/3.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/ttfs/3.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/4.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/ttfs/4.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/5.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/ttfs/5.ttf
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Verify/ttfs/6.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Think/Verify/ttfs/6.ttf
--------------------------------------------------------------------------------
/Public/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/Public/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/Public/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/Public/plugins/ZeroClipboard/ZeroClipboard.swf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/ZeroClipboard/ZeroClipboard.swf
--------------------------------------------------------------------------------
/Public/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/examples/php-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/ThinkPHP/Library/Vendor/qiniu/examples/php-logo.png
--------------------------------------------------------------------------------
/Application/Home/View/Index/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
YouPan,你的云上优盘
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/done.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/done.gif
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.ui.plupload/img/loading.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.ui.plupload/img/loading.gif
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/buttons.png
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/delete.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/delete.gif
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/error.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/error.gif
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.ui.plupload/img/plupload.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.ui.plupload/img/plupload.png
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/throbber.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/throbber.gif
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/transp50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/transp50.png
--------------------------------------------------------------------------------
/Public/css/common.css:
--------------------------------------------------------------------------------
1 | .container-fluid .navbar-header{margin-left: 25px;}
2 | .navbar-nav{margin-left: 20px;}
3 | .navbar-nav li{margin-left: 10px;}
4 | .dropdown-menu i{margin-right: 20px;}
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/backgrounds.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/backgrounds.gif
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/jquery.plupload.queue/img/buttons-disabled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linkjian1994/YouPan/HEAD/Public/plugins/plupload/js/jquery.plupload.queue/img/buttons-disabled.png
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/.gitignore:
--------------------------------------------------------------------------------
1 | *.phar
2 | *.zip
3 | build/artifacts
4 | phpunit.xml
5 | phpunit.functional.xml
6 | .DS_Store
7 | .swp
8 | .build
9 | composer.lock
10 | vendor
11 | src/package.xml
12 |
--------------------------------------------------------------------------------
/Public/css/share.css:
--------------------------------------------------------------------------------
1 | body{background-color: #e7e7e7;}
2 | .share-area{width: 500px;margin: 100px auto;background: #fefefe;border: 1px solid #cfcfcf;padding:40px 40px 40px 40px}
3 | .share-area p{margin-bottom: 20px;}
4 | #password {width: 320px;}
5 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/examples/upload_token.php:
--------------------------------------------------------------------------------
1 | uploadToken($bucket);
12 |
13 | echo $upToken;
14 |
--------------------------------------------------------------------------------
/Application/Home/Controller/UserController.class.php:
--------------------------------------------------------------------------------
1 | redirect('Index/index');
11 | }
12 |
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/tests/Qiniu/Tests/Base64Test.php:
--------------------------------------------------------------------------------
1 | assertEquals($a, \Qiniu\base64_urlSafeDecode($b));
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Boris/ExportInspector.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Boris/DumpInspector.php:
--------------------------------------------------------------------------------
1 | /
13 | $baseUrl = 'http://sslayer.qiniudn.com/1.jpg?imageView2/1/h/500';
14 | // 对链接进行签名
15 | $signedUrl = $auth->privateDownloadUrl($baseUrl);
16 |
17 | echo $signedUrl;
18 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/src/Qiniu/Http/Request.php:
--------------------------------------------------------------------------------
1 | method = strtoupper($method);
14 | $this->url = $url;
15 | $this->headers = $headers;
16 | $this->body = $body;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "topthink/thinkphp",
3 | "description": "the ThinkPHP Framework",
4 | "type": "framework",
5 | "keywords": ["framework","thinkphp","ORM"],
6 | "homepage": "http://thinkphp.cn/",
7 | "license": "Apache2",
8 | "authors": [
9 | {
10 | "name": "liu21st",
11 | "email": "liu21st@gmail.com"
12 | }
13 | ],
14 | "require": {
15 | "php": ">=5.3.0"
16 | },
17 | "minimum-stability": "dev"
18 | }
19 |
--------------------------------------------------------------------------------
/Application/Home/View/Disk/fileList.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | |
4 | {$file.fdName}
5 |
9 | |
10 | {$file.fdSizeH} |
11 | {$file.fdUpdate} |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/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/qiniu/tests/Qiniu/Tests/Crc32Test.php:
--------------------------------------------------------------------------------
1 | assertEquals('1352841281', $b);
13 | }
14 |
15 | public function testFile()
16 | {
17 | $b = \Qiniu\crc32_file(__file__);
18 | $c = \Qiniu\crc32_file(__file__);
19 | $this->assertEquals($c, $b);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/Public/plugins/validator/css/bootstrapValidator.min.css:
--------------------------------------------------------------------------------
1 | /*!
2 | * BootstrapValidator (http://bootstrapvalidator.com)
3 | * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
4 | *
5 | * @version v0.5.1-dev, built on 2014-07-23 6:05:15 AM
6 | * @author https://twitter.com/nghuuphuoc
7 | * @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
8 | * @license MIT
9 | */
10 |
11 | .bv-form .help-block{margin-bottom:0}.bv-form .tooltip-inner{text-align:left}.nav-tabs li.bv-tab-success>a{color:#3c763d}.nav-tabs li.bv-tab-error>a{color:#a94442}
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/plugins/variablefilter.htmlspecialchars.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Public/plugins/validator/css/bootstrapValidator.css:
--------------------------------------------------------------------------------
1 | /**
2 | * BootstrapValidator (http://bootstrapvalidator.com)
3 | * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
4 | *
5 | * @author http://twitter.com/nghuuphuoc
6 | * @copyright (c) 2013 - 2014 Nguyen Huu Phuoc
7 | * @license MIT
8 | */
9 |
10 | .bv-form .help-block {
11 | margin-bottom: 0;
12 | }
13 | .bv-form .tooltip-inner {
14 | text-align: left;
15 | }
16 | .nav-tabs li.bv-tab-success > a {
17 | color: #3c763d;
18 | }
19 | .nav-tabs li.bv-tab-error > a {
20 | color: #a94442;
21 | }
22 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | #Changelog
2 |
3 | ## 7.0.4 (2015-07-23)
4 | ### 修正
5 | * 一些地方的严格比较检查
6 | * resumeupload 备用地址失效
7 |
8 | ## 7.0.3 (2015-07-10)
9 | ### 修改
10 | * 多zone 支持
11 |
12 | ## 7.0.2 (2015-04-18)
13 | ### 修改
14 | * fetch 接口返回内容调整
15 | * pfop 接口调整
16 |
17 | ###修正
18 | * exception 类调用
19 |
20 | ## 7.0.1 (2015-03-27)
21 | ### 增加
22 | * 增加代码注释
23 |
24 | ## 7.0.0 (2015-02-03)
25 |
26 | ### 增加
27 | * 简化上传接口
28 | * 自动选择断点续上传还是直传
29 | * 重构代码,接口和内部结构更清晰
30 | * 改变mime
31 | * 代码覆盖度报告
32 | * policy改为array, 便于灵活增加,并加入过期字段检查
33 | * 文件列表支持目录形式
34 | * 利用元编程方式支持 fop 和 pfop
35 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/src/Qiniu/Zone.php:
--------------------------------------------------------------------------------
1 | upHost = $upHost;
12 | $this->upHostBackup = $upHostBackup;
13 | }
14 |
15 | public static function zone0()
16 | {
17 | return new self('http://up.qiniu.com', 'http://upload.qiniu.com');
18 | }
19 |
20 | public static function zone1()
21 | {
22 | return new self('http://up-z1.qiniu.com', 'http://upload-z1.qiniu.com');
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/examples/fetch.php:
--------------------------------------------------------------------------------
1 | fetch($url, $bucket, $key);
18 | echo "=====> fetch $url to bucket: $bucket key: $key\n";
19 | if ($err !== null) {
20 | var_dump($err);
21 | } else {
22 | echo 'Success';
23 | }
24 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/src/Qiniu/Http/Error.php:
--------------------------------------------------------------------------------
1 | url = $url;
12 | $this->response = $response;
13 | }
14 |
15 | public function code()
16 | {
17 | return $this->response->statusCode;
18 | }
19 |
20 | public function getResponse()
21 | {
22 | return $this->response;
23 | }
24 |
25 | public function message()
26 | {
27 | return $this->response->error;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/phpunit.xml.dist:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
15 | tests
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/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/Home/Controller/CommonController.class.php:
--------------------------------------------------------------------------------
1 | check(MODULE_NAME.'/'.CONTROLLER_NAME,session('UID'))){
11 | $this->error('抱歉,你没有权限访问此页面');
12 | }*/
13 |
14 | if(empty(session('userID')) && ACTION_NAME != 'callback')
15 | {
16 | $this->redirect('Index/signin');
17 | }
18 | }
19 | }
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/examples/list_file.php:
--------------------------------------------------------------------------------
1 | listFiles($bucket, $prefix, $marker, $limit);
18 | if ($err !== null) {
19 | echo "\n====> list file err: \n";
20 | var_dump($err);
21 | } else {
22 | echo "Marker: $marker\n";
23 | echo "\nList Iterms====>\n";
24 | var_dump($iterms);
25 | }
26 |
--------------------------------------------------------------------------------
/Application/Home/Common/function.php:
--------------------------------------------------------------------------------
1 | 0,
12 | 'photo' => 1,
13 | 'music' => 2,
14 | 'video' => 3,
15 | 'document' => 4,
16 | );
17 | }
18 |
19 | function createShareCode()
20 | {
21 | $code = uniqid('',true);
22 | $code = $code.mt_rand(1,1000000);
23 | $code = substr(str_shuffle(md5($code)), 0,10);
24 | return $code;
25 | }
26 |
27 | function createSharePassword()
28 | {
29 | return substr(createShareCode(),0,4);
30 | }
31 |
32 |
33 |
34 |
35 | ?>
--------------------------------------------------------------------------------
/Application/Home/View/layout/share.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | YouPan-你的云上优盘
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | {__CONTENT__}
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/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/Vendor/qiniu/.travis.yml:
--------------------------------------------------------------------------------
1 | # using docker container
2 | sudo: false
3 |
4 | language: php
5 | php:
6 | - 5.3
7 | - 5.4
8 | - 5.5
9 | - 5.6
10 | before_script:
11 | - export QINIU_TEST_ENV="travis"
12 | - travis_retry composer self-update
13 | - travis_retry composer install --no-interaction --prefer-source --dev
14 | script:
15 | - ./vendor/bin/phpcs --standard=PSR2 src
16 | - ./vendor/bin/phpcs --standard=PSR2 examples
17 | - ./vendor/bin/phpcs --standard=PSR2 tests
18 | - ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover tests/Qiniu/Tests/
19 | after_script:
20 | - wget https://scrutinizer-ci.com/ocular.phar
21 | - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
22 |
--------------------------------------------------------------------------------
/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.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/Runtime/Cache/Home/685e614e5d14b4153c5f730a9e0c0035.php:
--------------------------------------------------------------------------------
1 | $file): $mod = ($i % 2 );++$i;?>
2 | | ">
3 |
4 |
8 | |
9 | |
10 | |
11 |
--------------------------------------------------------------------------------
/Application/Home/View/layout/main.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | YouPan-你的云上优盘
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | {__CONTENT__}
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/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/qiniu/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "qiniu/php-sdk",
3 | "type": "library",
4 | "description": "Qiniu Resource (Cloud) Storage SDK for PHP",
5 | "keywords": ["qiniu", "storage", "sdk", "cloud"],
6 | "homepage": "http://developer.qiniu.com/",
7 | "license": "MIT",
8 | "authors": [
9 | {
10 | "name": "Qiniu",
11 | "email": "sdk@qiniu.com",
12 | "homepage": "http://www.qiniu.com"
13 | }
14 | ],
15 | "require": {
16 | "php": ">=5.3.3"
17 | },
18 | "require-dev": {
19 | "phpunit/phpunit": "~4.0",
20 | "squizlabs/php_codesniffer": "~2.3"
21 | },
22 | "autoload": {
23 | "psr-4": {"Qiniu\\": "src/Qiniu"},
24 | "files": ["src/Qiniu/functions.php"]
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/be_BY.js:
--------------------------------------------------------------------------------
1 | // Belarusian (Belarus) (be_BY)
2 | plupload.addI18n({"Stop Upload":"","Upload URL might be wrong or doesn't exist.":"","tb":"","Size":"","Close":"","Init error.":"","Add files to the upload queue and click the start button.":"","Filename":"","Image format either wrong or not supported.":"","Status":"","HTTP Error.":"","Start Upload":"","mb":"","kb":"","Duplicate file error.":"","File size error.":"","N/A":"","gb":"","Error: Invalid file extension:":"","Select files":"","%s already present in the queue.":"","File: %s":"","b":"","Uploaded %d/%d files":"","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"","%d files queued":"","File: %s, size: %d, max file size: %d":"","Drag files here.":"","Runtime ran out of available memory.":"","File count error.":"","File extension error.":"","Error: File too large:":"","Add Files":""});
--------------------------------------------------------------------------------
/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/qiniu/tests/Qiniu/Tests/DownloadTest.php:
--------------------------------------------------------------------------------
1 | privateDownloadUrl($base_url);
13 | $response = Client::get($private_url);
14 | $this->assertEquals(200, $response->statusCode);
15 | }
16 |
17 | public function testFop()
18 | {
19 | global $testAuth;
20 | $base_url = 'http://private-res.qiniudn.com/gogopher.jpg?exif';
21 | $private_url = $testAuth->privateDownloadUrl($base_url);
22 | $response = Client::get($private_url);
23 | $this->assertEquals(200, $response->statusCode);
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/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.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 | ?>
--------------------------------------------------------------------------------
/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/qiniu/examples/callback.php:
--------------------------------------------------------------------------------
1 | verifyCallback($contentType, $authorization, $url, $callbackBody);
23 |
24 | if ($isQiniuCallback) {
25 | $resp = array('ret' => 'success');
26 | } else {
27 | $resp = array('ret' => 'failed');
28 | }
29 |
30 | echo json_encode($resp);
31 |
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # 贡献代码指南
2 |
3 | 我们非常欢迎大家来贡献代码,我们会向贡献者致以最诚挚的敬意。
4 |
5 | 一般可以通过在Github上提交[Pull Request](https://github.com/qiniu/php-sdk)来贡献代码。
6 |
7 | ## Pull Request要求
8 |
9 | - **[PSR-2 编码风格标准](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md)** 。要通过项目中的code sniffer检查。
10 |
11 | - **代码格式** 提交前 请按 ./vendor/bin/phpcbf --standard=PSR2 进行格式化。
12 |
13 | - **必须添加测试!** - 如果没有测试(单元测试、集成测试都可以),那么提交的补丁是不会通过的。
14 |
15 | - **记得更新文档** - 保证`README.md`以及其他相关文档及时更新,和代码的变更保持一致性。
16 |
17 | - **考虑我们的发布周期** - 我们的版本号会服从[SemVer v2.0.0](http://semver.org/),我们绝对不会随意变更对外的API。
18 |
19 | - **创建feature分支** - 最好不要从你的master分支提交 pull request。
20 |
21 | - **一个feature提交一个pull请求** - 如果你的代码变更了多个操作,那就提交多个pull请求吧。
22 |
23 | - **清晰的commit历史** - 保证你的pull请求的每次commit操作都是有意义的。如果你开发中需要执行多次的即时commit操作,那么请把它们放到一起再提交pull请求。
24 |
25 | ## 运行测试
26 |
27 | ``` bash
28 | ./vendor/bin/phpunit tests/Qiniu/Tests/
29 |
30 | ```
31 |
--------------------------------------------------------------------------------
/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 | }
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/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 | // 定义应用目录
21 | define('APP_PATH','./Application/');
22 |
23 | // 引入ThinkPHP入口文件
24 | require './ThinkPHP/ThinkPHP.php';
25 |
26 | // 亲^_^ 后面不需要任何代码了 就是如此简单
--------------------------------------------------------------------------------
/Application/Common/Conf/config.php:
--------------------------------------------------------------------------------
1 | '配置值'
4 | 'LAYOUT_ON' => TRUE,
5 | 'LAYOUT_NAME' => 'layout/main',
6 | //数据库配置信息
7 | 'DB_TYPE' => 'mysql', // 数据库类型
8 | 'DB_HOST' => '', // 服务器地址
9 | 'DB_NAME' => 'youpan', // 数据库名
10 | 'DB_USER' => 'root', // 用户名
11 | 'DB_PWD' => '', // 密码
12 | 'DB_PORT' => , // 端口
13 | 'DB_PREFIX' => 'tb', // 数据库表前缀
14 | 'DB_CHARSET' => 'utf8', // 字符集
15 | 'DB_DEBUG' => TRUE, // 数据库调试模式 开启后可以记录SQL日志
16 |
17 | 'ACTION_SUFFIX' => 'ACTION',
18 | 'DB_PARAMS' => array(\PDO::ATTR_CASE => \PDO::CASE_NATURAL),
19 | 'QINIU_CONFIG' => array(
20 | 'ACCESSKEY' => '',
21 | 'SECRETKEY' => '',
22 | 'BUCKET' => '',
23 | 'CALLBACKURL' => '',
24 | 'DOMAIN' => '',
25 | ),
26 | 'URL_ROUTER_ON' => true,
27 | 'URL_ROUTE_RULES' => array(
28 | 's/:code' => 'Share/index'
29 | ),
30 | 'MULTI_MODULE' => false,
31 | 'DEFAULT_MODULE' => 'Home',
32 | 'URL_MODEL' => 2,
33 | 'FILE_SHARE_URL_PREFIX' => "http://{$_SERVER['SERVER_NAME']}/s/",
34 | );
35 |
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/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/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 |
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/Smarty/sysplugins/smarty_resource_recompiled.php:
--------------------------------------------------------------------------------
1 | filepath = false;
30 | $compiled->timestamp = false;
31 | $compiled->exists = false;
32 | }
33 |
34 | }
35 |
36 | ?>
--------------------------------------------------------------------------------
/Public/css/signup.css:
--------------------------------------------------------------------------------
1 | body {
2 | background-color: #eee;
3 | }
4 |
5 | .form-signin {
6 | max-width: 360px;
7 | padding: 15px;
8 | margin: 0 auto;
9 | }
10 | .form-signin-heading{
11 | text-align: center;
12 | }
13 | .form-signin .form-signin-heading,
14 | .form-signin .checkbox {
15 | margin-bottom: 10px;
16 | }
17 | .form-signin .checkbox {
18 | font-weight: normal;
19 | }
20 | .form-signin .form-control {
21 | position: relative;
22 | height: auto;
23 | -webkit-box-sizing: border-box;
24 | -moz-box-sizing: border-box;
25 | box-sizing: border-box;
26 | padding: 10px;
27 | font-size: 16px;
28 | }
29 | .form-signin .form-control:focus {
30 | z-index: 2;
31 | }
32 | .form-signin input{
33 | margin-top: 10px;
34 | }
35 | .form-signin input[type="email"] {
36 | margin-bottom: -1px;
37 | border-bottom-right-radius: 0;
38 | border-bottom-left-radius: 0;
39 | }
40 | .form-signin input[type="password"] {
41 | margin-bottom: 10px;
42 | border-top-left-radius: 0;
43 | border-top-right-radius: 0;
44 | }
45 |
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/tests/bootstrap.php:
--------------------------------------------------------------------------------
1 | 0) {
32 | fseek($file, $size-1);
33 | fwrite($file, ' ');
34 | }
35 | fclose($file);
36 | return $fileName;
37 | }
38 |
--------------------------------------------------------------------------------
/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/qiniu/examples/pfop.php:
--------------------------------------------------------------------------------
1 | execute($key, $fops);
25 | echo "\n====> pfop avthumb result: \n";
26 | if ($err != null) {
27 | var_dump($err);
28 | } else {
29 | echo "PersistentFop Id: $id\n";
30 | }
31 |
32 | //查询转码的进度和状态
33 | list($ret, $err) = $pfop->status($id);
34 | echo "\n====> pfop avthumb status: \n";
35 | if ($err != null) {
36 | var_dump($err);
37 | } else {
38 | var_dump($ret);
39 | }
40 |
--------------------------------------------------------------------------------
/Application/Home/Model/MimeModel.class.php:
--------------------------------------------------------------------------------
1 | select($id);
18 | }
19 |
20 | /**
21 | * 获取MimeType类型
22 | * @param $ext mime后缀
23 | * @return array
24 | */
25 | public function getFileTypeByExt($ext) {
26 | $where = array('fdExt' => $ext);
27 | $join = 'tbFileType on tbFileType.id = tbMime.fdTypeID';
28 | $typeID = $this->where($where)->join($join)->getField('tbFileType.id');
29 | if(empty($typeID))
30 | {
31 | $typeID = self::OTHER_FILE_TYPE;
32 | }
33 |
34 | return $typeID;
35 | }
36 |
37 | /**
38 | * 获取MimeType类型
39 | * @param $ext mime后缀
40 | * @return array
41 | */
42 | public function getMimeTypeByName($name) {
43 | return $this->where(array('fdName' => $name))->find();
44 | }
45 | }
46 |
47 | ?>
48 |
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/zh_CN.js:
--------------------------------------------------------------------------------
1 | // Chinese (China) (zh_CN)
2 | plupload.addI18n({"Stop Upload":"停止上传","Upload URL might be wrong or doesn't exist.":"上传的URL可能是错误的或不存在。","tb":"tb","Size":"大小","Close":"关闭","Init error.":"初始化错误。","Add files to the upload queue and click the start button.":"将文件添加到上传队列,然后点击”开始上传“按钮。","Filename":"文件名","Image format either wrong or not supported.":"图片格式错误或者不支持。","Status":"状态","HTTP Error.":"HTTP 错误。","Start Upload":"开始上传","mb":"mb","kb":"kb","Duplicate file error.":"重复文件错误。","File size error.":"文件大小错误。","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"错误:无效的文件扩展名:","Select files":"选择文件","%s already present in the queue.":"%s 已经在当前队列里。","File: %s":"文件: %s","b":"b","Uploaded %d/%d files":"已上传 %d/%d 个文件","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"每次只接受同时上传 %d 个文件,多余的文件将会被删除。","%d files queued":"%d 个文件加入到队列","File: %s, size: %d, max file size: %d":"文件: %s, 大小: %d, 最大文件大小: %d","Drag files here.":"把文件拖到这里。","Runtime ran out of available memory.":"运行时已消耗所有可用内存。","File count error.":"文件数量错误。","File extension error.":"文件扩展名错误。","Error: File too large:":"错误: 文件太大:","Add Files":"增加文件"});
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/.scrutinizer.yml:
--------------------------------------------------------------------------------
1 | filter:
2 | excluded_paths: [tests/*]
3 | checks:
4 | php:
5 | code_rating: true
6 | remove_extra_empty_lines: true
7 | remove_php_closing_tag: true
8 | remove_trailing_whitespace: true
9 | fix_use_statements:
10 | remove_unused: true
11 | preserve_multiple: false
12 | preserve_blanklines: true
13 | order_alphabetically: true
14 | fix_php_opening_tag: true
15 | fix_linefeed: true
16 | fix_line_ending: true
17 | fix_identation_4spaces: true
18 | fix_doc_comments: true
19 | tools:
20 | external_code_coverage:
21 | timeout: 1200
22 | runs: 3
23 | php_analyzer: true
24 | php_code_coverage: false
25 | php_code_sniffer:
26 | config:
27 | standard: PSR2
28 | filter:
29 | paths: ['src']
30 | php_loc:
31 | enabled: true
32 | excluded_dirs: [vendor, tests]
33 | php_cpd:
34 | enabled: true
35 | excluded_dirs: [vendor, tests]
36 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/zh_TW.js:
--------------------------------------------------------------------------------
1 | // Chinese (Taiwan) (zh_TW)
2 | plupload.addI18n({"Stop Upload":"停止上傳","Upload URL might be wrong or doesn't exist.":"檔案URL可能有誤或者不存在。","tb":"tb","Size":"大小","Close":"關閉","Init error.":"初始化錯誤。","Add files to the upload queue and click the start button.":"將檔案加入上傳序列,然後點選”開始上傳“按鈕。","Filename":"檔案名稱","Image format either wrong or not supported.":"圖片格式錯誤或者不支援。","Status":"狀態","HTTP Error.":"HTTP 錯誤。","Start Upload":"開始上傳","mb":"mb","kb":"kb","Duplicate file error.":"錯誤:檔案重複。","File size error.":"錯誤:檔案大小超過限制。","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"錯誤:不接受的檔案格式:","Select files":"選擇檔案","%s already present in the queue.":"%s 已經存在目前的檔案序列。","File: %s":"檔案: %s","b":"b","Uploaded %d/%d files":"已上傳 %d/%d 個文件","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"每次只能上傳 %d 個檔案,超過限制數量的檔案將被忽略。","%d files queued":"%d 個檔案加入到序列","File: %s, size: %d, max file size: %d":"檔案: %s, 大小: %d, 檔案大小上限: %d","Drag files here.":"把檔案拖曳到這裡。","Runtime ran out of available memory.":"執行時耗盡了所有可用的記憶體。","File count error.":"檔案數量錯誤。","File extension error.":"檔案副檔名錯誤。","Error: File too large:":"錯誤: 檔案大小太大:","Add Files":"增加檔案"});
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/Smarty/sysplugins/smarty_internal_get_include_path.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/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/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/Vendor/qiniu/src/Qiniu/Config.php:
--------------------------------------------------------------------------------
1 | upHost = $z->upHost;
24 | $this->upHostBackup = $z->upHostBackup;
25 | }
26 |
27 | public function getUpHost()
28 | {
29 | return $this->upHost;
30 | }
31 |
32 | public function getUpHostBackup()
33 | {
34 | return $this->upHostBackup;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/Application/Home/View/Share/privacy.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 林健 给您分享了加密文件
7 |
8 |
9 | 请输入提取码:
10 |
11 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/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.
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ko.js:
--------------------------------------------------------------------------------
1 | // Korean (ko)
2 | plupload.addI18n({"Stop Upload":"업로드 중지","Upload URL might be wrong or doesn't exist.":"업로드할 URL이 존재하지 않습니다.","tb":"tb","Size":"크기","Close":"닫기","Init error.":"초기화 오류.","Add files to the upload queue and click the start button.":"파일을 업로드 큐에 추가한 후 시작 버튼을 클릭하십시오.","Filename":"파일명","Image format either wrong or not supported.":"지원되지 않는 이미지 형식입니다.","Status":"상태","HTTP Error.":"HTTP 오류.","Start Upload":"업로드 시작","mb":"mb","kb":"kb","Duplicate file error.":"파일 중복 오류.","File size error.":"파일 크기 오류.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"오류: 허용되지 않은 확장자입니다.","Select files":"파일 선택","%s already present in the queue.":"%s 파일이 이미 대기열에 존재합니다.","File: %s":"파일: %s","b":"b","Uploaded %d/%d files":"%d / %d 파일 업로드 완료","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"업로드 가능한 파일의 수는 %d 입니다. 불필요한 파일은 삭제되었습니다.","%d files queued":"%d 파일이 추가됨","File: %s, size: %d, max file size: %d":"파일: %s, 크기: %d, 최대 파일 크기: %d","Drag files here.":"이곳에 파일을 드래그 하세요.","Runtime ran out of available memory.":"런타임 메모리가 부족합니다.","File count error.":"파일 갯수 오류.","File extension error.":"파일 확장자 오류.","Error: File too large:":"오류: 파일 크기가 너무 큽니다.","Add Files":"파일 추가"});
--------------------------------------------------------------------------------
/Application/Home/View/layout/disk.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | YouPan-你的云上优盘
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | {__CONTENT__}
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/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/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/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 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Qiniu, Ltd.
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 all
13 | 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 THE
21 | SOFTWARE.
22 |
23 |
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/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/qiniu/examples/mkzip.php:
--------------------------------------------------------------------------------
1 | execute($key, $fops);
36 |
37 | echo "\n====> pfop mkzip result: \n";
38 | if ($err != null) {
39 | var_dump($err);
40 | } else {
41 | echo "PersistentFop Id: $id\n";
42 |
43 | $res = "http://api.qiniu.com/status/get/prefop?id=$id";
44 | echo "Processing result: $res";
45 | }
46 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/he.js:
--------------------------------------------------------------------------------
1 | // Hebrew (he)
2 | plupload.addI18n({"Stop Upload":"בטל העלאה","Upload URL might be wrong or doesn't exist.":"כתובת URL שגויה או לא קיימת.","tb":"tb","Size":"גודל","Close":"סגור","Init error.":"שגיאת איתחול","Add files to the upload queue and click the start button.":"הוסף קבצים לרשימה ולחץ על כפתור שליחה להתחלת פעולות העלאה","Filename":"שם קובץ","Image format either wrong or not supported.":"תמונה פגומה או סוג תמונה לא נתמך","Status":"אחוז","HTTP Error.":"שגיאת פרוטוקול","Start Upload":"שליחה","mb":"MB","kb":"KB","Duplicate file error.":"קובץ כפול","File size error.":"גודל קובץ חורג מהמותר","N/A":"שגיאה","gb":"GB","Error: Invalid file extension:":"שגיאה: סוג קובץ לא נתמך:","Select files":"בחר קבצים","%s already present in the queue.":"%sקובץ נמצא כבר ברשימת הקבצים.","File: %s":"קובץ: %s","b":"B","Uploaded %d/%d files":"מעלה: %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"אלמנטי ההעלאה מקבלים רק %d קובץ(ים) בפעם אחת. קבצים נוספים הוסרו.","%d files queued":"%d קבצים נותרו","File: %s, size: %d, max file size: %d":"קובץ: %s, גודל: %d, גודל מקסימלי: %d","Drag files here.":"גרור קבצים לכאן","Runtime ran out of available memory.":"שגיאת מחסור בזיכרון","File count error.":"שגיאת מספר קבצים","File extension error.":"קובץ זה לא נתמך","Error: File too large:":"שגיאה: קובץ חורג מהגודל המותר:","Add Files":"הוסף קבצים"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/sr.js:
--------------------------------------------------------------------------------
1 | // Serbian (sr)
2 | plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"","Size":"Veličina","Close":"Close","Init error.":"Init error.","Add files to the upload queue and click the start button.":"Dodajte fajlove u listu i kliknite na dugme Start.","Filename":"Naziv fajla","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Status","HTTP Error.":"HTTP Error.","Start Upload":"Počni upload","mb":"","kb":"","Duplicate file error.":"","File size error.":"File size error.","N/A":"N/A","gb":"","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Izaberite fajlove","%s already present in the queue.":"","File: %s":"File: %s","b":"","Uploaded %d/%d files":"Snimljeno %d/%d fajlova","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d files queued","File: %s, size: %d, max file size: %d":"","Drag files here.":"Prevucite fajlove ovde.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"File count error.","File extension error.":"File extension error.","Error: File too large:":"Error: File too large:","Add Files":"Dodaj fajlove"});
--------------------------------------------------------------------------------
/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
--------------------------------------------------------------------------------
/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 | );
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/sv.js:
--------------------------------------------------------------------------------
1 | // Swedish (sv)
2 | plupload.addI18n({"Stop Upload":"Avbryt","Upload URL might be wrong or doesn't exist.":"URL:en va fel eller existerar inte.","tb":"tb","Size":"Storlek","Close":"Stäng","Init error.":"Problem vid initialisering.","Add files to the upload queue and click the start button.":"Lägg till filer till kön och tryck på start.","Filename":"Filnamn","Image format either wrong or not supported.":"Bildformatet är fel eller så finns inte stöd för det.","Status":"Status","HTTP Error.":"HTTP problem.","Start Upload":"Starta","mb":"mb","kb":"kb","Duplicate file error.":"Problem med dubbla filer.","File size error.":"Problem med filstorlek.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Fel: Ej godkänd filändelse.","Select files":"Välj filer","%s already present in the queue.":"%s är redan tillagd.","File: %s":"Fil: %s","b":"b","Uploaded %d/%d files":"Laddade upp %d/%d filer","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Det går bara lägga till %d filer åt gången, allt utöver detta togs bort.","%d files queued":"%d filer i kö","File: %s, size: %d, max file size: %d":"Fil: %s, storlek: %d, max storlek: %d","Drag files here.":"Dra filer hit","Runtime ran out of available memory.":"Slut på minne.","File count error.":"Räknefel.","File extension error.":"Problem med filändelse.","Error: File too large:":"Fel: Filen är för stor:","Add Files":"Lägg till"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/et.js:
--------------------------------------------------------------------------------
1 | // Estonian (et)
2 | plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Üleslaadimise URL võib olla vale või seda pole.","tb":"","Size":"Suurus","Close":"Sulge","Init error.":"Lähtestamise viga.","Add files to the upload queue and click the start button.":"Lisa failid üleslaadimise järjekorda ja klõpsa alustamise nupule.","Filename":"Failinimi","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Olek","HTTP Error.":"HTTP ühenduse viga.","Start Upload":"Start Upload","mb":"","kb":"","Duplicate file error.":"","File size error.":"Failisuuruse viga.","N/A":"N/A","gb":"","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Vali faile","%s already present in the queue.":"","File: %s":"Fail: %s","b":"","Uploaded %d/%d files":"Üles laaditud %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Üleslaadimise element saab vastu võtta ainult %d faili ühe korraga. Ülejäänud failid jäetakse laadimata.","%d files queued":"Järjekorras on %d faili","File: %s, size: %d, max file size: %d":"","Drag files here.":"Lohista failid siia.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"Failide arvu viga.","File extension error.":"Faililaiendi viga.","Error: File too large:":"Error: File too large:","Add Files":"Add Files"});
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/tests/Qiniu/Tests/FopTest.php:
--------------------------------------------------------------------------------
1 | execute('gogopher.jpg', 'exif');
13 | $this->assertNull($error);
14 | $this->assertNotNull($exif);
15 | }
16 |
17 | public function testExifPrivate()
18 | {
19 | global $testAuth;
20 | $fop = new Operation('private-res.qiniudn.com', $testAuth);
21 | list($exif, $error) = $fop->execute('noexif.jpg', 'exif');
22 | $this->assertNotNull($error);
23 | $this->assertNull($exif);
24 | }
25 |
26 | public function testbuildUrl()
27 | {
28 | $fops = 'imageView2/2/h/200';
29 | $fop = new Operation('testres.qiniudn.com');
30 | $url = $fop->buildUrl('gogopher.jpg', $fops);
31 | $this->assertEquals($url, 'http://testres.qiniudn.com/gogopher.jpg?imageView2/2/h/200');
32 |
33 | $fops = array('imageView2/2/h/200', 'imageInfo');
34 | $url = $fop->buildUrl('gogopher.jpg', $fops);
35 | $this->assertEquals($url, 'http://testres.qiniudn.com/gogopher.jpg?imageView2/2/h/200|imageInfo');
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/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/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/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/Home/View/Public/share_head.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/en.js:
--------------------------------------------------------------------------------
1 | // English (en)
2 | plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"tb","Size":"Size","Close":"Close","Init error.":"Init error.","Add files to the upload queue and click the start button.":"Add files to the upload queue and click the start button.","Filename":"Filename","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Status","HTTP Error.":"HTTP Error.","Start Upload":"Start Upload","mb":"mb","kb":"kb","Duplicate file error.":"Duplicate file error.","File size error.":"File size error.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Select files","%s already present in the queue.":"%s already present in the queue.","File: %s":"File: %s","b":"b","Uploaded %d/%d files":"Uploaded %d/%d files","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d files queued","File: %s, size: %d, max file size: %d":"File: %s, size: %d, max file size: %d","Drag files here.":"Drag files here.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"File count error.","File extension error.":"File extension error.","Error: File too large:":"Error: File too large:","Add Files":"Add Files"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/da.js:
--------------------------------------------------------------------------------
1 | // Danish (da)
2 | plupload.addI18n({"Stop Upload":"Stop upload","Upload URL might be wrong or doesn't exist.":"Upload URL kan være forkert eller ikke eksisterende.","tb":"tb","Size":"Størrelse","Close":"Luk","Init error.":"Opstarts fejl.","Add files to the upload queue and click the start button.":"Tilføj filer til køen og klik Start upload knappen.","Filename":"Filnavn","Image format either wrong or not supported.":"Billede format er enten forkert eller ikke understøttet.","Status":"Status","HTTP Error.":"HTTP fejl.","Start Upload":"Start upload","mb":"mb","kb":"kb","Duplicate file error.":"Filen findes allerede.","File size error.":"Filstørrelse fejl.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Fejl: Ugyldigt fil format:","Select files":"Vælg filer","%s already present in the queue.":"%s findes allerede i køen.","File: %s":"Fil: %s","b":"b","Uploaded %d/%d files":"Uploaded %d/%d filer","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload accepterer kun %d fil(er) af gangen. Ekstra filer blev skippet.","%d files queued":"%d filer i kø","File: %s, size: %d, max file size: %d":"Fil: %s, størrelse: %d, maks. filstørrelse: %d","Drag files here.":"Træk filer her.","Runtime ran out of available memory.":"Runtime mangler tilgængelige hukommelse.","File count error.":"Fil antal fejl.","File extension error.":"Fil format fejl.","Error: File too large:":"Fejl: Filen er for stor:","Add Files":"Tilføj filer"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/az.js:
--------------------------------------------------------------------------------
1 | // Azerbaijani (az)
2 | plupload.addI18n({"Stop Upload":"Yükləməni saxla","Upload URL might be wrong or doesn't exist.":"Yükləmə ünvanı səhvdir və ya mövcud deyil","tb":"tb","Size":"Həcm","Close":"Bağla","Init error.":"Init error.","Add files to the upload queue and click the start button.":"Faylları əlavə edin və yüklə düyməsinə klikləyin.","Filename":"Faylın adı","Image format either wrong or not supported.":"Şəklin formatı uyğun deyil və ya dəstəklənmir.","Status":"Status","HTTP Error.":"HTTP xətası.","Start Upload":"Yüklə","mb":"mb","kb":"kb","Duplicate file error.":"Bu fayl artıq növbədə var.","File size error.":"Fayl həcmi xətası.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Xəta: Yanlış fayl uzantısı:","Select files":"Faylları seçin","%s already present in the queue.":"%s artıq növbədə var.","File: %s":"Fayl: %s","b":"b","Uploaded %d/%d files":"%d/%d fayl yüklənib","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"Növbədə %d fayl var","File: %s, size: %d, max file size: %d":"Fayl: %s, həcm: %d, max fayl həcmi: %d","Drag files here.":"Faylları bura çəkin.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"Fayl sayı çox böyükdür.","File extension error.":"Fayl uzantısı xətası.","Error: File too large:":"Xəta:Fayl həcmi çox böyükdür.","Add Files":"Fayl əlavə et"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/tr.js:
--------------------------------------------------------------------------------
1 | // Turkish (tr)
2 | plupload.addI18n({"Stop Upload":"Yüklemeyi durdur","Upload URL might be wrong or doesn't exist.":"URL yok ya da hatalı olabilir.","tb":"tb","Size":"Boyut","Close":"Kapat","Init error.":"Başlangıç hatası.","Add files to the upload queue and click the start button.":"Dosyaları kuyruğa ekleyin ve başlatma butonuna tıklayın.","Filename":"Dosya adı","Image format either wrong or not supported.":"Resim formatı yanlış ya da desteklenmiyor.","Status":"Durum","HTTP Error.":"HTTP hatası.","Start Upload":"Yüklemeyi başlat","mb":"mb","kb":"kb","Duplicate file error.":"Yinelenen dosya hatası.","File size error.":"Dosya boyutu hatası.","N/A":"-","gb":"gb","Error: Invalid file extension:":"Hata: Geçersiz dosya uzantısı:","Select files":"Dosyaları seç","%s already present in the queue.":"%s kuyrukta zaten mevcut.","File: %s":"Dosya: %s","b":"bayt","Uploaded %d/%d files":"%d/%d dosya yüklendi","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Yükleme elemanı aynı anda %d dosya kabul eder. Ekstra dosyalar işleme konulmaz.","%d files queued":"Kuyrukta %d dosya var.","File: %s, size: %d, max file size: %d":"Dosya: %s, boyut: %d, maksimum dosya boyutu: %d","Drag files here.":"Dosyaları buraya bırakın.","Runtime ran out of available memory.":"İşlem için yeterli bellek yok.","File count error.":"Dosya sayım hatası.","File extension error.":"Dosya uzantısı hatası.","Error: File too large:":"Hata: Dosya çok büyük:","Add Files":"Dosya ekle"});
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/cy.js:
--------------------------------------------------------------------------------
1 | // Welsh (cy)
2 | plupload.addI18n({"Stop Upload":"Atal Lanlwytho","Upload URL might be wrong or doesn't exist.":"URL y lanlwythiad ynb anghywir neu ddim yn bodoli.","tb":"tb","Size":"Maint","Close":"Cau","Init error.":"Gwall cych.","Add files to the upload queue and click the start button.":"Ychwanegwch ffeiliau i'r ciw lanlwytho a chlicio'r botwm dechrau.","Filename":"Enw'r ffeil","Image format either wrong or not supported.":"Fformat delwedd yn anghywir neu heb ei gynnal.","Status":"Statws","HTTP Error.":"Gwall HTTP.","Start Upload":"Dechrau Lanlwytho","mb":"mb","kb":"kb","Duplicate file error.":"Gwall ffeil ddyblyg.","File size error.":"Gwall maint ffeil.","N/A":"Dd/A","gb":"gb","Error: Invalid file extension:":"Gwall: estyniad ffeil annilys:","Select files":"Dewis ffeiliau","%s already present in the queue.":"%s yn y ciw yn barod.","File: %s":"Ffeil: %s","b":"b","Uploaded %d/%d files":"Lanlwythwyd %d/%d ffeil","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Mae'r elfen lanlwytho yn derbyn %d ffeil ar y tro. Caiff ffeiliau ychwanegol eu tynnu.","%d files queued":"%d ffeil mewn ciw","File: %s, size: %d, max file size: %d":"Ffeil: %s, maint: %d, maint mwyaf ffeil: %d","Drag files here.":"Llusgwch ffeiliau yma.","Runtime ran out of available memory.":"Allan o gof.","File count error.":"Gwall cyfri ffeiliau.","File extension error.":"Gwall estyniad ffeil.","Error: File too large:":"Gwall: Ffeil yn rhy fawr:","Add Files":"Ychwanegu Ffeiliau"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/hy.js:
--------------------------------------------------------------------------------
1 | // Armenian (hy)
2 | plupload.addI18n({"Stop Upload":"Կանգնեցնել","Upload URL might be wrong or doesn't exist.":"Ավեցաված URL-ը սխալ է կամ գոյություն չունի։","tb":"տբ","Size":"Չափ","Close":"Փակել","Init error.":"Ստեղծման սխալ","Add files to the upload queue and click the start button.":"Ավելացրեք ֆայլեր ցուցակում և սեղմեք \"Վերբեռնել\"։","Filename":"Ֆայլի անուն","Image format either wrong or not supported.":"Նկարի ֆորմատը սխալ է կամ չի ընդունվում։","Status":"Կարգավիճակ","HTTP Error.":"HTTP սխալ","Start Upload":"Վերբեռնել","mb":"մբ","kb":"կբ","Duplicate file error.":"Ֆայլի կրկնման սխալ","File size error.":"Ֆայլի չափի սխալ","N/A":"N/A","gb":"գբ","Error: Invalid file extension:":"Սխալ։ Ֆայլի ընդլայնումը սխալ է։","Select files":"Ընտրեք ֆայլերը","%s already present in the queue.":"%s ֆայլը արդեն ավելացված է ցուցակում.","File: %s":"Ֆայլ: %s","b":"բ","Uploaded %d/%d files":"Վերբեռնվել են %d/%d ֆայլերը","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Վերբեռնիչը միանգամից ըդունում է միայն %d ֆայլ(եր). Ավելորդ ֆայլերը հեռացվել են.","%d files queued":"ցուցակում կա %d ֆայլ","File: %s, size: %d, max file size: %d":"Ֆայլ: %s, չափ: %d, ֆայլի մաքսիմում չափ: %d","Drag files here.":"Տեղափոխեք ֆայլերը այստեղ","Runtime ran out of available memory.":"Օպերատիվ հիշողության անբավարարուտյուն.","File count error.":"Ֆայլերի քանակի սխալ","File extension error.":"Ֆայլի ընդլայնման սխալ","Error: File too large:":"Սխալ։ Ֆայլի չափը մեծ է։","Add Files":"Ավելացնել ֆայլեր"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ar.js:
--------------------------------------------------------------------------------
1 | // Arabic (ar)
2 | plupload.addI18n({"Stop Upload":"أيقاف التحميل","Upload URL might be wrong or doesn't exist.":"عنوان التحميل ربما يكون خاطئ أو غير متوفر","tb":"تيرابايت","Size":"الحجم","Close":"أغلاق","Init error.":"خطأ في تهيئة","Add files to the upload queue and click the start button.":"أضف ملفات إلى القائمة إنتظار التحميل ثم أضغط على زر البداية","Filename":"أسم الملف","Image format either wrong or not supported.":"صيغة الصورة أما خطاء أو غير مدعومه","Status":"الحالة","HTTP Error.":"خطأ في برتوكول نقل الملفات","Start Upload":"أبدا التحميل","mb":"ميجابايت","kb":"كيلوبايت","Duplicate file error.":"خطاء في تكرار الملف","File size error.":"خطأ في حجم الملف","N/A":"لا شي","gb":"جيجابايت","Error: Invalid file extension:":"خطاء : أمتداد الملف غير صالح :","Select files":"أختر الملفات","%s already present in the queue.":"%s الملف موجود بالفعل في قائمة الانتظار","File: %s":"ملف: %s","b":"بايت","Uploaded %d/%d files":"تحميل %d/%d ملف","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"العناصر المقبوله لتحميل هي %d ملف في هذا الوقت. الملفات الاضافية أزيلة.","%d files queued":"%d الملفات في قائمة الانتظار","File: %s, size: %d, max file size: %d":"ملف: %s, أقصى حجم للملف: %d, حجم: %d","Drag files here.":"سحب الملف هنا","Runtime ran out of available memory.":"الذاكرة المتوفره أنتهت لمدة التشغيل","File count error.":"خطاء في عد الملفات","File extension error.":"خطأ في أمتداد الملف","Error: File too large:":" خطاء : حجم الملف كبير :","Add Files":"أضف ملفات"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/th_TH.js:
--------------------------------------------------------------------------------
1 | // Thai (Thailand) (th_TH)
2 | plupload.addI18n({"Stop Upload":"หยุดอัพโหลด","Upload URL might be wrong or doesn't exist.":"URL ของการอัพโหลดอาจจะผิดหรือไม่มีอยู่","tb":"เทราไบต์","Size":"ขนาด","Close":"ปิด","Init error.":"Init เกิดข้อผิดพลาด","Add files to the upload queue and click the start button.":"เพิ่มไฟล์ไปยังคิวอัพโหลดและคลิกที่ปุ่มเริ่ม","Filename":"ชื่อไฟล์","Image format either wrong or not supported.":"รูปแบบรูปภาพทั้งสองผิดหรือไม่รองรับ","Status":"สถานะ","HTTP Error.":"HTTP เกิดข้อผิดพลาด","Start Upload":"เริ่มอัพโหลด","mb":"เมกะไบต์","kb":"กิโลไบต์","Duplicate file error.":"ไฟล์ที่ซ้ำกันเกิดข้อผิดพลาด","File size error.":"ขนาดไฟล์เกิดข้อผิดพลาด","N/A":"N/A","gb":"กิกะไบต์","Error: Invalid file extension:":"ข้อผิดพลาด: นามสกุลไฟล์ไม่ถูกต้อง:","Select files":"เลือกไฟล์","%s already present in the queue.":"%s อยู่ในคิวแล้ว","File: %s":"ไฟล์: %s","b":"ไบต์","Uploaded %d/%d files":"อัพโหลดแล้ว %d/%d ไฟล์","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"การอัพโหลดจะยอมรับเฉพาะ %d ไฟล์(s) ในช่วงเวลาเดียวกัน เมื่อไฟล์พิเศษถูกปลดออก","%d files queued":"%d ไฟล์ที่อยู่ในคิว","File: %s, size: %d, max file size: %d":"ไฟล์: %s, ขนาด: %d, ขนาดไฟล์สูงสุด: %d","Drag files here.":"ลากไฟล์มาที่นี่","Runtime ran out of available memory.":"รันไทม์วิ่งออกมาจากหน่วยความจำ","File count error.":"การนับไฟล์เกิดข้อผิดพลาด","File extension error.":"นามสกุลไฟล์เกิดข้อผิดพลาด","Error: File too large:":"ข้อผิดพลาด: ไฟล์ใหญ่เกินไป:","Add Files":"เพิ่มไฟล์"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/fa.js:
--------------------------------------------------------------------------------
1 | // Persian (fa)
2 | plupload.addI18n({"Stop Upload":"توقف انتقال","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"ترابایت","Size":"سایز","Close":"بستن","Init error.":"خطا در استارت اسکریپت","Add files to the upload queue and click the start button.":"اضافه کنید فایل ها را به صف آپلود و دکمه شروع را کلیک کنید.","Filename":"نام فایل","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"وضعیت","HTTP Error.":"HTTP خطای","Start Upload":"شروع انتقال","mb":"مگابایت","kb":"کیلوبایت","Duplicate file error.":"خطای فایل تکراری","File size error.":"خطای سایز فایل","N/A":"N/A","gb":"گیگابایت","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"انتخاب فایل","%s already present in the queue.":"%s در لیست آپلود وجود دارد.","File: %s":" فایل ها : %s","b":"بایت","Uploaded %d/%d files":"منتقل شد %d/%d از فایلها","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"عنصر بارگذار فقط %d فایل رو در یک زمان می پذیرد. سایر فایل ها مجرد از این موضوع هستند.","%d files queued":"%d فایل در صف","File: %s, size: %d, max file size: %d":"فایل: %s, اندازه: %d, محدودیت اندازه فایل: %d","Drag files here.":"بکشید فایل ها رو به اینجا","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"خطای تعداد فایل","File extension error.":"خطا پیشوند فایل","Error: File too large:":"Error: File too large:","Add Files":"افزودن فایل"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/lt.js:
--------------------------------------------------------------------------------
1 | // Lithuanian (lt)
2 | plupload.addI18n({"Stop Upload":"Stabdyti įkėlimą","Upload URL might be wrong or doesn't exist.":"Klaidinga arba neegzistuojanti įkėlimo nuoroda.","tb":"tb","Size":"Dydis","Close":"Uždaryti","Init error.":"Įkrovimo klaida.","Add files to the upload queue and click the start button.":"Pridėkite bylas į įkėlimo eilę ir paspauskite starto mygtuką.","Filename":"Bylos pavadinimas","Image format either wrong or not supported.":"Paveiksliuko formatas klaidingas arba nebepalaikomas.","Status":"Statusas","HTTP Error.":"HTTP klaida.","Start Upload":"Pradėti įkėlimą","mb":"mb","kb":"kb","Duplicate file error.":"Pasikartojanti byla.","File size error.":"Netinkamas bylos dydis.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Klaida: Netinkamas bylos plėtinys:","Select files":"Žymėti bylas","%s already present in the queue.":"%s jau yra eilėje.","File: %s":"Byla: %s","b":"b","Uploaded %d/%d files":"Įkelta bylų: %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Vienu metu galima įkelti tik %d bylas(ų). Papildomos bylos buvo pašalintos.","%d files queued":"%d bylų eilėje","File: %s, size: %d, max file size: %d":"Byla: %s, dydis: %d, galimas dydis: %d","Drag files here.":"Padėti bylas čia.","Runtime ran out of available memory.":"Išeikvota darbinė atmintis.","File count error.":"Netinkamas bylų kiekis.","File extension error.":"Netinkamas pletinys.","Error: File too large:":"Klaida: Byla per didelė:","Add Files":"Pridėti bylas"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/pl.js:
--------------------------------------------------------------------------------
1 | // Polish (pl)
2 | plupload.addI18n({"Stop Upload":"Przerwij transfer.","Upload URL might be wrong or doesn't exist.":"Adres URL moze bys nieprawidlowy lub moze nieistniec","tb":"tb","Size":"Rozmiar","Close":"Zamknij","Init error.":"Błąd inicjalizacji.","Add files to the upload queue and click the start button.":"Dodaj pliki i kliknij 'Rozpocznij transfer'.","Filename":"Nazwa pliku","Image format either wrong or not supported.":"Format zdjecia jest zly lub nieobslugiwany","Status":"Status","HTTP Error.":"Błąd HTTP.","Start Upload":"Wyslij","mb":"mb","kb":"kb","Duplicate file error.":"Blad: duplikacja pliku.","File size error.":"Plik jest zbyt duży.","N/A":"Nie dostępne","gb":"gb","Error: Invalid file extension:":"Blad: Nieprawidlowe rozszerzenie pliku:","Select files":"Wybierz pliki:","%s already present in the queue.":"%s juz wystepuje w kolejce.","File: %s":"Plik: %s","b":"b","Uploaded %d/%d files":"Wysłano %d/%d plików","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d plików w kolejce.","File: %s, size: %d, max file size: %d":"Plik: %s, rozmiar: %d, maksymalny rozmiar pliku: %d","Drag files here.":"Przeciągnij tu pliki","Runtime ran out of available memory.":"Wyczerpano pamiec RAM.","File count error.":"Blad liczenia pliku.","File extension error.":"Nieobsługiwany format pliku.","Error: File too large:":"Blad: Plik za duzy:","Add Files":"Dodaj pliki"});
--------------------------------------------------------------------------------
/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 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/examples/bucket_mgr.php:
--------------------------------------------------------------------------------
1 | stat($bucket, $key);
22 | echo "\n====> $key stat : \n";
23 | if ($err !== null) {
24 | var_dump($err);
25 | } else {
26 | var_dump($ret);
27 | }
28 |
29 | //将文件从文件$key 复制到文件$key2。 可以在不同bucket复制
30 | $key2 = 'php-logo2.png';
31 | $err = $bucketMgr->copy($bucket, $key, $bucket, $key2);
32 | echo "\n====> copy $key to $key2 : \n";
33 | if ($err !== null) {
34 | var_dump($err);
35 | } else {
36 | echo "Success!";
37 | }
38 |
39 | //将文件从文件$key2 移动到文件$key3。 可以在不同bucket移动
40 | $key3 = 'php-logo3.png';
41 | $err = $bucketMgr->move($bucket, $key2, $bucket, $key3);
42 | echo "\n====> move $key2 to $key3 : \n";
43 | if ($err !== null) {
44 | var_dump($err);
45 | } else {
46 | echo "Success!";
47 | }
48 |
49 | //删除$bucket 中的文件 $key
50 | $err = $bucketMgr->delete($bucket, $key3);
51 | echo "\n====> delete $key3 : \n";
52 | if ($err !== null) {
53 | var_dump($err);
54 | } else {
55 | echo "Success!";
56 | }
57 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ms.js:
--------------------------------------------------------------------------------
1 | // Malay (ms)
2 | plupload.addI18n({"Stop Upload":"Berhenti Muat naik","Upload URL might be wrong or doesn't exist.":"URL muat naik mungkin salah atau tidak wujud.","tb":"tb","Size":"saiz","Close":"Tutup","Init error.":"Ralat perlaksanaan.","Add files to the upload queue and click the start button.":"Tambah fail ke dalam giliran muat naik dan klik butang Muat Naik.","Filename":"Nama fail","Image format either wrong or not supported.":"Format imej sama ada salah atau tidak disokong.","Status":"Status","HTTP Error.":"Ralat HTTP.","Start Upload":"Muat Naik","mb":"mb","kb":"kb","Duplicate file error.":"Ralat menggandakan fail.","File size error.":"Ralat saiz fail.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Ralat: Sambungan fail tidak sah:","Select files":"Pilih fail","%s already present in the queue.":"%s telah ada dalam barisan.","File: %s":"Fail: %s","b":"b","Uploaded %d/%d files":"%d/%d telah dimuat naik","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Element muat naik hanya menerima %d fail(-fail) pada satu masa. Fail tambahan telah digugurkan.","%d files queued":"%d fail dalam barisan","File: %s, size: %d, max file size: %d":"Fail: %s, saiz: %d, saiz maks fail: %d","Drag files here.":"Seret fail ke sini.","Runtime ran out of available memory.":"Ruang ingatan masa larian tidak mencukupi.","File count error.":"Ralat bilangan fail.","File extension error.":"Ralat sambungan fail.","Error: File too large:":"Ralat: Fail terlalu bersar:","Add Files":"Tambah Fail"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/it.js:
--------------------------------------------------------------------------------
1 | // Italian (it)
2 | plupload.addI18n({"Stop Upload":"Ferma Upload","Upload URL might be wrong or doesn't exist.":"URL di Upload errata o non esistente","tb":"tb","Size":"Dimensione","Close":"Chiudi","Init error.":"Errore inizializzazione.","Add files to the upload queue and click the start button.":"Aggiungi i file alla coda di caricamento e clicca il pulsante di avvio.","Filename":"Nome file","Image format either wrong or not supported.":"Formato immagine errato o non supportato.","Status":"Stato","HTTP Error.":"Errore HTTP.","Start Upload":"Inizia Upload","mb":"mb","kb":"kb","Duplicate file error.":"Errore file duplicato.","File size error.":"Errore dimensione file.","N/A":"N/D","gb":"gb","Error: Invalid file extension:":"Errore: Estensione file non valida:","Select files":"Seleziona i files","%s already present in the queue.":"%s già presente nella coda.","File: %s":"File: %s","b":"byte","Uploaded %d/%d files":"Caricati %d/%d file","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d file in coda","File: %s, size: %d, max file size: %d":"File: %s, dimensione: %d, dimensione max file: %d","Drag files here.":"Trascina i files qui.","Runtime ran out of available memory.":"Runtime ha esaurito la memoria disponibile.","File count error.":"File count error.","File extension error.":"Errore estensione file.","Error: File too large:":"Errore: File troppo grande:","Add Files":"Aggiungi file"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ka.js:
--------------------------------------------------------------------------------
1 | // Georgian (ka)
2 | plupload.addI18n({"Stop Upload":"ატვირთვის შეჩერება","Upload URL might be wrong or doesn't exist.":"ატვირთვის მისამართი არასწორია ან არ არსებობს.","tb":"ტბ","Size":"ზომა","Close":"დავხუროთ","Init error.":"ინიციალიზაციის შეცდომა.","Add files to the upload queue and click the start button.":"დაამატეთ ფაილები და დააჭირეთ ღილაკს - ატვირთვა.","Filename":"ფაილის სახელი","Image format either wrong or not supported.":"ფაილის ფორმატი არ არის მხარდაჭერილი ან არასწორია.","Status":"სტატუსი","HTTP Error.":"HTTP შეცდომა.","Start Upload":"ატვირთვა","mb":"მბ","kb":"კბ","Duplicate file error.":"ესეთი ფაილი უკვე დამატებულია.","File size error.":"ფაილის ზომა დაშვებულზე დიდია.","N/A":"N/A","gb":"გბ","Error: Invalid file extension:":"შეცდომა: ფაილს აქვს არასწორი გაფართოება.","Select files":"ფაილების მონიშვნა","%s already present in the queue.":"%s უკვე დამატებულია.","File: %s":"ფაილი: %s","b":"ბ","Uploaded %d/%d files":"ატვირთულია %d/%d ფაილი","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"ერთდროულად დაშვებულია მხოლოდ %d ფაილის დამატება.","%d files queued":"რიგშია %d ფაილი","File: %s, size: %d, max file size: %d":"ფაილი: %s, ზომა: %d, მაქსიმალური დაშვებული ზომა: %d","Drag files here.":"ჩააგდეთ ფაილები აქ.","Runtime ran out of available memory.":"ხელმისაწვდომი მეხსიერება გადაივსო.","File count error.":"აღმოჩენილია ზედმეტი ფაილები.","File extension error.":"ფაილის ფორმატი დაშვებული არ არის.","Error: File too large:":"შეცდომა: ფაილი ზედმეტად დიდია.","Add Files":"დაამატეთ ფაილები"});
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/kk.js:
--------------------------------------------------------------------------------
1 | // Kazakh (kk)
2 | plupload.addI18n({"Stop Upload":"Жүктеуді тоқтату","Upload URL might be wrong or doesn't exist.":"Жүктеуді қабылдаушы URL қате не мүлдем көрсетілмеген.","tb":"тб","Size":"Өлшемі","Close":"Жабу","Init error.":"Инициализация қатесі.","Add files to the upload queue and click the start button.":"Жүктеу кезегіне файлдар қосып, Бастау кнопкасын басыңыз.","Filename":"Файл аты","Image format either wrong or not supported.":"Сурет форматы қате немесе оның қолдауы жоқ.","Status":"Күйі","HTTP Error.":"HTTP қатесі.","Start Upload":"Жүктеуді бастау","mb":"мб","kb":"кб","Duplicate file error.":"Файл қайталамасының қатесі.","File size error.":"Файл өлшемінің қатесі.","N/A":"Қ/Ж","gb":"гб","Error: Invalid file extension:":"Қате: Файл кеңейтілуі қате:","Select files":"Файлдар таңдаңыз","%s already present in the queue.":"%s файлы кезекте бұрыннан бар.","File: %s":"Файл: %s","b":"б","Uploaded %d/%d files":"Жүктелген: %d/%d файл","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Жүктеу элементі бір кезде %d файл ғана жүктей алады. Артық файлдар жүктелмейді.","%d files queued":"%d файл кезекке қойылды","File: %s, size: %d, max file size: %d":"Файл: %s, өлшемі: %d, макс. файл өлшемі: %d","Drag files here.":"Файлдарды мына жерге тастаңыз.","Runtime ran out of available memory.":"Орындау кезінде жады жетпей қалды.","File count error.":"Файл санының қатесі.","File extension error.":"Файл кеңейтілуінің қатесі.","Error: File too large:":"Қате: Файл мөлшері тым үлкен:","Add Files":"Файл қосу"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/km.js:
--------------------------------------------------------------------------------
1 | // Khmer (km)
2 | plupload.addI18n({"Stop Upload":"បញ្ឈប់ការផ្ទុកឡើង","Upload URL might be wrong or doesn't exist.":"URL ផ្ទុកឡើងអាចខុស ឬក៏គ្មាន។","tb":"tb","Size":"ទំហំ","Close":"បិទ","Init error.":"កំហុស Init។","Add files to the upload queue and click the start button.":"បន្ថែមឯកសារទៅក្នុងជួរលំដាប់ផ្ទុកឡើង ហើយចុចប៊ូតុងចាប់ផ្ដើម។","Filename":"ឈ្មោះឯកសារ","Image format either wrong or not supported.":"ទ្រង់ទ្រាយរូបភាពអាចខុស ឬក៏មិនស្គាល់តែម្ដង។","Status":"ស្ថានភាព","HTTP Error.":"កំហុស HTTP ។","Start Upload":"ចាប់ផ្ដើមផ្ទុកឡើង","mb":"mb","kb":"kb","Duplicate file error.":"កំហុសឯកសារស្ទួនគ្នា។","File size error.":"កំហុសទំហំឯកសារ។","N/A":"គ្មាន","gb":"gb","Error: Invalid file extension:":"កំហុស៖ កន្ទុយឯកសារមិនត្រឹមត្រូវ៖","Select files":"ជ្រើសឯកសារ","%s already present in the queue.":"មាន %s នៅក្នុងជួរលំដាប់ហើយ។","File: %s":"ឯកសារ៖ %s","b":"b","Uploaded %d/%d files":"បានផ្ទុកឡើងឯកសារ %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"ការផ្ទុកឡើងទទួលឯកសារបានតែ %d ប៉ុណ្ណោះក្នុងពេលតែមួយ។ ឯកសារផ្សេងទៀតនឹងត្រូវដកចេញ។","%d files queued":"បានដាក់ឯកសារ %d បន្តគ្នា","File: %s, size: %d, max file size: %d":"ឯកសារ៖ %s, size: %d, ទំហំឯកសារអតិបរមា៖ %d","Drag files here.":"អូសឯកសារមកទីនេះ។","Runtime ran out of available memory.":"ពេលដំណើរការអស់អង្គចងចាំទំនេរហើយ។","File count error.":"កំហុសការរាប់ឯកសារ។","File extension error.":"កំហុសកន្ទុយឯកសារ។","Error: File too large:":"កំហុស៖ ឯកសារធំពេក៖","Add Files":"បន្ថែមឯកសារ"});
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/cs.js:
--------------------------------------------------------------------------------
1 | // Czech (cs)
2 | plupload.addI18n({"Stop Upload":"Zastavit nahrávání","Upload URL might be wrong or doesn't exist.":"URL uploadu je možná špatně, nebo neexistuje.","tb":"tb","Size":"Velikost","Close":"Zavřít","Init error.":"Chyba inicializace.","Add files to the upload queue and click the start button.":"Přidejte soubory do fronty a pak spusťte nahrávání.","Filename":"Název souboru","Image format either wrong or not supported.":"Špatný, nebo nepodporovaný formát obrázku.","Status":"Stav","HTTP Error.":"Chyba HTTP.","Start Upload":"Spustit nahrávání","mb":"mb","kb":"kb","Duplicate file error.":"Chyba - duplikovaný soubor.","File size error.":"Chyba velikosti souboru.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Chyba: Neplatná koncovka souboru:","Select files":"Vyberte soubory","%s already present in the queue.":"%s je již zařazen ve frontě.","File: %s":"Soubor: %s","b":"b","Uploaded %d/%d files":"Nahráno %d/%d souborů","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload akceptuje pouze %d soubor(ů) najednou. Další soubory byly odstraněny.","%d files queued":"%d souborů ve frontě","File: %s, size: %d, max file size: %d":"Soubor: %s, velikost: %d, maximální velikost souboru: %d","Drag files here.":"Sem přetáhněte soubory.","Runtime ran out of available memory.":"Běh skriptu přesáhl dostupnou paměť.","File count error.":"Chyba v počtu souborů.","File extension error.":"Chyba přípony souboru.","Error: File too large:":"Chyba: Soubor je příliš veliký:","Add Files":"Přidat soubory"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/sk.js:
--------------------------------------------------------------------------------
1 | // Slovak (sk)
2 | plupload.addI18n({"Stop Upload":"Zastaviť nahrávanie","Upload URL might be wrong or doesn't exist.":"URL pre nahratie nie je správna alebo neexistuje.","tb":"tb","Size":"Veľkosť","Close":"Zatvoriť","Init error.":"Chyba inicializácie.","Add files to the upload queue and click the start button.":"Pridajte súbory do zoznamu a potom spustite nahrávanie.","Filename":"Názov súboru","Image format either wrong or not supported.":"Formát obrázku je nesprávny alebo nie je podporovaný.","Status":"Stav","HTTP Error.":"HTTP Chyba.","Start Upload":"Spustiť nahrávanie","mb":"mb","kb":"kb","Duplicate file error.":"Duplicitný súbor.","File size error.":"Súbor je príliš veľký.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Error: Nesprávny typ súboru:","Select files":"Vyberte súbory","%s already present in the queue.":"%s sa už nachádza v zozname.","File: %s":"Súbor: %s","b":"b","Uploaded %d/%d files":"Nahraných %d/%d súborov","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d súborov pridaných do zoznamu","File: %s, size: %d, max file size: %d":"Súbor: %s, veľkosť: %d, max. veľkosť súboru: %d","Drag files here.":"Sem pretiahnite súbory.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"Nesprávny počet súborov.","File extension error.":"Chybný typ súboru.","Error: File too large:":"Chyba: Súbor je príliš veľký:","Add Files":"Pridať súbory"});
--------------------------------------------------------------------------------
/Application/Home/Controller/IndexController.class.php:
--------------------------------------------------------------------------------
1 | display();
7 | }
8 |
9 | public function signupAction(){
10 | if(IS_AJAX){
11 | $ret = array('code' => 0);
12 |
13 | $User = D("User");
14 |
15 | if (!$User->create($_POST,5)){
16 | $ret['message'] = $User->getError();
17 | }else{
18 | $res = $User->add();
19 | if($res){
20 | $ret['code'] = 1;
21 | }else{
22 | $ret['message'] = '注册失败';
23 | }
24 | }
25 |
26 | $this->ajaxReturn($ret);
27 | }else{
28 | $this->display();
29 | }
30 | }
31 |
32 |
33 | public function signinAction()
34 | {
35 | if(session('userID')){
36 | $this->redirect('Disk/index');
37 | }
38 |
39 | if(IS_AJAX){
40 | $ret = array('code' => 0);
41 | $User = D("User");
42 |
43 | if (!$User->create($_POST,4)){
44 | $ret['message'] = $User->getError();
45 | }else{
46 | $ret['code'] = 1;
47 | }
48 |
49 | $this->ajaxReturn($ret);
50 | }else{
51 | $this->display();
52 | }
53 | }
54 | }
55 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/fi.js:
--------------------------------------------------------------------------------
1 | // Finnish (fi)
2 | plupload.addI18n({"Stop Upload":"Pysäytä lähetys","Upload URL might be wrong or doesn't exist.":"Lähetyksen URL-osoite saattaa olla väärä tai sitä ei ole olemassa.","tb":"TB","Size":"Koko","Close":"Sulje","Init error.":"Init virhe.","Add files to the upload queue and click the start button.":"Lisää tiedostoja lähetysjonoon ja klikkaa aloita-nappia.","Filename":"Tiedostonimi","Image format either wrong or not supported.":"Kuvaformaatti on joko väärä tai ei tuettu.","Status":"Tila","HTTP Error.":"HTTP-virhe.","Start Upload":"Aloita lähetys","mb":"MB","kb":"kB","Duplicate file error.":"Tuplatiedostovirhe.","File size error.":"Tiedostokokovirhe.","N/A":"N/A","gb":"GB","Error: Invalid file extension:":"Virhe: Virheellinen tiedostopääte:","Select files":"Valitse tiedostoja","%s already present in the queue.":"%s on jo jonossa.","File: %s":"Tiedosto: %s","b":"B","Uploaded %d/%d files":"Lähetetty %d/%d tiedostoa","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Vain %d tiedosto(a) voidaan lähettää kerralla. Ylimääräiset tiedostot ohitettiin.","%d files queued":"%d tiedostoa jonossa","File: %s, size: %d, max file size: %d":"Tiedosto: %s, koko: %d, suurin sallittu tiedostokoko: %d","Drag files here.":"Raahaa tiedostot tähän.","Runtime ran out of available memory.":"Toiminnon käytettävissä oleva muisti loppui kesken.","File count error.":"Tiedostolaskentavirhe.","File extension error.":"Tiedostopäätevirhe.","Error: File too large:":"Virhe: Liian suuri tiedosto:","Add Files":"Lisää tiedostoja"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/vi.js:
--------------------------------------------------------------------------------
1 | // Vietnamese (vi)
2 | plupload.addI18n({"Stop Upload":"Dừng","Upload URL might be wrong or doesn't exist.":"Đường dẫn URL tải lên không đúng hoặc không tồn tại.","tb":"TB","Size":"Dung lượng","Close":"Đóng","Init error.":"Lỗi khởi tạo","Add files to the upload queue and click the start button.":"Thêm tập tin để tải lên và bấm vào nút bắt đầu","Filename":"Tên tập tin","Image format either wrong or not supported.":"Địng dạng hình ảnh không đúng hoặc không được hỗ trợ.","Status":"Trạng thái","HTTP Error.":"Lỗi HTTP","Start Upload":"Bắt đầu","mb":"MB","kb":"KB","Duplicate file error.":"Tập tin đã tồn tại","File size error.":"Lỗi dung lượng tập tin","N/A":"Chưa có thông tin","gb":"GB","Error: Invalid file extension:":"Lỗi: Định dạng tập tin không xác định:","Select files":"Chọn tập tin","%s already present in the queue.":"%s đã có trong danh sách chờ tải lên","File: %s":"Tập tin: %s","b":"B","Uploaded %d/%d files":"Đã tải lên %d/%d tập tin","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Chỉ có thể tải lên (%d) tập tin cùng một lúc. Những tập tin còn lại đã bị huỷ bỏ.","%d files queued":"%d tập tin trong danh sách chờ","File: %s, size: %d, max file size: %d":"Tập tin: %s, dung lượng %d, dung lượng tối đa: %d","Drag files here.":"Ném vào đây","Runtime ran out of available memory.":"Thời gian chạy vượt quá giới hạn bộ nhớ cho phép.","File count error.":"Lỗi đếm tập tin","File extension error.":"Lỗi định dạng tập tin","Error: File too large:":"Lỗi: Dung lượng tập tin quá lớn:","Add Files":"Thêm tập tin"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/es.js:
--------------------------------------------------------------------------------
1 | // Spanish (es)
2 | plupload.addI18n({"Stop Upload":"Detener Subida.","Upload URL might be wrong or doesn't exist.":"URL de carga inexistente.","tb":"TB","Size":"Tamaño","Close":"Cerrar","Init error.":"Error de inicialización.","Add files to the upload queue and click the start button.":"Agregue archivos a la lista de subida y pulse clic en el botón de Iniciar carga","Filename":"Nombre de archivo","Image format either wrong or not supported.":"Formato de imagen no soportada.","Status":"Estado","HTTP Error.":"Error de HTTP.","Start Upload":"Iniciar carga","mb":"MB","kb":"KB","Duplicate file error.":"Error, archivo duplicado","File size error.":"Error de tamaño de archivo.","N/A":"No disponible","gb":"GB","Error: Invalid file extension:":"Error: Extensión de archivo inválida:","Select files":"Elija archivos","%s already present in the queue.":"%s ya se encuentra en la lista.","File: %s":"Archivo: %s","b":"B","Uploaded %d/%d files":"Subidos %d/%d archivos","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Se aceptan sólo %d archivo(s) al tiempo. Más, no se tienen en cuenta.","%d files queued":"%d archivos en cola.","File: %s, size: %d, max file size: %d":"Archivo: %s, tamaño: %d, tamaño máximo de archivo: %d","Drag files here.":"Arrastre archivos aquí","Runtime ran out of available memory.":"No hay memoria disponible.","File count error.":"Error en contador de archivos.","File extension error.":"Error de extensión de archivo.","Error: File too large:":"Error: archivo demasiado grande:","Add Files":"Agregar archivos"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/id.js:
--------------------------------------------------------------------------------
1 | // Indonesian (id)
2 | plupload.addI18n({"Stop Upload":"Hentikan Upload","Upload URL might be wrong or doesn't exist.":"Alamat URL untuk upload tidak benar atau tidak ada","tb":"tb","Size":"Ukuran","Close":"Tutup","Init error.":"Kesalahan pada Init","Add files to the upload queue and click the start button.":"Tambahkan file kedalam antrian upload dan klik tombol Mulai","Filename":"Nama File","Image format either wrong or not supported.":"Kesalahan pada jenis gambar atau jenis file tidak didukung","Status":"Status","HTTP Error.":"HTTP Bermasalah","Start Upload":"Mulai Upload","mb":"mb","kb":"kb","Duplicate file error.":"Terjadi duplikasi file","File size error.":"Kesalahan pada ukuran file","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Kesalahan: Ekstensi file tidak dikenal","Select files":"Pilih file","%s already present in the queue.":"%s sudah ada dalam daftar antrian","File: %s":"File: %s","b":"b","Uploaded %d/%d files":"File terupload %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Tempat untuk upload hanya menerima %d file(s) dalam setiap upload. File lainnya tidak akan disertakan","%d files queued":"%d file dalam antrian","File: %s, size: %d, max file size: %d":"File: %s, ukuran: %d, maksimum ukuran file: %d","Drag files here.":"Tarik file kesini","Runtime ran out of available memory.":"Tidak cukup memori","File count error.":"Kesalahan pada jumlah file","File extension error.":"Kesalahan pada ekstensi file","Error: File too large:":"Kesalahan: File terlalu besar","Add Files":"Tambah File"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ku_IQ.js:
--------------------------------------------------------------------------------
1 | // Kurdish (Iraq) (ku_IQ)
2 | plupload.addI18n({"Stop Upload":"وەستانی بارکردن","Upload URL might be wrong or doesn't exist.":".بەستەری بارکراو نادروستە یان بەردەست نییە","tb":"تێرابایت","Size":"قەبارە","Close":"داخستن","Init error.":".هەڵەی ئامادەکردن","Add files to the upload queue and click the start button.":".زیادکردنی پەڕگەکان بۆ ڕیزی بارکردن و کرتەکردن لە دوگمەی دەستپێکردن","Filename":"ناوی پەڕگە","Image format either wrong or not supported.":".شێوازی وێنە هەڵەیە یان پاڵپشتی ناکرێت","Status":"ڕەوش","HTTP Error.":".HTTP هەڵەی","Start Upload":"دەستپێکردنی بارکردن","mb":"مێگابایت","kb":"کیلۆبایت","Duplicate file error.":".هەڵەی پەڕگەی دوبارە","File size error.":".هەڵەی قەبارەی پەڕگە","N/A":"بەردەست نییە","gb":"گێگابایت","Error: Invalid file extension:":":هەڵە: پاشگری پەڕگەی نادروست","Select files":"دیاریکردنی پەڕگەکان","%s already present in the queue.":".ئامادەیی هەیە لە ڕیز %s","File: %s":"%s :پەڕگە","b":"بایت","Uploaded %d/%d files":"پەڕگە بارکران %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"بەشی بارکردن تەنها %d پەڕگە(کان) وەردەگرێت لەیەک کاتدا. پەڕگە زیادەکان .جیادەکرێنەوە","%d files queued":"پەڕگە ڕیزکران %d","File: %s, size: %d, max file size: %d":"پەڕگە: %s، قەبارە: %d، گەورەترین قەبارەی پەڕگە: %d","Drag files here.":".پەڕگەکان ڕاکێشە بۆ ئێرە","Runtime ran out of available memory.":"هەڵەی دەرچوون لە بیرگەی بەردەست.","File count error.":".هەڵەی ژماردنی پەڕگە","File extension error.":".هەڵەی پاشگری پەڕگە","Error: File too large:":":هەڵە: پەڕگەکە زۆر گەورەیە","Add Files":"زیادکردنی پەڕگەکان"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/bs.js:
--------------------------------------------------------------------------------
1 | // Bosnian (bs)
2 | plupload.addI18n({"Stop Upload":"Prekini dodavanje","Upload URL might be wrong or doesn't exist.":"URL za dodavanje je neispravan ili ne postoji.","tb":"tb","Size":"Veličina","Close":"Zatvori","Init error.":"Inicijalizacijska greška.","Add files to the upload queue and click the start button.":"Dodajte datoteke u red i kliknite na dugme za pokretanje.","Filename":"Naziv datoteke","Image format either wrong or not supported.":"Format slike je neispravan ili nije podržan.","Status":"Status","HTTP Error.":"HTTP greška.","Start Upload":"Započni dodavanje","mb":"mb","kb":"kb","Duplicate file error.":"Dupla datoteka.","File size error.":"Greška u veličini datoteke.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Greška! Neispravan ekstenzija datoteke:","Select files":"Odaberite datoteke","%s already present in the queue.":"%s se već nalazi u redu.","File: %s":"Datoteka: %s","b":"b","Uploaded %d/%d files":"Dodano %d/%d datoteka","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Dodavanje trenutno dozvoljava samo %d datoteka istovremeno. Dodatne datoteke su uklonjene.","%d files queued":"%d datoteka čeka","File: %s, size: %d, max file size: %d":"Datoteka: %s, veličina: %d, maksimalna veličina: %d","Drag files here.":"Dovucite datoteke ovdje.","Runtime ran out of available memory.":"Nema više dostupne memorije.","File count error.":"Greška u brojanju datoeka.","File extension error.":"Greška u ekstenziji datoteke.","Error: File too large:":"Greška! Datoteka je prevelika:","Add Files":"Dodaj datoteke"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/hu.js:
--------------------------------------------------------------------------------
1 | // Hungarian (hu)
2 | plupload.addI18n({"Stop Upload":"Feltöltés leállítása","Upload URL might be wrong or doesn't exist.":"A feltöltő URL hibás vagy nem létezik.","tb":"TB","Size":"Méret","Close":"Bezárás","Init error.":"Init hiba.","Add files to the upload queue and click the start button.":"A fájlok feltöltési sorhoz való hozzáadása után az Indítás gombra kell kattintani.","Filename":"Fájlnév","Image format either wrong or not supported.":"Rossz vagy nem támogatott képformátum.","Status":"Állapot","HTTP Error.":"HTTP-hiba.","Start Upload":"Feltöltés indítása","mb":"MB","kb":"kB","Duplicate file error.":"Duplikáltfájl-hiba.","File size error.":"Hibás fájlméret.","N/A":"Nem elérhető","gb":"GB","Error: Invalid file extension:":"Hiba: érvénytelen fájlkiterjesztés:","Select files":"Fájlok kiválasztása","%s already present in the queue.":"%s már szerepel a listában.","File: %s":"Fájl: %s","b":"b","Uploaded %d/%d files":"Feltöltött fájlok: %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"A feltöltés egyszerre csak %d fájlt fogad el, a többi fájl nem lesz feltöltve.","%d files queued":"%d fájl sorbaállítva","File: %s, size: %d, max file size: %d":"Fájl: %s, méret: %d, legnagyobb fájlméret: %d","Drag files here.":"Ide lehet húzni a fájlokat.","Runtime ran out of available memory.":"Futásidőben elfogyott a rendelkezésre álló memória.","File count error.":"A fájlok számával kapcsolatos hiba.","File extension error.":"Hibás fájlkiterjesztés.","Error: File too large:":"Hiba: a fájl túl nagy:","Add Files":"Fájlok hozzáadása"});
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/de.js:
--------------------------------------------------------------------------------
1 | // German (de)
2 | plupload.addI18n({"Stop Upload":"Hochladen stoppen","Upload URL might be wrong or doesn't exist.":"Upload-URL ist falsch oder existiert nicht.","tb":"TB","Size":"Größe","Close":"Schließen","Init error.":"Initialisierungsfehler","Add files to the upload queue and click the start button.":"Dateien hinzufügen und auf 'Hochladen' klicken.","Filename":"Dateiname","Image format either wrong or not supported.":"Bildformat falsch oder nicht unterstützt.","Status":"Status","HTTP Error.":"HTTP-Fehler","Start Upload":"Hochladen beginnen","mb":"MB","kb":"KB","Duplicate file error.":"Datei bereits hochgeladen","File size error.":"Fehler bei Dateigröße","N/A":"Nicht verfügbar","gb":"GB","Error: Invalid file extension:":"Fehler: Ungültige Dateiendung:","Select files":"Dateien auswählen","%s already present in the queue.":"%s ist bereits in der Warteschlange","File: %s":"Datei: %s","b":"B","Uploaded %d/%d files":"%d/%d Dateien wurden hochgeladen","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Pro Durchgang können nur %d Datei(en) akzeptiert werden. Überzählige Dateien wurden ignoriert.","%d files queued":"%d Dateien in der Warteschlange","File: %s, size: %d, max file size: %d":"Datei: %s, Größe: %d, maximale Dateigröße: %d","Drag files here.":"Dateien hier hin ziehen.","Runtime ran out of available memory.":"Nicht genügend Speicher verfügbar.","File count error.":"Fehlerhafte Dateianzahl.","File extension error.":"Fehler bei Dateiendung","Error: File too large:":"Fehler: Datei zu groß:","Add Files":"Dateien hinzufügen"});
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/tests/Qiniu/Tests/HttpTest.php:
--------------------------------------------------------------------------------
1 | assertEquals($response->statusCode, 200);
12 | $this->assertNotNull($response->body);
13 | $this->assertNull($response->error);
14 | }
15 |
16 | public function testGetQiniu()
17 | {
18 | $response = Client::get('up.qiniu.com');
19 | $this->assertEquals(405, $response->statusCode);
20 | $this->assertNotNull($response->body);
21 | $this->assertNotNull($response->xReqId());
22 | $this->assertNotNull($response->xLog());
23 | $this->assertNotNull($response->error);
24 | }
25 |
26 | public function testPost()
27 | {
28 | $response = Client::post('baidu.com', null);
29 | $this->assertEquals($response->statusCode, 405);
30 | $this->assertNotNull($response->body);
31 | $this->assertNotNull($response->error);
32 | }
33 |
34 | public function testPostQiniu()
35 | {
36 | $response = Client::post('up.qiniu.com', null);
37 | $this->assertEquals($response->statusCode, 400);
38 | $this->assertNotNull($response->body);
39 | $this->assertNotNull($response->xReqId());
40 | $this->assertNotNull($response->xLog());
41 | $this->assertNotNull($response->error);
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/hr.js:
--------------------------------------------------------------------------------
1 | // Croatian (hr)
2 | plupload.addI18n({"Stop Upload":"Zaustavi upload.","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"tb","Size":"Veličina","Close":"Zatvori","Init error.":"Greška inicijalizacije.","Add files to the upload queue and click the start button.":"Dodajte datoteke u listu i kliknite Upload.","Filename":"Ime datoteke","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Status","HTTP Error.":"HTTP greška.","Start Upload":"Pokreni upload.","mb":"mb","kb":"kb","Duplicate file error.":"Pogreška dvostruke datoteke.","File size error.":"Greška veličine datoteke.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Pogreška: Nevažeći nastavak datoteke:","Select files":"Odaberite datoteke:","%s already present in the queue.":"%s je već prisutan u listi čekanja.","File: %s":"Datoteka: %s","b":"b","Uploaded %d/%d files":"Uploadano %d/%d datoteka","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d datoteka na čekanju.","File: %s, size: %d, max file size: %d":"Datoteka: %s, veličina: %d, maksimalna veličina: %d","Drag files here.":"Dovucite datoteke ovdje","Runtime ran out of available memory.":"Runtime aplikaciji je ponestalo memorije.","File count error.":"Pogreška u broju datoteka.","File extension error.":"Pogreška u nastavku datoteke.","Error: File too large:":"Pogreška: Datoteka je prevelika:","Add Files":"Dodaj datoteke"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ro.js:
--------------------------------------------------------------------------------
1 | // Romanian (ro)
2 | plupload.addI18n({"Stop Upload":"Oprește încărcarea","Upload URL might be wrong or doesn't exist.":"Upload URL might be wrong or doesn't exist.","tb":"tb","Size":"Mărime","Close":"Închide","Init error.":"Eroare inițializare.","Add files to the upload queue and click the start button.":"Adaugă fișiere în lista apoi apasă butonul \"Începe încărcarea\".","Filename":"Nume fișier","Image format either wrong or not supported.":"Formatul de imagine ori este greșit ori nu este suportat.","Status":"Stare","HTTP Error.":"Eroare HTTP","Start Upload":"Începe încărcarea","mb":"mb","kb":"kb","Duplicate file error.":"Eroare duplicat fișier.","File size error.":"Eroare dimensiune fișier.","N/A":"N/A","gb":"gb","Error: Invalid file extension:":"Eroare: Extensia fișierului este invalidă:","Select files":"Selectează fișierele","%s already present in the queue.":"%s există deja în lista de așteptare.","File: %s":"Fișier: %s","b":"b","Uploaded %d/%d files":"Fișiere încărcate %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload element accepts only %d file(s) at a time. Extra files were stripped.","%d files queued":"%d fișiere listate","File: %s, size: %d, max file size: %d":"Fișier: %s, mărime: %d, mărime maximă: %d","Drag files here.":"Trage aici fișierele.","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"Eroare numărare fișiere.","File extension error.":"Eroare extensie fișier.","Error: File too large:":"Eroare: Fișierul este prea mare:","Add Files":"Adaugă fișiere"});
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/pt_BR.js:
--------------------------------------------------------------------------------
1 | // Portuguese (Brazil) (pt_BR)
2 | plupload.addI18n({"Stop Upload":"Parar o envio","Upload URL might be wrong or doesn't exist.":"URL de envio está errada ou não existe","tb":"TB","Size":"Tamanho","Close":"Fechar","Init error.":"Erro inicializando.","Add files to the upload queue and click the start button.":"Adicione os arquivos abaixo e clique no botão \"Iniciar o envio\".","Filename":"Nome do arquivo","Image format either wrong or not supported.":"Image format either wrong or not supported.","Status":"Status","HTTP Error.":"Erro HTTP.","Start Upload":"Iniciar o envio","mb":"MB","kb":"KB","Duplicate file error.":"Erro: Arquivo duplicado.","File size error.":"Tamanho de arquivo não permitido.","N/A":"N/D","gb":"GB","Error: Invalid file extension:":"Error: Invalid file extension:","Select files":"Escolha os arquivos","%s already present in the queue.":"%s já presentes na fila.","File: %s":"Arquivo: %s","b":"Bytes","Uploaded %d/%d files":"Enviado(s) %d/%d arquivo(s)","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Só são aceitos %d arquivos por vez. O que passou disso foi descartado.","%d files queued":"%d arquivo(s)","File: %s, size: %d, max file size: %d":"Arquivo: %s, Tamanho: %d , Tamanho Máximo do Arquivo: %d","Drag files here.":"Arraste os arquivos pra cá","Runtime ran out of available memory.":"Runtime ran out of available memory.","File count error.":"Erro na contagem dos arquivos","File extension error.":"Tipo de arquivo não permitido.","Error: File too large:":"Error: File too large:","Add Files":"Adicionar arquivo(s)"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ca.js:
--------------------------------------------------------------------------------
1 | // Catalan (ca)
2 | plupload.addI18n({"Stop Upload":"Parar pujada","Upload URL might be wrong or doesn't exist.":"La URL de càrrega no és correcte o bé no existeix.","tb":"Tb","Size":"Tamany","Close":"Tancar","Init error.":"Error d´inicialització.","Add files to the upload queue and click the start button.":"Afegeixi els fitxers a la cua de pujada i cliqui el botó Iniciar","Filename":"Nom de fitxer","Image format either wrong or not supported.":"Format d'imatge incorrecte o no suportat.","Status":"Estat","HTTP Error.":"Error HTTP.","Start Upload":"Començar pujada","mb":"Mb","kb":"Kb","Duplicate file error.":"Error per duplicitat de fitxer.","File size error.":"Error en la mida del fitxer.","N/A":"N/D","gb":"Gb","Error: Invalid file extension:":"Error: Extensió de fitxer no vàlida:","Select files":"Seleccionar fitxers","%s already present in the queue.":"%s ja existeix a la cua.","File: %s":"Fitxer: %s","b":"b","Uploaded %d/%d files":"Pujats %d/%d fitxers","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"La càrrega d'elements tan sols accepta %d fitxer(s) alhora. Els fitxers sobrants seran descartats.","%d files queued":"%d fitxers en cua","File: %s, size: %d, max file size: %d":"Fitxer: %s, mida: %d, mida màxima de fitxer: %d","Drag files here.":"Arrossegui fitxers aquí","Runtime ran out of available memory.":"L'execució ha arribat al límit de memòria.","File count error.":"Error en el recompte de fitxers","File extension error.":"Error en l´extensió del fitxer.","Error: File too large:":"Error: Fitxer massa gran:","Add Files":"Afegir fitxers"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/nl.js:
--------------------------------------------------------------------------------
1 | // Dutch (nl)
2 | plupload.addI18n({"Stop Upload":"Stop Upload","Upload URL might be wrong or doesn't exist.":"Upload URL is verkeerd of bestaat niet.","tb":"tb","Size":"Grootte","Close":"Sluiten","Init error.":"Initialisatie error.","Add files to the upload queue and click the start button.":"Voeg bestanden toe aan de wachtrij en druk op 'Start'.","Filename":"Bestandsnaam","Image format either wrong or not supported.":"bestandsextensie is verkeerd of niet ondersteund.","Status":"Status","HTTP Error.":"HTTP Error.","Start Upload":"Start Upload","mb":"mb","kb":"kb","Duplicate file error.":"Bestand bestaat al.","File size error.":"Bestandsgrootte error.","N/A":"Niet beschikbaar","gb":"gb","Error: Invalid file extension:":"Error: Ongeldige bestandsextensie:","Select files":"Selecteer bestand(en):","%s already present in the queue.":"%s is al aan de wachtrij toegevoegd.","File: %s":"Bestand: %s","b":"b","Uploaded %d/%d files":"%d/%d bestanden ge-upload","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Upload accepteert alleen %d bestand(en) tegelijk. Extra bestanden zijn verwijderd.","%d files queued":"%d bestand(en) in de wachtrij","File: %s, size: %d, max file size: %d":"Bestand: %s, grootte: %d, maximale bestandsgrootte: %d","Drag files here.":"Sleep bestanden hierheen.","Runtime ran out of available memory.":"Het maximum bruikbare geheugen is overschreden.","File count error.":"Teveel bestand(en) error.","File extension error.":"Ongeldig bestandsextensie.","Error: File too large:":"Error: Bestand te groot:","Add Files":"Bestand(en) toevoegen"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/lv.js:
--------------------------------------------------------------------------------
1 | // Latvian (lv)
2 | plupload.addI18n({"Stop Upload":"Apturēt augšupielādi","Upload URL might be wrong or doesn't exist.":"Augšupielādes saite neeksistē vai ir nepareiza.","tb":"terabaiti","Size":"Izmērs","Close":"Aizvērt","Init error.":"Inicializācijas kļūda.","Add files to the upload queue and click the start button.":"Pievienojiet failus rindai un klikšķiniet uz pogas \"Sākt augšupielādi\".","Filename":"Faila nosaukums","Image format either wrong or not supported.":"Attēla formāts ir nepareizs vai arī netiek atbalstīts.","Status":"Statuss","HTTP Error.":"HTTP kļūda.","Start Upload":"Sākt augšupielādi","mb":"megabaiti","kb":"kilobaiti","Duplicate file error.":"Atkārtota faila kļūda","File size error.":"Faila izmēra kļūda.","N/A":"N/A","gb":"gigabaiti","Error: Invalid file extension:":"Kļūda: Nepareizs faila paplašinājums:","Select files":"Izvēlieties failus","%s already present in the queue.":"%s jau ir atrodams rindā.","File: %s":"Fails: %s","b":"baiti","Uploaded %d/%d files":"Augšupielādēti %d/%d faili","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Iespējams ielādēt tikai %d failus vienā reizē. Atlikušie faili netika pievienoti","%d files queued":"%d faili pievienoti rindai","File: %s, size: %d, max file size: %d":"Fails: %s, izmērs: %d, max faila izmērs: %d","Drag files here.":"Ievelciet failus šeit","Runtime ran out of available memory.":"Pietrūkst izmantojamās atmiņas.","File count error.":"Failu skaita kļūda","File extension error.":"Faila paplašinājuma kļūda.","Error: File too large:":"Kļūda: Fails pārāk liels:","Add Files":"Pievienot failus"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/ru.js:
--------------------------------------------------------------------------------
1 | // Russian (ru)
2 | plupload.addI18n({"Stop Upload":"Остановить Загрузку","Upload URL might be wrong or doesn't exist.":"Адрес заргузки неправильный или он не существует.","tb":"тб","Size":"Размер","Close":"Закрыть","Init error.":"Ошибка инициализации.","Add files to the upload queue and click the start button.":"Добавьте файлы в очередь и нажмите кнопку \"Загрузить файлы\".","Filename":"Имя файла","Image format either wrong or not supported.":"Формат картинки неправильный или он не поддерживается.","Status":"Статус","HTTP Error.":"Ошибка HTTP.","Start Upload":"Начать загрузку","mb":"мб","kb":"кб","Duplicate file error.":"Такой файл уже присутствует в очереди.","File size error.":"Неправильный размер файла.","N/A":"N/A","gb":"гб","Error: Invalid file extension:":"Ошибка: У файла неправильное расширение:","Select files":"Выберите файлы","%s already present in the queue.":"%s уже присутствует в очереди.","File: %s":"Файл: %s","b":"б","Uploaded %d/%d files":"Загружено %d/%d файлов","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Загрузочный элемент за раз принимает только %d файл(ов). Лишние файлы были отброшены.","%d files queued":"В очереди %d файл(ов)","File: %s, size: %d, max file size: %d":"Файл: %s, размер: %d, макс. размер файла: %d","Drag files here.":"Перетащите файлы сюда.","Runtime ran out of available memory.":"Рабочая среда превысила лимит достуной памяти.","File count error.":"Слишком много файлов.","File extension error.":"Неправильное расширение файла.","Error: File too large:":"Ошибка: Файл слишком большой:","Add Files":"Добавьте файлы"});
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/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 | ?>
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/bg.js:
--------------------------------------------------------------------------------
1 | // Bulgarian (bg)
2 | plupload.addI18n({"Stop Upload":"Спрете качването","Upload URL might be wrong or doesn't exist.":"URL за качване може да е грешен или да не съществува.","tb":"tb","Size":"Размер","Close":"Затвори","Init error.":"Грешка: инициализиране.","Add files to the upload queue and click the start button.":"Добавете файлове в опашката за качване, и щракнете бутона старт.","Filename":"Име на файла","Image format either wrong or not supported.":"Формата на изображението или е объркан, или не се поддържа.","Status":"Статус","HTTP Error.":"Грешка: HTTP .","Start Upload":"Започнете качването","mb":"mb","kb":"kb","Duplicate file error.":"Грешка: файла е вече качен на сървъра.","File size error.":"Грешка: размер на файла.","N/A":"не приложимо","gb":"gb","Error: Invalid file extension:":"Грешка: Невалидно разширение на файл:","Select files":"Изберете файлове","%s already present in the queue.":"%s вече го има в опашката.","File: %s":"Файл: %s","b":"b","Uploaded %d/%d files":"Качени %d/%d файла","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Елемента за качване приема само %d файл(а) наведнъж. Допълнителните файлове бяха отстранени.","%d files queued":"%d файла в опашката","File: %s, size: %d, max file size: %d":"Файл: %s, размер: %d, максимален размер: %d","Drag files here.":"Довлечете файловете тук.","Runtime ran out of available memory.":"Недостатъчна свободна памет.","File count error.":"Грешка в броя на файловете.","File extension error.":"Грешка: разширение на файла.","Error: File too large:":"Грешка: Файла е твърде голям:","Add Files":"Добавете файлове"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/el.js:
--------------------------------------------------------------------------------
1 | // Greek (el)
2 | plupload.addI18n({"Stop Upload":"Ακύρωση Μεταφόρτωσης","Upload URL might be wrong or doesn't exist.":"Το URL μεταφόρτωσης είναι λάθος ή δεν υπάρχει.","tb":"tb","Size":"Μέγεθος","Close":"Κλείσιμο","Init error.":"Σφάλμα αρχικοποίησης.","Add files to the upload queue and click the start button.":"Προσθέστε αρχεία στην ουρά μεταφόρτωσης και πατήστε το κουμπί εκκίνησης.","Filename":"Όνομα Αρχείου","Image format either wrong or not supported.":"Ο τύπος εικόνας είναι λάθος ή δεν υποστηρίζεται.","Status":"Κατάσταση","HTTP Error.":"Σφάλμα HTTP.","Start Upload":"Εκκίνηση Μεταφόρτωσης","mb":"mb","kb":"kb","Duplicate file error.":"Το αρχείο έχει ξαναπροστεθεί.","File size error.":"Σφάλμα με το μέγεθος του αρχείου.","N/A":"Δεν ισχύει","gb":"gb","Error: Invalid file extension:":"Σφάλμα: Μη έγκυρος τύπος αρχείου:","Select files":"Επιλέξτε Αρχεία","%s already present in the queue.":"Το «%s» βρίσκεται ήδη στην ουρά.","File: %s":"Αρχείο: %s","b":"b","Uploaded %d/%d files":"Μεταφορτώθηκαν %d/%d αρχεία","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Μπορείτε να μεταφορτώσετε μεχρι και %d αρχείο/α κάθε φορά. Τα επιπλέον αρχεία αφαιρέθηκαν.","%d files queued":"%d αρχεία στην ουρά","File: %s, size: %d, max file size: %d":"Αρχείο: %s, μέγεθος: %d, μέγιστο μέγεθος αρχείου: %d","Drag files here.":"Σύρετε αρχεία εδώ","Runtime ran out of available memory.":"Δεν υπάρχει αρκετή διαθέσιμη μνήμη.","File count error.":"Σφάλμα με τον αριθμό αρχείων.","File extension error.":"Σφάλμα με τον τύπο αρχείου.","Error: File too large:":"Σφάλμα: Πολύ μεγάλο αρχείο:","Add Files":"Προσθέστε Αρχεία"});
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/uk_UA.js:
--------------------------------------------------------------------------------
1 | // Ukrainian (Ukraine) (uk_UA)
2 | plupload.addI18n({"Stop Upload":"Зупинити завантаження","Upload URL might be wrong or doesn't exist.":"Адреса завантаження неправильна або не існує.","tb":"тб","Size":"Розмір","Close":"Закрити","Init error.":"Помилка ініціалізації.","Add files to the upload queue and click the start button.":"Додайте файли в чергу та натисніть кнопку \"Завантажити файли\".","Filename":"Назва файлу","Image format either wrong or not supported.":"Формат картинки не правильний або не підтримується.","Status":"Статус","HTTP Error.":"Помилка HTTP.","Start Upload":"Почати завантаження","mb":"мб","kb":"кб","Duplicate file error.":"Такий файл вже присутній в черзі.","File size error.":"Неправильний розмір файлу.","N/A":"Н/Д","gb":"гб","Error: Invalid file extension:":"Помилка: У файлу неправильне розширення:","Select files":"Оберіть файли","%s already present in the queue.":"%s вже присутній у черзі.","File: %s":"Файл: %s","b":"б","Uploaded %d/%d files":"Завантажено %d/%d файлів","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Завантажувальний елемент приймає лише %d файл(ів) одночасно. Зайві файли було відкинуто.","%d files queued":"В черзі %d файл(ів)","File: %s, size: %d, max file size: %d":"Файл: %s, розмір: %d, макс. розмір файлу: %d","Drag files here.":"Перетягніть файли сюди.","Runtime ran out of available memory.":"Робоче середовище перевищило ліміт доступної пам'яті.","File count error.":"Занадто багато файлів.","File extension error.":"Неправильне розширення файлу.","Error: File too large:":"Помилка: Файл занадто великий:","Add Files":"Додати файли"});
--------------------------------------------------------------------------------
/Application/Home/View/Public/head.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/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/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/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/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 | }
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/sq.js:
--------------------------------------------------------------------------------
1 | // Albanian (sq)
2 | plupload.addI18n({"Stop Upload":"Ndalimi i ngarkimit","Upload URL might be wrong or doesn't exist.":"Ngarkimi i URL-s është i gabuar ose nuk ekziston.","tb":"TB","Size":"Madhësia","Close":"Mbyll","Init error.":"Init gabim.","Add files to the upload queue and click the start button.":"Mbas ngarkimit të dosjeve sipas rradhës duhet të klikoni butonin Start.","Filename":"Emri i dosjes","Image format either wrong or not supported.":"Formati i fotove është i keq ose nuk është i pranueshëm.","Status":"Statusi","HTTP Error.":"HTTP Gabim.","Start Upload":"Nisja e ngarkimit","mb":"MB","kb":"KB","Duplicate file error.":"Gabim i dublikimit të dosjes.","File size error.":"Gabim i madhësisë së dosjes.","N/A":"Nuk është në dispozicion","gb":"GB","Error: Invalid file extension:":"Gabim: përhapja e llojit të dosjes është e pavlefshme:","Select files":"Zhgjidhni dosjet","%s already present in the queue.":"%s tashmë ekziston në list.","File: %s":"Dosje: %s","b":"B","Uploaded %d/%d files":"Dosjet e ngarkuara: %d/%d","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Ngarkimi pranon njëherësh vetëm %d dosje, dosjet e tjera nuk do të jenë të ngarkuara.","%d files queued":"Dosja %d e vendosur në rradhë","File: %s, size: %d, max file size: %d":"Dosje: %s, madhësia: %d, madhësia maximale e dosjes: %d","Drag files here.":"Këtu mund të tërhiqni dosjet","Runtime ran out of available memory.":"Memoria që ishte në dispozicion ka mbaruar.","File count error.":"Gabim në lidhje me numrin e dosjeve.","File extension error.":"Gabim i zgjerimit të dosjes.","Error: File too large:":"Gabim: dosja është shumë e madhe:","Add Files":"Shtoni dosjet"});
--------------------------------------------------------------------------------
/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/Vendor/qiniu/tests/Qiniu/Tests/EtagTest.php:
--------------------------------------------------------------------------------
1 | assertEquals('Fto5o-5ea0sNMlW_75VgGJCv2AcJ', $r);
14 | $this->assertNull($error);
15 | }
16 |
17 | public function testLess4M()
18 | {
19 | $file = qiniuTempFile(3*1024*1024);
20 | list($r, $error) = Etag::sum($file);
21 | unlink($file);
22 | $this->assertEquals('lrGEYiVvREEgGl_foQEnZ5a5BqwZ', $r);
23 | $this->assertNull($error);
24 | }
25 |
26 | public function test4M()
27 | {
28 | $file = qiniuTempFile(4*1024*1024);
29 | list($r, $error) = Etag::sum($file);
30 | unlink($file);
31 | $this->assertEquals('lvOwUCzD-YVymzwJLRGZR3eD__GV', $r);
32 | $this->assertNull($error);
33 | }
34 |
35 | public function testMore4M()
36 | {
37 | $file = qiniuTempFile(5*1024*1024);
38 | list($r, $error) = Etag::sum($file);
39 | unlink($file);
40 | $this->assertEquals('lqtEDHt7Yo5j1a2mjlB2Ds8DUYNM', $r);
41 | $this->assertNull($error);
42 | }
43 |
44 | public function test8M()
45 | {
46 | $file = qiniuTempFile(8*1024*1024);
47 | list($r, $error) = Etag::sum($file);
48 | unlink($file);
49 | $this->assertEquals('ljpekgMJ9VSYlE8hMX06GIWXxfDI', $r);
50 | $this->assertNull($error);
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/Public/plugins/plupload/js/i18n/fr.js:
--------------------------------------------------------------------------------
1 | // French (fr)
2 | plupload.addI18n({"Stop Upload":"Arrêter l'envoi.","Upload URL might be wrong or doesn't exist.":"L'URL d'envoi est soit erronée soit n'existe pas.","tb":"To","Size":"Taille","Close":"Fermer","Init error.":"Erreur d'initialisation.","Add files to the upload queue and click the start button.":"Ajoutez des fichiers à la file d'attente de téléchargement et appuyez sur le bouton 'Démarrer l'envoi'","Filename":"Nom du fichier","Image format either wrong or not supported.":"Le format d'image est soit erroné soit pas géré.","Status":"État","HTTP Error.":"Erreur HTTP.","Start Upload":"Démarrer l'envoi","mb":"Mo","kb":"Ko","Duplicate file error.":"Erreur: Fichier déjà sélectionné.","File size error.":"Erreur de taille de fichier.","N/A":"Non applicable","gb":"Go","Error: Invalid file extension:":"Erreur: Extension de fichier non valide:","Select files":"Sélectionnez les fichiers","%s already present in the queue.":"%s déjà présent dans la file d'attente.","File: %s":"Fichier: %s","b":"o","Uploaded %d/%d files":"%d fichiers sur %d ont été envoyés","Upload element accepts only %d file(s) at a time. Extra files were stripped.":"Que %d fichier(s) peuvent être envoyé(s) à la fois. Les fichiers supplémentaires ont été ignorés.","%d files queued":"%d fichiers en attente","File: %s, size: %d, max file size: %d":"Fichier: %s, taille: %d, taille max. d'un fichier: %d","Drag files here.":"Déposez les fichiers ici.","Runtime ran out of available memory.":"Le traitement a manqué de mémoire disponible.","File count error.":"Erreur: Nombre de fichiers.","File extension error.":"Erreur d'extension de fichier","Error: File too large:":"Erreur: Fichier trop volumineux:","Add Files":"Ajouter des fichiers"});
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Template/Driver/Smarty.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * Smarty模板引擎驱动
14 | */
15 | class Smarty {
16 |
17 | /**
18 | * 渲染模板输出
19 | * @access public
20 | * @param string $templateFile 模板文件名
21 | * @param array $var 模板变量
22 | * @return void
23 | */
24 | public function fetch($templateFile,$var) {
25 | $templateFile = substr($templateFile,strlen(THEME_PATH));
26 | vendor('Smarty.Smarty#class');
27 | $tpl = new \Smarty();
28 | $tpl->caching = C('TMPL_CACHE_ON');
29 | $tpl->template_dir = THEME_PATH;
30 | $tpl->compile_dir = CACHE_PATH ;
31 | $tpl->cache_dir = TEMP_PATH ;
32 | if(C('TMPL_ENGINE_CONFIG')) {
33 | $config = C('TMPL_ENGINE_CONFIG');
34 | foreach ($config as $key=>$val){
35 | $tpl->{$key} = $val;
36 | }
37 | }
38 | $tpl->assign($var);
39 | $tpl->display($templateFile);
40 | }
41 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Behavior/RobotCheckBehavior.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Behavior;
12 | /**
13 | * 机器人检测
14 | * @author liu21st
15 | */
16 | class RobotCheckBehavior {
17 |
18 | public function run(&$params) {
19 | // 机器人访问检测
20 | if(C('LIMIT_ROBOT_VISIT',null,true) && self::isRobot()) {
21 | // 禁止机器人访问
22 | exit('Access Denied');
23 | }
24 | }
25 |
26 | static private function isRobot() {
27 | static $_robot = null;
28 | if(is_null($_robot)) {
29 | $spiders = 'Bot|Crawl|Spider|slurp|sohu-search|lycos|robozilla';
30 | $browsers = 'MSIE|Netscape|Opera|Konqueror|Mozilla';
31 | if(preg_match("/($browsers)/", $_SERVER['HTTP_USER_AGENT'])) {
32 | $_robot = false ;
33 | } elseif(preg_match("/($spiders)/", $_SERVER['HTTP_USER_AGENT'])) {
34 | $_robot = true;
35 | } else {
36 | $_robot = false;
37 | }
38 | }
39 | return $_robot;
40 | }
41 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Template/Driver/Smart.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * Smart模板引擎驱动
14 | */
15 | class Smart {
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 | vendor('SmartTemplate.class#smarttemplate');
26 | $tpl = new \SmartTemplate($templateFile);
27 | $tpl->caching = C('TMPL_CACHE_ON');
28 | $tpl->template_dir = THEME_PATH;
29 | $tpl->compile_dir = CACHE_PATH ;
30 | $tpl->cache_dir = TEMP_PATH ;
31 | if(C('TMPL_ENGINE_CONFIG')) {
32 | $config = C('TMPL_ENGINE_CONFIG');
33 | foreach ($config as $key=>$val){
34 | $tpl->{$key} = $val;
35 | }
36 | }
37 | $tpl->assign($var);
38 | $tpl->output();
39 | }
40 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/TemplateLite/internal/compile.generate_compiler_debug_output.php:
--------------------------------------------------------------------------------
1 | _vars;\n";
12 | $debug_output .= "ksort(\$assigned_vars);\n";
13 | $debug_output .= "if (@is_array(\$this->_config[0])) {\n";
14 | $debug_output .= " \$config_vars = \$this->_config[0];\n";
15 | $debug_output .= " ksort(\$config_vars);\n";
16 | $debug_output .= " \$this->assign('_debug_config_keys', array_keys(\$config_vars));\n";
17 | $debug_output .= " \$this->assign('_debug_config_vals', array_values(\$config_vars));\n";
18 | $debug_output .= "} \n";
19 |
20 | $debug_output .= "\$included_templates = \$this->_templatelite_debug_info;\n";
21 |
22 | $debug_output .= "\$this->assign('_debug_keys', array_keys(\$assigned_vars));\n";
23 | $debug_output .= "\$this->assign('_debug_vals', array_values(\$assigned_vars));\n";
24 | $debug_output .= "\$this->assign('_debug_tpls', \$included_templates);\n";
25 |
26 | $debug_output .= "\$this->_templatelite_debug_loop = true;\n";
27 | $debug_output .= "\$this->_templatelite_debug_dir = \$this->template_dir;\n";
28 | $debug_output .= "\$this->template_dir = TEMPLATE_LITE_DIR . 'internal/';\n";
29 | $debug_output .= "echo \$this->_fetch_compile('debug.tpl');\n";
30 | $debug_output .= "\$this->template_dir = \$this->_templatelite_debug_dir;\n";
31 | $debug_output .= "\$this->_templatelite_debug_loop = false; \n";
32 | return $debug_output;
33 | }
34 |
35 | ?>
--------------------------------------------------------------------------------
/ThinkPHP/Library/Think/Template/Driver/Ease.class.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace Think\Template\Driver;
12 | /**
13 | * EaseTemplate模板引擎驱动
14 | */
15 | class Ease {
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),-5);
25 | $CacheDir = substr(CACHE_PATH,0,-1);
26 | $TemplateDir = substr(THEME_PATH,0,-1);
27 | vendor('EaseTemplate.template#ease');
28 | $config = array(
29 | 'CacheDir' => $CacheDir,
30 | 'TemplateDir' => $TemplateDir,
31 | 'TplType' => 'html'
32 | );
33 | if(C('TMPL_ENGINE_CONFIG')) {
34 | $config = array_merge($config,C('TMPL_ENGINE_CONFIG'));
35 | }
36 | $tpl = new \EaseTemplate($config);
37 | $tpl->set_var($var);
38 | $tpl->set_file($templateFile);
39 | $tpl->p();
40 | }
41 | }
--------------------------------------------------------------------------------
/ThinkPHP/Library/Vendor/qiniu/src/Qiniu/Processing/Operation.php:
--------------------------------------------------------------------------------
1 | auth = $auth;
18 | $this->domain = $domain;
19 | $this->token_expire = $token_expire;
20 | }
21 |
22 |
23 | /**
24 | * 对资源文件进行处理
25 | *
26 | * @param $key 待处理的资源文件名
27 | * @param $fops string|array fop操作,多次fop操作以array的形式传入。
28 | * eg. imageView2/1/w/200/h/200, imageMogr2/thumbnail/!75px
29 | *
30 | * @return array 文件处理后的结果及错误。
31 | *
32 | * @link http://developer.qiniu.com/docs/v6/api/reference/fop/
33 | */
34 | public function execute($key, $fops)
35 | {
36 | $url = $this->buildUrl($key, $fops);
37 | $resp = Client::get($url);
38 | if (!$resp->ok()) {
39 | return array(null, new Error($url, $resp));
40 | }
41 | if ($resp->json() !== null) {
42 | return array($resp->json(), null);
43 | }
44 | return array($resp->body, null);
45 | }
46 |
47 | public function buildUrl($key, $fops)
48 | {
49 | if (is_array($fops)) {
50 | $fops = implode('|', $fops);
51 | }
52 |
53 | $url = "http://$this->domain/$key?$fops";
54 | if ($this->auth !== null) {
55 | $url = $this->auth->privateDownloadUrl($url, $this->token_expire);
56 | }
57 |
58 | return $url;
59 | }
60 | }
61 |
--------------------------------------------------------------------------------