下载地址列表 | 21 |
24 | |
├── .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 "
'; 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 Anyon4 | 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 |
-------------------------------------------------------------------------------- /src/theme/system/info_link.htm: -------------------------------------------------------------------------------- 1 |- {dede:field name='typename'/} 6 | {dede:arclist titlelen='42' row='10'} 7 |
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 |8 |
11 | {/dede:arclist} 12 |- [field:title/]
9 |- ([field:pubdate function="MyDate('m-d',@me)"/])
10 |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 |-下载地址列表- 7 | 8 | 9 | 10 | 11 | 12 | 13 |14 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/theme/apps/showphoto.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 18 |19 |
26 |20 | 22 |下载地址列表 21 |23 | 25 |24 | - 7 | 8 | 9 | 10 | 11 | 12 | 13 |14 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/theme/apps/view_msg.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 18 |19 |
27 |20 | 26 |21 | 25 |22 | [查看原图] 23 | 24 |
- 7 | 8 | 9 | 10 | 11 | 12 | 13 |14 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /src/theme/apps/view_msg_catalog.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 18 |19 |
35 |20 | 22 |21 | 23 | 26 |文档标题 24 |25 | 27 | 30 |文档简介 28 |29 | 31 | 34 |发布时间 32 |33 | - 7 | 8 | 9 | 10 | 11 | 12 | 13 |14 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/theme/apps/vote.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 18 |19 |
31 |20 | 22 |21 | 23 | 26 |栏目名称 24 |Fields['typename'];?> 25 |27 | 30 |栏目简介 28 |Fields['description'];?> 29 |投票结果- 7 | 8 | 9 | 10 | 11 | 12 | 13 |14 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/theme/apps/win_templet.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 18 |投票开始时间:
19 |投票结束时间:
20 |投票人数:
21 | 22 | 23 |{dede:wintitle/} 7 | 8 | 9 | 10 | 11 | 12 |13 |20 | 21 | -------------------------------------------------------------------------------- /src/theme/dedebiz/top.htm: -------------------------------------------------------------------------------- 1 |14 |19 |{dede:wintitle/}15 |16 | {dede:winform/} 17 |18 |2 | 14 | -------------------------------------------------------------------------------- /src/theme/dedebiz/widget_article_likes.htm: -------------------------------------------------------------------------------- 1 |2 |-------------------------------------------------------------------------------- /src/theme/dedebiz/widget_hot.htm: -------------------------------------------------------------------------------- 1 |12 |20 |13 | 14 |16 |踩一下[{dede:field.badpost/}]
15 |17 | 18 |19 |2 |-------------------------------------------------------------------------------- /src/theme/dedebiz/widget_menu.htm: -------------------------------------------------------------------------------- 1 |热门头条
3 |{dede:arclist row='10' titlelen='110' orderby='id'} 4 |
6 |- [field:global.autoindex/].[field:title/]
{/dede:arclist} 5 |2 |-------------------------------------------------------------------------------- /src/theme/dedebiz/widget_recommend.htm: -------------------------------------------------------------------------------- 1 |推荐栏目
3 |{dede:channelartlist row='10' typeid='top'} 4 |
6 |- {dede:field.typename/}
{/dede:channelartlist} 5 |2 |-------------------------------------------------------------------------------- /src/theme/dedebiz/widget_search.htm: -------------------------------------------------------------------------------- 1 |推荐文档
3 |{dede:arclist row='10' titlelen='110' orderby='id'} 4 |
6 |- [field:global.autoindex/].[field:title/]
{/dede:arclist} 5 |2 | 9 |-------------------------------------------------------------------------------- /src/theme/dedebiz/widget_vote.htm: -------------------------------------------------------------------------------- 1 |2 |-------------------------------------------------------------------------------- /src/theme/system/channel_addon.htm: -------------------------------------------------------------------------------- 1 | ~link~ -------------------------------------------------------------------------------- /src/theme/system/channel_article_image.htm: -------------------------------------------------------------------------------- 1 |投票
3 | {dede:vote id='1' line tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#ffffff'}{/dede:vote} 4 |- -------------------------------------------------------------------------------- /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 |
[field:text/]
2 |-------------------------------------------------------------------------------- /src/theme/system/custom_fields_admin.htm: -------------------------------------------------------------------------------- 1 |~notename~
3 |~spec_arclist~
4 |2 | -------------------------------------------------------------------------------- /src/theme/system/custom_fields_diy.htm: -------------------------------------------------------------------------------- 1 |~name~ 3 |~form~ 4 |2 | -------------------------------------------------------------------------------- /src/theme/system/custom_fields_member.htm: -------------------------------------------------------------------------------- 1 |~name~ 3 |~form~ 4 |2 | ~name~ 3 |-------------------------------------------------------------------------------- /src/theme/system/info_guide.htm: -------------------------------------------------------------------------------- 1 |~form~4 |[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 |-------------------------------------------------------------------------------- /src/theme/system/part_arclist.htm: -------------------------------------------------------------------------------- 1 | [field:title/] [field:uname/]
-------------------------------------------------------------------------------- /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}{/dede:type} 2 | {dede:arclist}{/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 | -------------------------------------------------------------------------------- /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 | 23 | {dede:include filename='foot.htm'/} 24 | {dede:script/} 25 | 26 | --------------------------------------------------------------------------------17 |22 |{dede:wintitle/}18 |19 | {dede:winform/} 20 |21 |
顶一下[{dede:field.goodpost/}]
6 |