├── src
├── a
│ └── .dedekeep
├── data
│ ├── admin
│ │ ├── index.html
│ │ ├── ver.txt
│ │ ├── writer.txt
│ │ ├── source.txt
│ │ └── allowurl.txt
│ ├── mail
│ │ └── index.html
│ ├── mark
│ │ ├── index.html
│ │ ├── mark.gif
│ │ ├── mark.png
│ │ └── inc_photowatermark_config.php
│ ├── tag
│ │ ├── index.html
│ │ └── sql.inc.php
│ ├── vote
│ │ └── index.html
│ ├── backupdata
│ │ └── index.html
│ ├── cache
│ │ └── index.html
│ ├── module
│ │ └── index.html
│ ├── textdata
│ │ └── index.html
│ ├── tplcache
│ │ └── index.html
│ ├── uploadtmp
│ │ └── index.html
│ └── ziptmp
│ │ └── index.html
├── static
│ ├── allimg
│ │ └── index.html
│ ├── enums
│ │ └── .dedekeep
│ ├── flink
│ │ └── index.html
│ ├── media
│ │ └── index.html
│ ├── soft
│ │ └── index.html
│ ├── userup
│ │ └── index.html
│ ├── web
│ │ ├── js
│ │ │ ├── admin.blank.js
│ │ │ ├── mode
│ │ │ │ └── css
│ │ │ │ │ └── gss_test.js
│ │ │ ├── login.js
│ │ │ ├── admin.catalog.js
│ │ │ └── webajax.js
│ │ ├── img
│ │ │ ├── admin.png
│ │ │ ├── alb1.jpg
│ │ │ ├── alb2.jpg
│ │ │ ├── alb3.jpg
│ │ │ ├── g_t1.jpg
│ │ │ ├── g_t2.jpg
│ │ │ ├── g_t3.jpg
│ │ │ ├── g_t4.jpg
│ │ │ ├── logo.png
│ │ │ ├── icon_css.png
│ │ │ ├── icon_dir.png
│ │ │ ├── icon_exe.png
│ │ │ ├── icon_htm.png
│ │ │ ├── icon_img.png
│ │ │ ├── icon_js.png
│ │ │ ├── icon_php.png
│ │ │ ├── icon_rm.png
│ │ │ ├── icon_zip.png
│ │ │ ├── login_bg.jpg
│ │ │ ├── icon_addon.png
│ │ │ ├── icon_dir2.png
│ │ │ ├── icon_flash.png
│ │ │ ├── icon_music.png
│ │ │ ├── icon_text.png
│ │ │ ├── icon_video.png
│ │ │ └── thumbnail.jpg
│ │ └── fonts
│ │ │ ├── FontAwesome.otf
│ │ │ ├── fontawesome-webfont.eot
│ │ │ ├── fontawesome-webfont.ttf
│ │ │ ├── fontawesome-webfont.woff
│ │ │ └── fontawesome-webfont.woff2
│ └── ckeditor
│ │ ├── plugins
│ │ ├── icons.png
│ │ ├── icons_hidpi.png
│ │ ├── embed
│ │ │ ├── icons
│ │ │ │ ├── embed.png
│ │ │ │ └── hidpi
│ │ │ │ │ └── embed.png
│ │ │ └── plugin.js
│ │ ├── image2
│ │ │ ├── icons
│ │ │ │ ├── image.png
│ │ │ │ └── hidpi
│ │ │ │ │ └── image.png
│ │ │ └── lang
│ │ │ │ └── zh-cn.js
│ │ ├── link
│ │ │ └── images
│ │ │ │ ├── anchor.png
│ │ │ │ └── hidpi
│ │ │ │ └── anchor.png
│ │ ├── mimage
│ │ │ └── icons
│ │ │ │ └── mimage.png
│ │ ├── emoji
│ │ │ ├── assets
│ │ │ │ └── iconsall.png
│ │ │ ├── icons
│ │ │ │ ├── emojipanel.png
│ │ │ │ └── hidpi
│ │ │ │ │ └── emojipanel.png
│ │ │ └── lang
│ │ │ │ └── en.js
│ │ ├── image
│ │ │ └── images
│ │ │ │ └── noimage.png
│ │ ├── magicline
│ │ │ └── images
│ │ │ │ ├── icon.png
│ │ │ │ ├── hidpi
│ │ │ │ ├── icon.png
│ │ │ │ └── icon-rtl.png
│ │ │ │ └── icon-rtl.png
│ │ ├── widget
│ │ │ └── images
│ │ │ │ └── handle.png
│ │ ├── html5audio
│ │ │ ├── icons
│ │ │ │ ├── html5audio.png
│ │ │ │ └── hidpi
│ │ │ │ │ └── html5audio.png
│ │ │ └── lang
│ │ │ │ └── zh-cn.js
│ │ ├── html5video
│ │ │ ├── icons
│ │ │ │ └── html5video.png
│ │ │ └── lang
│ │ │ │ └── zh-cn.js
│ │ ├── pagebreak
│ │ │ └── images
│ │ │ │ └── pagebreak.gif
│ │ ├── textindent
│ │ │ └── icons
│ │ │ │ ├── textindent.png
│ │ │ │ └── hidpi
│ │ │ │ └── textindent.png
│ │ ├── codesnippet
│ │ │ ├── icons
│ │ │ │ ├── codesnippet.png
│ │ │ │ └── hidpi
│ │ │ │ │ └── codesnippet.png
│ │ │ ├── lib
│ │ │ │ └── highlight
│ │ │ │ │ └── styles
│ │ │ │ │ ├── pojoaque.jpg
│ │ │ │ │ ├── school_book.png
│ │ │ │ │ ├── brown_papersq.png
│ │ │ │ │ ├── ascetic.css
│ │ │ │ │ └── mono-blue.css
│ │ │ ├── lang
│ │ │ │ └── zh-cn.js
│ │ │ └── dialogs
│ │ │ │ └── codesnippet.js
│ │ ├── placeholder
│ │ │ ├── icons
│ │ │ │ ├── placeholder.png
│ │ │ │ └── hidpi
│ │ │ │ │ └── placeholder.png
│ │ │ ├── lang
│ │ │ │ └── zh-cn.js
│ │ │ └── dialogs
│ │ │ │ └── placeholder.js
│ │ ├── ddfilebrowser
│ │ │ └── icons
│ │ │ │ └── ddfilebrowser.png
│ │ ├── dedepagebreak
│ │ │ ├── icons
│ │ │ │ └── dedepagebreak.png
│ │ │ └── plugin.js
│ │ ├── embedsemantic
│ │ │ └── icons
│ │ │ │ ├── embedsemantic.png
│ │ │ │ └── hidpi
│ │ │ │ └── embedsemantic.png
│ │ ├── dialog
│ │ │ ├── dialogDefinition.js
│ │ │ └── styles
│ │ │ │ └── dialog.css
│ │ ├── imagebase
│ │ │ ├── styles
│ │ │ │ └── imagebase.css
│ │ │ └── lang
│ │ │ │ └── en.js
│ │ ├── embedbase
│ │ │ ├── lang
│ │ │ │ └── zh-cn.js
│ │ │ └── dialogs
│ │ │ │ └── embedbase.js
│ │ ├── pastefromgdocs
│ │ │ └── plugin.js
│ │ ├── uploadfile
│ │ │ └── plugin.js
│ │ ├── colordialog
│ │ │ └── dialogs
│ │ │ │ └── colordialog.css
│ │ ├── pastetools
│ │ │ └── filter
│ │ │ │ └── image.js
│ │ ├── xml
│ │ │ └── plugin.js
│ │ ├── ajax
│ │ │ └── plugin.js
│ │ └── tableselection
│ │ │ └── styles
│ │ │ └── tableselection.css
│ │ ├── skins
│ │ └── moono-lisa
│ │ │ ├── icons.png
│ │ │ ├── icons_hidpi.png
│ │ │ └── images
│ │ │ ├── arrow.png
│ │ │ ├── close.png
│ │ │ ├── lock.png
│ │ │ ├── refresh.png
│ │ │ ├── spinner.gif
│ │ │ ├── hidpi
│ │ │ ├── close.png
│ │ │ ├── lock.png
│ │ │ ├── refresh.png
│ │ │ └── lock-open.png
│ │ │ └── lock-open.png
│ │ └── config.js
├── theme
│ ├── system
│ │ ├── channel_downlinkpage.htm
│ │ ├── channel_addon.htm
│ │ ├── channel_downlinks.htm
│ │ ├── channel_list.htm
│ │ ├── part_arclist.htm
│ │ ├── part_arclistsg.htm
│ │ ├── tag_fieldlist.htm
│ │ ├── part_imglist.htm
│ │ ├── part_type_list.htm
│ │ ├── part_autochannel.htm
│ │ ├── tag_one.htm
│ │ ├── custom_fields_admin.htm
│ │ ├── custom_fields_diy.htm
│ │ ├── info_link.htm
│ │ ├── channel_spec_note.htm
│ │ ├── part_imginfolist.htm
│ │ ├── spec_arclist.htm
│ │ ├── memberlist.htm
│ │ ├── channel_article_image.htm
│ │ ├── custom_fields_member.htm
│ │ ├── list_sglist.htm
│ │ ├── spec_list.htm
│ │ ├── tag_feedback.htm
│ │ ├── userinfo.htm
│ │ ├── part_channelartlist.htm
│ │ ├── list_fulllist.htm
│ │ └── info_guide.htm
│ ├── templet-dirlist.inc
│ ├── dedebiz
│ │ ├── widget_vote.htm
│ │ ├── widget_menu.htm
│ │ ├── widget_hot.htm
│ │ ├── widget_recommend.htm
│ │ ├── widget_search.htm
│ │ ├── top.htm
│ │ └── widget_article_likes.htm
│ ├── templet-appslist.inc
│ ├── apps
│ │ ├── win_templet.htm
│ │ ├── vote.htm
│ │ ├── download_links.htm
│ │ ├── showphoto.htm
│ │ ├── view_msg_catalog.htm
│ │ └── view_msg.htm
│ └── templet-filelist.inc
├── favicon.ico
├── system
│ ├── taglib
│ │ ├── help
│ │ │ ├── demotag.txt
│ │ │ ├── adminname.txt
│ │ │ ├── softmsg.txt
│ │ │ ├── infoguide.txt
│ │ │ ├── infolink.txt
│ │ │ ├── likesgpage.txt
│ │ │ ├── sql.txt
│ │ │ ├── myad.txt
│ │ │ ├── likepage.txt
│ │ │ ├── mytag.txt
│ │ │ ├── hotwords.txt
│ │ │ ├── tag.txt
│ │ │ ├── autochannel.txt
│ │ │ ├── type.txt
│ │ │ ├── sonchannel.txt
│ │ │ ├── flink.txt
│ │ │ ├── loop.txt
│ │ │ ├── memberlist.txt
│ │ │ ├── feedback.txt
│ │ │ ├── vote.txt
│ │ │ ├── likearticle.txt
│ │ │ ├── userinfo.txt
│ │ │ ├── channel.txt
│ │ │ ├── channelartlist.txt
│ │ │ ├── arclistsg.txt
│ │ │ └── arclist.txt
│ │ ├── comment.lib.php
│ │ ├── likepage.lib.php
│ │ ├── softmsg.lib.php
│ │ ├── php.lib.php
│ │ ├── myad.lib.php
│ │ ├── demotag.lib.php
│ │ ├── adminname.lib.php
│ │ ├── vote.lib.php
│ │ ├── statistics.lib.php
│ │ └── hotwords.lib.php
│ ├── data
│ │ ├── pinyin.dat
│ │ ├── vdcode.jpg
│ │ ├── big5-gb.dat
│ │ ├── fonts
│ │ │ ├── 1.ttf
│ │ │ ├── 2.ttf
│ │ │ ├── 3.ttf
│ │ │ ├── 4.ttf
│ │ │ ├── 5.ttf
│ │ │ └── 6.ttf
│ │ ├── gb-big5.dat
│ │ └── gbk-unicode.dat
│ ├── libraries
│ │ ├── data
│ │ │ ├── base_dic_full.dic
│ │ │ └── base_dic_full.dic.h.dic
│ │ ├── jsonq
│ │ │ ├── Results
│ │ │ │ └── ValueNotFound.php
│ │ │ └── Exceptions
│ │ │ │ ├── NullValueException.php
│ │ │ │ ├── InvalidJsonException.php
│ │ │ │ ├── FileNotFoundException.php
│ │ │ │ ├── InvalidNodeException.php
│ │ │ │ └── ConditionNotAllowedException.php
│ │ └── fixtures
│ │ │ ├── abstractprovider.php
│ │ │ └── headers.php
│ ├── sdks
│ │ ├── .gitignore
│ │ ├── _test
│ │ │ ├── work-config.php
│ │ │ ├── pay-v3-config-cert.php
│ │ │ ├── wechat-menu-get.php
│ │ │ ├── wechat-jssdk-sign.php
│ │ │ ├── work-department.php
│ │ │ ├── pay-order-close.php
│ │ │ ├── pay-v3-config.php
│ │ │ ├── pay-download-bill.php
│ │ │ ├── alipay-refund.php
│ │ │ ├── alipay-app.php
│ │ │ ├── wechat-qrcode-create.php
│ │ │ ├── pay-order-query.php
│ │ │ ├── alipay-scan.php
│ │ │ ├── alipay-transfer-account.php
│ │ │ ├── mini-qrc.php
│ │ │ ├── alipay-pos.php
│ │ │ ├── alipay-transfer-query.php
│ │ │ ├── wechat-user-get.php
│ │ │ ├── pay-refund-create.php
│ │ │ ├── pay-refund-query.php
│ │ │ ├── alipay-bill.php
│ │ │ ├── pay-order-notify.php
│ │ │ ├── alipay-wap.php
│ │ │ ├── alipay-web.php
│ │ │ ├── pay-transfersbank-create.php
│ │ │ ├── alipay-notify.php
│ │ │ ├── pay-v3-order-create.php
│ │ │ ├── alipay-transfer.php
│ │ │ ├── alipay-transfer-create.php
│ │ │ ├── pay-transfers-create.php
│ │ │ ├── pay-redpack-create.php
│ │ │ ├── mini-login.php
│ │ │ ├── pay-order-create.php
│ │ │ └── config.php
│ │ ├── include.php
│ │ ├── WeMini
│ │ │ ├── crypt
│ │ │ │ └── errorCode.php
│ │ │ ├── Operation.php
│ │ │ ├── Soter.php
│ │ │ └── Search.php
│ │ ├── WeChat
│ │ │ ├── Exceptions
│ │ │ │ ├── LocalCacheException.php
│ │ │ │ ├── InvalidDecryptException.php
│ │ │ │ ├── InvalidResponseException.php
│ │ │ │ ├── InvalidInstanceException.php
│ │ │ │ └── InvalidArgumentException.php
│ │ │ └── Contracts
│ │ │ │ └── BasicWeWork.php
│ │ ├── AliPay
│ │ │ ├── Wap.php
│ │ │ ├── Web.php
│ │ │ ├── App.php
│ │ │ ├── Scan.php
│ │ │ ├── Bill.php
│ │ │ └── Pos.php
│ │ ├── licence
│ │ └── WePayV3
│ │ │ └── Cert.php
│ ├── charset.func.php
│ ├── helpers
│ │ ├── test.helper.php
│ │ └── validate.helper.php
│ ├── inc
│ │ └── inc_fun_funString.php
│ ├── channelunit.func.php
│ ├── autoload.inc.php
│ ├── autoload7.inc.php
│ └── filter.inc.php
├── user
│ ├── templets
│ │ ├── index_notlogin.htm
│ │ ├── widget_litpic.htm
│ │ └── win_templet.htm
│ ├── login.php
│ ├── check_card.php
│ ├── mypay.php
│ ├── mystow.php
│ └── operation.php
├── admin
│ ├── inc
│ │ ├── configgroup.txt
│ │ └── fieldtype.txt
│ ├── content_i_list.php
│ ├── content_select_list.php
│ ├── makehtml_freelist.php
│ ├── sys_login.php
│ ├── sys_group.php
│ ├── makehtml_list.php
│ ├── content_batch_up.php
│ ├── makehtml_archives.php
│ ├── content_s_list.php
│ ├── vote_getcode.php
│ ├── catalog_main.php
│ ├── mytag_tag_guide.php
│ ├── tag_test.php
│ ├── action_search.php
│ ├── exit.php
│ ├── makehtml_spec.php
│ ├── diy_main.php
│ ├── templets
│ │ ├── mytag_tag_guide_ok.htm
│ │ └── action_search.htm
│ ├── dialog
│ │ ├── select_media_post.php
│ │ └── config.php
│ ├── index.php
│ ├── vote_main.php
│ ├── content_att.php
│ ├── templets_tagsource.php
│ ├── recycling.php
│ ├── sys_data_revert.php
│ ├── templets_one.php
│ ├── tag_test_action.php
│ ├── mytag_main.php
│ ├── file_manage_main.php
│ ├── article_keywords_select.php
│ ├── sys_group_add.php
│ ├── makehtml_taglist.php
│ ├── log_edit.php
│ ├── catalog_del.php
│ ├── member_pmall.php
│ ├── sys_admin_user.php
│ ├── mychannel_main.php
│ ├── article_allowurl_edit.php
│ └── article_source_edit.php
├── robots.txt
├── install
│ └── common.inc.php
└── apps
│ ├── heightsearch.php
│ ├── freelist.php
│ ├── special
│ └── index.php
│ ├── disdls.php
│ ├── statistics.php
│ ├── tags.php
│ └── jump.php
├── docs
├── license.md
├── dedebiz.png
├── dedebiz_cli.gif
└── dedebiz_wechat_qr.jpg
└── .gitignore
/src/a/.dedekeep:
--------------------------------------------------------------------------------
1 | DedeBIZ
--------------------------------------------------------------------------------
/src/data/admin/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/mail/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/mark/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/tag/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/vote/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/admin/ver.txt:
--------------------------------------------------------------------------------
1 | 20250101
--------------------------------------------------------------------------------
/src/data/admin/writer.txt:
--------------------------------------------------------------------------------
1 | 张生,李生
--------------------------------------------------------------------------------
/src/data/backupdata/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/cache/index.html:
--------------------------------------------------------------------------------
1 | dir
2 |
--------------------------------------------------------------------------------
/src/data/module/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/textdata/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/tplcache/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/uploadtmp/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/ziptmp/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/static/allimg/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/static/enums/.dedekeep:
--------------------------------------------------------------------------------
1 | DedeBIZ
--------------------------------------------------------------------------------
/src/static/flink/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/static/media/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/static/soft/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/static/userup/index.html:
--------------------------------------------------------------------------------
1 | dir
--------------------------------------------------------------------------------
/src/data/admin/source.txt:
--------------------------------------------------------------------------------
1 | 微信公众号
2 | 头条号
3 | 百家号
--------------------------------------------------------------------------------
/docs/license.md:
--------------------------------------------------------------------------------
1 | 通过访问 https://www.dedebiz.com/license 获取许可协议
--------------------------------------------------------------------------------
/src/data/admin/allowurl.txt:
--------------------------------------------------------------------------------
1 | www.dedebiz.com
2 | www.zhelixie.com
--------------------------------------------------------------------------------
/src/theme/system/channel_downlinkpage.htm:
--------------------------------------------------------------------------------
1 | 进入下载地址列表
--------------------------------------------------------------------------------
/src/theme/templet-dirlist.inc:
--------------------------------------------------------------------------------
1 | templets,模板目录
2 | apps,插件目录
3 | system,系统目录
--------------------------------------------------------------------------------
/src/theme/system/channel_addon.htm:
--------------------------------------------------------------------------------
1 | ~link~
--------------------------------------------------------------------------------
/docs/dedebiz.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/docs/dedebiz.png
--------------------------------------------------------------------------------
/src/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/favicon.ico
--------------------------------------------------------------------------------
/src/static/web/js/admin.blank.js:
--------------------------------------------------------------------------------
1 | function CheckSubmit() {
2 | return true;
3 | }
--------------------------------------------------------------------------------
/src/theme/system/channel_downlinks.htm:
--------------------------------------------------------------------------------
1 | ~server~
--------------------------------------------------------------------------------
/src/theme/system/channel_list.htm:
--------------------------------------------------------------------------------
1 | ·[field:typename/]
--------------------------------------------------------------------------------
/src/theme/system/part_arclist.htm:
--------------------------------------------------------------------------------
1 | [field:title/]
--------------------------------------------------------------------------------
/src/theme/system/part_arclistsg.htm:
--------------------------------------------------------------------------------
1 | [field:title/]
--------------------------------------------------------------------------------
/src/theme/system/tag_fieldlist.htm:
--------------------------------------------------------------------------------
1 |
[field:name/]
2 |[field:value/]
-------------------------------------------------------------------------------- /src/system/taglib/help/demotag.txt: -------------------------------------------------------------------------------- 1 | 演示标签 2 | >>dede>> 3 | {dede:demotag/} 4 | >>dede>> -------------------------------------------------------------------------------- /src/theme/system/part_imglist.htm: -------------------------------------------------------------------------------- 1 |[field:imglink/]
2 |[field:textlink/]
-------------------------------------------------------------------------------- /src/theme/system/part_type_list.htm: -------------------------------------------------------------------------------- 1 | [field:typename/] -------------------------------------------------------------------------------- /src/user/templets/index_notlogin.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/dedebiz_cli.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/docs/dedebiz_cli.gif -------------------------------------------------------------------------------- /src/system/taglib/help/adminname.txt: -------------------------------------------------------------------------------- 1 | 编辑标签 2 | >>dede>> 3 | {dede:adminname/} 4 | >>dede>> -------------------------------------------------------------------------------- /src/system/taglib/help/softmsg.txt: -------------------------------------------------------------------------------- 1 | 下载说明标签 2 | >>dede>> 3 | {dede:softmsg/} 4 | >>dede>> -------------------------------------------------------------------------------- /src/theme/system/part_autochannel.htm: -------------------------------------------------------------------------------- 1 | [field:typename/][field:linkallplace/]-[field:nativeplace/]
2 |[field:linkalltype/]-[field:infotype/]
-------------------------------------------------------------------------------- /src/static/ckeditor/plugins/icons_hidpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/icons_hidpi.png -------------------------------------------------------------------------------- /src/static/web/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/web/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/static/web/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/web/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/system/libraries/data/base_dic_full.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/system/libraries/data/base_dic_full.dic -------------------------------------------------------------------------------- /src/theme/system/channel_spec_note.htm: -------------------------------------------------------------------------------- 1 |[field:imglink/] - [field:title/]
2 |[field:info/]
-------------------------------------------------------------------------------- /src/theme/system/spec_arclist.htm: -------------------------------------------------------------------------------- 1 |日期:[field:pubdate function="GetDateTimeMK(@me)"/]
3 |浏览:[field:click/]
-------------------------------------------------------------------------------- /src/static/ckeditor/plugins/ddfilebrowser/icons/ddfilebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/ddfilebrowser/icons/ddfilebrowser.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/dedepagebreak/icons/dedepagebreak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/dedepagebreak/icons/dedepagebreak.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/embedsemantic/icons/embedsemantic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/embedsemantic/icons/embedsemantic.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/html5audio/icons/hidpi/html5audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/html5audio/icons/hidpi/html5audio.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/textindent/icons/hidpi/textindent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/textindent/icons/hidpi/textindent.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/codesnippet/icons/hidpi/codesnippet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/codesnippet/icons/hidpi/codesnippet.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png -------------------------------------------------------------------------------- /src/system/sdks/_test/work-config.php: -------------------------------------------------------------------------------- 1 | '',//企业id 5 | 'appsecret' => '',//应用的凭证密钥 6 | ]; 7 | ?> -------------------------------------------------------------------------------- /src/theme/system/spec_list.htm: -------------------------------------------------------------------------------- 1 |[field:imglink/]
2 |[field:typelink/]
3 |[field:textlink/]
4 |[field:click/]点击
5 |[field:description/]([field:stime/])
-------------------------------------------------------------------------------- /src/theme/system/tag_feedback.htm: -------------------------------------------------------------------------------- 1 |[field:username function="(@me=='guest' ? '游客' : @me)"/]对[field:title/]评论:
2 | -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png -------------------------------------------------------------------------------- /src/system/taglib/help/autochannel.txt: -------------------------------------------------------------------------------- 1 | 指定排序栏目信息标签 2 | >>dede>> 3 | {dede:autochannel partsort='' typeid=''}{/dede:autochannel} 4 | >>dede>> 5 | partsort='' 栏目所在的排序位置 6 | typeid='' 指定的父栏目 -------------------------------------------------------------------------------- /src/system/taglib/help/type.txt: -------------------------------------------------------------------------------- 1 | 指定栏目信息标签 2 | >>dede>> 3 | {dede:type typeid=''} 4 | [field:typename/] 5 | {/dede:type} 6 | >>dede>> 7 | typeid='' 指定栏目id -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/pojoaque.jpg -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/HEAD/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png -------------------------------------------------------------------------------- /src/system/taglib/help/sonchannel.txt: -------------------------------------------------------------------------------- 1 | 子栏目标签 2 | >>dede>> 3 | {dede:sonchannel} 4 | [field:typename/] 5 | {/dede:sonchannel} 6 | >>dede>> 7 | row='100' 返回数目 8 | col='1' 默认单列显示 -------------------------------------------------------------------------------- /src/theme/system/userinfo.htm: -------------------------------------------------------------------------------- 1 |用户名:[field:uname/]
2 |用户等级:[field:rankname /]
3 |注册时间:[field:jointime function="MyDate('Y-m-d H:m',@me)"/]
4 |登录时间:[field:logintime function="MyDate('Y-m-d H:m',@me)"/]
-------------------------------------------------------------------------------- /src/static/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved. 3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license 4 | */ 5 | -------------------------------------------------------------------------------- /src/system/taglib/help/flink.txt: -------------------------------------------------------------------------------- 1 | 友情链接标签 2 | >>dede>> 3 | {dede:flink row='30'/} 4 | >>dede>> 5 | type='image' 或textall,图片链接,text文字链接 6 | row='30' 链接数量 7 | titlelen='30' 站点文字的长度 8 | linktype='1' 链接位置(1首页,2内页) 9 | typeid='0' 所有类型 -------------------------------------------------------------------------------- /src/theme/system/part_channelartlist.htm: -------------------------------------------------------------------------------- 1 | {dede:type}{/dede:type} 2 | {dede:arclist}{/dede:arclist} -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_vote.htm: -------------------------------------------------------------------------------- 1 |日期:[field:pubdate function="GetDateTimeMK(@me)"/]
3 |浏览:[field:click/]
4 | 5 |[field:description/]
-------------------------------------------------------------------------------- /src/static/ckeditor/plugins/imagebase/styles/imagebase.css: -------------------------------------------------------------------------------- 1 | [data-cke-caption-hidden] { 2 | display: none; 3 | } 4 | 5 | [data-cke-caption-placeholder]::before { 6 | display: inline; 7 | color: rgba( 0, 0, 0, .4 ); 8 | content: attr( data-cke-caption-placeholder ); 9 | } 10 | -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/dedepagebreak/plugin.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.plugins.add("dedepagebreak",{icons:"dedepagebreak",init:function(a){a.addCommand("insertDedePageBreak",{exec:function(a){a.insertHtml("#p#分页标题#e#")}});a.ui.addButton("DedePageBreak",{label:"插入分页符",command:"insertDedePageBreak",toolbar:"insert"})}}); -------------------------------------------------------------------------------- /src/system/taglib/help/memberlist.txt: -------------------------------------------------------------------------------- 1 | 会员信息标签 2 | >>dede>> 3 | {dede:memberlist orderby='scores' row='20'} 4 | {dede:field.userid/} 5 | {dede:field.scores/} 6 | {/dede:memberlist} 7 | >>dede>> 8 | orderby='scores' 按积分排序 9 | row='6' 调用数目 -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/imagebase/lang/en.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license 4 | */ 5 | CKEDITOR.plugins.setLang("imagebase","en",{captionPlaceholder:"Enter image caption"}); -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_menu.htm: -------------------------------------------------------------------------------- 1 |5 | 用户名:[field:uname/] 6 | 用户等级:[field:rankname /] 7 | 注册时间:[field:jointime function="MyDate('Y-m-d H:m',@me)"/] 8 | 登录时间:[field:logintime function="MyDate('Y-m-d H:m',@me)"/] 9 |
10 | {/dede:userinfo} 11 | >>dede>> 12 | mid='' 数字,用户ID,如果是管理员则不显示,如果为空,在文档详情页面则显示当前文档关联的会员信息 -------------------------------------------------------------------------------- /src/data/mark/inc_photowatermark_config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/sdks/_test/pay-v3-config-cert.php: -------------------------------------------------------------------------------- 1 | download(); 10 | } catch (\Exception $exception) { 11 | //出错啦,处理下吧 12 | echo $exception->getMessage().PHP_EOL; 13 | } 14 | ?> -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/emoji/lang/en.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.plugins.setLang("emoji","en",{searchPlaceholder:"Search emoji…",searchLabel:"Input field responsible for searching and filtering emoji inside panel.",navigationLabel:"Groups navigation for emoji sections.",title:"Emoji List",groups:{people:"People",nature:"Nature and animals",food:"Food and drinks",travel:"Travel and places",activities:"Activities",objects:"Objects",symbols:"Symbols",flags:"Flags"}}); -------------------------------------------------------------------------------- /src/system/charset.func.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/content_i_list.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/html5audio/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.plugins.setLang( 'html5audio', 'zh-cn', { 2 | button: '插入HTML5音频', 3 | title: 'HTML5 音频', 4 | infoLabel: '音频信息', 5 | urlMissing: '音频URL', 6 | audioProperties: '音频属性', 7 | upload: '上传', 8 | btnUpload: '上传到服务器', 9 | advanced: '高级', 10 | autoplay: '自动播放?', 11 | allowdownload: '允许下载?', 12 | advisorytitle: '提示语', 13 | yes: '是', 14 | no: '否' 15 | } ); 16 | -------------------------------------------------------------------------------- /src/system/taglib/help/channel.txt: -------------------------------------------------------------------------------- 1 | 栏目列表标签 2 | >>dede>> 3 | {dede:channel type='top' typeid='' row='8' currentstyle="'; 10 | print_r(BasicWeWork::instance($config)->config->get()); 11 | print_r($result); 12 | echo ''; 13 | } catch (Exception $exception) { 14 | echo $exception->getMessage().PHP_EOL; 15 | } 16 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeMini/crypt/errorCode.php: -------------------------------------------------------------------------------- 1 | 6 | *
';
19 | var_export($result);
20 | } catch (Exception $e) {
21 | echo $e->getMessage();
22 | }
23 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-app.php:
--------------------------------------------------------------------------------
1 | apply([
14 | 'out_trade_no' => time(),//商户订单号
15 | 'total_amount' => '1',//支付金额
16 | 'subject' => '支付宝订单标题',//支付订单描述
17 | ]);
18 | echo $result;
19 | } catch (\Exception $e) {
20 | echo $e->getMessage();
21 | }
22 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/wechat-qrcode-create.php:
--------------------------------------------------------------------------------
1 | create('场景内容');
14 | echo var_export($result, true).PHP_EOL;
15 | //创建二维码链接
16 | $url = $wechat->url($result['ticket']);
17 | echo var_export($url, true);
18 | } catch (Exception $e) {
19 | //出错啦,处理下吧
20 | echo $e->getMessage().PHP_EOL;
21 | }
22 | ?>
--------------------------------------------------------------------------------
/src/theme/apps/win_templet.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {dede:wintitle/}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | {dede:wintitle/}
15 |
16 | {dede:winform/}
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/src/system/libraries/fixtures/abstractprovider.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * This source file is subject to the MIT license that is bundled
9 | * with this source code in the file LICENSE.
10 | */
11 | abstract class AbstractProvider
12 | {
13 | /**
14 | * The data set.
15 | *
16 | * @var array
17 | */
18 | protected $data;
19 | /**
20 | * Return the data set.
21 | *
22 | * @return array
23 | */
24 | public function getAll()
25 | {
26 | return $this->data;
27 | }
28 | }
29 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/WeChat/Exceptions/LocalCacheException.php:
--------------------------------------------------------------------------------
1 | raw = $raw;
25 | }
26 | }
27 | ?>
--------------------------------------------------------------------------------
/src/admin/action_search.php:
--------------------------------------------------------------------------------
1 | Search();
18 | include DedeInclude('templets/action_search.htm');
19 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-order-query.php:
--------------------------------------------------------------------------------
1 | '1008450740201411110005820873',
15 | //'out_trade_no' => '商户订单号',
16 | ];
17 | $result = $wechat->queryOrder($options);
18 | var_export($result);
19 | } catch (Exception $e) {
20 | //出错啦,处理下吧
21 | echo $e->getMessage().PHP_EOL;
22 | }
23 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/help/channelartlist.txt:
--------------------------------------------------------------------------------
1 | 当前栏目列表标签
2 | >>dede>>
3 | {dede:channelartlist typeid='' notypeid='' row='6'}
4 | ';
19 | var_export($result);
20 | } catch (Exception $e) {
21 | echo $e->getMessage();
22 | }
23 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/WeMini/Search.php:
--------------------------------------------------------------------------------
1 | callPostApi($url, ['pages' => $pages], true);
23 | }
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/admin/exit.php:
--------------------------------------------------------------------------------
1 | exitUser();
15 | if (empty($needclose)) {
16 | header('location:index.php');
17 | } else {
18 | $msg = "";
22 | echo $msg;
23 | }
24 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/WeChat/Exceptions/InvalidInstanceException.php:
--------------------------------------------------------------------------------
1 | raw = $raw;
25 | }
26 | }
27 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-transfer-account.php:
--------------------------------------------------------------------------------
1 | queryAccount([
14 | 'alipay_user_id' => $config['appid'],//订单号
15 | 'account_scene_code' => 'SCENE_000_000_000',
16 | ]);
17 | echo '';
18 | var_export($result);
19 | } catch (Exception $e) {
20 | echo $e->getMessage();
21 | }
22 | ?>
--------------------------------------------------------------------------------
/src/system/helpers/validate.helper.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/system/sdks/WeChat/Exceptions/InvalidArgumentException.php:
--------------------------------------------------------------------------------
1 | raw = $raw;
25 | }
26 | }
27 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/php.lib.php:
--------------------------------------------------------------------------------
1 | GetInnerText());
16 | if ($phpcode == '')
17 | return '';
18 | ob_start();
19 | extract($GLOBALS, EXTR_SKIP);
20 | @eval($phpcode);
21 | $revalue = ob_get_contents();
22 | ob_clean();
23 | return $revalue;
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/mini-qrc.php:
--------------------------------------------------------------------------------
1 | 'wx6bb7b70258da09c6',
7 | 'appsecret' => '78b7b8d65bd67b078babf951d4342b42',
8 | ];
9 | //We::config($config);
10 | //$mini = We::WeMiniQrcode($config);
11 | //$mini = new WeMini\Qrcode($config);
12 | $mini = \WeMini\Qrcode::instance($config);
13 | //echo '';
14 | try {
15 | header('Content-type:image/jpeg');//输出的类型
16 | //echo $mini->createDefault('pages/index?query=1');
17 | //echo $mini->createMiniScene('432432', 'pages/index/index');
18 | echo $mini->createMiniPath('pages/index?query=1');
19 | } catch (Exception $e) {
20 | var_dump($e->getMessage());
21 | }
22 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/myad.lib.php:
--------------------------------------------------------------------------------
1 | CAttribute->Items, $attlist);
17 | extract($ctag->CAttribute->Items, EXTR_SKIP);
18 | $body = lib_GetMyTagT($refObj, $typeid, $name, '#@__myad');
19 | return $body;
20 | }
21 | ?>
--------------------------------------------------------------------------------
/src/apps/special/index.php:
--------------------------------------------------------------------------------
1 | 6) exit("art_shortname too long!");
12 | $specfile = dirname(__FILE__)."spec_1".$art_shortname;
13 | //如果已经编译静态列表,则直接引入第一个文件
14 | if (file_exists($specfile)) {
15 | include($specfile);
16 | exit();
17 | } else {
18 | $sp = new SpecView();
19 | $sp->Display();
20 | }
21 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-pos.php:
--------------------------------------------------------------------------------
1 | apply([
14 | 'out_trade_no' => '4312412343',//订单号
15 | 'total_amount' => '13',//订单金额,单位:元
16 | 'subject' => '订单商品标题',//订单商品标题
17 | 'auth_code' => '123456',//授权码
18 | ]);
19 | echo '';
20 | var_export($result);
21 | } catch (Exception $e) {
22 | echo $e->getMessage();
23 | }
24 | ?>
--------------------------------------------------------------------------------
/src/apps/disdls.php:
--------------------------------------------------------------------------------
1 |
6 | *
7 | * @version $id:disdls.php$
8 | * @package DedeBIZ.Site
9 | * @copyright Copyright (c) 2022 DedeBIZ.COM
10 | * @license GNU GPL v2 (https://www.dedebiz.com/license)
11 | * @link https://www.dedebiz.com
12 | */
13 | require_once(dirname(__FILE__)."/../system/common.inc.php");
14 | $aid = (isset($aid) && is_numeric($aid)) ? $aid : 0;
15 | $row = $dsql->GetOne("SELECT SUM(downloads) AS totals FROM `#@__downloads` WHERE id='$aid' ");
16 | if (empty($row['totals'])) $row['totals'] = 0;
17 | echo "document.write('{$row['totals']}');";
18 | exit();
19 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/pastefromgdocs/plugin.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){CKEDITOR.plugins.add("pastefromgdocs",{requires:"pastetools",init:function(a){var c=CKEDITOR.plugins.getPath("pastetools"),d=this.path;a.pasteTools.register({filters:[CKEDITOR.getUrl(c+"filter/common.js"),CKEDITOR.getUrl(d+"filter/default.js")],canHandle:function(a){return/id=(\"|\')?docs\-internal\-guid\-/.test(a.data.dataValue)},handle:function(c,d){var b=c.data,e=CKEDITOR.plugins.pastetools.getClipboardData(b,"text/html");b.dontFilter=!0;b.dataValue=CKEDITOR.pasteFilters.gdocs(e,a);
6 | !0===a.config.forcePasteAsPlainText&&(b.type="text");d()}})}})})();
--------------------------------------------------------------------------------
/src/static/web/js/admin.catalog.js:
--------------------------------------------------------------------------------
1 | var BROWSER = {};
2 | if (BROWSER.safari) {
3 | BROWSER.firefox = true;
4 | }
5 | function LoadSuns(ctid, tid) {
6 | if ($DE(ctid).innerHTML.length < 10) {
7 | $DE('icon' + tid).className = 'fa fa-minus-square';
8 | fetch('catalog_do.php?dopost=GetSunLists&cid=' + tid).then(resp => resp.text()).then((d) => {
9 | $DE(ctid).innerHTML = d;
10 | });
11 | } else {
12 | showHide(ctid, tid);
13 | }
14 | }
15 | function showHide(objname, tid) {
16 | if ($DE(objname).style.display == "none") {
17 | $DE('icon' + tid).className = 'fa fa-minus-square';
18 | $DE(objname).style.display = BROWSER.firefox ? "" : "block";
19 | } else {
20 | $DE('icon' + tid).className = 'fa fa-plus-square';
21 | $DE(objname).style.display = "none";
22 | }
23 | }
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-transfer-query.php:
--------------------------------------------------------------------------------
1 | queryResult([
14 | 'out_biz_no' => '201808080001',//订单号
15 | 'product_code' => 'TRANS_ACCOUNT_NO_PWD',
16 | 'biz_scene' => 'DIRECT_TRANSFER',
17 | ]);
18 | echo '';
19 | var_export($result);
20 | } catch (Exception $e) {
21 | echo $e->getMessage();
22 | }
23 | ?>
--------------------------------------------------------------------------------
/src/system/inc/inc_fun_funString.php:
--------------------------------------------------------------------------------
1 | ||/isU","",$str);
6 | $alltext = '';
7 | $start = 1;
8 | for ($i = 0; $i < strlen($str); $i++)
9 | {
10 | if ($start == 0 && $str[$i] == ">") {
11 | $start = 1;
12 | } else if ($start==1) {
13 | if ($str[$i]=="<") {
14 | $start = 0;
15 | $alltext .= " ";
16 | } else if (ord($str[$i]) > 31) {
17 | $alltext .= $str[$i];
18 | }
19 | }
20 | }
21 | $alltext = str_replace(" "," ",$alltext);
22 | $alltext = preg_replace("/&([^;&]*)(;|&)/","",$alltext);
23 | $alltext = preg_replace("/[ ]+/s"," ",$alltext);
24 | return $alltext;
25 | }
26 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/wechat-user-get.php:
--------------------------------------------------------------------------------
1 | getUserList();
14 | echo '';
15 | var_export($result);
16 | //批量获取会员资料
17 | foreach (array_chunk($result['data']['openid'], 100) as $item) {
18 | $userList = $wechat->getBatchUserInfo($item);
19 | var_export($userList);
20 | }
21 | } catch (Exception $e) {
22 | //出错啦,处理下吧
23 | echo $e->getMessage().PHP_EOL;
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/demotag.lib.php:
--------------------------------------------------------------------------------
1 | CAttribute->Items, $attlist);
17 | extract($ctag->CAttribute->Items, EXTR_SKIP);
18 | $revalue = '';
19 | //不能用echo之类语法,把最终返回值传给$revalue
20 | $revalue = '您好,欢迎使用DedeBIZ';
21 | return $revalue;
22 | }
23 | ?>
--------------------------------------------------------------------------------
/src/admin/makehtml_spec.php:
--------------------------------------------------------------------------------
1 | MakeHtml(0);
18 | ShowMsg("完成所有专题更新,点击浏览", "javascript:;");
19 | exit();
20 | }
21 | include DedeInclude('templets/makehtml_spec.htm');
22 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-refund-create.php:
--------------------------------------------------------------------------------
1 | '1008450740201411110005820873',
15 | 'out_refund_no' => '商户退款单号',
16 | 'total_fee' => '1',
17 | 'refund_fee' => '1',
18 | ];
19 | $result = $wechat->createRefund($options);
20 | var_export($result);
21 | } catch (Exception $e) {
22 | //出错啦,处理下吧
23 | echo $e->getMessage().PHP_EOL;
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/apps/statistics.php:
--------------------------------------------------------------------------------
1 | Record();
18 | $result = array(
19 | "code" => 200,
20 | "data" => "success",
21 | );
22 | echo json_encode($result);
23 | exit;
24 | }
25 | $v = $stat->GetStat();
26 | echo $v;
27 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-refund-query.php:
--------------------------------------------------------------------------------
1 | '1008450740201411110005820873',
15 | //'out_trade_no' => '商户订单号',
16 | //'out_refund_no' => '商户退款单号'
17 | //'refund_id' => '微信退款单号',
18 | ];
19 | $result = $wechat->queryRefund($options);
20 | var_export($result);
21 | } catch (Exception $e) {
22 | //出错啦,处理下吧
23 | echo $e->getMessage().PHP_EOL;
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-bill.php:
--------------------------------------------------------------------------------
1 | apply([
14 | 'bill_date' => '2020-07-03',//账单时间(日账单yyyy-MM-dd,月账单 yyyy-MM)
15 | 'bill_type' => 'signcustomer',//账单类型(trade指商户基于支付宝交易收单的业务账单,signcustomer是指基于商户支付宝余额收入及支出等资金变动的帐务账单)
16 | ]);
17 | echo '';
18 | var_export($result);
19 | } catch (Exception $e) {
20 | echo $e->getMessage();
21 | }
22 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-order-notify.php:
--------------------------------------------------------------------------------
1 | getNotify();
14 | if ($data['return_code'] === 'SUCCESS' && $data['result_code'] === 'SUCCESS') {
15 | //@todo 去更新下原订单的支付状态
16 | $order_no = $data['out_trade_no'];
17 | //返回接收成功的回复
18 | ob_clean();
19 | echo $wechat->getNotifySuccessReply();
20 | }
21 | } catch (Exception $e) {
22 | //出错啦,处理下吧
23 | echo $e->getMessage().PHP_EOL;
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/uploadfile/plugin.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){CKEDITOR.plugins.add("uploadfile",{requires:"uploadwidget,link",init:function(a){if(this.isSupportedEnvironment()){var b=CKEDITOR.fileTools;b.getUploadUrl(a.config)?b.addUploadWidget(a,"uploadfile",{uploadUrl:b.getUploadUrl(a.config),fileToElement:function(c){var a=new CKEDITOR.dom.element("a");a.setText(c.name);a.setAttribute("href","#");return a},onUploaded:function(a){this.replaceWith('\x3ca href\x3d"'+a.url+'" target\x3d"_blank"\x3e'+a.fileName+"\x3c/a\x3e")}}):CKEDITOR.error("uploadfile-config")}},
6 | isSupportedEnvironment:function(){return CKEDITOR.plugins.clipboard.isFileApiSupported}})})();
--------------------------------------------------------------------------------
/src/admin/diy_main.php:
--------------------------------------------------------------------------------
1 | SetTemplet(DEDEADMIN."/templets/diy_main.htm");
19 | $dlist->SetSource($sql);
20 | $dlist->display();
21 | $dlist->Close();
22 | ?>
--------------------------------------------------------------------------------
/src/admin/templets/mytag_tag_guide_ok.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 自定义宏标记向导预览
7 |
8 |
9 |
10 |
11 |
12 |
17 |
18 |
--------------------------------------------------------------------------------
/src/system/sdks/AliPay/Wap.php:
--------------------------------------------------------------------------------
1 | options->set('method', 'alipay.trade.wap.pay');
20 | $this->params->set('product_code', 'QUICK_WAP_WAY');
21 | }
22 | /**
23 | * 创建数据操作
24 | * @param array $options
25 | * @return string
26 | */
27 | public function apply($options)
28 | {
29 | parent::applyData($options);
30 | return $this->buildPayHtml();
31 | }
32 | }
33 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/AliPay/Web.php:
--------------------------------------------------------------------------------
1 | options->set('method', 'alipay.trade.page.pay');
20 | $this->params->set('product_code', 'FAST_INSTANT_TRADE_PAY');
21 | }
22 | /**
23 | * 创建数据操作
24 | * @param array $options
25 | * @return string
26 | */
27 | public function apply($options)
28 | {
29 | parent::applyData($options);
30 | return $this->buildPayHtml();
31 | }
32 | }
33 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/AliPay/App.php:
--------------------------------------------------------------------------------
1 | options->set('method', 'alipay.trade.app.pay');
20 | $this->params->set('product_code', 'QUICK_MSECURITY_PAY');
21 | }
22 | /**
23 | * 创建数据操作
24 | * @param array $options
25 | * @return string
26 | */
27 | public function apply($options)
28 | {
29 | $this->applyData($options);
30 | return http_build_query($this->options->get());
31 | }
32 | }
33 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/AliPay/Scan.php:
--------------------------------------------------------------------------------
1 | options->set('method', 'alipay.trade.precreate');
20 | }
21 | /**
22 | * 创建数据操作
23 | * @param array $options
24 | * @return array|bool
25 | * @throws \WeChat\Exceptions\InvalidResponseException
26 | * @throws \WeChat\Exceptions\LocalCacheException
27 | */
28 | public function apply($options)
29 | {
30 | return $this->getResult($options);
31 | }
32 | }
33 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-wap.php:
--------------------------------------------------------------------------------
1 | apply([
17 | 'out_trade_no' => time(),//商户订单号
18 | 'total_amount' => '1',//支付金额
19 | 'subject' => '支付订单描述',//支付订单描述
20 | ]);
21 | echo $result;
22 | } catch (Exception $e) {
23 | echo $e->getMessage();
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-web.php:
--------------------------------------------------------------------------------
1 | apply([
17 | 'out_trade_no' => time(),//商户订单号
18 | 'total_amount' => '1',//支付金额
19 | 'subject' => '支付订单描述',//支付订单描述
20 | ]);
21 | echo $result;
22 | } catch (Exception $e) {
23 | echo $e->getMessage();
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/AliPay/Bill.php:
--------------------------------------------------------------------------------
1 | options->set('method', 'alipay.data.dataservice.bill.downloadurl.query');
20 | }
21 | /**
22 | * 创建数据操作
23 | * @param array $options
24 | * @return array|bool
25 | * @throws \WeChat\Exceptions\InvalidResponseException
26 | * @throws \WeChat\Exceptions\LocalCacheException
27 | */
28 | public function apply($options)
29 | {
30 | return $this->getResult($options);
31 | }
32 | }
33 | ?>
--------------------------------------------------------------------------------
/src/theme/dedebiz/top.htm:
--------------------------------------------------------------------------------
1 |
2 |
14 |
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-transfersbank-create.php:
--------------------------------------------------------------------------------
1 | time(),
15 | 'enc_bank_no' => '6212263602037318102',
16 | 'enc_true_name' => '邹景立',
17 | 'bank_code' => '1002',
18 | 'amount' => '100',
19 | 'desc' => '打款测试',
20 | ];
21 | echo '';
22 | $result = $wechat->createTransfersBank($options);
23 | var_export($result);
24 | } catch (Exception $e) {
25 | //出错啦,处理下吧
26 | echo $e->getMessage().PHP_EOL;
27 |
28 | }
29 | ?>
--------------------------------------------------------------------------------
/src/admin/dialog/select_media_post.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/colordialog/dialogs/colordialog.css:
--------------------------------------------------------------------------------
1 | /**
2 | * @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
3 | * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 |
6 | .cke_colordialog_colorcell {
7 | width: 12px; /* All cells have equal width which depends on parent width (in this case table parent). Width works more like max-width. */
8 | height: 14px;
9 | padding: 1px; /* Padding is replaced by border for focused cells. Prevents 'jumping' when adding borders. */
10 | }
11 |
12 | .cke_colordialog_colorcell.cke_colordialog_focused_light,
13 | .cke_colordialog_colorcell.cke_colordialog_focused_dark {
14 | padding: 0; /* Shrink cell to allow 1px border indicating focus. */
15 | border: 1px dotted #000;
16 | }
17 |
18 | .cke_colordialog_colorcell.cke_colordialog_focused_dark {
19 | border-color: #FFF;
20 | }
21 |
--------------------------------------------------------------------------------
/src/user/templets/widget_litpic.htm:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/admin/index.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/user/templets/win_templet.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | {dede:wintitle/}
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | {dede:include filename='top.htm'/}
15 |
16 |
17 | {dede:wintitle/}
18 |
19 | {dede:winform/}
20 |
21 |
22 |
23 | {dede:include filename='foot.htm'/}
24 | {dede:script/}
25 |
26 |
--------------------------------------------------------------------------------
/src/system/sdks/AliPay/Pos.php:
--------------------------------------------------------------------------------
1 | options->set('method', 'alipay.trade.pay');
20 | $this->params->set('product_code', 'FACE_TO_FACE_PAYMENT');
21 | }
22 | /**
23 | * 创建数据操作
24 | * @param array $options
25 | * @return array|bool
26 | * @throws \WeChat\Exceptions\InvalidResponseException
27 | * @throws \WeChat\Exceptions\LocalCacheException
28 | */
29 | public function apply($options)
30 | {
31 | return $this->getResult($options);
32 | }
33 | }
34 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/help/arclistsg.txt:
--------------------------------------------------------------------------------
1 | 自定义文档列表标签
2 | >>dede>>
3 | {dede:arclistsg typeid='' row='' col='' titlelen='' flag='h' orderway='' keyword='' limit='0,1'}
4 | [field:title/]
5 | {/dede:arclistsg}
6 | >>dede>>
7 | typeid='' 调用栏目id文档,用英文逗号隔开表示多个栏目
8 | row='10' 调用文档列表总数
9 | col='2' 分多少列显示(默认为单列)
10 | titlelen='160' 标题长度
11 | orderby='sortrank' 文档排序方式
12 | orderby='hot' 或orderby='click'表示按点击数排列
13 | orderby='sortrank' 或orderby='pubdate'按出版时间排列
14 | orderby='near'
15 | orderby=='lastpost' 按最后评论时间
16 | orderby=='scores' 按得分排序
17 | orderby='id' 按文档id排序
18 | orderby='rand' 随机获得指定条件的文档列表
19 | keyword='关键词' 含有指定关键词的文档列表,多个关键词用英文逗号隔开
20 | limit='' 限定的记录范围(如:limit='1,2')
21 | innertext='' 单行记录样式
22 | aid='' 指定文档id
23 | idlist='' 提取特定文档
24 | channelid='' 栏目id
25 | flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b]
26 | orderway='' 值为desc或asc,指定排序方式是降序还是顺向排序,默认为降序
27 | subday='7' 表示在多少天以内的文档
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-notify.php:
--------------------------------------------------------------------------------
1 | notify();
13 | if (in_array($data['trade_status'], ['TRADE_SUCCESS', 'TRADE_FINISHED'])) {
14 | //@todo 更新订单状态,支付完成
15 | file_put_contents('notify.txt', "收到来自支付宝的异步通知\r\n", FILE_APPEND);
16 | file_put_contents('notify.txt', '订单号:'.$data['out_trade_no']."\r\n", FILE_APPEND);
17 | file_put_contents('notify.txt', '订单金额:'.$data['total_amount']."\r\n\r\n", FILE_APPEND);
18 | } else {
19 | file_put_contents('notify.txt', "收到异步通知\r\n", FILE_APPEND);
20 | }
21 | } catch (\Exception $e) {
22 | //异常处理
23 | echo $e->getMessage();
24 | }
25 | ?>
--------------------------------------------------------------------------------
/src/static/web/js/webajax.js:
--------------------------------------------------------------------------------
1 | //建议采用现代浏览器内置的fetch替换现有的webajax.js
2 | function $DE(id) {
3 | return document.getElementById(id);
4 | }
5 | //读写cookie函数
6 | function GetCookie(c_name) {
7 | if (document.cookie.length > 0) {
8 | c_start = document.cookie.indexOf(c_name + "=")
9 | if (c_start != -1) {
10 | c_start = c_start + c_name.length + 1;
11 | c_end = document.cookie.indexOf(";",c_start);
12 | if (c_end == -1) {
13 | c_end = document.cookie.length;
14 | }
15 | return unescape(document.cookie.substring(c_start,c_end));
16 | }
17 | }
18 | return null
19 | }
20 | function SetCookie(c_name, value, expiredays) {
21 | var exdate = new Date();
22 | exdate.setDate(exdate.getDate() + expiredays);
23 | document.cookie = c_name + "=" +escape(value) + ((expiredays == null) ? "" : ";expires=" + exdate.toGMTString()); //使设置的有效时间正确。添加toGMTString()
24 | }
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-v3-order-create.php:
--------------------------------------------------------------------------------
1 | create('jsapi', [
12 | 'appid' => 'wx60a43dd8161666d4',
13 | 'mchid' => $config['mch_id'],
14 | 'description' => '商品描述',
15 | 'out_trade_no' => (string)time(),
16 | 'notify_url' => 'https://thinkadmin.top',
17 | 'payer' => ['openid' => 'o38gps3vNdCqaggFfrBRCRikwlWY'],
18 | 'amount' => ['total' => 2, 'currency' => 'CNY'],
19 | ]);
20 | echo '';
21 | echo "\n--- 创建支付参数 ---\n";
22 | var_export($result);
23 | } catch (\Exception $exception) {
24 | //出错啦,处理下吧
25 | echo $exception->getMessage().PHP_EOL;
26 | }
27 | ?>
--------------------------------------------------------------------------------
/src/theme/apps/vote.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 投票结果-
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 | 投票开始时间:
19 | 投票结束时间:
20 | 投票人数:
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/src/theme/templet-filelist.inc:
--------------------------------------------------------------------------------
1 | top.htm,顶部模板
2 | head.htm,头部模板
3 | article_article.htm,文档模板
4 | article_default.htm,默认文档模板
5 | article_default_sg.htm,默认表单文档模板
6 | article_image.htm,图片文档模板
7 | article_infos.htm,分类文档模板
8 | article_soft.htm,软件文档模板
9 | article_spec.htm,专题文档模板
10 | index.htm,首页模板
11 | index_article.htm,文档封面模板
12 | index_default.htm,默认封面模板
13 | index_default_sg.htm,默认表单封面模板
14 | index_image.htm,图片封面模板
15 | index_infos.htm,分类封面模板
16 | index_soft.htm,软件封面模板
17 | list_article.htm,文档列表模板
18 | list_default.htm,默认列表模板
19 | list_default_sg.htm,默认表单列表模板
20 | list_free.htm,自由列表模板
21 | list_image.htm,图片列表模板
22 | list_infos.htm,分类列表模板
23 | list_soft.htm,软件列表模板
24 | list_spec.htm,专题列表模板
25 | search.htm,搜索模板
26 | tag.htm,标签首页模板
27 | tag_list.htm,标签文档列表模板
28 | widget_article_feedback.htm,小部件评论模板
29 | widget_article_likes.htm,小部件点赞模板
30 | widget_hot.htm,小部件头条文档模板
31 | widget_menu.htm,小部件栏目模板
32 | widget_recommend.htm,小部件推荐栏目模板
33 | widget_search.htm,小部件搜索模板
34 | widget_vote.htm,小部件投票模板
35 | foot.htm,底部模板
--------------------------------------------------------------------------------
/src/apps/tags.php:
--------------------------------------------------------------------------------
1 | Display();
27 | exit();
28 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-transfer.php:
--------------------------------------------------------------------------------
1 | apply([
14 | 'out_biz_no' => time(),//订单号
15 | 'payee_type' => 'ALIPAY_LOGONID',//收款方账户类型(ALIPAY_LOGONID | ALIPAY_USERID)
16 | 'payee_account' => 'demo@sandbox.com',//收款方账户
17 | 'amount' => '10',//转账金额
18 | 'payer_show_name' => '未寒',//付款方姓名
19 | 'payee_real_name' => '张三',//收款方真实姓名
20 | 'remark' => '张三',//转账备注
21 | ]);
22 | echo '';
23 | var_export($result);
24 | } catch (Exception $e) {
25 | echo $e->getMessage();
26 | }
27 | ?>
--------------------------------------------------------------------------------
/src/admin/vote_main.php:
--------------------------------------------------------------------------------
1 | SetParameter('issel', $issel);
20 | $dlist->SetTemplet(DEDEADMIN."/templets/vote_select.htm");
21 | } else {
22 | $dlist->SetTemplet(DEDEADMIN."/templets/vote_main.htm");
23 | }
24 | $dlist->SetSource($sql);
25 | $dlist->display();
26 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/alipay-transfer-create.php:
--------------------------------------------------------------------------------
1 | create([
14 | 'out_biz_no' => time(),//订单号
15 | 'trans_amount' => '10',//转账金额
16 | 'product_code' => 'TRANS_ACCOUNT_NO_PWD',
17 | 'biz_scene' => 'DIRECT_TRANSFER',
18 | 'payee_info' => [
19 | 'identity' => 'dedebiz@qq.com',
20 | 'identity_type' => 'ALIPAY_LOGON_ID',
21 | 'name' => '天涯',
22 | ],
23 | ]);
24 | echo '';
25 | var_export($result);
26 | } catch (Exception $e) {
27 | echo $e->getMessage();
28 | }
29 | ?>
--------------------------------------------------------------------------------
/src/theme/apps/download_links.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | -下载地址列表-
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
20 | 下载地址列表
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/src/admin/content_att.php:
--------------------------------------------------------------------------------
1 | ExecuteNoneQuery($query);
24 | }
25 | echo "";
26 | }
27 | include DedeInclude('templets/content_att.htm');
28 | ?>
--------------------------------------------------------------------------------
/src/admin/templets_tagsource.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-transfers-create.php:
--------------------------------------------------------------------------------
1 | time(),
15 | 'openid' => 'o38gps3vNdCqaggFfrBRCRikwlWY',
16 | 'check_name' => 'NO_CHECK',
17 | 'amount' => '100',
18 | 'desc' => '企业付款操作说明信息',
19 | 'spbill_create_ip' => '127.0.0.1',
20 | ];
21 | $result = $wechat->createTransfers($options);
22 | echo '';
23 | var_export($result);
24 | $result = $wechat->queryTransfers($options['partner_trade_no']);
25 | var_export($result);
26 | } catch (Exception $e) {
27 | //出错啦,处理下吧
28 | echo $e->getMessage().PHP_EOL;
29 | }
30 | ?>
--------------------------------------------------------------------------------
/src/admin/recycling.php:
--------------------------------------------------------------------------------
1 | SetTemplet(DEDEADMIN."/templets/recycling.htm");
26 | $dlist->SetSource($query);
27 | $dlist->display();
28 | ?>
--------------------------------------------------------------------------------
/src/admin/sys_data_revert.php:
--------------------------------------------------------------------------------
1 | read()) !== false) {
19 | if (!preg_match("#txt$#", $filename)) {
20 | continue;
21 | }
22 | if (preg_match("#tables_struct#", $filename)) {
23 | $structfile = $filename;
24 | } else if (filesize("$bkdir/$filename") > 0) {
25 | $filelists[] = $filename;
26 | }
27 | }
28 | $dh->close();
29 | include DedeInclude('templets/sys_data_revert.htm');
30 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/adminname.lib.php:
--------------------------------------------------------------------------------
1 | Fields['dutyadmin'])) {
24 | $dutyadmin = $GLOBALS['cfg_df_dutyadmin'];
25 | } else {
26 | $row = $dsql->GetOne("SELECT uname FROM `#@__admin` WHERE id='{$refObj->Fields['dutyadmin']}' ");
27 | $dutyadmin = isset($row['uname']) ? $row['uname'] : $GLOBALS['cfg_df_dutyadmin'];
28 | }
29 | return $dutyadmin;
30 | }
31 | ?>
--------------------------------------------------------------------------------
/src/admin/templets_one.php:
--------------------------------------------------------------------------------
1 | SetTemplet(DEDEADMIN."/templets/templets_one.htm");
22 | $dlist->SetSource($sql);
23 | $dlist->display();
24 | function GetIsMake($im)
25 | {
26 | return $im == 1 ? '需编译' : '不编译';
27 | }
28 | ?>
--------------------------------------------------------------------------------
/src/theme/apps/showphoto.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | -
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 | [查看原图]
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/embed/plugin.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){CKEDITOR.plugins.add("embed",{icons:"embed",hidpi:!0,requires:"embedbase",init:function(b){var c=CKEDITOR.plugins.embedBase.createWidgetBaseDefinition(b);b.config.embed_provider||CKEDITOR.error("embed-no-provider-url");CKEDITOR.tools.extend(c,{dialog:"embedBase",button:b.lang.embedbase.button,allowedContent:"div[!data-oembed-url]",requiredContent:"div[data-oembed-url]",providerUrl:new CKEDITOR.template(b.config.embed_provider||""),styleToAllowedContentRules:function(a){return{div:{propertiesOnly:!0,
6 | classes:a.getClassesArray(),attributes:"!data-oembed-url"}}},upcast:function(a,b){if("div"==a.name&&a.attributes["data-oembed-url"])return b.url=a.attributes["data-oembed-url"],!0},downcast:function(a){a.attributes["data-oembed-url"]=this.data.url}},!0);b.widgets.add("embed",c);b.filter.addElementCallback(function(a){if("data-oembed-url"in a.attributes)return CKEDITOR.FILTER_SKIP_TREE})}})})();
--------------------------------------------------------------------------------
/src/system/channelunit.func.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/admin/tag_test_action.php:
--------------------------------------------------------------------------------
1 | 0) $pv = new PartView($typeid);
26 | else $pv = new PartView();
27 | $pv->SetTemplet($partcode, "string");
28 | if ($showsource == "" || $showsource == "yes") {
29 | echo "".dede_htmlspecialchars($partcode)."
";
30 | echo "
";
31 | }
32 | $pv->Display();
33 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/ascetic.css:
--------------------------------------------------------------------------------
1 | /*
2 |
3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev
4 |
5 | */
6 |
7 | .hljs {
8 | display: block; padding: 0.5em;
9 | background: white; color: black;
10 | }
11 |
12 | .hljs-string,
13 | .hljs-tag .hljs-value,
14 | .hljs-filter .hljs-argument,
15 | .hljs-addition,
16 | .hljs-change,
17 | .apache .hljs-tag,
18 | .apache .hljs-cbracket,
19 | .nginx .hljs-built_in,
20 | .tex .hljs-formula {
21 | color: #888;
22 | }
23 |
24 | .hljs-comment,
25 | .hljs-template_comment,
26 | .hljs-shebang,
27 | .hljs-doctype,
28 | .hljs-pi,
29 | .hljs-javadoc,
30 | .hljs-deletion,
31 | .apache .hljs-sqbracket {
32 | color: #CCC;
33 | }
34 |
35 | .hljs-keyword,
36 | .hljs-tag .hljs-title,
37 | .ini .hljs-title,
38 | .lisp .hljs-title,
39 | .clojure .hljs-title,
40 | .http .hljs-title,
41 | .nginx .hljs-title,
42 | .css .hljs-tag,
43 | .hljs-winutils,
44 | .hljs-flow,
45 | .apache .hljs-tag,
46 | .tex .hljs-command,
47 | .hljs-request,
48 | .hljs-status {
49 | font-weight: bold;
50 | }
51 |
--------------------------------------------------------------------------------
/src/system/taglib/vote.lib.php:
--------------------------------------------------------------------------------
1 | CAttribute->Items, $attlist);
18 | extract($ctag->CAttribute->Items, EXTR_SKIP);
19 | if (empty($id)) $id = 0;
20 | if ($id == 0) {
21 | $row = $dsql->GetOne("SELECT aid FROM `#@__vote` ORDER BY aid DESC LIMIT 0,1");
22 | if (!isset($row['aid'])) return '';
23 | else $id = $row['aid'];
24 | }
25 | $vt = new DedeVote($id);
26 | return $vt->GetVoteForm($lineheight, $tablewidth, $titlebgcolor, $titlebackgroup, $tablebg);
27 | }
28 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-redpack-create.php:
--------------------------------------------------------------------------------
1 | time(),
15 | 're_openid' => 'o38gps3vNdCqaggFfrBRCRikwlWY',
16 | 'send_name' => '商户名称😍',
17 | 'act_name' => '活动名称',
18 | 'total_amount' => '100',
19 | 'total_num' => '1',
20 | 'wishing' => '感谢您参加猜灯谜活动,祝您元宵节快乐!',
21 | 'remark' => '猜越多得越多,快来抢!',
22 | 'client_ip' => '127.0.0.1',
23 | ];
24 | //发送红包记录
25 | $result = $wechat->create($options);
26 | echo '';
27 | var_export($result);
28 | //查询红包记录
29 | $result = $wechat->query($options['mch_billno']);
30 | var_export($result);
31 | } catch (Exception $e) {
32 | //出错啦,处理下吧
33 | echo $e->getMessage().PHP_EOL;
34 | }
35 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/statistics.lib.php:
--------------------------------------------------------------------------------
1 | CAttribute->Items, $attlist);
18 | extract($ctag->CAttribute->Items, EXTR_SKIP);
19 | $pms = array();
20 | $pms['url_type'] = isset($envs['url_type'])? $envs['url_type'] : 0;
21 | $pms['typeid'] = isset($envs['typeid'])? $envs['typeid'] : 0;
22 | $pms['aid'] = isset($envs['aid'])? $envs['aid'] : 0;
23 | $pms['value'] = isset($envs['value'])? $envs['value'] : '';
24 | $revalue = '';
25 | return $revalue;
26 | }
27 | ?>
--------------------------------------------------------------------------------
/src/theme/apps/view_msg_catalog.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | -
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
23 | 栏目名称
24 | Fields['typename'];?>
25 |
26 |
27 | 栏目简介
28 | Fields['description'];?>
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/src/admin/mytag_main.php:
--------------------------------------------------------------------------------
1 | SetTemplet(DEDEADMIN.'/templets/mytag_main.htm');
22 | $dlist->SetSource($sql);
23 | $dlist->display();
24 | function TestType($tname)
25 | {
26 | return $tname == '' ? '所有栏目' : $tname;
27 | }
28 | function TimeSetValue($ts)
29 | {
30 | return $ts == 0 ? '不限时间' : '限时标记';
31 | }
32 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/embedbase/dialogs/embedbase.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | CKEDITOR.dialog.add("embedBase",function(a){var c=a.lang.embedbase;return{title:c.title,minWidth:350,minHeight:50,onLoad:function(){function f(){b.setState(CKEDITOR.DIALOG_STATE_IDLE);d=null}var b=this,d=null;this.on("ok",function(g){g.data.hide=!1;g.stop();b.setState(CKEDITOR.DIALOG_STATE_BUSY);var c=b.getValueOf("info","url"),e=b.getModel(a);d=e.loadContent(c,{noNotifications:!0,callback:function(){e.isReady()||a.widgets.finalizeCreation(e.wrapper.getParent(!0));a.fire("saveSnapshot");b.hide();
6 | f()},errorCallback:function(a){b.getContentElement("info","url").select();alert(e.getErrorMessage(a,c,"Given"));f()}})},null,null,15);this.on("cancel",function(a){a.data.hide&&d&&(d.cancel(),f())})},contents:[{id:"info",elements:[{type:"text",id:"url",label:a.lang.common.url,required:!0,setup:function(a){this.setValue(a.data.url)},validate:function(){return this.getDialog().getModel(a).isUrlValid(this.getValue())?!0:c.unsupportedUrlGiven}}]}]}});
--------------------------------------------------------------------------------
/src/static/ckeditor/config.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @license Copyright (c) 2003-2022, CKSource - Frederico Knabben. All rights reserved.
3 | * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | CKEDITOR.editorConfig = function(config) {
6 | config.language = 'zh-cn';
7 | config.toolbarGroups = [
8 | { name: 'mode', groups: ['mode', 'document', 'doctools'] },
9 | { name: 'cleanup', groups: ['undo', 'cleanup'] },
10 | { name: 'styles', groups: ['styles'] },
11 | { name: 'colors', groups: ['colors'] },
12 | { name: 'paragraph', groups: ['align', 'paragraph', 'textindent', 'indent'] },
13 | { name: 'basicstyles', groups: ['basicstyles', 'list','blocks'] },
14 | { name: 'editing', groups: ['find', 'editing'] },
15 | { name: 'links', groups: ['links'] },
16 | { name: 'insert', groups: ['insert'] },
17 | { name: 'tools', groups: ['tools'] }
18 | ];
19 | config.height = 350;
20 | config.removePlugins = 'exportpdf,div,scayt';
21 | config.removeButtons = 'Save,Styles,Font,NewPage,Print,Preview,Templates,Smiley,About,ShowBlocks,Iframe,Flash,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField';
22 | };
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/pastetools/filter/image.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){function f(b){var c=[],a=/(\{\\pict[^{}]+?|\{\\\*\\shppict\{\\pict\{\\\*[^*]+?)\\(?:jpeg|png)blip/,d;b=b.match(new RegExp("(?:("+a.source+"))([\\da-fA-F\\s]+)\\}","g"));if(!b)return c;for(var e=0;e]+src="([^"]+)[^>]+/g,a=[],d;d=
6 | c.exec(b);)a.push(d[1]);return a}CKEDITOR.pasteFilters.image=function(b,c,a){var d=[];if(!a)return b;c=g(b);if(0===c.length)return b;a=f(a);if(0===a.length)return b;CKEDITOR.tools.array.forEach(a,function(a){d.push(a.type?"data:"+a.type+";base64,"+CKEDITOR.tools.convertBytesToBase64(CKEDITOR.tools.convertHexStringToBytes(a.hex)):null)},this);if(c.length===d.length)for(a=0;a
2 |
12 |
13 |
14 | 踩一下[{dede:field.badpost/}]
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/admin/file_manage_main.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/src/system/sdks/_test/mini-login.php:
--------------------------------------------------------------------------------
1 | 'wx6bb7b70258da09c6',
7 | 'appsecret' => '78b7b8d65bd67b078babf951d4342b42',
8 | ];
9 | //解码数据
10 | $iv = 'ltM/wT7hsAl0TijEBI4v/g==';
11 | $code = '013LyiTR0TwjC92QjJRR0mEsTR0LyiT3';
12 | $decode = 'eIoVtIC2YzLCnrwiIs1IBbXMvC0vyL8bo1IhD38fUQIRbk3lgTWa0Hdw/Ty7NTs3iu7YlqqZBti+cxd6dCfeXBUQwTO2QpbHg0WTeDAdrihsHRHm4dCWdfTx8rzDloGbNOIsKdRElIhUH5YFdiTr5AYiufUDb34cwJ4GNWLAUq4bR0dmFeVEi+3nfwe2MAjGYDl4aq719VLsHodOggK6lXZvM5wjoDyuZsK2dPqJr3/Ji30Z0mdyFq32R4uR3rtJH/h+Rj0+/QmE9QYG7Y6Z48hgPE8cpnhRQNwH49jnC/zKZ9wtDkQ/J8J3Ed2i58zcuY01v8IV+pZ8oBUKXfO5ha+APOxtBSTzyHraU/2RGo8UWtOF6h64OQZhd/UQQy362eyc/qoq8sF9JnEFRP0mRmTDJ+u9oyDhxswCu6x8V73ERWaJeEGSCyjiGpep7/DxZ6eSSBq36OB0BWBkJqsq9Q==';
13 | $sessionKey = 'OetNxl86B/yMpbwG6wtMEw==';
14 | //$mini = \We::WeMiniCrypt($config);
15 | //$mini = new WeMini\Crypt($config);
16 | $mini = \WeMini\Crypt::instance($config);
17 | echo '';
18 | //print_r($mini->session($code));
19 | print_r($mini->decode($iv, $sessionKey, $decode));
20 | //print_r($mini->userInfo($code, $iv, $decode));
21 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/licence:
--------------------------------------------------------------------------------
1 | The MIT License
2 |
3 | Copyright (c) 2014-2022 Anyon
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.
--------------------------------------------------------------------------------
/src/system/sdks/WeChat/Contracts/BasicWeWork.php:
--------------------------------------------------------------------------------
1 | access_token) return $this->access_token;
20 | $ckey = $this->config->get('appid').'_access_token';
21 | if ($this->access_token = Tools::getCache($ckey)) return $this->access_token;
22 | list($appid, $secret) = [$this->config->get('appid'), $this->config->get('appsecret')];
23 | $result = Tools::json2arr(Tools::get("https://qyapi.weixin.qq.com/cgi-bin/gettoken?corpid={$appid}&corpsecret={$secret}"));
24 | if (isset($result['access_token']) && $result['access_token']) Tools::setCache($ckey, $result['access_token'], 7000);
25 | return $this->access_token = $result['access_token'];
26 | }
27 | }
28 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/pay-order-create.php:
--------------------------------------------------------------------------------
1 | '测试商品',
16 | 'out_trade_no' => time(),
17 | 'total_fee' => '1',
18 | 'openid' => 'o38gpszoJoC9oJYz3UHHf6bEp0Lo',
19 | 'trade_type' => 'JSAPI',
20 | 'notify_url' => 'http://a.com/text.html',
21 | 'spbill_create_ip' => '127.0.0.1',
22 | ];
23 | //生成预支付码
24 | $result = $wechat->createOrder($options);
25 | //创建JSAPI参数签名
26 | $options = $wechat->createParamsForJsApi($result['prepay_id']);
27 | echo '';
28 | echo "\n--- 创建预支付码 ---\n";
29 | var_export($result);
30 | echo "\n\n--- JSAPI 及 H5 参数 ---\n";
31 | var_export($options);
32 | } catch (Exception $e) {
33 | //出错啦,处理下吧
34 | echo $e->getMessage().PHP_EOL;
35 | }
36 | ?>
--------------------------------------------------------------------------------
/src/theme/apps/view_msg.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | -
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 |
20 |
21 |
22 |
23 | 文档标题
24 |
25 |
26 |
27 | 文档简介
28 |
29 |
30 |
31 | 发布时间
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/src/system/sdks/WePayV3/Cert.php:
--------------------------------------------------------------------------------
1 | config['mch_v3_key']);
23 | $result = $this->doRequest('GET', '/v3/certificates');
24 | foreach ($result['data'] as $vo) {
25 | $this->tmpFile($vo['serial_no'], $aes->decryptToString(
26 | $vo['encrypt_certificate']['associated_data'],
27 | $vo['encrypt_certificate']['nonce'],
28 | $vo['encrypt_certificate']['ciphertext']
29 | ));
30 | }
31 | } catch (\Exception $exception) {
32 | throw new InvalidResponseException($exception->getMessage(), $exception->getCode());
33 | }
34 | }
35 | }
36 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/codesnippet/dialogs/codesnippet.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){CKEDITOR.dialog.add("codeSnippet",function(c){var b=c._.codesnippet.langs,d=c.lang.codesnippet,g=document.documentElement.clientHeight,e=[],f;e.push([c.lang.common.notSet,""]);for(f in b)e.push([b[f],f]);b=CKEDITOR.document.getWindow().getViewPaneSize();c=Math.min(b.width-70,800);b=b.height/1.5;650>g&&(b=g-220);return{title:d.title,minHeight:200,resizable:CKEDITOR.DIALOG_RESIZE_NONE,contents:[{id:"info",elements:[{id:"lang",type:"select",label:d.language,items:e,setup:function(a){a.ready&&
6 | a.data.lang&&this.setValue(a.data.lang);!CKEDITOR.env.gecko||a.data.lang&&a.ready||(this.getInputElement().$.selectedIndex=-1)},commit:function(a){a.setData("lang",this.getValue())}},{id:"code",type:"textarea",label:d.codeContents,setup:function(a){this.setValue(a.data.code)},commit:function(a){a.setData("code",this.getValue())},required:!0,validate:CKEDITOR.dialog.validate.notEmpty(d.emptySnippetError),inputStyle:"cursor:auto;width:"+c+"px;height:"+b+"px;tab-size:4;text-align:left;","class":"cke_source"}]}]}})})();
--------------------------------------------------------------------------------
/src/system/taglib/help/arclist.txt:
--------------------------------------------------------------------------------
1 | 文档列表标签
2 | >>dede>>
3 | {dede:arclist typeid='' notypeid='' row='' col='' titlelen='' flag='h' infolen='' imgwidth='' imgheight='' listtype='' orderby='' keyword='' limit='0,1'}
4 | [field:title/]
5 | {/dede:arclist}
6 | >>dede>>
7 | typeid='' 调用栏目id文档,用英文逗号隔开表示多个栏目
8 | notypeid='' 不调用栏目id文档,用英文逗号隔开表示多个栏目
9 | row='10' 调用文档列表总数
10 | col='2' 分多少列显示(默认为单列)
11 | titlelen='160' 标题长度
12 | infolen='260' 文档简介长度
13 | imgwidth='120' 缩略图宽度
14 | imgheight='90' 缩略图高度
15 | listtype='all' 栏目类型(顶级栏目)
16 | orderby='sortrank' 文档排序方式
17 | orderby='hot' 或orderby='click'表示按点击数排列
18 | orderby='sortrank' 或orderby='pubdate'按出版时间排列
19 | orderby='near'
20 | orderby=='lastpost' 按最后评论时间
21 | orderby=='scores' 按得分排序
22 | orderby='id' 按文档id排序
23 | orderby='rand' 随机获得指定条件的文档列表
24 | keyword='关键词' 含有指定关键词的文档列表,多个关键词用英文逗号隔开
25 | limit='' 限定的记录范围(如:limit='1,2')
26 | innertext='' 单行记录样式
27 | aid='' 指定文档id
28 | idlist='' 提取特定文档
29 | isweight='n' 开启按照权重排序,默认为n/N,如果设为y/Y,则文档会按照weight字段排序,数值越小越靠前
30 | channelid='' 栏目id
31 | flag='h' 自定义属性值:头条[h]推荐[c]图片[p]幻灯[f]滚动[s]跳转[j]图文[a]加粗[b]
32 | noflag='' 同flag,但这里是表示不包含这些属性
33 | orderway='' 值为desc或asc,指定排序方式是降序还是顺向排序,默认为降序
34 | subday='7' 表示在多少天以内的文档
--------------------------------------------------------------------------------
/src/system/autoload.inc.php:
--------------------------------------------------------------------------------
1 | ';
26 | echo $classname.'类找不到';
27 | echo '';
28 | exit ();
29 | } else {
30 | header ("location:/404.html");
31 | die ();
32 | }
33 | }
34 | }
35 | ?>
--------------------------------------------------------------------------------
/src/admin/article_keywords_select.php:
--------------------------------------------------------------------------------
1 | SetTemplate(DEDEADMIN."/templets/article_keywords_select.htm");
19 | $dlist->pagesize = 30;
20 | $dlist->SetParameter("f", $f);
21 | $dlist->SetSource($sql);
22 | $dlist->Display();
23 | function GetSta($sta)
24 | {
25 | if ($sta == 1) return " 已启用";
26 | else return " 禁用";
27 | }
28 | function GetMan($sta)
29 | {
30 | if ($sta == 1) return " 已禁用";
31 | else return " 启用";
32 | }
33 | ?>
--------------------------------------------------------------------------------
/src/admin/sys_group_add.php:
--------------------------------------------------------------------------------
1 | GetOne("SELECT * FROM `#@__admintype` WHERE `rank`='".$rankid."'");
15 | if (is_array($row)) {
16 | ShowMsg('您所创建的组别的级别值已存在,不允许重复', '-1');
17 | exit();
18 | }
19 | if ($rankid > 10) {
20 | ShowMsg('组级别值不能大于10,否则一切权限设置均无效', '-1');
21 | exit();
22 | }
23 | $AllPurviews = '';
24 | if (is_array($purviews)) {
25 | foreach ($purviews as $pur) {
26 | $AllPurviews = $pur.' ';
27 | }
28 | $AllPurviews = trim($AllPurviews);
29 | }
30 | $dsql->ExecuteNoneQuery("INSERT INTO `#@__admintype` (`rank`,typename,`system`,purviews) VALUES ('$rankid','$groupname', 0, '$AllPurviews');");
31 | ShowMsg("成功创建一个新的会员组", "sys_group.php");
32 | exit();
33 | }
34 | include DedeInclude('templets/sys_group_add.htm');
35 | ?>
--------------------------------------------------------------------------------
/src/user/check_card.php:
--------------------------------------------------------------------------------
1 | GetOne("SELECT * FROM `#@__moneycard_record` WHERE cardid='$cardid' ");
21 | if (!is_array($row)) {
22 | ShowMsg("卡号错误,不存在此卡号", "-1");
23 | exit();
24 | }
25 | if ($row['isexp'] == -1) {
26 | ShowMsg("卡号已失效,不能再次使用", "-1");
27 | exit();
28 | }
29 | $hasMoney = $row['num'];
30 | $dsql->ExecuteNoneQuery("UPDATE `#@__moneycard_record` SET uid='".$cfg_ml->M_ID."',isexp='-1',utime='".time()."' WHERE cardid='$cardid' ");
31 | $dsql->ExecuteNoneQuery("UPDATE `#@__member` SET money=money+$hasMoney WHERE mid='".$cfg_ml->M_ID."'");
32 | ShowMsg("充值成功,您本次增加的金币为:{$hasMoney} 个", -1);
33 | exit();
34 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/mono-blue.css:
--------------------------------------------------------------------------------
1 | /*
2 | Five-color theme from a single blue hue.
3 | */
4 | .hljs {
5 | display: block; padding: 0.5em;
6 | background: #EAEEF3; color: #00193A;
7 | }
8 |
9 | .hljs-keyword,
10 | .hljs-title,
11 | .hljs-important,
12 | .hljs-request,
13 | .hljs-header,
14 | .hljs-javadoctag {
15 | font-weight: bold;
16 | }
17 |
18 | .hljs-comment,
19 | .hljs-chunk,
20 | .hljs-template_comment {
21 | color: #738191;
22 | }
23 |
24 | .hljs-string,
25 | .hljs-title,
26 | .hljs-parent,
27 | .hljs-built_in,
28 | .hljs-literal,
29 | .hljs-filename,
30 | .hljs-value,
31 | .hljs-addition,
32 | .hljs-tag,
33 | .hljs-argument,
34 | .hljs-link_label,
35 | .hljs-blockquote,
36 | .hljs-header {
37 | color: #0048AB;
38 | }
39 |
40 | .hljs-decorator,
41 | .hljs-prompt,
42 | .hljs-yardoctag,
43 | .hljs-subst,
44 | .hljs-symbol,
45 | .hljs-doctype,
46 | .hljs-regexp,
47 | .hljs-preprocessor,
48 | .hljs-pragma,
49 | .hljs-pi,
50 | .hljs-attribute,
51 | .hljs-attr_selector,
52 | .hljs-javadoc,
53 | .hljs-xmlDocTag,
54 | .hljs-deletion,
55 | .hljs-shebang,
56 | .hljs-string .hljs-variable,
57 | .hljs-link_url,
58 | .hljs-bullet,
59 | .hljs-sqbracket,
60 | .hljs-phony {
61 | color: #4C81C9;
62 | }
63 |
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/xml/plugin.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){CKEDITOR.plugins.add("xml",{});CKEDITOR.xml=function(c){var a=null;if("object"==typeof c)a=c;else if(c=(c||"").replace(/ /g," "),"ActiveXObject"in window){try{a=new ActiveXObject("MSXML2.DOMDocument")}catch(b){try{a=new ActiveXObject("Microsoft.XmlDom")}catch(d){}}a&&(a.async=!1,a.resolveExternals=!1,a.validateOnParse=!1,a.loadXML(c))}else window.DOMParser&&(a=(new DOMParser).parseFromString(c,"text/xml"));this.baseXml=a};CKEDITOR.xml.prototype={selectSingleNode:function(c,a){var b=
6 | this.baseXml;if(a||(a=b)){if("selectSingleNode"in a)return a.selectSingleNode(c);if(b.evaluate)return(b=b.evaluate(c,a,null,9,null))&&b.singleNodeValue||null}return null},selectNodes:function(c,a){var b=this.baseXml,d=[];if(a||(a=b)){if("selectNodes"in a)return a.selectNodes(c);if(b.evaluate&&(b=b.evaluate(c,a,null,5,null)))for(var e;e=b.iterateNext();)d.push(e)}return d},getInnerXml:function(c,a){var b=this.selectSingleNode(c,a),d=[];if(b)for(b=b.firstChild;b;)b.xml?d.push(b.xml):window.XMLSerializer&&
7 | d.push((new XMLSerializer).serializeToString(b)),b=b.nextSibling;return d.length?d.join(""):null}}})();
--------------------------------------------------------------------------------
/src/user/mypay.php:
--------------------------------------------------------------------------------
1 | M_ID."' And product='archive' ORDER BY aid DESC";
20 | $dlist = new DataListCP();
21 | $dlist->pagesize = 10;
22 | $dlist->SetTemplate(DEDEMEMBER.'/templets/mypay.htm');
23 | $dlist->SetSource($query);
24 | $dlist->Display();
25 | } elseif ($dopost == 'del') {
26 | $ids = preg_replace("#[^0-9,]#", "", $ids);
27 | $query = "DELETE FROM `#@__member_operation` WHERE aid in($ids) And mid='{$cfg_ml->M_ID}' And product='archive'";
28 | $dsql->ExecuteNoneQuery($query);
29 | ShowMsg("成功删除指定的交易记录", "mypay.php");
30 | exit();
31 | }
32 | ?>
--------------------------------------------------------------------------------
/src/admin/makehtml_taglist.php:
--------------------------------------------------------------------------------
1 | Execute('al',$sql);
19 | $result = array();
20 | while($row=$dsql->GetObject('al')){
21 | $row->text= $row->tag;
22 | $result[] = $row;
23 | }
24 | $result = array(
25 | "code" => 200,
26 | "data" => $result,
27 | );
28 | echo json_encode($result);
29 | exit;
30 | }
31 | $result = array(
32 | "code" => 200,
33 | "data" => null,
34 | );
35 | echo json_encode($result);
36 | exit;
37 | }
38 | include DedeInclude('templets/makehtml_tag_list.htm');
39 | ?>
--------------------------------------------------------------------------------
/src/system/autoload7.inc.php:
--------------------------------------------------------------------------------
1 | ';
26 | echo $classname.'类找不到';
27 | echo '
';
28 | exit ();
29 | } else {
30 | header ("location:/404.html");
31 | die ();
32 | }
33 | }
34 | }
35 | spl_autoload_register('dede_autoloader');
36 | ?>
--------------------------------------------------------------------------------
/src/apps/jump.php:
--------------------------------------------------------------------------------
1 | $url";
25 | $win = new OxWindow();
26 | $win->AddTitle("您将要访问的链接不属于当前站点,请留意账号安全");
27 | $win->AddMsgItem($msg);
28 | $winform = $win->GetWindow("hand", false);
29 | $win->Display();
30 | } else {
31 | header('HTTP/1.1 301 Moved Permanently');
32 | header('Location:'.$url);
33 | }
34 | } else {
35 | ShowMsg("地址错误", "javascript:;");
36 | exit;
37 | }
38 | ?>
--------------------------------------------------------------------------------
/src/admin/log_edit.php:
--------------------------------------------------------------------------------
1 | ExecuteNoneQuery("DELETE FROM `#@__log`");
20 | ShowMsg("成功清空所有日志", "log_list.php");
21 | exit();
22 | } else if ($dopost == "del") {
23 | $bkurl = isset($_COOKIE['ENV_GOBACK_URL']) ? $_COOKIE['ENV_GOBACK_URL'] : "log_list.php";
24 | $ids = explode('`', $ids);
25 | $dquery = '';
26 | foreach ($ids as $id) {
27 | if ($dquery == "") {
28 | $dquery .= " lid='$id' ";
29 | } else {
30 | $dquery .= " Or lid='$id' ";
31 | }
32 | }
33 | if ($dquery != "") $dquery = " where ".$dquery;
34 | $dsql->ExecuteNoneQuery("DELETE FROM `#@__log` $dquery");
35 | ShowMsg("成功删除指定日志", $bkurl);
36 | exit();
37 | } else {
38 | ShowMsg("系统无法识别请求", "log_list.php");
39 | exit();
40 | }
41 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/ajax/plugin.js:
--------------------------------------------------------------------------------
1 | /*
2 | Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
3 | For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 | */
5 | (function(){CKEDITOR.plugins.add("ajax",{requires:"xml"});CKEDITOR.ajax=function(){function g(){if(!CKEDITOR.env.ie||"file:"!=location.protocol)try{return new XMLHttpRequest}catch(a){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(b){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(f){}return null}function h(a){return 4==a.readyState&&(200<=a.status&&300>a.status||304==a.status||0===a.status||1223==a.status)}function k(a){return h(a)?a.responseText:null}function m(a){if(h(a)){var b=
6 | a.responseXML;return new CKEDITOR.xml(b&&b.firstChild?b:a.responseText)}return null}function l(a,b,f){var d=!!b,c=g();if(!c)return null;c.open("GET",a,d);d&&(c.onreadystatechange=function(){4==c.readyState&&(b(f(c)),c=null)});c.send(null);return d?"":f(c)}function n(a,b,f,d,c){var e=g();if(!e)return null;e.open("POST",a,!0);e.onreadystatechange=function(){4==e.readyState&&(d&&d(c(e)),e=null)};e.setRequestHeader("Content-type",f||"application/x-www-form-urlencoded; charset\x3dUTF-8");e.send(b)}return{load:function(a,
7 | b){return l(a,b,k)},post:function(a,b,f,d){return n(a,b,f,d,k)},loadXml:function(a,b){return l(a,b,m)}}}()})();
--------------------------------------------------------------------------------
/src/admin/dialog/config.php:
--------------------------------------------------------------------------------
1 | getUserID() <= 0) {
23 | if (empty($adminDirHand)) {
24 | ShowMsg("提示:需要输入后台管理目录才能登录
", "javascript:;");
25 | exit();
26 | }
27 | $adminDirHand = HtmlReplace($adminDirHand, 1);
28 | $gurl = "/../{$adminDirHand}/login.php?gotopage=".urlencode($dedeNowurl);
29 | echo "";
30 | exit();
31 | }
32 | ?>
--------------------------------------------------------------------------------
/src/system/taglib/hotwords.lib.php:
--------------------------------------------------------------------------------
1 | CAttribute->Items, $attlist);
17 | extract($ctag->CAttribute->Items, EXTR_SKIP);
18 | $nowtime = time();
19 | if (empty($subday)) $subday = 365;
20 | if (empty($num)) $num = 6;
21 | if (empty($maxlength)) $maxlength = 20;
22 | $maxlength = $maxlength + 1;
23 | $mintime = $nowtime - ($subday * 24 * 3600);
24 | $dsql->SetQuery("SELECT keyword FROM `#@__search_keywords` WHERE lasttime>$mintime AND length(keyword)<$maxlength ORDER BY count DESC LIMIT 0,$num");
25 | $dsql->Execute('hw');
26 | $hotword = '';
27 | while ($row = $dsql->GetArray('hw')) {
28 | $hotword .= "".$row['keyword']." ";
29 | }
30 | return $hotword;
31 | }
32 | ?>
--------------------------------------------------------------------------------
/src/static/ckeditor/plugins/tableselection/styles/tableselection.css:
--------------------------------------------------------------------------------
1 | .cke_table-faked-selection-editor *::selection, table[data-cke-table-faked-selection-table] *::selection {
2 | background: transparent;
3 | }
4 |
5 | .cke_table-faked-selection {
6 | background: darkgray !important;
7 | color: black;
8 | }
9 | .cke_table-faked-selection a {
10 | color: black;
11 | }
12 | .cke_editable:focus .cke_table-faked-selection {
13 | /* We have to use !important here, as td might specify it's own background, thus table selection
14 | would not be visible. */
15 | background: #0076cb !important;
16 | color: white;
17 | }
18 | .cke_editable:focus .cke_table-faked-selection a {
19 | color: white;
20 | }
21 | .cke_table-faked-selection::-moz-selection, .cke_table-faked-selection ::-moz-selection {
22 | background: transparent;
23 | }
24 | .cke_table-faked-selection::selection, .cke_table-faked-selection ::selection {
25 | background: transparent;
26 | }
27 |
28 | /* Change the cursor when selecting cells (#706).
29 | *
30 | * This solution does not work in IE, Edge and Safari due to upstream isues:
31 | * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3419602/
32 | * https://bugs.webkit.org/show_bug.cgi?id=53341
33 | */
34 | table[data-cke-table-faked-selection-table] {
35 | cursor: cell;
36 | }
37 |
--------------------------------------------------------------------------------
/src/admin/catalog_del.php:
--------------------------------------------------------------------------------
1 | DelType($id, $delfile);
23 | UpDateCatCache();
24 | ShowMsg("成功删除一个栏目", "catalog_main.php");
25 | exit();
26 | }
27 | $dsql->SetQuery("SELECT typename,typedir FROM `#@__arctype` WHERE id=".$id);
28 | $row = $dsql->GetOne();
29 | $wintitle = "删除栏目";
30 | $win = new OxWindow();
31 | $win->Init('catalog_del.php', '/static/web/js/admin.blank.js', 'POST');
32 | $win->AddHidden('id', $id);
33 | $win->AddHidden('dopost', 'ok');
34 | $win->AddTitle("您要确定要删除{$row['typename']}栏目吗");
35 | $win->AddItem('栏目生成目录:', $row['typedir']);
36 | $winform = $win->GetWindow('ok');
37 | $win->Display();
38 | ?>
--------------------------------------------------------------------------------
/src/system/sdks/_test/config.php:
--------------------------------------------------------------------------------
1 | function ($name, $value, $expired = 360) {
6 | // var_dump(func_get_args());
7 | // },
8 | // 'get' => function ($name) {
9 | // var_dump(func_get_args());
10 | // },
11 | // 'del' => function ($name) {
12 | // var_dump(func_get_args());
13 | // },
14 | // 'put' => function ($name) {
15 | // var_dump(func_get_args());
16 | // },
17 | //];
18 | return [
19 | 'token' => 'test',
20 | 'appid' => 'wx60a43dd8161666d4',
21 | 'appsecret' => 'b4e28746f1bd73b5c6684f5e01883c36',
22 | 'encodingaeskey' => 'BJIUzE0gqlWy0GxfPp4J1oPTBmOrNDIGPNav1YFH5Z5',
23 | //配置商户支付参数
24 | 'mch_id' => "1332187001",
25 | 'mch_key' => 'A82DC5BD1F3359081049C568D8502BC5',
26 | //配置商户支付双向证书目录 (p12 | key,cert 二选一,两者都配置时p12优先)
27 | 'ssl_p12' => __DIR__.DIRECTORY_SEPARATOR.'cert'.DIRECTORY_SEPARATOR.'1332187001_20181030_cert.p12',
28 | //'ssl_key' => __DIR__.DIRECTORY_SEPARATOR.'cert'.DIRECTORY_SEPARATOR.'1332187001_20181030_key.pem',
29 | //'ssl_cer' => __DIR__.DIRECTORY_SEPARATOR.'cert'.DIRECTORY_SEPARATOR.'1332187001_20181030_cert.pem',
30 | //配置缓存目录,需要拥有写权限
31 | 'cache_path' => '',
32 | ];
33 | ?>
--------------------------------------------------------------------------------
/src/system/filter.inc.php:
--------------------------------------------------------------------------------
1 | $_v) {
25 | $svar[$_k] = _FilterAll($fk, $_v);
26 | }
27 | } else {
28 | if ($cfg_notallowstr != '' && preg_match("#".$cfg_notallowstr."#i", $svar)) {
29 | ShowMsg("{$fk}字段中包含禁用词", '-1');
30 | exit();
31 | }
32 | if ($cfg_replacestr != '') {
33 | $svar = preg_replace('/'.$cfg_replacestr.'/i', "***", $svar);
34 | }
35 | }
36 | return $svar;
37 | }
38 | //对_GET,_POST,_COOKIE进行过滤
39 | foreach (array('_GET', '_POST', '_COOKIE') as $_request) {
40 | foreach ($$_request as $_k => $_v) {
41 | ${$_k} = _FilterAll($_k, $_v);
42 | }
43 | }
44 | ?>
--------------------------------------------------------------------------------
/src/system/libraries/fixtures/headers.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * This source file is subject to the MIT license that is bundled
9 | * with this source code in the file LICENSE.
10 | */
11 | require_once(DEDEINC."/libraries/fixtures/abstractprovider.php");
12 | class Headers extends AbstractProvider
13 | {
14 | /**
15 | * All possible HTTP headers that represent the user agent string.
16 | *
17 | * @var array
18 | */
19 | protected $data = array(
20 | //The default User-Agent string.
21 | 'HTTP_USER_AGENT',
22 | //Header can occur on devices using Opera Mini.
23 | 'HTTP_X_OPERAMINI_PHONE_UA',
24 | //Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/
25 | 'HTTP_X_DEVICE_USER_AGENT',
26 | 'HTTP_X_ORIGINAL_USER_AGENT',
27 | 'HTTP_X_SKYFIRE_PHONE',
28 | 'HTTP_X_BOLT_PHONE_UA',
29 | 'HTTP_DEVICE_STOCK_UA',
30 | 'HTTP_X_UCBROWSER_DEVICE_UA',
31 | //Sometimes, bots (especially Google) use a genuine user agent, but fill this header in with their email address
32 | 'HTTP_FROM',
33 | 'HTTP_X_SCANNER', //Seen in use by Netsparker
34 | );
35 | }
36 | ?>
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | src/data/tplcache/*.inc
3 | src/data/tplcache/*.txt
4 | src/data/sessions*
5 | src/data/cache/*.inc
6 | src/data/cache/*.dat
7 | src/data/cache/*/
8 | src/data/common.inc.php
9 | src/data/config.cache.bak.php
10 | src/data/config.cache.inc.php
11 | src/install/install_lock.txt
12 | src/install/index.php.bak
13 | src/install/index.html
14 | src/install/module-install.php.bak
15 | src/a/*/
16 | src/.txt
17 | src/index.html
18 | src/uploads/*.php
19 | src/data/time.lock.inc
20 | src/m/index.html
21 | src/uploads/userup
22 | src/uploads/20*
23 | src/data/mysqli_error_trace.inc
24 | src/uploads/litimg/*
25 | src/special/*.html
26 | *.bat
27 | src/data/backupdata/*.txt
28 | src/a/*.html
29 | src/data/mkall_cache_*.php
30 | src/data/payment/cod.php
31 | src/freelist/
32 | src/data/rss/*
33 | src/data/rssmap.html
34 | src/data/sitemap.html
35 | src/data/js/
36 | src/data/vote/*.js
37 | src/data/module/*.xml
38 | src/data/module/*.php
39 | src/data/*.db
40 | src/uploads/soft/*/
41 | src/static/allimg/*/
42 | src/data/time.lock
43 | src/static/enums/*.json
44 | src/static/litimg/*/
45 | src/data/sqlite_error_trace.inc
46 | src/static/soft/*/
47 | src/static/userup/*/
48 | src/static/js/*.js
49 | src/apps/special/*.html
50 | src/static/flink/*.png
51 | src/static/rss/*.xml
52 | src/a/baidunews.xml
53 | src/data/backupfile*
54 | src/data/updatefile*
55 | src/data/checksql_*
56 | src/static/media/*/
57 |
--------------------------------------------------------------------------------
/src/admin/member_pmall.php:
--------------------------------------------------------------------------------
1 | ExecuteNoneQuery("INSERT INTO `#@__member_pms` (floginid,fromid,toid,tologinid,folder,hasview,subject,sendtime,writetime,message,isadmin) VALUES ('$floginid','$fromid','$toid','$tologinid','outbox','0','$subject','$sendtime','$writetime','$message','1');");
31 | ShowMsg('短信已成功发送', 'member_pm.php');
32 | exit();
33 | }
34 | require_once(DEDEADMIN."/templets/member_pmall.htm");
35 | ?>
--------------------------------------------------------------------------------
/src/user/mystow.php:
--------------------------------------------------------------------------------
1 | M_ID."' ORDER BY s.id DESC";
24 | $tpl = 'mystow';
25 | }
26 | $dsql->Execute('nn', 'SELECT indexname,stowname FROM `#@__member_stowtype`');
27 | while ($row = $dsql->GetArray('nn')) {
28 | $rows[] = $row;
29 | }
30 | $dlist = new DataListCP();
31 | $dlist->pagesize = 10;
32 | $dlist->SetTemplate(DEDEMEMBER."/templets/mystow.htm");
33 | $dlist->SetSource($sql);
34 | $dlist->Display();
35 | ?>
--------------------------------------------------------------------------------
/src/admin/sys_admin_user.php:
--------------------------------------------------------------------------------
1 | SetQuery("SELECT `rank`,typename FROM `#@__admintype`");
18 | $dsql->Execute();
19 | while ($row = $dsql->GetObject()) {
20 | $adminRanks[$row->rank] = $row->typename;
21 | }
22 | $query = "SELECT `#@__admin`.*,`#@__arctype`.typename FROM `#@__admin` LEFT JOIN `#@__arctype` ON `#@__admin`.typeid = `#@__arctype`.id $rank ";
23 | $dlist = new DataListCP();
24 | $dlist->SetTemplet(DEDEADMIN."/templets/sys_admin_user.htm");
25 | $dlist->SetSource($query);
26 | $dlist->Display();
27 | function GetUserType($trank)
28 | {
29 | global $adminRanks;
30 | if (isset($adminRanks[$trank])) return $adminRanks[$trank];
31 | else return "错误类型";
32 | }
33 | function GetChannel($c)
34 | {
35 | if ($c == "" || $c == 0) return "所有栏目";
36 | else return $c;
37 | }
38 | ?>
--------------------------------------------------------------------------------
/src/admin/templets/action_search.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | 搜索结果
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/src/user/operation.php:
--------------------------------------------------------------------------------
1 | M_ID."' AND product<>'archive' ORDER BY aid DESC";
26 | $dlist = new DataListCP();
27 | $dlist->pagesize = 10;
28 | $dlist->SetTemplate(DEDEMEMBER."/templets/operation.htm");
29 | $dlist->SetSource($sql);
30 | $dlist->Display();
31 | } else if ($dopost == 'del') {
32 | $ids = preg_replace("#[^0-9,]#", "", $ids);
33 | $query = "DELETE FROM `#@__member_operation` WHERE aid IN($ids) AND mid='{$cfg_ml->M_ID}'";
34 | $dsql->ExecuteNoneQuery($query);
35 | ShowMsg("成功删除指定的交易记录", "operation.php");
36 | exit();
37 | }
38 | ?>
--------------------------------------------------------------------------------
/src/admin/mychannel_main.php:
--------------------------------------------------------------------------------
1 | SetTemplet(DEDEADMIN."/templets/mychannel_main.htm");
21 | $dlist->SetSource($sql);
22 | $dlist->display();
23 | function GetSta($sta, $id)
24 | {
25 | if ($sta == 1) {
26 | return ($id != -1 ? "启用隐藏" : "固定");
27 | } else {
28 | return "启用隐藏";
29 | }
30 | }
31 | function IsSystem($s)
32 | {
33 | return $s == 1 ? "系统" : "自动";
34 | }
35 | ?>
--------------------------------------------------------------------------------
/src/admin/article_allowurl_edit.php:
--------------------------------------------------------------------------------
1 | alert('成功保存站内链接');";
25 | }
26 | //读出
27 | if (empty($allurls) && filesize($m_file) > 0) {
28 | $fp = fopen($m_file, 'r');
29 | $allurls = fread($fp, filesize($m_file));
30 | fclose($fp);
31 | }
32 | $wintitle = "允许站内链接";
33 | $win = new OxWindow();
34 | $win->Init('article_allowurl_edit.php', '/static/web/js/admin.blank.js', 'POST');
35 | $win->AddHidden('dopost', 'save');
36 | $win->AddTitle("每行保存一个超链接");
37 | $win->AddMsgItem(" ");
38 | $winform = $win->GetWindow('ok');
39 | $win->Display();
40 | ?>
--------------------------------------------------------------------------------
/src/admin/article_source_edit.php:
--------------------------------------------------------------------------------
1 | alert('成功保存文档来源');";
25 | }
26 | //读出
27 | if (empty($allsource) && filesize($m_file) > 0) {
28 | $fp = fopen($m_file, 'r');
29 | $allsource = fread($fp, filesize($m_file));
30 | fclose($fp);
31 | }
32 | $wintitle = "文档来源管理";
33 | $win = new OxWindow();
34 | $win->Init('article_source_edit.php', '/static/web/js/admin.blank.js', 'POST');
35 | $win->AddHidden('dopost', 'save');
36 | $win->AddTitle("一行填写一个地址");
37 | $win->AddMsgItem(" ");
38 | $winform = $win->GetWindow('ok');
39 | $win->Display();
40 | ?>
--------------------------------------------------------------------------------
顶一下[{dede:field.goodpost/}]
6 |