91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

好東西,分享出來!!本人花錢買的,并修改了幾處BUG,是學習及開發基于ThinkPHP商城系統的好東西!由于商品圖片占空間太大,已經刪除。保留了核心的源代碼和數據庫文件!完全可用。如果需要更完整的資料,請您在評論中留下QQ或者郵箱,本人不定期登錄,看到后會幫您發過去!!!

資源截圖

代碼片段和文件信息

#!/usr/bin/env?python


import?cgi
try:
import?json
except?ImportError:
import?simplejson?as?json
import?elFinder

#?configure?connector?options
opts?=?{
#‘root‘:?‘/home/troex/Sites/git/elfinder/files‘
‘root‘:?‘../git/elfinder/files/‘
‘URL‘:?‘http://localhost:8001/~troex/git/elfinder/files‘
##?other?options
‘debug‘:?True
‘fileURL‘:?True??#?download?files?using?connector?no?direct?urls?to?files
#?‘dirSize‘:?True
#?‘dotFiles‘:?True
#?‘perms‘:?{
#? ‘backup‘:?{
#? ‘read‘:?True
#? ‘write‘:?False
#? ‘rm‘:?False
#? }
#? ‘^/pics‘:?{
#? ‘read‘:?True
#? ‘write‘:?False
#? ‘rm‘:?False
#? }
#?}
#?‘uploadDeny‘:?[‘image‘?‘application‘]
#?‘uploadAllow‘:?[‘image/png‘?‘image/jpeg‘]
#?‘uploadOrder‘:?[‘deny‘?‘allow‘]
#?‘disabled‘:?[‘rename‘?‘quicklook‘?‘upload‘]
}

#?init?connector?and?pass?options
elf?=?elFinder.connector(opts)

#?fetch?only?needed?GET/POST?parameters
httpRequest?=?{}
form?=?cgi.FieldStorage()
for?field?in?elf.httpAllowedParameters:
if?field?in?form:
httpRequest[field]?=?form.getvalue(field)
if?field?==?‘upload[]‘:
upFiles?=?{}
cgiUploadFiles?=?form[‘upload[]‘]
for?up?in?cgiUploadFiles:
if?up.filename:
upFiles[up.filename]?=?up.file?#?pack?dict(filename:?filedescriptor)
httpRequest[‘upload[]‘]?=?upFiles

#?run?connector?with?parameters
status?header?response?=?elf.run(httpRequest)

#?get?connector?output?and?print?it?out

#?code?below?is?tested?with?apache?only?(maybe?other?server?need?other?method?)
if?status?==?200:
print?‘Status:?200‘
elif?status?==?403:
print?‘Status:?403‘
elif?status?==?404:
print?‘Status:?404‘

if?len(header)?>=?1:
for?h?v?in?header.iteritems():
print?h?+?‘:?‘?+?v
print

if?not?response?is?None?and?status?==?200:
#?send?file
if?‘file‘?in?response?and?isinstance(response[‘file‘]?file):
print?response[‘file‘].read()
response[‘file‘].close()
#?output?json
else:
print?json.dumps(response?indent?=?True)




##?logging
#import?sys
#log?=?open(‘/home/troex/Sites/git/elfinder/files/out.log‘?‘w‘)
#print?>>log?‘FORM:?‘?form
#log.close()

##?another?aproach
##?get?connector?output?and?print?it?out
#if?elf.httpStatusCode?==?200:
# print?‘HTTP/1.1?200?OK‘
#elif?elf.httpStatusCode?==?403:
# print?‘HTTP/1.x?403?Access?Denied‘
#elif?elf.httpStatusCode?==?404:
# print?‘HTTP/1.x?404?Not?Found‘
#
#if?len(elf.httpHeader)?>=?1:
# for?header?value?in?elf.httpHeader.iteritems():
# print?header?+?‘:?‘?+?value
# print
#
#if?not?elf.httpResponse?is?None:
# if?isinstance(elf.httpResponse[‘file‘]?file):
# print?elf.httpResponse[‘file‘].read()
# elf.httpResponse[‘file‘].close()
# else:
# print?json.dumps(elf.httpResponse?indent?=?True)
#

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????223410??2014-10-27?15:40??數據庫文件和安裝說明\jd.sql

?????文件????????211??2016-06-24?17:59??數據庫文件和安裝說明\readme.txt

?????文件????????203??2014-10-10?16:31??源代碼\.htaccess

?????文件???????1067??2016-06-24?17:12??源代碼\Admin.php

?????文件????????192??2014-10-10?16:31??源代碼\Application\Admin\Common\function.php

?????文件??????????1??2014-10-10?16:30??源代碼\Application\Admin\Common\index.html

?????文件???????2286??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\admin_action.js

?????文件????????897??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\admin_action_bbk.js

?????文件???????4958??2014-10-12?23:38??源代碼\Application\Admin\Common\Js\admin_add.js

?????文件???????3494??2014-10-12?23:38??源代碼\Application\Admin\Common\Js\admin_aedit.js

?????文件???????3189??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\admin_edit.js

?????文件???????1149??2014-10-12?23:36??源代碼\Application\Admin\Common\Js\check_login.js

?????文件???????1636??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\index_action.js

?????文件???????8827??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\md5.js

?????文件???????1338??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\news.js

?????文件????????143??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\style_change.js

?????文件????????266??2014-10-10?16:31??源代碼\Application\Admin\Common\Js\user.js

?????文件??????36827??2014-10-10?16:30??源代碼\Application\Admin\Common\Template\bootstrap\css\bootstrap.css

?????文件??????31268??2014-10-10?16:30??源代碼\Application\Admin\Common\Template\bootstrap\css\bootstrap.min.css

?????文件??????19176??2014-10-10?16:30??源代碼\Application\Admin\Common\Template\bootstrap\js\bootstrap.js

?????文件???????9244??2014-10-10?16:30??源代碼\Application\Admin\Common\Template\bootstrap\js\bootstrap.min.js

?????文件???????5131??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\button.css

?????文件??????18037??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\core.css

?????文件???????1627??2014-10-10?16:30??源代碼\Application\Admin\Common\Template\css\demo.css

?????文件????????712??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\error.css

?????文件??????73328??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\fonts\icomoon\fonts\icomoon.eot

?????文件?????367075??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\fonts\icomoon\fonts\icomoon.svg

?????文件??????73164??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\fonts\icomoon\fonts\icomoon.ttf

?????文件??????40432??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\fonts\icomoon\fonts\icomoon.woff

?????文件????????131??2014-10-10?16:31??源代碼\Application\Admin\Common\Template\css\fonts\icomoon\license.txt

............此處省略4330個文件信息

評論

共有 條評論