├── .gitignore ├── LICENSE ├── README.md ├── dedebiz ├── docs ├── changelog.md ├── dedebiz.png ├── dedebiz_cli.gif ├── dedebiz_wechat_qr.jpg └── license.md ├── src ├── a │ └── .dedekeep ├── admin │ ├── action_search.php │ ├── actionsearch_class.php │ ├── ad_add.php │ ├── ad_edit.php │ ├── ad_main.php │ ├── adtype_main.php │ ├── album_add.php │ ├── album_edit.php │ ├── api.php │ ├── archives_add.php │ ├── archives_do.php │ ├── archives_edit.php │ ├── archives_sg_add.php │ ├── archives_sg_edit.php │ ├── article_add.php │ ├── article_allowurl_edit.php │ ├── article_description_main.php │ ├── article_edit.php │ ├── article_keywords_main.php │ ├── article_keywords_select.php │ ├── article_select_sw.php │ ├── article_source_edit.php │ ├── article_test_same.php │ ├── article_writer_edit.php │ ├── cards_make.php │ ├── cards_manage.php │ ├── cards_type.php │ ├── catalog_add.php │ ├── catalog_del.php │ ├── catalog_do.php │ ├── catalog_edit.php │ ├── catalog_main.php │ ├── config.php │ ├── content_att.php │ ├── content_batch_up.php │ ├── content_batchup_action.php │ ├── content_i_list.php │ ├── content_list.php │ ├── content_s_list.php │ ├── content_select_list.php │ ├── content_sg_list.php │ ├── dialog │ │ ├── config.php │ │ ├── select_images.php │ │ ├── select_images_post.php │ │ ├── select_media.php │ │ ├── select_media_post.php │ │ ├── select_mimages.php │ │ ├── select_soft.php │ │ ├── select_soft_post.php │ │ ├── select_templets.php │ │ └── select_templets_post.php │ ├── diy_add.php │ ├── diy_edit.php │ ├── diy_field_add.php │ ├── diy_field_edit.php │ ├── diy_list.php │ ├── diy_main.php │ ├── erraddsave.php │ ├── exit.php │ ├── feedback_edit.php │ ├── feedback_main.php │ ├── file_class.php │ ├── file_manage_control.php │ ├── file_manage_main.php │ ├── file_manage_view.php │ ├── freelist_add.php │ ├── freelist_edit.php │ ├── freelist_main.php │ ├── friendlink_add.php │ ├── friendlink_edit.php │ ├── friendlink_main.php │ ├── friendlink_type.php │ ├── inc │ │ ├── configgroup.txt │ │ ├── fieldtype.txt │ │ ├── grouplist.txt │ │ ├── inc_action_info.php │ │ ├── inc_admin_channel.php │ │ ├── inc_archives_all.php │ │ ├── inc_archives_functions.php │ │ ├── inc_batchup.php │ │ ├── inc_catalog_options.php │ │ ├── inc_list_functions.php │ │ ├── inc_menu.php │ │ ├── inc_menu_func.php │ │ └── inc_menu_module.php │ ├── index.php │ ├── index_body.php │ ├── index_testenv.php │ ├── log_edit.php │ ├── log_list.php │ ├── login.php │ ├── makehtml_all.php │ ├── makehtml_archives.php │ ├── makehtml_archives_action.php │ ├── makehtml_freelist.php │ ├── makehtml_freelist_action.php │ ├── makehtml_homepage.php │ ├── makehtml_list.php │ ├── makehtml_list_action.php │ ├── makehtml_spec.php │ ├── makehtml_taglist.php │ ├── makehtml_taglist_action.php │ ├── media_add.php │ ├── media_edit.php │ ├── media_main.php │ ├── member_do.php │ ├── member_edit.php │ ├── member_main.php │ ├── member_operations.php │ ├── member_pm.php │ ├── member_pmall.php │ ├── member_pmone.php │ ├── member_rank.php │ ├── member_scores.php │ ├── member_toadmin.php │ ├── member_type.php │ ├── module_main.php │ ├── module_make.php │ ├── module_upload.php │ ├── mychannel_add.php │ ├── mychannel_edit.php │ ├── mychannel_field_add.php │ ├── mychannel_field_edit.php │ ├── mychannel_main.php │ ├── mytag_add.php │ ├── mytag_edit.php │ ├── mytag_main.php │ ├── mytag_tag_guide.php │ ├── mytag_tag_guide_ok.php │ ├── plus_edit.php │ ├── plus_main.php │ ├── recycling.php │ ├── search_keywords_main.php │ ├── soft_add.php │ ├── soft_config.php │ ├── soft_edit.php │ ├── spec_add.php │ ├── spec_edit.php │ ├── statistics_list.php │ ├── stepselect_main.php │ ├── swfupload.php │ ├── sys_admin_user.php │ ├── sys_admin_user_add.php │ ├── sys_admin_user_edit.php │ ├── sys_cache_up.php │ ├── sys_cloud.php │ ├── sys_data.php │ ├── sys_data_done.php │ ├── sys_data_replace.php │ ├── sys_data_revert.php │ ├── sys_group.php │ ├── sys_group_add.php │ ├── sys_group_edit.php │ ├── sys_info.php │ ├── sys_info_mark.php │ ├── sys_login.php │ ├── sys_payment.php │ ├── sys_repair.php │ ├── sys_safetest.php │ ├── sys_sql_query.php │ ├── tag_test.php │ ├── tag_test_action.php │ ├── tags_main.php │ ├── task_do.php │ ├── templets │ │ ├── action_search.htm │ │ ├── ad_add.htm │ │ ├── ad_edit.htm │ │ ├── ad_main.htm │ │ ├── adtype_main.htm │ │ ├── album_add.htm │ │ ├── album_edit.htm │ │ ├── archives_add.htm │ │ ├── archives_edit.htm │ │ ├── archives_sg_add.htm │ │ ├── archives_sg_edit.htm │ │ ├── article_add.htm │ │ ├── article_description_main.htm │ │ ├── article_edit.htm │ │ ├── article_keywords_main.htm │ │ ├── article_keywords_select.htm │ │ ├── article_result_same.htm │ │ ├── article_test_same.htm │ │ ├── cards_make.htm │ │ ├── cards_manmage.htm │ │ ├── cards_type.htm │ │ ├── catalog_add.htm │ │ ├── catalog_add_quick.htm │ │ ├── catalog_edit.htm │ │ ├── catalog_main.htm │ │ ├── content_att.htm │ │ ├── content_batch_up.htm │ │ ├── content_i_list.htm │ │ ├── content_list.htm │ │ ├── content_s_list.htm │ │ ├── content_select_list.htm │ │ ├── content_sg_list.htm │ │ ├── diy_add.htm │ │ ├── diy_edit.htm │ │ ├── diy_edit_content.htm │ │ ├── diy_field_add.htm │ │ ├── diy_field_edit.htm │ │ ├── diy_list.htm │ │ ├── diy_main.htm │ │ ├── diy_post.htm │ │ ├── erradd.htm │ │ ├── feedback_edit.htm │ │ ├── feedback_main.htm │ │ ├── file_edit.htm │ │ ├── file_manage_main.htm │ │ ├── file_upload.htm │ │ ├── freelist_add.htm │ │ ├── freelist_edit.htm │ │ ├── freelist_main.htm │ │ ├── friendlink_add.htm │ │ ├── friendlink_edit.htm │ │ ├── friendlink_main.htm │ │ ├── friendlink_type.htm │ │ ├── index.htm │ │ ├── index_body.htm │ │ ├── log_list.htm │ │ ├── login.htm │ │ ├── makehtml_all.htm │ │ ├── makehtml_archives.htm │ │ ├── makehtml_freelist.htm │ │ ├── makehtml_homepage.htm │ │ ├── makehtml_list.htm │ │ ├── makehtml_spec.htm │ │ ├── makehtml_tag_list.htm │ │ ├── media_add.htm │ │ ├── media_edit.htm │ │ ├── media_main.htm │ │ ├── member_edit.htm │ │ ├── member_main.htm │ │ ├── member_operations.htm │ │ ├── member_pm.htm │ │ ├── member_pmall.htm │ │ ├── member_pmone.htm │ │ ├── member_rank.htm │ │ ├── member_scores.htm │ │ ├── member_toadmin.htm │ │ ├── member_type.htm │ │ ├── module_edit.htm │ │ ├── module_main.htm │ │ ├── module_make.htm │ │ ├── mychannel_add.htm │ │ ├── mychannel_edit.htm │ │ ├── mychannel_field_add.htm │ │ ├── mychannel_field_edit.htm │ │ ├── mychannel_main.htm │ │ ├── mychannel_modifysearch.htm │ │ ├── mytag_add.htm │ │ ├── mytag_edit.htm │ │ ├── mytag_main.htm │ │ ├── mytag_tag_guide.htm │ │ ├── mytag_tag_guide_ok.htm │ │ ├── plus_edit.htm │ │ ├── plus_main.htm │ │ ├── recycling.htm │ │ ├── search_keywords_main.htm │ │ ├── soft_add.htm │ │ ├── soft_config.htm │ │ ├── soft_edit.htm │ │ ├── spec_add.htm │ │ ├── spec_edit.htm │ │ ├── statistics_list.htm │ │ ├── stepselect_main.htm │ │ ├── stepselect_showajax.htm │ │ ├── sys_admin_user.htm │ │ ├── sys_admin_user_add.htm │ │ ├── sys_admin_user_edit.htm │ │ ├── sys_cache_up.htm │ │ ├── sys_data.htm │ │ ├── sys_data_replace.htm │ │ ├── sys_data_revert.htm │ │ ├── sys_group.htm │ │ ├── sys_group_add.htm │ │ ├── sys_group_edit.htm │ │ ├── sys_info.htm │ │ ├── sys_info_mark.htm │ │ ├── sys_payment.htm │ │ ├── sys_safetest.htm │ │ ├── sys_safetest_viewdiff.htm │ │ ├── sys_sql_query.htm │ │ ├── tag_test.htm │ │ ├── tags_main.htm │ │ ├── templets_default.htm │ │ ├── templets_one.htm │ │ ├── templets_one_add.htm │ │ ├── templets_one_edit.htm │ │ ├── templets_tagsource.htm │ │ ├── tpl_edit.htm │ │ ├── tpl_edit_tag.htm │ │ ├── vote_add.htm │ │ ├── vote_edit.htm │ │ ├── vote_getcode.htm │ │ └── vote_main.htm │ ├── templets_main.php │ ├── templets_one.php │ ├── templets_one_add.php │ ├── templets_one_edit.php │ ├── templets_tagsource.php │ ├── tpl.php │ ├── vote_add.php │ ├── vote_edit.php │ ├── vote_getcode.php │ └── vote_main.php ├── apps │ ├── ad_js.php │ ├── advancedsearch.php │ ├── count.php │ ├── digg_ajax.php │ ├── disdls.php │ ├── diy.php │ ├── download.php │ ├── erraddsave.php │ ├── feedback.php │ ├── flink.php │ ├── freelist.php │ ├── heightsearch.php │ ├── jump.php │ ├── list.php │ ├── mytag_js.php │ ├── notify.php │ ├── recommend.php │ ├── return.php │ ├── search.php │ ├── showphoto.php │ ├── special │ │ └── index.php │ ├── statistics.php │ ├── stow.php │ ├── tags.php │ ├── vdimgck.php │ ├── view.php │ └── vote.php ├── data │ ├── admin │ │ ├── allowurl.txt │ │ ├── files.txt │ │ ├── index.html │ │ ├── source.txt │ │ ├── ver.txt │ │ └── writer.txt │ ├── backupdata │ │ └── index.html │ ├── cache │ │ └── index.html │ ├── mail │ │ └── index.html │ ├── mark │ │ ├── inc_photowatermark_config.php │ │ ├── index.html │ │ ├── mark.gif │ │ └── mark.png │ ├── module │ │ └── index.html │ ├── tag │ │ ├── index.html │ │ └── sql.inc.php │ ├── textdata │ │ └── index.html │ ├── tplcache │ │ └── index.html │ ├── uploadtmp │ │ └── index.html │ ├── vote │ │ └── index.html │ └── ziptmp │ │ └── index.html ├── favicon.ico ├── index.php ├── install │ ├── common.inc.php │ ├── config.cache.inc.php │ ├── index.php │ ├── install.html │ ├── install.inc.php │ ├── sql-dfdata.txt │ ├── sql-dftables.txt │ └── update.txt ├── license.txt ├── robots.txt ├── static │ ├── allimg │ │ └── index.html │ ├── ckeditor │ │ ├── CHANGES.md │ │ ├── LICENSE.md │ │ ├── adapters │ │ │ └── jquery.js │ │ ├── ckeditor.js │ │ ├── config.js │ │ ├── contents.css │ │ ├── lang │ │ │ └── zh-cn.js │ │ ├── plugins │ │ │ ├── ajax │ │ │ │ └── plugin.js │ │ │ ├── clipboard │ │ │ │ └── dialogs │ │ │ │ │ └── paste.js │ │ │ ├── codesnippet │ │ │ │ ├── dialogs │ │ │ │ │ └── codesnippet.js │ │ │ │ ├── icons │ │ │ │ │ ├── codesnippet.png │ │ │ │ │ └── hidpi │ │ │ │ │ │ └── codesnippet.png │ │ │ │ ├── lang │ │ │ │ │ └── zh-cn.js │ │ │ │ ├── lib │ │ │ │ │ └── highlight │ │ │ │ │ │ ├── CHANGES.md │ │ │ │ │ │ ├── LICENSE │ │ │ │ │ │ ├── README.ru.md │ │ │ │ │ │ ├── highlight.pack.js │ │ │ │ │ │ └── styles │ │ │ │ │ │ ├── arta.css │ │ │ │ │ │ ├── ascetic.css │ │ │ │ │ │ ├── atelier-dune.dark.css │ │ │ │ │ │ ├── atelier-dune.light.css │ │ │ │ │ │ ├── atelier-forest.dark.css │ │ │ │ │ │ ├── atelier-forest.light.css │ │ │ │ │ │ ├── atelier-heath.dark.css │ │ │ │ │ │ ├── atelier-heath.light.css │ │ │ │ │ │ ├── atelier-lakeside.dark.css │ │ │ │ │ │ ├── atelier-lakeside.light.css │ │ │ │ │ │ ├── atelier-seaside.dark.css │ │ │ │ │ │ ├── atelier-seaside.light.css │ │ │ │ │ │ ├── brown_paper.css │ │ │ │ │ │ ├── brown_papersq.png │ │ │ │ │ │ ├── dark.css │ │ │ │ │ │ ├── default.css │ │ │ │ │ │ ├── docco.css │ │ │ │ │ │ ├── far.css │ │ │ │ │ │ ├── foundation.css │ │ │ │ │ │ ├── github.css │ │ │ │ │ │ ├── googlecode.css │ │ │ │ │ │ ├── idea.css │ │ │ │ │ │ ├── ir_black.css │ │ │ │ │ │ ├── magula.css │ │ │ │ │ │ ├── mono-blue.css │ │ │ │ │ │ ├── monokai.css │ │ │ │ │ │ ├── monokai_sublime.css │ │ │ │ │ │ ├── obsidian.css │ │ │ │ │ │ ├── paraiso.dark.css │ │ │ │ │ │ ├── paraiso.light.css │ │ │ │ │ │ ├── pojoaque.css │ │ │ │ │ │ ├── pojoaque.jpg │ │ │ │ │ │ ├── railscasts.css │ │ │ │ │ │ ├── rainbow.css │ │ │ │ │ │ ├── school_book.css │ │ │ │ │ │ ├── school_book.png │ │ │ │ │ │ ├── solarized_dark.css │ │ │ │ │ │ ├── solarized_light.css │ │ │ │ │ │ ├── sunburst.css │ │ │ │ │ │ ├── tomorrow-night-blue.css │ │ │ │ │ │ ├── tomorrow-night-bright.css │ │ │ │ │ │ ├── tomorrow-night-eighties.css │ │ │ │ │ │ ├── tomorrow-night.css │ │ │ │ │ │ ├── tomorrow.css │ │ │ │ │ │ ├── vs.css │ │ │ │ │ │ ├── xcode.css │ │ │ │ │ │ └── zenburn.css │ │ │ │ └── plugin.js │ │ │ ├── colordialog │ │ │ │ └── dialogs │ │ │ │ │ ├── colordialog.css │ │ │ │ │ └── colordialog.js │ │ │ ├── copyformatting │ │ │ │ ├── cursors │ │ │ │ │ ├── cursor-disabled.svg │ │ │ │ │ └── cursor.svg │ │ │ │ └── styles │ │ │ │ │ └── copyformatting.css │ │ │ ├── ddfilebrowser │ │ │ │ ├── icons │ │ │ │ │ └── ddfilebrowser.png │ │ │ │ └── plugin.js │ │ │ ├── dedepagebreak │ │ │ │ ├── icons │ │ │ │ │ └── dedepagebreak.png │ │ │ │ └── plugin.js │ │ │ ├── dialog │ │ │ │ ├── dialogDefinition.js │ │ │ │ └── styles │ │ │ │ │ └── dialog.css │ │ │ ├── embed │ │ │ │ ├── icons │ │ │ │ │ ├── embed.png │ │ │ │ │ └── hidpi │ │ │ │ │ │ └── embed.png │ │ │ │ └── plugin.js │ │ │ ├── embedbase │ │ │ │ ├── dialogs │ │ │ │ │ └── embedbase.js │ │ │ │ ├── lang │ │ │ │ │ └── zh-cn.js │ │ │ │ └── plugin.js │ │ │ ├── embedsemantic │ │ │ │ ├── icons │ │ │ │ │ ├── embedsemantic.png │ │ │ │ │ └── hidpi │ │ │ │ │ │ └── embedsemantic.png │ │ │ │ └── plugin.js │ │ │ ├── emoji │ │ │ │ ├── assets │ │ │ │ │ ├── iconsall.png │ │ │ │ │ └── iconsall.svg │ │ │ │ ├── emoji.json │ │ │ │ ├── icons │ │ │ │ │ ├── emojipanel.png │ │ │ │ │ └── hidpi │ │ │ │ │ │ └── emojipanel.png │ │ │ │ ├── lang │ │ │ │ │ └── en.js │ │ │ │ ├── plugin.js │ │ │ │ └── skins │ │ │ │ │ └── default.css │ │ │ ├── find │ │ │ │ └── dialogs │ │ │ │ │ └── find.js │ │ │ ├── html5audio │ │ │ │ ├── dialogs │ │ │ │ │ └── html5audio.js │ │ │ │ ├── icons │ │ │ │ │ ├── hidpi │ │ │ │ │ │ └── html5audio.png │ │ │ │ │ └── html5audio.png │ │ │ │ ├── lang │ │ │ │ │ └── zh-cn.js │ │ │ │ └── plugin.js │ │ │ ├── html5video │ │ │ │ ├── dialogs │ │ │ │ │ └── html5video.js │ │ │ │ ├── icons │ │ │ │ │ └── html5video.png │ │ │ │ ├── lang │ │ │ │ │ └── zh-cn.js │ │ │ │ └── plugin.js │ │ │ ├── icons.png │ │ │ ├── icons_hidpi.png │ │ │ ├── image │ │ │ │ ├── dialogs │ │ │ │ │ └── image.js │ │ │ │ └── images │ │ │ │ │ └── noimage.png │ │ │ ├── image2 │ │ │ │ ├── dialogs │ │ │ │ │ └── image2.js │ │ │ │ ├── icons │ │ │ │ │ ├── hidpi │ │ │ │ │ │ └── image.png │ │ │ │ │ └── image.png │ │ │ │ ├── lang │ │ │ │ │ └── zh-cn.js │ │ │ │ └── plugin.js │ │ │ ├── imagebase │ │ │ │ ├── lang │ │ │ │ │ └── en.js │ │ │ │ ├── plugin.js │ │ │ │ └── styles │ │ │ │ │ └── imagebase.css │ │ │ ├── link │ │ │ │ ├── dialogs │ │ │ │ │ ├── anchor.js │ │ │ │ │ └── link.js │ │ │ │ └── images │ │ │ │ │ ├── anchor.png │ │ │ │ │ └── hidpi │ │ │ │ │ └── anchor.png │ │ │ ├── liststyle │ │ │ │ └── dialogs │ │ │ │ │ └── liststyle.js │ │ │ ├── magicline │ │ │ │ └── images │ │ │ │ │ ├── hidpi │ │ │ │ │ ├── icon-rtl.png │ │ │ │ │ └── icon.png │ │ │ │ │ ├── icon-rtl.png │ │ │ │ │ └── icon.png │ │ │ ├── mimage │ │ │ │ ├── icons │ │ │ │ │ └── mimage.png │ │ │ │ └── plugin.js │ │ │ ├── pagebreak │ │ │ │ └── images │ │ │ │ │ └── pagebreak.gif │ │ │ ├── pastefromgdocs │ │ │ │ ├── filter │ │ │ │ │ └── default.js │ │ │ │ └── plugin.js │ │ │ ├── pastefromlibreoffice │ │ │ │ └── filter │ │ │ │ │ └── default.js │ │ │ ├── pastefromword │ │ │ │ └── filter │ │ │ │ │ └── default.js │ │ │ ├── pastetools │ │ │ │ └── filter │ │ │ │ │ ├── common.js │ │ │ │ │ └── image.js │ │ │ ├── placeholder │ │ │ │ ├── dialogs │ │ │ │ │ └── placeholder.js │ │ │ │ ├── icons │ │ │ │ │ ├── hidpi │ │ │ │ │ │ └── placeholder.png │ │ │ │ │ └── placeholder.png │ │ │ │ ├── lang │ │ │ │ │ └── zh-cn.js │ │ │ │ └── plugin.js │ │ │ ├── specialchar │ │ │ │ └── dialogs │ │ │ │ │ ├── lang │ │ │ │ │ ├── en-au.js │ │ │ │ │ ├── en-ca.js │ │ │ │ │ ├── en-gb.js │ │ │ │ │ ├── en.js │ │ │ │ │ ├── zh-cn.js │ │ │ │ │ └── zh.js │ │ │ │ │ └── specialchar.js │ │ │ ├── table │ │ │ │ └── dialogs │ │ │ │ │ └── table.js │ │ │ ├── tableresize │ │ │ │ └── plugin.js │ │ │ ├── tableselection │ │ │ │ └── styles │ │ │ │ │ └── tableselection.css │ │ │ ├── tabletools │ │ │ │ └── dialogs │ │ │ │ │ └── tableCell.js │ │ │ ├── textindent │ │ │ │ ├── icons │ │ │ │ │ ├── hidpi │ │ │ │ │ │ └── textindent.png │ │ │ │ │ └── textindent.png │ │ │ │ └── plugin.js │ │ │ ├── textmatch │ │ │ │ └── plugin.js │ │ │ ├── textwatcher │ │ │ │ └── plugin.js │ │ │ ├── uploadfile │ │ │ │ └── plugin.js │ │ │ ├── widget │ │ │ │ └── images │ │ │ │ │ └── handle.png │ │ │ └── xml │ │ │ │ └── plugin.js │ │ ├── skins │ │ │ └── moono-lisa │ │ │ │ ├── dialog.css │ │ │ │ ├── dialog_ie.css │ │ │ │ ├── dialog_ie8.css │ │ │ │ ├── dialog_iequirks.css │ │ │ │ ├── editor.css │ │ │ │ ├── editor_gecko.css │ │ │ │ ├── editor_ie.css │ │ │ │ ├── editor_ie8.css │ │ │ │ ├── editor_iequirks.css │ │ │ │ ├── icons.png │ │ │ │ ├── icons_hidpi.png │ │ │ │ ├── images │ │ │ │ ├── arrow.png │ │ │ │ ├── close.png │ │ │ │ ├── hidpi │ │ │ │ │ ├── close.png │ │ │ │ │ ├── lock-open.png │ │ │ │ │ ├── lock.png │ │ │ │ │ └── refresh.png │ │ │ │ ├── lock-open.png │ │ │ │ ├── lock.png │ │ │ │ ├── refresh.png │ │ │ │ └── spinner.gif │ │ │ │ └── readme.md │ │ ├── styles.js │ │ └── vendor │ │ │ └── promise.js │ ├── enums │ │ └── .dedekeep │ ├── flink │ │ └── index.html │ ├── media │ │ └── index.html │ ├── soft │ │ └── index.html │ ├── userup │ │ └── index.html │ └── web │ │ ├── css │ │ ├── admin.css │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.css.map │ │ ├── codemirror.css │ │ ├── cropper.min.css │ │ ├── daterangepicker.css │ │ ├── diffview.css │ │ ├── font-awesome.min.css │ │ └── style.css │ │ ├── fonts │ │ ├── FontAwesome.otf │ │ ├── fontawesome-webfont.eot │ │ ├── fontawesome-webfont.svg │ │ ├── fontawesome-webfont.ttf │ │ ├── fontawesome-webfont.woff │ │ └── fontawesome-webfont.woff2 │ │ ├── img │ │ ├── admin.png │ │ ├── alb1.jpg │ │ ├── alb2.jpg │ │ ├── alb3.jpg │ │ ├── g_t1.jpg │ │ ├── g_t2.jpg │ │ ├── g_t3.jpg │ │ ├── g_t4.jpg │ │ ├── icon_addon.png │ │ ├── icon_css.png │ │ ├── icon_dir.png │ │ ├── icon_dir2.png │ │ ├── icon_exe.png │ │ ├── icon_flash.png │ │ ├── icon_htm.png │ │ ├── icon_img.png │ │ ├── icon_js.png │ │ ├── icon_music.png │ │ ├── icon_php.png │ │ ├── icon_rm.png │ │ ├── icon_text.png │ │ ├── icon_video.png │ │ ├── icon_zip.png │ │ ├── login_bg.jpg │ │ ├── logo.png │ │ └── thumbnail.jpg │ │ └── js │ │ ├── admin.album.js │ │ ├── admin.blank.js │ │ ├── admin.body.js │ │ ├── admin.catalog.js │ │ ├── admin.list.js │ │ ├── admin.main.js │ │ ├── admin.update.js │ │ ├── bootstrap.min.js │ │ ├── bootstrap.min.js.map │ │ ├── chart.min.js │ │ ├── codemirror.js │ │ ├── cropper.min.js │ │ ├── daterangepicker.js │ │ ├── difflib.js │ │ ├── diffview.js │ │ ├── diy.js │ │ ├── enums.js │ │ ├── jquery.min.js │ │ ├── login.js │ │ ├── mode │ │ ├── clike │ │ │ ├── clike.js │ │ │ └── test.js │ │ ├── css │ │ │ ├── css.js │ │ │ ├── gss_test.js │ │ │ ├── less_test.js │ │ │ ├── scss_test.js │ │ │ └── test.js │ │ ├── htmlmixed │ │ │ └── htmlmixed.js │ │ ├── javascript │ │ │ ├── javascript.js │ │ │ └── test.js │ │ ├── php │ │ │ ├── php.js │ │ │ └── test.js │ │ ├── sql │ │ │ └── sql.js │ │ └── xml │ │ │ ├── test.js │ │ │ └── xml.js │ │ ├── moment.min.js │ │ ├── qrcode.min.js │ │ ├── style.js │ │ ├── user.album.js │ │ ├── user.main.js │ │ └── webajax.js ├── system │ ├── archive │ │ ├── archives.class.php │ │ ├── freelist.class.php │ │ ├── listview.class.php │ │ ├── partview.class.php │ │ ├── searchview.class.php │ │ ├── sglistview.class.php │ │ ├── sgpage.class.php │ │ ├── specview.class.php │ │ └── taglist.class.php │ ├── autoload.inc.php │ ├── autoload7.inc.php │ ├── channelunit.class.php │ ├── channelunit.func.php │ ├── charset.func.php │ ├── common.func.php │ ├── common.inc.php │ ├── customfields.func.php │ ├── data │ │ ├── big5-gb.dat │ │ ├── fonts │ │ │ ├── 1.ttf │ │ │ ├── 2.ttf │ │ │ ├── 3.ttf │ │ │ ├── 4.ttf │ │ │ ├── 5.ttf │ │ │ └── 6.ttf │ │ ├── gb-big5.dat │ │ ├── gb2312-utf8.dat │ │ ├── gbk-unicode.dat │ │ ├── pinyin-utf8.dat │ │ ├── pinyin.dat │ │ ├── vdcode.jpg │ │ └── words │ │ │ └── words.txt │ ├── database │ │ ├── dedesqli.class.php │ │ └── dedesqlite.class.php │ ├── datalistcp.class.php │ ├── dedealert.func.php │ ├── dedeatt.class.php │ ├── dedecollection.func.php │ ├── dedeimage.class.php │ ├── dedemodule.class.php │ ├── dedetag.class.php │ ├── dedetemplate.class.php │ ├── dedevote.class.php │ ├── diyform.class.php │ ├── enums.func.php │ ├── extend.func.php │ ├── filter.inc.php │ ├── helpers │ │ ├── archive.helper.php │ │ ├── cache.helper.php │ │ ├── channelunit.helper.php │ │ ├── charset.helper.php │ │ ├── code.helper.php │ │ ├── cookie.helper.php │ │ ├── debug.helper.php │ │ ├── extend.helper.php │ │ ├── file.helper.php │ │ ├── filter.helper.php │ │ ├── image.helper.php │ │ ├── string.helper.php │ │ ├── test.helper.php │ │ ├── time.helper.php │ │ ├── upload.helper.php │ │ ├── util.helper.php │ │ └── validate.helper.php │ ├── image.func.php │ ├── inc │ │ ├── inc_fun_funAdmin.php │ │ └── inc_fun_funString.php │ ├── libraries │ │ ├── agent.class.php │ │ ├── cli.class.php │ │ ├── crawlerdetect.class.php │ │ ├── data │ │ │ ├── base_dic_full.dic │ │ │ ├── base_dic_full.dic.h.dic │ │ │ └── words_addons.dic │ │ ├── dedebiz.class.php │ │ ├── dedehttpdown.class.php │ │ ├── fixtures │ │ │ ├── abstractprovider.php │ │ │ ├── crawlers.php │ │ │ ├── exclusions.php │ │ │ └── headers.php │ │ ├── imageresize.class.php │ │ ├── jsonq │ │ │ ├── Condition.php │ │ │ ├── Exceptions │ │ │ │ ├── ConditionNotAllowedException.php │ │ │ │ ├── FileNotFoundException.php │ │ │ │ ├── InvalidJsonException.php │ │ │ │ ├── InvalidNodeException.php │ │ │ │ └── NullValueException.php │ │ │ ├── JsonQueriable.php │ │ │ ├── Jsonq.php │ │ │ └── Results │ │ │ │ └── ValueNotFound.php │ │ ├── mail.class.php │ │ ├── mobiledetect.class.php │ │ ├── oxwindow.class.php │ │ ├── splitword.class.php │ │ ├── statistics.class.php │ │ └── webwindow.class.php │ ├── memberlogin.class.php │ ├── sdks │ │ ├── .gitignore │ │ ├── AliPay │ │ │ ├── App.php │ │ │ ├── Bill.php │ │ │ ├── Pos.php │ │ │ ├── Scan.php │ │ │ ├── Trade.php │ │ │ ├── Transfer.php │ │ │ ├── Wap.php │ │ │ └── Web.php │ │ ├── We.php │ │ ├── WeChat │ │ │ ├── Card.php │ │ │ ├── Contracts │ │ │ │ ├── BasicAliPay.php │ │ │ │ ├── BasicPushEvent.php │ │ │ │ ├── BasicWeChat.php │ │ │ │ ├── BasicWePay.php │ │ │ │ ├── BasicWeWork.php │ │ │ │ ├── DataArray.php │ │ │ │ ├── DataError.php │ │ │ │ ├── MyCurlFile.php │ │ │ │ ├── Prpcrypt.php │ │ │ │ └── Tools.php │ │ │ ├── Custom.php │ │ │ ├── Draft.php │ │ │ ├── Exceptions │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── InvalidDecryptException.php │ │ │ │ ├── InvalidInstanceException.php │ │ │ │ ├── InvalidResponseException.php │ │ │ │ └── LocalCacheException.php │ │ │ ├── Freepublish.php │ │ │ ├── Limit.php │ │ │ ├── Media.php │ │ │ ├── Menu.php │ │ │ ├── Oauth.php │ │ │ ├── Pay.php │ │ │ ├── Product.php │ │ │ ├── Qrcode.php │ │ │ ├── Receive.php │ │ │ ├── Scan.php │ │ │ ├── Script.php │ │ │ ├── Shake.php │ │ │ ├── Tags.php │ │ │ ├── Template.php │ │ │ ├── User.php │ │ │ └── Wifi.php │ │ ├── WeMini │ │ │ ├── Crypt.php │ │ │ ├── Delivery.php │ │ │ ├── Guide.php │ │ │ ├── Image.php │ │ │ ├── Live.php │ │ │ ├── Logistics.php │ │ │ ├── Message.php │ │ │ ├── Newtmpl.php │ │ │ ├── Ocr.php │ │ │ ├── Operation.php │ │ │ ├── Plugs.php │ │ │ ├── Poi.php │ │ │ ├── Qrcode.php │ │ │ ├── Scheme.php │ │ │ ├── Search.php │ │ │ ├── Security.php │ │ │ ├── Soter.php │ │ │ ├── Template.php │ │ │ ├── Total.php │ │ │ └── crypt │ │ │ │ ├── errorCode.php │ │ │ │ └── wxBizDataCrypt.php │ │ ├── WePay │ │ │ ├── Bill.php │ │ │ ├── Coupon.php │ │ │ ├── Custom.php │ │ │ ├── Order.php │ │ │ ├── Redpack.php │ │ │ ├── Refund.php │ │ │ ├── Transfers.php │ │ │ └── TransfersBank.php │ │ ├── WePayV3 │ │ │ ├── Cert.php │ │ │ ├── Contracts │ │ │ │ ├── BasicWePay.php │ │ │ │ └── DecryptAes.php │ │ │ ├── Order.php │ │ │ └── Refund.php │ │ ├── _test │ │ │ ├── alipay-app.php │ │ │ ├── alipay-bill.php │ │ │ ├── alipay-notify.php │ │ │ ├── alipay-pos.php │ │ │ ├── alipay-refund.php │ │ │ ├── alipay-scan.php │ │ │ ├── alipay-transfer-account.php │ │ │ ├── alipay-transfer-create.php │ │ │ ├── alipay-transfer-query.php │ │ │ ├── alipay-transfer.php │ │ │ ├── alipay-wap.php │ │ │ ├── alipay-web.php │ │ │ ├── alipay.php │ │ │ ├── config.php │ │ │ ├── mini-login.php │ │ │ ├── mini-qrc.php │ │ │ ├── pay-download-bill.php │ │ │ ├── pay-order-close.php │ │ │ ├── pay-order-create.php │ │ │ ├── pay-order-notify.php │ │ │ ├── pay-order-query.php │ │ │ ├── pay-redpack-create.php │ │ │ ├── pay-refund-create.php │ │ │ ├── pay-refund-query.php │ │ │ ├── pay-transfers-create.php │ │ │ ├── pay-transfersbank-create.php │ │ │ ├── pay-v3-config-cert.php │ │ │ ├── pay-v3-config.php │ │ │ ├── pay-v3-order-create.php │ │ │ ├── wechat-jssdk-sign.php │ │ │ ├── wechat-menu-get.php │ │ │ ├── wechat-qrcode-create.php │ │ │ ├── wechat-user-get.php │ │ │ ├── work-config.php │ │ │ └── work-department.php │ │ ├── include.php │ │ └── licence │ ├── taglib │ │ ├── adminname.lib.php │ │ ├── arccontent.lib.php │ │ ├── arclist.lib.php │ │ ├── arclistsg.lib.php │ │ ├── autochannel.lib.php │ │ ├── cattree.lib.php │ │ ├── channel.lib.php │ │ ├── channel │ │ │ ├── img.lib.php │ │ │ ├── softlinks.lib.php │ │ │ ├── specialtopic.lib.php │ │ │ └── stepselect.lib.php │ │ ├── channelartlist.lib.php │ │ ├── comment.lib.php │ │ ├── demotag.lib.php │ │ ├── feedback.lib.php │ │ ├── flink.lib.php │ │ ├── flinktype.lib.php │ │ ├── help │ │ │ ├── adminname.txt │ │ │ ├── arclist.txt │ │ │ ├── arclistsg.txt │ │ │ ├── autochannel.txt │ │ │ ├── channel.txt │ │ │ ├── channelartlist.txt │ │ │ ├── demotag.txt │ │ │ ├── feedback.txt │ │ │ ├── flink.txt │ │ │ ├── hotwords.txt │ │ │ ├── infoguide.txt │ │ │ ├── infolink.txt │ │ │ ├── likearticle.txt │ │ │ ├── likepage.txt │ │ │ ├── likesgpage.txt │ │ │ ├── loop.txt │ │ │ ├── memberlist.txt │ │ │ ├── myad.txt │ │ │ ├── mytag.txt │ │ │ ├── softmsg.txt │ │ │ ├── sonchannel.txt │ │ │ ├── sql.txt │ │ │ ├── tag.txt │ │ │ ├── type.txt │ │ │ ├── userinfo.txt │ │ │ └── vote.txt │ │ ├── hotwords.lib.php │ │ ├── infoguide.lib.php │ │ ├── infolink.lib.php │ │ ├── jsonq.lib.php │ │ ├── likearticle.lib.php │ │ ├── likepage.lib.php │ │ ├── likesgpage.lib.php │ │ ├── loop.lib.php │ │ ├── memberlist.lib.php │ │ ├── myad.lib.php │ │ ├── mytag.lib.php │ │ ├── php.lib.php │ │ ├── productimagelist.lib.php │ │ ├── relation.lib.php │ │ ├── softmsg.lib.php │ │ ├── sonchannel.lib.php │ │ ├── sql.lib.php │ │ ├── statistics.lib.php │ │ ├── tag.lib.php │ │ ├── type.lib.php │ │ ├── userinfo.lib.php │ │ └── vote.lib.php │ ├── tpllib │ │ ├── plus_channel.php │ │ ├── plus_memberlist.php │ │ └── plus_userarclist.php │ ├── typelink │ │ ├── typelink.class.php │ │ ├── typeunit.class.admin.php │ │ ├── typeunit.class.menu.php │ │ └── typeunit.class.selector.php │ ├── uploadsafe.inc.php │ └── userlogin.class.php ├── theme │ ├── apps │ │ ├── advancedsearch.htm │ │ ├── download_links.htm │ │ ├── flink_add.htm │ │ ├── flink_list.htm │ │ ├── heightsearch.htm │ │ ├── list_diyform.htm │ │ ├── post_diyform.htm │ │ ├── recommend.htm │ │ ├── showphoto.htm │ │ ├── view_diyform.htm │ │ ├── view_msg.htm │ │ ├── view_msg_catalog.htm │ │ ├── vote.htm │ │ └── win_templet.htm │ ├── dedebiz │ │ ├── article_article.htm │ │ ├── article_default.htm │ │ ├── article_default_sg.htm │ │ ├── article_image.htm │ │ ├── article_infos.htm │ │ ├── article_soft.htm │ │ ├── article_spec.htm │ │ ├── foot.htm │ │ ├── head.htm │ │ ├── index.htm │ │ ├── index_article.htm │ │ ├── index_default.htm │ │ ├── index_default_sg.htm │ │ ├── index_image.htm │ │ ├── index_infos.htm │ │ ├── index_soft.htm │ │ ├── list_article.htm │ │ ├── list_default.htm │ │ ├── list_default_sg.htm │ │ ├── list_free.htm │ │ ├── list_image.htm │ │ ├── list_infos.htm │ │ ├── list_soft.htm │ │ ├── list_spec.htm │ │ ├── search.htm │ │ ├── tag.htm │ │ ├── tag_list.htm │ │ ├── top.htm │ │ ├── widget_article_feedback.htm │ │ ├── widget_article_likes.htm │ │ ├── widget_hot.htm │ │ ├── widget_menu.htm │ │ ├── widget_recommend.htm │ │ ├── widget_search.htm │ │ └── widget_vote.htm │ ├── system │ │ ├── channel_addon.htm │ │ ├── channel_article_image.htm │ │ ├── channel_downlinkpage.htm │ │ ├── channel_downlinks.htm │ │ ├── channel_list.htm │ │ ├── channel_spec_note.htm │ │ ├── colornew.htm │ │ ├── custom_fields_admin.htm │ │ ├── custom_fields_diy.htm │ │ ├── custom_fields_member.htm │ │ ├── info_guide.htm │ │ ├── info_link.htm │ │ ├── list_fulllist.htm │ │ ├── list_sglist.htm │ │ ├── memberlist.htm │ │ ├── part_arclist.htm │ │ ├── part_arclistsg.htm │ │ ├── part_autochannel.htm │ │ ├── part_channelartlist.htm │ │ ├── part_imginfolist.htm │ │ ├── part_imglist.htm │ │ ├── part_type_list.htm │ │ ├── spec_arclist.htm │ │ ├── spec_list.htm │ │ ├── tag_feedback.htm │ │ ├── tag_fieldlist.htm │ │ ├── tag_one.htm │ │ └── userinfo.htm │ ├── templet-appslist.inc │ ├── templet-dirlist.inc │ └── templet-filelist.inc └── user │ ├── album_add.php │ ├── album_edit.php │ ├── api.php │ ├── archives_add.php │ ├── archives_do.php │ ├── archives_edit.php │ ├── archives_sg_add.php │ ├── archives_sg_edit.php │ ├── article_add.php │ ├── article_edit.php │ ├── buy.php │ ├── buy_action.php │ ├── check_card.php │ ├── config.php │ ├── content_list.php │ ├── content_sg_list.php │ ├── edit_baseinfo.php │ ├── inc │ ├── archives_check.php │ ├── archives_check_edit.php │ ├── inc_archives_functions.php │ ├── inc_batchup.php │ ├── inc_catalog_options.php │ ├── inc_list_functions.php │ └── inc_pwd_functions.php │ ├── index.php │ ├── index_do.php │ ├── login.php │ ├── mypay.php │ ├── mystow.php │ ├── operation.php │ ├── pm.php │ ├── reg_new.php │ ├── resetpassword.php │ ├── soft_add.php │ ├── soft_edit.php │ └── templets │ ├── album_add.htm │ ├── album_edit.htm │ ├── archives_add.htm │ ├── archives_edit.htm │ ├── archives_sg_add.htm │ ├── archives_sg_edit.htm │ ├── article_add.htm │ ├── article_edit.htm │ ├── buy.htm │ ├── buy_action_payment.htm │ ├── content_list.htm │ ├── content_sg_list.htm │ ├── edit_baseinfo.htm │ ├── index.htm │ ├── index_notlogin.htm │ ├── login.htm │ ├── menu.htm │ ├── mypay.htm │ ├── mystow.htm │ ├── operation.htm │ ├── pm-main.htm │ ├── reg-new.htm │ ├── resetpassword.htm │ ├── resetpassword2.htm │ ├── resetpassword3.htm │ ├── soft_add.htm │ ├── soft_edit.htm │ ├── space.htm │ ├── widget_litpic.htm │ └── win_templet.htm └── tools └── resetpwd.php /.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 | -------------------------------------------------------------------------------- /docs/dedebiz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/docs/dedebiz.png -------------------------------------------------------------------------------- /docs/dedebiz_cli.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/docs/dedebiz_cli.gif -------------------------------------------------------------------------------- /docs/dedebiz_wechat_qr.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/docs/dedebiz_wechat_qr.jpg -------------------------------------------------------------------------------- /docs/license.md: -------------------------------------------------------------------------------- 1 | 通过访问 https://www.dedebiz.com/license 获取许可协议 -------------------------------------------------------------------------------- /src/a/.dedekeep: -------------------------------------------------------------------------------- 1 | DedeBIZ -------------------------------------------------------------------------------- /src/admin/action_search.php: -------------------------------------------------------------------------------- 1 | Search(); 18 | include DedeInclude('templets/action_search.htm'); 19 | ?> -------------------------------------------------------------------------------- /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/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/admin/catalog_main.php: -------------------------------------------------------------------------------- 1 | getUserChannel(); 14 | include DedeInclude('templets/catalog_main.htm'); 15 | ?> -------------------------------------------------------------------------------- /src/admin/content_att.php: -------------------------------------------------------------------------------- 1 | ExecuteNoneQuery($query); 24 | } 25 | echo ""; 26 | } 27 | include DedeInclude('templets/content_att.htm'); 28 | ?> -------------------------------------------------------------------------------- /src/admin/content_batch_up.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/content_i_list.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/content_s_list.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/content_select_list.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/admin/dialog/select_media_post.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/exit.php: -------------------------------------------------------------------------------- 1 | exitUser(); 15 | if (empty($needclose)) { 16 | header('location:index.php'); 17 | } else { 18 | $msg = ""; 22 | echo $msg; 23 | } 24 | ?> -------------------------------------------------------------------------------- /src/admin/file_manage_main.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/inc/configgroup.txt: -------------------------------------------------------------------------------- 1 | 1,站点设置 2 | 2,核心设置 3 | 3,附件设置 4 | 4,会员设置 5 | 5,互动设置 6 | 6,性能选项 7 | 7,其它选项 -------------------------------------------------------------------------------- /src/admin/inc/fieldtype.txt: -------------------------------------------------------------------------------- 1 | text,单行文本(varchar) 2 | textchar,单行文本(char) 3 | multitext,多行文本 4 | htmltext,网页文本 5 | textdata,网页形式保存数据 6 | int,整数类型 7 | float,小数类型 8 | datetime,时间类型 9 | img,图片类型 10 | media,多媒体文件 11 | addon,附件类型 12 | select,select下拉框 13 | radio,radio选项卡 14 | checkbox,checkbox多选框 15 | stepselect,联动类型 16 | relation,关联文档 -------------------------------------------------------------------------------- /src/admin/index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/admin/makehtml_archives.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/makehtml_freelist.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/makehtml_list.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/makehtml_spec.php: -------------------------------------------------------------------------------- 1 | MakeHtml(0); 18 | ShowMsg("完成所有专题更新,点击浏览", "javascript:;"); 19 | exit(); 20 | } 21 | include DedeInclude('templets/makehtml_spec.htm'); 22 | ?> -------------------------------------------------------------------------------- /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/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/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/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/admin/mytag_tag_guide.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/recycling.php: -------------------------------------------------------------------------------- 1 | SetTemplet(DEDEADMIN."/templets/recycling.htm"); 26 | $dlist->SetSource($query); 27 | $dlist->display(); 28 | ?> -------------------------------------------------------------------------------- /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/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/admin/sys_group.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/admin/sys_login.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/tag_test.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/admin/templets/action_search.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 搜索结果 7 | 8 | 9 | 10 | 11 | 12 |
13 | 17 |
18 |
搜索结果
19 |
20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 |
35 |
36 |
37 |
38 |
39 | 40 | -------------------------------------------------------------------------------- /src/admin/templets/mytag_tag_guide_ok.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 自定义宏标记向导预览 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 |
17 | 18 | -------------------------------------------------------------------------------- /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/admin/templets_tagsource.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/admin/vote_getcode.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/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/apps/freelist.php: -------------------------------------------------------------------------------- 1 | Display(); 18 | ?> -------------------------------------------------------------------------------- /src/apps/heightsearch.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/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/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/apps/tags.php: -------------------------------------------------------------------------------- 1 | Display(); 27 | exit(); 28 | ?> -------------------------------------------------------------------------------- /src/data/admin/allowurl.txt: -------------------------------------------------------------------------------- 1 | www.dedebiz.com 2 | www.zhelixie.com -------------------------------------------------------------------------------- /src/data/admin/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/admin/source.txt: -------------------------------------------------------------------------------- 1 | 微信公众号 2 | 头条号 3 | 百家号 -------------------------------------------------------------------------------- /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/mail/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/mark/inc_photowatermark_config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/mark/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/mark/mark.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/data/mark/mark.gif -------------------------------------------------------------------------------- /src/data/mark/mark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/data/mark/mark.png -------------------------------------------------------------------------------- /src/data/module/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/tag/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/tag/sql.inc.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/data/textdata/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/tplcache/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/uploadtmp/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/vote/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/data/ziptmp/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/favicon.ico -------------------------------------------------------------------------------- /src/install/common.inc.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /data 3 | Disallow: /static/ckeditor 4 | Disallow: /static/enums 5 | Disallow: /system 6 | Disallow: /theme 7 | Disallow: /user -------------------------------------------------------------------------------- /src/static/allimg/index.html: -------------------------------------------------------------------------------- 1 | dir -------------------------------------------------------------------------------- /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/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/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/static/ckeditor/plugins/codesnippet/icons/codesnippet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/codesnippet/icons/codesnippet.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/codesnippet/icons/hidpi/codesnippet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/codesnippet/icons/hidpi/codesnippet.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/codesnippet/lang/zh-cn.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("codesnippet","zh-cn",{button:"插入代码段",codeContents:"代码文档",emptySnippetError:"插入的代码不能为空。",language:"代码语言",title:"代码段",pathName:"代码段"}); -------------------------------------------------------------------------------- /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/static/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/brown_papersq.png -------------------------------------------------------------------------------- /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/codesnippet/lib/highlight/styles/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/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/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/codesnippet/lib/highlight/styles/school_book.png -------------------------------------------------------------------------------- /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/static/ckeditor/plugins/ddfilebrowser/icons/ddfilebrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/ddfilebrowser/icons/ddfilebrowser.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/dedepagebreak/icons/dedepagebreak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/dedepagebreak/icons/dedepagebreak.png -------------------------------------------------------------------------------- /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/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/static/ckeditor/plugins/dialog/styles/dialog.css: -------------------------------------------------------------------------------- 1 | .cke_dialog_open { 2 | overflow: hidden; 3 | } 4 | 5 | .cke_dialog_container { 6 | position: fixed; 7 | overflow-y: auto; 8 | overflow-x: auto; 9 | width: 100%; 10 | height: 100%; 11 | top: 0; 12 | left: 0; 13 | z-index: 10010; 14 | } 15 | 16 | .cke_dialog_body { 17 | position: relative; 18 | } 19 | -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/embed/icons/embed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/embed/icons/embed.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/embed/icons/hidpi/embed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/embed/icons/hidpi/embed.png -------------------------------------------------------------------------------- /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/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/plugins/embedbase/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.plugins.setLang("embedbase","zh-cn",{pathName:"媒体对象",title:"嵌入媒体",button:"插入媒体",unsupportedUrlGiven:"不支持指定的 URL",unsupportedUrl:"嵌入媒体不支持此 URL {url}",fetchingFailedGiven:"无法抓取此 URL 的文档",fetchingFailed:"无法抓取 {url} 的文档",fetchingOne:"正在抓取...",fetchingMany:"正在抓取,{max} 中的 {current} ..."}); -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/embedsemantic/icons/embedsemantic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/embedsemantic/icons/embedsemantic.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/embedsemantic/icons/hidpi/embedsemantic.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/emoji/assets/iconsall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/emoji/assets/iconsall.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/emoji/icons/emojipanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/emoji/icons/emojipanel.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/emoji/icons/hidpi/emojipanel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/emoji/icons/hidpi/emojipanel.png -------------------------------------------------------------------------------- /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/static/ckeditor/plugins/html5audio/icons/hidpi/html5audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/html5audio/icons/hidpi/html5audio.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/html5audio/icons/html5audio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/html5audio/icons/html5audio.png -------------------------------------------------------------------------------- /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/static/ckeditor/plugins/html5video/icons/html5video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/html5video/icons/html5video.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/html5video/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.plugins.setLang('html5video', 'zh-cn', { 2 | button: '发布HTML5视频', 3 | title: 'HTML5视频', 4 | infoLabel: '视频信息', 5 | allowed: '支持格式: MP4, WebM, Ogv', 6 | urlMissing: '视频url', 7 | videoProperties: '视频属性', 8 | upload: '上传视频', 9 | btnUpload: '上传', 10 | advanced: '高级', 11 | autoplay: '自动播放', 12 | allowdownload: '允许下载?', 13 | advisorytitle: '咨询标题', 14 | yes: '是', 15 | no: '否', 16 | responsive: '自动宽度', 17 | loop: '循环?', 18 | controls: '显示控件?' 19 | }); 20 | -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/icons.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/icons_hidpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/icons_hidpi.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/image/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/image/images/noimage.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/image2/icons/hidpi/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/image2/icons/hidpi/image.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/image2/icons/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/image2/icons/image.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/image2/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | CKEDITOR.plugins.setLang("image2","zh-cn",{alt:"替换文本",btnUpload:"上传到服务器",captioned:"带标题图像",captionPlaceholder:"标题",infoTab:"图像信息",lockRatio:"锁定比例",menu:"图像属性",pathName:"图像",pathNameCaption:"标题",resetSize:"原始尺寸",resizer:"点击并拖拽以改变尺寸",title:"图像属性",uploadTab:"上传",urlMissing:"缺少图像源文件地址",altMissing:"缺少替换文本"}); -------------------------------------------------------------------------------- /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/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/link/images/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/link/images/anchor.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/link/images/hidpi/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/link/images/hidpi/anchor.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/magicline/images/hidpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/magicline/images/hidpi/icon.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/magicline/images/icon-rtl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/magicline/images/icon-rtl.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/magicline/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/magicline/images/icon.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/mimage/icons/mimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/mimage/icons/mimage.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/pagebreak/images/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/pagebreak/images/pagebreak.gif -------------------------------------------------------------------------------- /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/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]+$/,b.invalidName),setup:function(a){this.setValue(a.data.name)},commit:function(a){a.setData("name",this.getValue())}}]}]}}); -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/placeholder/icons/hidpi/placeholder.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/placeholder/icons/placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/placeholder/icons/placeholder.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/placeholder/lang/zh-cn.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("placeholder","zh-cn",{title:"占位符属性",toolbar:"占位符",name:"占位符名称",invalidName:"占位符名称不能为空,并且不能包含以下字符:[、]、\x3c、\x3e",pathName:"占位符"}); -------------------------------------------------------------------------------- /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/static/ckeditor/plugins/textindent/icons/hidpi/textindent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/textindent/icons/hidpi/textindent.png -------------------------------------------------------------------------------- /src/static/ckeditor/plugins/textindent/icons/textindent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/textindent/icons/textindent.png -------------------------------------------------------------------------------- /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/static/ckeditor/plugins/widget/images/handle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/plugins/widget/images/handle.png -------------------------------------------------------------------------------- /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/static/ckeditor/skins/moono-lisa/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/icons.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/icons_hidpi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/icons_hidpi.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/arrow.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/close.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/hidpi/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/hidpi/close.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/hidpi/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/hidpi/lock.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/hidpi/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/hidpi/refresh.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/lock-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/lock-open.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/lock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/lock.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/refresh.png -------------------------------------------------------------------------------- /src/static/ckeditor/skins/moono-lisa/images/spinner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/ckeditor/skins/moono-lisa/images/spinner.gif -------------------------------------------------------------------------------- /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/static/web/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/static/web/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /src/static/web/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /src/static/web/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /src/static/web/fonts/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/fonts/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /src/static/web/img/admin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/admin.png -------------------------------------------------------------------------------- /src/static/web/img/alb1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/alb1.jpg -------------------------------------------------------------------------------- /src/static/web/img/alb2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/alb2.jpg -------------------------------------------------------------------------------- /src/static/web/img/alb3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/alb3.jpg -------------------------------------------------------------------------------- /src/static/web/img/g_t1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/g_t1.jpg -------------------------------------------------------------------------------- /src/static/web/img/g_t2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/g_t2.jpg -------------------------------------------------------------------------------- /src/static/web/img/g_t3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/g_t3.jpg -------------------------------------------------------------------------------- /src/static/web/img/g_t4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/g_t4.jpg -------------------------------------------------------------------------------- /src/static/web/img/icon_addon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_addon.png -------------------------------------------------------------------------------- /src/static/web/img/icon_css.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_css.png -------------------------------------------------------------------------------- /src/static/web/img/icon_dir.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_dir.png -------------------------------------------------------------------------------- /src/static/web/img/icon_dir2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_dir2.png -------------------------------------------------------------------------------- /src/static/web/img/icon_exe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_exe.png -------------------------------------------------------------------------------- /src/static/web/img/icon_flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_flash.png -------------------------------------------------------------------------------- /src/static/web/img/icon_htm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_htm.png -------------------------------------------------------------------------------- /src/static/web/img/icon_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_img.png -------------------------------------------------------------------------------- /src/static/web/img/icon_js.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_js.png -------------------------------------------------------------------------------- /src/static/web/img/icon_music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_music.png -------------------------------------------------------------------------------- /src/static/web/img/icon_php.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_php.png -------------------------------------------------------------------------------- /src/static/web/img/icon_rm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_rm.png -------------------------------------------------------------------------------- /src/static/web/img/icon_text.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_text.png -------------------------------------------------------------------------------- /src/static/web/img/icon_video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_video.png -------------------------------------------------------------------------------- /src/static/web/img/icon_zip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/icon_zip.png -------------------------------------------------------------------------------- /src/static/web/img/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/login_bg.jpg -------------------------------------------------------------------------------- /src/static/web/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/logo.png -------------------------------------------------------------------------------- /src/static/web/img/thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/static/web/img/thumbnail.jpg -------------------------------------------------------------------------------- /src/static/web/js/admin.blank.js: -------------------------------------------------------------------------------- 1 | function CheckSubmit() { 2 | return true; 3 | } -------------------------------------------------------------------------------- /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/static/web/js/login.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function() { 2 | $("#iptUserid").focusout(function() { 3 | let userid = $(this).val(); 4 | if (userid !== '') { 5 | $.get("api.php?action=is_need_check_code&userid=" + userid, function(rs) { 6 | if (rs.code === 0) { 7 | if (rs.data.isNeed) { 8 | $("#vdimgck").show(); 9 | } else { 10 | $("#vdimgck").hide(); 11 | } 12 | } 13 | }); 14 | } 15 | }); 16 | }); -------------------------------------------------------------------------------- /src/static/web/js/mode/css/gss_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: https://codemirror.net/5/LICENSE 3 | 4 | (function() { 5 | "use strict"; 6 | 7 | var mode = CodeMirror.getMode({indentUnit: 2}, "text/x-gss"); 8 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1), "gss"); } 9 | 10 | MT("atComponent", 11 | "[def @component] {", 12 | "[tag foo] {", 13 | " [property color]: [keyword black];", 14 | "}", 15 | "}"); 16 | 17 | })(); 18 | -------------------------------------------------------------------------------- /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/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/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/system/channelunit.func.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/charset.func.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/data/big5-gb.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/big5-gb.dat -------------------------------------------------------------------------------- /src/system/data/fonts/1.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/fonts/1.ttf -------------------------------------------------------------------------------- /src/system/data/fonts/2.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/fonts/2.ttf -------------------------------------------------------------------------------- /src/system/data/fonts/3.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/fonts/3.ttf -------------------------------------------------------------------------------- /src/system/data/fonts/4.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/fonts/4.ttf -------------------------------------------------------------------------------- /src/system/data/fonts/5.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/fonts/5.ttf -------------------------------------------------------------------------------- /src/system/data/fonts/6.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/fonts/6.ttf -------------------------------------------------------------------------------- /src/system/data/gb-big5.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/gb-big5.dat -------------------------------------------------------------------------------- /src/system/data/gbk-unicode.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/gbk-unicode.dat -------------------------------------------------------------------------------- /src/system/data/pinyin.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/pinyin.dat -------------------------------------------------------------------------------- /src/system/data/vdcode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/data/vdcode.jpg -------------------------------------------------------------------------------- /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/helpers/test.helper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/helpers/validate.helper.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/libraries/data/base_dic_full.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/libraries/data/base_dic_full.dic -------------------------------------------------------------------------------- /src/system/libraries/data/base_dic_full.dic.h.dic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DedeBIZ/DedeV6/b280164685af59f0a579ab5a94337822be739b5e/src/system/libraries/data/base_dic_full.dic.h.dic -------------------------------------------------------------------------------- /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/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 | ?> -------------------------------------------------------------------------------- /src/system/libraries/jsonq/Exceptions/ConditionNotAllowedException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/libraries/jsonq/Exceptions/FileNotFoundException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/libraries/jsonq/Exceptions/InvalidJsonException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/libraries/jsonq/Exceptions/InvalidNodeException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/libraries/jsonq/Exceptions/NullValueException.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/libraries/jsonq/Results/ValueNotFound.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/system/sdks/.gitignore: -------------------------------------------------------------------------------- 1 | /.git 2 | /.idea 3 | /.DS_Store 4 | /vendor 5 | /Cache 6 | /Test/cert 7 | /nbproject 8 | /composer.lock 9 | /_test/cert -------------------------------------------------------------------------------- /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/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/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/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/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/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/WeChat/Exceptions/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | raw = $raw; 25 | } 26 | } 27 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeChat/Exceptions/InvalidDecryptException.php: -------------------------------------------------------------------------------- 1 | raw = $raw; 25 | } 26 | } 27 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeChat/Exceptions/InvalidInstanceException.php: -------------------------------------------------------------------------------- 1 | raw = $raw; 25 | } 26 | } 27 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeChat/Exceptions/InvalidResponseException.php: -------------------------------------------------------------------------------- 1 | raw = $raw; 25 | } 26 | } 27 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeChat/Exceptions/LocalCacheException.php: -------------------------------------------------------------------------------- 1 | raw = $raw; 25 | } 26 | } 27 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeMini/Operation.php: -------------------------------------------------------------------------------- 1 | callPostApi($url, $data, true); 23 | } 24 | } 25 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeMini/Search.php: -------------------------------------------------------------------------------- 1 | callPostApi($url, ['pages' => $pages], true); 23 | } 24 | } 25 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeMini/Soter.php: -------------------------------------------------------------------------------- 1 | callPostApi($url, $data, true); 23 | } 24 | } 25 | ?> -------------------------------------------------------------------------------- /src/system/sdks/WeMini/crypt/errorCode.php: -------------------------------------------------------------------------------- 1 | 6 | *
  • -41001: encodingAesKey 非法
  • 7 | *
  • -41003: aes 解密失败
  • 8 | *
  • -41004: 解密后得到的buffer非法
  • 9 | *
  • -41005: base64加密失败
  • 10 | *
  • -41016: base64解密失败
  • 11 | * 12 | */ 13 | class ErrorCode 14 | { 15 | public static $OK = 0; 16 | public static $IllegalAesKey = -41001; 17 | public static $IllegalIv = -41002; 18 | public static $IllegalBuffer = -41003; 19 | public static $DecodeBase64Error = -41004; 20 | } 21 | ?> -------------------------------------------------------------------------------- /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/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/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/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/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/system/sdks/_test/alipay-refund.php:
    --------------------------------------------------------------------------------
     1 | refund($out_trade_no, $refund_fee);
    18 |     echo '
    ';
    19 |     var_export($result);
    20 | } catch (Exception $e) {
    21 |     echo $e->getMessage();
    22 | }
    23 | ?>
    
    
    --------------------------------------------------------------------------------
    /src/system/sdks/_test/alipay-scan.php:
    --------------------------------------------------------------------------------
     1 | apply([
    14 |         'out_trade_no' => '14321412',//订单号
    15 |         'total_amount' => '13',//订单金额,单位:元
    16 |         'subject'      => '订单商品标题',//订单商品标题
    17 |     ]);
    18 |     echo '
    ';
    19 |     var_export($result);
    20 | } catch (Exception $e) {
    21 |     echo $e->getMessage();
    22 | }
    23 | ?>
    
    
    --------------------------------------------------------------------------------
    /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/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/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/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/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/_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/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/_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/sdks/_test/pay-download-bill.php:
    --------------------------------------------------------------------------------
     1 |  '20171001',
    15 |         'bill_type' => 'ALL',
    16 |     ];
    17 |     $result = $wechat->billDownload($options);
    18 |     var_export($result);
    19 | } catch (Exception $e) {
    20 |     //出错啦,处理下吧
    21 |     echo $e->getMessage().PHP_EOL;
    22 | }
    23 | ?>
    
    
    --------------------------------------------------------------------------------
    /src/system/sdks/_test/pay-order-close.php:
    --------------------------------------------------------------------------------
     1 | closeOrder($options);
    15 |     var_export($result);
    16 | } catch (Exception $e) {
    17 |     //出错啦,处理下吧
    18 |     echo $e->getMessage().PHP_EOL;
    19 | }
    20 | ?>
    
    
    --------------------------------------------------------------------------------
    /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/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/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/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/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/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/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/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/system/sdks/_test/pay-v3-config-cert.php:
    --------------------------------------------------------------------------------
     1 | download();
    10 | } catch (\Exception $exception) {
    11 |     //出错啦,处理下吧
    12 |     echo $exception->getMessage().PHP_EOL;
    13 | }
    14 | ?>
    
    
    --------------------------------------------------------------------------------
    /src/system/sdks/_test/pay-v3-config.php:
    --------------------------------------------------------------------------------
     1 |  '',
    16 |     //微信商户编号ID
    17 |     'mch_id'       => '',
    18 |     //微信商户V3接口密钥
    19 |     'mch_v3_key'   => '',
    20 |     //微信商户证书公钥,支持证书内容或文件路径
    21 |     'cert_public'  => $certPublic,
    22 |     //微信商户证书私钥,支持证书内容或文件路径
    23 |     'cert_private' => $certPrivate,
    24 | ];
    25 | ?>
    
    
    --------------------------------------------------------------------------------
    /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/system/sdks/_test/wechat-jssdk-sign.php:
    --------------------------------------------------------------------------------
     1 | getJsSign('http://a.com/test.php');
    14 |     var_export($result);
    15 | } catch (Exception $e) {
    16 |     //出错啦,处理下吧
    17 |     echo $e->getMessage().PHP_EOL;
    18 | }
    19 | ?>
    
    
    --------------------------------------------------------------------------------
    /src/system/sdks/_test/wechat-menu-get.php:
    --------------------------------------------------------------------------------
     1 | get();
    14 |     var_export($result);
    15 | } catch (Exception $e) {
    16 |     //出错啦,处理下吧
    17 |     echo $e->getMessage().PHP_EOL;
    18 | }
    19 | ?>
    
    
    --------------------------------------------------------------------------------
    /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/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/sdks/_test/work-config.php:
    --------------------------------------------------------------------------------
    1 |  '',//企业id
    5 |     'appsecret' => '',//应用的凭证密钥
    6 | ];
    7 | ?>
    
    
    --------------------------------------------------------------------------------
    /src/system/sdks/_test/work-department.php:
    --------------------------------------------------------------------------------
     1 | callGetApi($url);
     9 |     echo '
    ';
    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/include.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/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/system/taglib/comment.lib.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/system/taglib/help/adminname.txt: -------------------------------------------------------------------------------- 1 | 编辑标签 2 | >>dede>> 3 | {dede:adminname/} 4 | >>dede>> -------------------------------------------------------------------------------- /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/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/taglib/help/autochannel.txt: -------------------------------------------------------------------------------- 1 | 指定排序栏目信息标签 2 | >>dede>> 3 | {dede:autochannel partsort='' typeid=''}{/dede:autochannel} 4 | >>dede>> 5 | partsort='' 栏目所在的排序位置 6 | typeid='' 指定的父栏目 -------------------------------------------------------------------------------- /src/system/taglib/help/channel.txt: -------------------------------------------------------------------------------- 1 | 栏目列表标签 2 | >>dede>> 3 | {dede:channel type='top' typeid='' row='8' currentstyle="
  • ~typename~
  • "} 4 |
  • [field:typename/]
  • 5 | {/dede:channel} 6 | >>dede>> 7 | typeid='' 调用栏目id,用英文逗号隔开表示多个栏目 8 | reid='0' 调用上级栏目id 9 | row='100' 调用栏目数 10 | col='1' 分多少列显示(默认为单列) 11 | type='son' son表示下级栏目,self表示同级栏目,top顶级栏目 12 | currentstyle='' 应用样式 -------------------------------------------------------------------------------- /src/system/taglib/help/channelartlist.txt: -------------------------------------------------------------------------------- 1 | 当前栏目列表标签 2 | >>dede>> 3 | {dede:channelartlist typeid='' notypeid='' row='6'} 4 |
      5 |
    • {dede:field name='typename'/} 6 | {dede:arclist titlelen='42' row='10'} 7 |
        8 |
      • [field:title/]
      • 9 |
      • ([field:pubdate function="MyDate('m-d',@me)"/])
      • 10 |
      11 | {/dede:arclist} 12 |
    • 13 | {/dede:channelartlist} 14 | >>dede>> 15 | typeid='' 调用栏目id,用英文逗号隔开表示多个栏目 16 | notypeid='' 不调用栏目id,用英文逗号隔开表示多个栏目 17 | row='20' 获取的栏目返回值 18 | 除了宏标签外,{dede:channelartlist}标签是唯一一个可以直接嵌套其它标签的标签,仅限于嵌套{dede:type}和{dede:arclist} -------------------------------------------------------------------------------- /src/system/taglib/help/demotag.txt: -------------------------------------------------------------------------------- 1 | 演示标签 2 | >>dede>> 3 | {dede:demotag/} 4 | >>dede>> -------------------------------------------------------------------------------- /src/system/taglib/help/feedback.txt: -------------------------------------------------------------------------------- 1 | 评论标签 2 | >>dede>> 3 | {dede:feedback} 4 | [field:username function="(@me=='guest' ? '游客' : @me)"/]对[field:title/]的评论 5 | [field:msg/] 6 | {/dede:feedback} 7 | >>dede>> 8 | row='12' 调用评论条数 9 | titlelen='160' 标题长度 10 | infolen='260' 评论长度 -------------------------------------------------------------------------------- /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/system/taglib/help/hotwords.txt: -------------------------------------------------------------------------------- 1 | 热搜标签 2 | >>dede>> 3 | {dede:hotwords/} 4 | >>dede>> 5 | num='6' 关键词数目 6 | subday='365' 天数 7 | maxlength='16' 关键词长度 -------------------------------------------------------------------------------- /src/system/taglib/help/infoguide.txt: -------------------------------------------------------------------------------- 1 | 分类信息地区搜索标签 2 | >>dede>> 3 | {dede:infoguide/} 4 | >>dede>> -------------------------------------------------------------------------------- /src/system/taglib/help/infolink.txt: -------------------------------------------------------------------------------- 1 | 分类信息地区链接标签 2 | >>dede>> 3 | {dede:infolink/} 4 | >>dede>> -------------------------------------------------------------------------------- /src/system/taglib/help/likearticle.txt: -------------------------------------------------------------------------------- 1 | 自动关连文档标签 2 | >>dede>> 3 | {dede:likearticle row='' col='' titlelen='' infolen=''} 4 | [field:title/] 5 | {/dede:likearticle} 6 | >>dede>> 7 | col='' 分多少列显示(默认为单列) 8 | row='10' 返回文档列表总数 9 | titlelen='160' 标题长度等同于titlelength 10 | infolen='260' 表示文档简介长度 等同于infolength 11 | mytypeid='0' 手工指定要限定的栏目id,用英文逗号表示多个 12 | innertext='' 单行记录样式(指标签中间的文档) -------------------------------------------------------------------------------- /src/system/taglib/help/likepage.txt: -------------------------------------------------------------------------------- 1 | 单页文档相同标识标签 2 | >>dede>> 3 | {dede:likepage likeid='' row=''/} 4 | >>dede>> 5 | row='' 调用条数 6 | likeid='' 标识名 -------------------------------------------------------------------------------- /src/system/taglib/help/likesgpage.txt: -------------------------------------------------------------------------------- 1 | 单页文档标签 2 | >>dede>> 3 | {dede:likespage row=''/} 4 | >>dede>> 5 | row='' 调用条数 -------------------------------------------------------------------------------- /src/system/taglib/help/loop.txt: -------------------------------------------------------------------------------- 1 | 任意表数据标签 2 | >>dede>> 3 | {dede:loop table='dede_archives' sort='' row='4' if=''} 4 | [field:title/] 5 | {/dede:loop} 6 | >>dede>> 7 | table='' 查询表名 8 | sort='' 用于排序的字段 9 | row='' 返回结果的条数 10 | if='' 查询的条件 -------------------------------------------------------------------------------- /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/system/taglib/help/myad.txt: -------------------------------------------------------------------------------- 1 | 广告标签 2 | >>dede>> 3 | {dede:myad name=''/} 4 | >>dede>> 5 | typeid='0' 投放范围,0为全站 6 | name='' 广告标识 7 | -------------------------------------------------------------------------------- /src/system/taglib/help/mytag.txt: -------------------------------------------------------------------------------- 1 | 自定义宏标记标签 2 | >>dede>> 3 | {dede:mytag typeid='0' name=''/} 4 | >>dede>> 5 | typeid='0' 栏目id,0为全站栏目 6 | name='' 标签名 -------------------------------------------------------------------------------- /src/system/taglib/help/softmsg.txt: -------------------------------------------------------------------------------- 1 | 下载说明标签 2 | >>dede>> 3 | {dede:softmsg/} 4 | >>dede>> -------------------------------------------------------------------------------- /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/system/taglib/help/sql.txt: -------------------------------------------------------------------------------- 1 | SQL标签 2 | >>dede>> 3 | {dede:sql sql=''}[field:title/]{/dede:sql} 4 | >>dede>> 5 | sql='' 完整的SQL语句 -------------------------------------------------------------------------------- /src/system/taglib/help/tag.txt: -------------------------------------------------------------------------------- 1 | TAG标签 2 | >>dede>> 3 | {dede:tag row='30' sort='new'/} 4 | >>dede>> 5 | row='30' 调用条数 6 | sort='new' 排序方式 month,rand,week -------------------------------------------------------------------------------- /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/system/taglib/help/userinfo.txt: -------------------------------------------------------------------------------- 1 | 用户信息标签 2 | >>dede>> 3 | {dede:userinfo mid=''} 4 |

      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/system/taglib/help/vote.txt: -------------------------------------------------------------------------------- 1 | 投票标签 2 | >>dede>> 3 | {dede:vote id='' lineheight='26' tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'/} 4 | >>dede>> 5 | id='' 数字,当前投票id 6 | lineheight='26' 表格高度 7 | tablewidth='100%' 表格宽度 8 | titlebgcolor='#EDEDE2' 投票标题背景色 9 | tablebg='' 投票表格背景色 10 | 在后台->插件列表->投票管理,直接复制生成的网页代码来使用 -------------------------------------------------------------------------------- /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/system/taglib/likepage.lib.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/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/taglib/softmsg.lib.php: -------------------------------------------------------------------------------- 1 | GetOne(" SELECT * FROM `#@__softconfig`"); 17 | if (is_array($row)) $revalue = $row['downmsg']; 18 | return $revalue; 19 | } 20 | ?> -------------------------------------------------------------------------------- /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/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/theme/apps/download_links.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <?php echo $title;?>-下载地址列表-<?php echo $cfg_webname;?> 7 | 8 | 9 | 10 | 11 | 12 | 13 |
      14 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
      下载地址列表
      26 |
      27 | 28 | 29 | -------------------------------------------------------------------------------- /src/theme/apps/showphoto.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <?php echo $arctitle;?>-<?php echo $cfg_webname;?> 7 | 8 | 9 | 10 | 11 | 12 | 13 |
      14 | 18 | 19 | 20 | 25 | 26 |
      21 | 22 | [查看原图] 23 |
      24 |
      27 |
      28 | 29 | 30 | -------------------------------------------------------------------------------- /src/theme/apps/view_msg.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <?php echo $msgtitle;?>-<?php echo $cfg_webname;?> 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/theme/apps/view_msg_catalog.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <?php echo $msgtitle;?>-<?php echo $cfg_webname;?> 7 | 8 | 9 | 10 | 11 | 12 | 13 |
      14 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 |
      栏目名称Fields['typename'];?>
      栏目简介Fields['description'];?>
      31 |
      32 | 33 | 34 | -------------------------------------------------------------------------------- /src/theme/apps/vote.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 投票结果-<?php echo $cfg_webname;?> 7 | 8 | 9 | 10 | 11 | 12 | 13 |
      14 | 18 |

      投票开始时间:

      19 |

      投票结束时间:

      20 |

      投票人数:

      21 |

      22 |

      23 |
      24 | 25 | 26 | -------------------------------------------------------------------------------- /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/theme/dedebiz/top.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_article_likes.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_hot.htm: -------------------------------------------------------------------------------- 1 |
      2 |

      热门头条

      3 | 6 |
      -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_menu.htm: -------------------------------------------------------------------------------- 1 |
      2 |

      推荐栏目

      3 | 6 |
      -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_recommend.htm: -------------------------------------------------------------------------------- 1 |
      2 |

      推荐文档

      3 |
        {dede:arclist row='10' titlelen='110' orderby='id'} 4 |
      • [field:global.autoindex/].[field:title/]
      • {/dede:arclist} 5 |
      6 |
      -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_search.htm: -------------------------------------------------------------------------------- 1 |
      2 | 9 |
      -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_vote.htm: -------------------------------------------------------------------------------- 1 |
      2 |

      投票

      3 | {dede:vote id='1' line tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'}{/dede:vote} 4 |
      -------------------------------------------------------------------------------- /src/theme/system/channel_addon.htm: -------------------------------------------------------------------------------- 1 | ~link~ -------------------------------------------------------------------------------- /src/theme/system/channel_article_image.htm: -------------------------------------------------------------------------------- 1 |
    • [field:text/]
    • -------------------------------------------------------------------------------- /src/theme/system/channel_downlinkpage.htm: -------------------------------------------------------------------------------- 1 | 进入下载地址列表 -------------------------------------------------------------------------------- /src/theme/system/channel_downlinks.htm: -------------------------------------------------------------------------------- 1 | ~server~ -------------------------------------------------------------------------------- /src/theme/system/channel_list.htm: -------------------------------------------------------------------------------- 1 | ·[field:typename/] -------------------------------------------------------------------------------- /src/theme/system/channel_spec_note.htm: -------------------------------------------------------------------------------- 1 |
      2 |
      ~notename~
      3 |
        ~spec_arclist~
      4 |
      -------------------------------------------------------------------------------- /src/theme/system/custom_fields_admin.htm: -------------------------------------------------------------------------------- 1 | 2 | ~name~ 3 | ~form~ 4 | -------------------------------------------------------------------------------- /src/theme/system/custom_fields_diy.htm: -------------------------------------------------------------------------------- 1 | 2 | ~name~ 3 | ~form~ 4 | -------------------------------------------------------------------------------- /src/theme/system/custom_fields_member.htm: -------------------------------------------------------------------------------- 1 |
      2 | ~name~ 3 |
      ~form~
      4 |
      -------------------------------------------------------------------------------- /src/theme/system/info_guide.htm: -------------------------------------------------------------------------------- 1 |
      2 | [field:nativeplace/] 3 | [field:infotype/] 4 | 5 | 6 | 7 | 8 |
      -------------------------------------------------------------------------------- /src/theme/system/info_link.htm: -------------------------------------------------------------------------------- 1 |

      [field:linkallplace/]-[field:nativeplace/]

      2 |

      [field:linkalltype/]-[field:infotype/]

      -------------------------------------------------------------------------------- /src/theme/system/list_fulllist.htm: -------------------------------------------------------------------------------- 1 |
      [field:title/]
      2 |

      日期:[field:pubdate function="GetDateTimeMK(@me)"/]

      3 |

      浏览:[field:click/]

      4 |

      前往踩踩

      5 |

      [field:description/]

      -------------------------------------------------------------------------------- /src/theme/system/list_sglist.htm: -------------------------------------------------------------------------------- 1 |
      [field:title/]
      2 |

      日期:[field:pubdate function="GetDateTimeMK(@me)"/]

      3 |

      浏览:[field:click/]

      -------------------------------------------------------------------------------- /src/theme/system/memberlist.htm: -------------------------------------------------------------------------------- 1 |
    • [field:spacename/][field:uname/]
    • -------------------------------------------------------------------------------- /src/theme/system/part_arclist.htm: -------------------------------------------------------------------------------- 1 | [field:title/]
      -------------------------------------------------------------------------------- /src/theme/system/part_arclistsg.htm: -------------------------------------------------------------------------------- 1 | [field:title/]
      -------------------------------------------------------------------------------- /src/theme/system/part_autochannel.htm: -------------------------------------------------------------------------------- 1 | [field:typename/]
      -------------------------------------------------------------------------------- /src/theme/system/part_channelartlist.htm: -------------------------------------------------------------------------------- 1 | {dede:type}

      [field:typename/] - 更多

      {/dede:type} 2 | {dede:arclist}

      [field:title/]

      {/dede:arclist} -------------------------------------------------------------------------------- /src/theme/system/part_imginfolist.htm: -------------------------------------------------------------------------------- 1 |

      [field:imglink/] - [field:title/]

      2 |

      [field:info/]

      -------------------------------------------------------------------------------- /src/theme/system/part_imglist.htm: -------------------------------------------------------------------------------- 1 |

      [field:imglink/]

      2 |

      [field:textlink/]

      -------------------------------------------------------------------------------- /src/theme/system/part_type_list.htm: -------------------------------------------------------------------------------- 1 | [field:typename/] -------------------------------------------------------------------------------- /src/theme/system/spec_arclist.htm: -------------------------------------------------------------------------------- 1 |
    • [field:typename/] - [field:title/]
    • -------------------------------------------------------------------------------- /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 |

      [field:msg/]

      -------------------------------------------------------------------------------- /src/theme/system/tag_fieldlist.htm: -------------------------------------------------------------------------------- 1 |

      [field:name/]

      2 |

      [field:value/]

      -------------------------------------------------------------------------------- /src/theme/system/tag_one.htm: -------------------------------------------------------------------------------- 1 | [field:tag/]([field:total/]) -------------------------------------------------------------------------------- /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/theme/templet-appslist.inc: -------------------------------------------------------------------------------- 1 | advancedsearch.htm,高级搜索模板 2 | download_links,下载地址列表模板 3 | flink_add.htm,添加友情链接模板 4 | flink_list.htm,友情链接列表模板 5 | heightsearch.htm,高级搜索模板 6 | list_diyform.htm,自定义表单列表模板 7 | post_diyform.htm,自定义表单发布模板 8 | recommend.htm,文档推荐模板 9 | showphoto.htm,图片展示模板 10 | view_diyform.htm,自定义表单查看数据 11 | view_msg.htm,文档权限模板 12 | view_msg_catalog.htm,栏目权限模板 13 | vote.htm,投票模板 14 | win_templet.htm,窗口模板 -------------------------------------------------------------------------------- /src/theme/templet-dirlist.inc: -------------------------------------------------------------------------------- 1 | templets,模板目录 2 | apps,插件目录 3 | system,系统目录 -------------------------------------------------------------------------------- /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/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/user/login.php: -------------------------------------------------------------------------------- 1 | IsLogin()) { 14 | ShowMsg('正在登录会员中心,请稍等', 'index.php'); 15 | exit(); 16 | } 17 | require_once(dirname(__FILE__)."/templets/login.htm"); 18 | ?> -------------------------------------------------------------------------------- /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/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/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/user/templets/index_notlogin.htm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/user/templets/widget_litpic.htm: -------------------------------------------------------------------------------- 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 | --------------------------------------------------------------------------------