├── .htaccess ├── README.md ├── config.php ├── data └── sql │ └── db.sql ├── index.php ├── install ├── agreement.php ├── database.php ├── footer.php ├── function.php ├── header.php ├── images │ ├── bg.gif │ ├── button.gif │ ├── logo.gif │ └── skin.css ├── index.php └── install.php ├── member ├── index.php └── module │ ├── activate.php │ ├── article.php │ ├── claim.php │ ├── common.php │ ├── connect.php │ ├── editpwd.php │ ├── favorite.php │ ├── getpwd.php │ ├── home.php │ ├── login.php │ ├── logout.php │ ├── profile.php │ ├── register.php │ ├── reset.php │ ├── upload.php │ ├── verify.php │ ├── weblink.php │ └── website.php ├── module ├── ajaxget.php ├── ajaxpost.php ├── api.php ├── archives.php ├── article.php ├── artinfo.php ├── category.php ├── common.php ├── diypage.php ├── feedback.php ├── getdata.php ├── index.php ├── linkinfo.php ├── rssfeed.php ├── search.php ├── siteinfo.php ├── sitemap.php ├── top.php ├── update.php ├── webdir.php └── weblink.php ├── public ├── editor │ ├── examples │ │ ├── colorpicker.html │ │ ├── custom-plugin.html │ │ ├── custom-theme.html │ │ ├── default.html │ │ ├── dialog.html │ │ ├── dynamic-load.html │ │ ├── file-dialog.html │ │ ├── file-manager.html │ │ ├── filter-mode.html │ │ ├── image-dialog.html │ │ ├── index.css │ │ ├── index.html │ │ ├── jquery-ui.html │ │ ├── jquery.html │ │ ├── mootools.html │ │ ├── multi-image-dialog.html │ │ ├── multi-language.html │ │ ├── newline.html │ │ ├── node.html │ │ ├── paste-type.html │ │ ├── qqstyle.html │ │ ├── readonly.html │ │ ├── simple.html │ │ ├── total.html │ │ ├── uploadbutton.html │ │ ├── url-type.html │ │ └── word-count.html │ ├── kindeditor-min.js │ ├── kindeditor.js │ ├── lang │ │ ├── ar.js │ │ ├── en.js │ │ ├── zh_CN.js │ │ └── zh_TW.js │ ├── license.txt │ ├── php │ │ ├── demo.php │ │ ├── file_manager_json.php │ │ └── upload_json.php │ ├── plugins │ │ ├── anchor │ │ │ └── anchor.js │ │ ├── baidumap │ │ │ ├── baidumap.js │ │ │ └── map.html │ │ ├── clearhtml │ │ │ └── clearhtml.js │ │ ├── code │ │ │ ├── code.js │ │ │ ├── prettify.css │ │ │ └── prettify.js │ │ ├── emoticons │ │ │ ├── emoticons.js │ │ │ └── images │ │ │ │ ├── 0.gif │ │ │ │ ├── 1.gif │ │ │ │ ├── 10.gif │ │ │ │ ├── 100.gif │ │ │ │ ├── 101.gif │ │ │ │ ├── 102.gif │ │ │ │ ├── 103.gif │ │ │ │ ├── 104.gif │ │ │ │ ├── 105.gif │ │ │ │ ├── 106.gif │ │ │ │ ├── 107.gif │ │ │ │ ├── 108.gif │ │ │ │ ├── 109.gif │ │ │ │ ├── 11.gif │ │ │ │ ├── 110.gif │ │ │ │ ├── 111.gif │ │ │ │ ├── 112.gif │ │ │ │ ├── 113.gif │ │ │ │ ├── 114.gif │ │ │ │ ├── 115.gif │ │ │ │ ├── 116.gif │ │ │ │ ├── 117.gif │ │ │ │ ├── 118.gif │ │ │ │ ├── 119.gif │ │ │ │ ├── 12.gif │ │ │ │ ├── 120.gif │ │ │ │ ├── 121.gif │ │ │ │ ├── 122.gif │ │ │ │ ├── 123.gif │ │ │ │ ├── 124.gif │ │ │ │ ├── 125.gif │ │ │ │ ├── 126.gif │ │ │ │ ├── 127.gif │ │ │ │ ├── 128.gif │ │ │ │ ├── 129.gif │ │ │ │ ├── 13.gif │ │ │ │ ├── 130.gif │ │ │ │ ├── 131.gif │ │ │ │ ├── 132.gif │ │ │ │ ├── 133.gif │ │ │ │ ├── 134.gif │ │ │ │ ├── 14.gif │ │ │ │ ├── 15.gif │ │ │ │ ├── 16.gif │ │ │ │ ├── 17.gif │ │ │ │ ├── 18.gif │ │ │ │ ├── 19.gif │ │ │ │ ├── 2.gif │ │ │ │ ├── 20.gif │ │ │ │ ├── 21.gif │ │ │ │ ├── 22.gif │ │ │ │ ├── 23.gif │ │ │ │ ├── 24.gif │ │ │ │ ├── 25.gif │ │ │ │ ├── 26.gif │ │ │ │ ├── 27.gif │ │ │ │ ├── 28.gif │ │ │ │ ├── 29.gif │ │ │ │ ├── 3.gif │ │ │ │ ├── 30.gif │ │ │ │ ├── 31.gif │ │ │ │ ├── 32.gif │ │ │ │ ├── 33.gif │ │ │ │ ├── 34.gif │ │ │ │ ├── 35.gif │ │ │ │ ├── 36.gif │ │ │ │ ├── 37.gif │ │ │ │ ├── 38.gif │ │ │ │ ├── 39.gif │ │ │ │ ├── 4.gif │ │ │ │ ├── 40.gif │ │ │ │ ├── 41.gif │ │ │ │ ├── 42.gif │ │ │ │ ├── 43.gif │ │ │ │ ├── 44.gif │ │ │ │ ├── 45.gif │ │ │ │ ├── 46.gif │ │ │ │ ├── 47.gif │ │ │ │ ├── 48.gif │ │ │ │ ├── 49.gif │ │ │ │ ├── 5.gif │ │ │ │ ├── 50.gif │ │ │ │ ├── 51.gif │ │ │ │ ├── 52.gif │ │ │ │ ├── 53.gif │ │ │ │ ├── 54.gif │ │ │ │ ├── 55.gif │ │ │ │ ├── 56.gif │ │ │ │ ├── 57.gif │ │ │ │ ├── 58.gif │ │ │ │ ├── 59.gif │ │ │ │ ├── 6.gif │ │ │ │ ├── 60.gif │ │ │ │ ├── 61.gif │ │ │ │ ├── 62.gif │ │ │ │ ├── 63.gif │ │ │ │ ├── 64.gif │ │ │ │ ├── 65.gif │ │ │ │ ├── 66.gif │ │ │ │ ├── 67.gif │ │ │ │ ├── 68.gif │ │ │ │ ├── 69.gif │ │ │ │ ├── 7.gif │ │ │ │ ├── 70.gif │ │ │ │ ├── 71.gif │ │ │ │ ├── 72.gif │ │ │ │ ├── 73.gif │ │ │ │ ├── 74.gif │ │ │ │ ├── 75.gif │ │ │ │ ├── 76.gif │ │ │ │ ├── 77.gif │ │ │ │ ├── 78.gif │ │ │ │ ├── 79.gif │ │ │ │ ├── 8.gif │ │ │ │ ├── 80.gif │ │ │ │ ├── 81.gif │ │ │ │ ├── 82.gif │ │ │ │ ├── 83.gif │ │ │ │ ├── 84.gif │ │ │ │ ├── 85.gif │ │ │ │ ├── 86.gif │ │ │ │ ├── 87.gif │ │ │ │ ├── 88.gif │ │ │ │ ├── 89.gif │ │ │ │ ├── 9.gif │ │ │ │ ├── 90.gif │ │ │ │ ├── 91.gif │ │ │ │ ├── 92.gif │ │ │ │ ├── 93.gif │ │ │ │ ├── 94.gif │ │ │ │ ├── 95.gif │ │ │ │ ├── 96.gif │ │ │ │ ├── 97.gif │ │ │ │ ├── 98.gif │ │ │ │ ├── 99.gif │ │ │ │ ├── VIP.txt │ │ │ │ ├── iis.ini │ │ │ │ ├── inc.ini │ │ │ │ └── static.gif │ │ ├── filemanager │ │ │ ├── filemanager.js │ │ │ └── images │ │ │ │ ├── file-16.gif │ │ │ │ ├── file-64.gif │ │ │ │ ├── folder-16.gif │ │ │ │ ├── folder-64.gif │ │ │ │ └── go-up.gif │ │ ├── flash │ │ │ └── flash.js │ │ ├── image │ │ │ ├── image.js │ │ │ └── images │ │ │ │ ├── align_left.gif │ │ │ │ ├── align_right.gif │ │ │ │ ├── align_top.gif │ │ │ │ └── refresh.png │ │ ├── insertfile │ │ │ └── insertfile.js │ │ ├── lineheight │ │ │ └── lineheight.js │ │ ├── link │ │ │ └── link.js │ │ ├── map │ │ │ ├── map.html │ │ │ └── map.js │ │ ├── media │ │ │ └── media.js │ │ ├── multiimage │ │ │ ├── images │ │ │ │ ├── VIP.txt │ │ │ │ ├── iis.ini │ │ │ │ ├── image.png │ │ │ │ ├── inc.ini │ │ │ │ ├── select-files-en.png │ │ │ │ ├── select-files-zh_CN.png │ │ │ │ └── swfupload.swf │ │ │ └── multiimage.js │ │ ├── pagebreak │ │ │ └── pagebreak.js │ │ ├── plainpaste │ │ │ └── plainpaste.js │ │ ├── preview │ │ │ └── preview.js │ │ ├── quickformat │ │ │ └── quickformat.js │ │ ├── table │ │ │ └── table.js │ │ ├── template │ │ │ ├── html │ │ │ │ ├── 1.html │ │ │ │ ├── 2.html │ │ │ │ └── 3.html │ │ │ └── template.js │ │ └── wordpaste │ │ │ └── wordpaste.js │ └── themes │ │ ├── common │ │ ├── anchor.gif │ │ ├── blank.gif │ │ ├── flash.gif │ │ ├── loading.gif │ │ ├── media.gif │ │ └── rm.gif │ │ ├── default │ │ ├── background.png │ │ ├── default.css │ │ └── default.png │ │ ├── qq │ │ ├── editor.gif │ │ └── qq.css │ │ └── simple │ │ └── simple.css ├── images │ ├── attr │ │ ├── audit.gif │ │ ├── best.gif │ │ └── top.gif │ ├── bpr │ │ ├── 0.gif │ │ ├── 1.gif │ │ ├── 10.gif │ │ ├── 2.gif │ │ ├── 3.gif │ │ ├── 4.gif │ │ ├── 5.gif │ │ ├── 6.gif │ │ ├── 7.gif │ │ ├── 8.gif │ │ └── 9.gif │ ├── gpr │ │ ├── 0.gif │ │ ├── 1.gif │ │ ├── 10.gif │ │ ├── 2.gif │ │ ├── 3.gif │ │ ├── 4.gif │ │ ├── 5.gif │ │ ├── 6.gif │ │ ├── 7.gif │ │ ├── 8.gif │ │ └── 9.gif │ ├── loading.gif │ ├── nopic.gif │ ├── qq_login.png │ ├── rss.gif │ ├── spr │ │ ├── 0.gif │ │ ├── 1.gif │ │ ├── 10.gif │ │ ├── 2.gif │ │ ├── 3.gif │ │ ├── 4.gif │ │ ├── 5.gif │ │ ├── 6.gif │ │ ├── 7.gif │ │ ├── 8.gif │ │ └── 9.gif │ └── star.gif └── scripts │ ├── admin.js │ ├── common.js │ ├── iepng.js │ ├── jquery.min.js │ ├── jquery.raty.js │ ├── jquery.treeview.css │ ├── jquery.treeview.js │ ├── star │ ├── star-half.png │ ├── star-off.png │ └── star-on.png │ └── tree │ ├── ajax-loader.gif │ ├── file.gif │ ├── folder-closed.gif │ ├── folder-open.gif │ ├── minus.gif │ ├── plus.gif │ ├── treeview-black-line.gif │ ├── treeview-black.gif │ ├── treeview-default-line.gif │ ├── treeview-default.gif │ ├── treeview-famfamfam-line.gif │ ├── treeview-famfamfam.gif │ ├── treeview-gray-line.gif │ ├── treeview-gray.gif │ ├── treeview-red-line.gif │ └── treeview-red.gif ├── source ├── extend │ ├── connect │ │ └── oauth_qq.php │ ├── phpmailer │ │ ├── class.phpmailer.php │ │ ├── class.pop3.php │ │ └── class.smtp.php │ └── smarty │ │ ├── Smarty.class.php │ │ ├── SmartyBC.class.php │ │ ├── debug.tpl │ │ ├── plugins │ │ ├── block.nocache.php │ │ ├── block.textformat.php │ │ ├── function.counter.php │ │ ├── function.cycle.php │ │ ├── function.fetch.php │ │ ├── function.html_checkboxes.php │ │ ├── function.html_image.php │ │ ├── function.html_options.php │ │ ├── function.html_radios.php │ │ ├── function.html_select_date.php │ │ ├── function.html_select_time.php │ │ ├── function.html_table.php │ │ ├── function.mailto.php │ │ ├── function.math.php │ │ ├── modifier.capitalize.php │ │ ├── modifier.date_format.php │ │ ├── modifier.debug_print_var.php │ │ ├── modifier.escape.php │ │ ├── modifier.regex_replace.php │ │ ├── modifier.replace.php │ │ ├── modifier.spacify.php │ │ ├── modifier.truncate.php │ │ ├── modifiercompiler.cat.php │ │ ├── modifiercompiler.count_characters.php │ │ ├── modifiercompiler.count_paragraphs.php │ │ ├── modifiercompiler.count_sentences.php │ │ ├── modifiercompiler.count_words.php │ │ ├── modifiercompiler.default.php │ │ ├── modifiercompiler.escape.php │ │ ├── modifiercompiler.from_charset.php │ │ ├── modifiercompiler.indent.php │ │ ├── modifiercompiler.lower.php │ │ ├── modifiercompiler.noprint.php │ │ ├── modifiercompiler.string_format.php │ │ ├── modifiercompiler.strip.php │ │ ├── modifiercompiler.strip_tags.php │ │ ├── modifiercompiler.to_charset.php │ │ ├── modifiercompiler.unescape.php │ │ ├── modifiercompiler.upper.php │ │ ├── modifiercompiler.wordwrap.php │ │ ├── outputfilter.trimwhitespace.php │ │ ├── shared.escape_special_chars.php │ │ ├── shared.literal_compiler_param.php │ │ ├── shared.make_timestamp.php │ │ ├── shared.mb_str_replace.php │ │ ├── shared.mb_unicode.php │ │ ├── shared.mb_wordwrap.php │ │ └── variablefilter.htmlspecialchars.php │ │ └── sysplugins │ │ ├── smarty_cacheresource.php │ │ ├── smarty_cacheresource_custom.php │ │ ├── smarty_cacheresource_keyvaluestore.php │ │ ├── smarty_config_source.php │ │ ├── smarty_internal_cacheresource_file.php │ │ ├── smarty_internal_compile_append.php │ │ ├── smarty_internal_compile_assign.php │ │ ├── smarty_internal_compile_block.php │ │ ├── smarty_internal_compile_break.php │ │ ├── smarty_internal_compile_call.php │ │ ├── smarty_internal_compile_capture.php │ │ ├── smarty_internal_compile_config_load.php │ │ ├── smarty_internal_compile_continue.php │ │ ├── smarty_internal_compile_debug.php │ │ ├── smarty_internal_compile_eval.php │ │ ├── smarty_internal_compile_extends.php │ │ ├── smarty_internal_compile_for.php │ │ ├── smarty_internal_compile_foreach.php │ │ ├── smarty_internal_compile_function.php │ │ ├── smarty_internal_compile_if.php │ │ ├── smarty_internal_compile_include.php │ │ ├── smarty_internal_compile_include_php.php │ │ ├── smarty_internal_compile_insert.php │ │ ├── smarty_internal_compile_ldelim.php │ │ ├── smarty_internal_compile_nocache.php │ │ ├── smarty_internal_compile_private_block_plugin.php │ │ ├── smarty_internal_compile_private_function_plugin.php │ │ ├── smarty_internal_compile_private_modifier.php │ │ ├── smarty_internal_compile_private_object_block_function.php │ │ ├── smarty_internal_compile_private_object_function.php │ │ ├── smarty_internal_compile_private_print_expression.php │ │ ├── smarty_internal_compile_private_registered_block.php │ │ ├── smarty_internal_compile_private_registered_function.php │ │ ├── smarty_internal_compile_private_special_variable.php │ │ ├── smarty_internal_compile_rdelim.php │ │ ├── smarty_internal_compile_section.php │ │ ├── smarty_internal_compile_setfilter.php │ │ ├── smarty_internal_compile_while.php │ │ ├── smarty_internal_compilebase.php │ │ ├── smarty_internal_config.php │ │ ├── smarty_internal_config_file_compiler.php │ │ ├── smarty_internal_configfilelexer.php │ │ ├── smarty_internal_configfileparser.php │ │ ├── smarty_internal_data.php │ │ ├── smarty_internal_debug.php │ │ ├── smarty_internal_filter_handler.php │ │ ├── smarty_internal_function_call_handler.php │ │ ├── smarty_internal_get_include_path.php │ │ ├── smarty_internal_nocache_insert.php │ │ ├── smarty_internal_parsetree.php │ │ ├── smarty_internal_resource_eval.php │ │ ├── smarty_internal_resource_extends.php │ │ ├── smarty_internal_resource_file.php │ │ ├── smarty_internal_resource_php.php │ │ ├── smarty_internal_resource_registered.php │ │ ├── smarty_internal_resource_stream.php │ │ ├── smarty_internal_resource_string.php │ │ ├── smarty_internal_smartytemplatecompiler.php │ │ ├── smarty_internal_template.php │ │ ├── smarty_internal_templatebase.php │ │ ├── smarty_internal_templatecompilerbase.php │ │ ├── smarty_internal_templatelexer.php │ │ ├── smarty_internal_templateparser.php │ │ ├── smarty_internal_utility.php │ │ ├── smarty_internal_write_file.php │ │ ├── smarty_resource.php │ │ ├── smarty_resource_custom.php │ │ ├── smarty_resource_recompiled.php │ │ ├── smarty_resource_uncompiled.php │ │ └── smarty_security.php ├── include │ ├── cache.php │ ├── captcha.php │ ├── databak.php │ ├── function.php │ ├── json.php │ ├── mysql.php │ ├── pagerank.php │ ├── sendmail.php │ ├── smarty.php │ ├── snoopy.php │ ├── upload.php │ └── validate.php ├── init.php ├── license.php ├── module │ ├── adver.php │ ├── article.php │ ├── category.php │ ├── comment.php │ ├── diypage.php │ ├── favorite.php │ ├── feedback.php │ ├── label.php │ ├── link.php │ ├── option.php │ ├── prelink.php │ ├── rewrite.php │ ├── static.php │ ├── stats.php │ ├── user.php │ ├── webdata.php │ ├── weblink.php │ └── website.php └── version.php ├── system ├── admin.php ├── adver.php ├── article.php ├── cache.php ├── category.php ├── comment.php ├── common.php ├── database.php ├── editpwd.php ├── feedback.php ├── function.php ├── label.php ├── link.php ├── load.php ├── login.php ├── main.php ├── option.php ├── page.php ├── upload.php ├── user.php ├── weblink.php ├── webpic.php └── website.php ├── themes ├── default │ ├── addurl.html │ ├── archives.html │ ├── article.html │ ├── artinfo.html │ ├── category.html │ ├── default.zip │ ├── directory.html │ ├── diypage.html │ ├── feedback.html │ ├── footer.html │ ├── header.html │ ├── index.html │ ├── link.html │ ├── linkinfo.html │ ├── msgbox.html │ ├── psd │ │ ├── bg.psd │ │ └── title.psd │ ├── script.html │ ├── search.html │ ├── sendmail.html │ ├── siteinfo.html │ ├── skin │ │ ├── bg.gif │ │ ├── bg.png │ │ ├── blue.png │ │ ├── btn.gif │ │ ├── dot.gif │ │ ├── fav.gif │ │ ├── fbg.png │ │ ├── header.gif │ │ ├── ipt.png │ │ ├── logo.png │ │ ├── logo.psd │ │ ├── nav.css │ │ ├── navline.gif │ │ ├── navsel.gif │ │ ├── reset.css │ │ ├── select.gif │ │ ├── sobg.png │ │ ├── style.css │ │ ├── topbar.png │ │ └── visit.gif │ ├── top.html │ ├── topbar.html │ ├── update.html │ ├── webdir.html │ └── weblink.html ├── member │ ├── activate.html │ ├── article.html │ ├── claim.html │ ├── connect.html │ ├── editpwd.html │ ├── favorite.html │ ├── footer.html │ ├── getpwd.html │ ├── header.html │ ├── home.html │ ├── login.html │ ├── msgbox.html │ ├── profile.html │ ├── register.html │ ├── register_mail.html │ ├── reset.html │ ├── reset_mail.html │ ├── skin │ │ ├── blue.png │ │ ├── fbg.gif │ │ ├── hbg.png │ │ ├── icon.gif │ │ ├── ipt.png │ │ ├── login.css │ │ ├── logo.png │ │ ├── member.css │ │ ├── reset.css │ │ ├── select.gif │ │ └── tbg.png │ ├── verify_mail.html │ ├── weblink.html │ └── website.html └── system │ ├── admin.html │ ├── adver.html │ ├── article.html │ ├── audit_mail.html │ ├── cache.html │ ├── category.html │ ├── comment.html │ ├── database.html │ ├── editpwd.html │ ├── feedback.html │ ├── footer.html │ ├── header.html │ ├── label.html │ ├── link.html │ ├── login.html │ ├── main.html │ ├── msgbox.html │ ├── option.html │ ├── page.html │ ├── psd │ └── logo.psd │ ├── skin │ ├── global.css │ ├── iframe.css │ ├── ipt.png │ ├── login.css │ ├── logo.png │ ├── page.css │ └── title.png │ ├── user.html │ ├── weblink.html │ └── website.html └── uploads └── article └── index.html /README.md: -------------------------------------------------------------------------------- 1 | 35dir 2 | ===== 3 | 4 | 35dir分类目录系统使用主流PHP开发语言,MVC框架,MYSQL轻量级数据库开发.支持无限级分类,自定义标签,自定义模板,文章系统,友情链接系统,第三方登录,自定义伪静态url,链接检测等强大功能! 5 | -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /install/footer.php: -------------------------------------------------------------------------------- 1 |
Copyright © 2008-2012 35分类目录 (35dir.com)
-------------------------------------------------------------------------------- /install/header.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
-------------------------------------------------------------------------------- /install/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/install/images/bg.gif -------------------------------------------------------------------------------- /install/images/button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/install/images/button.gif -------------------------------------------------------------------------------- /install/images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/install/images/logo.gif -------------------------------------------------------------------------------- /member/module/activate.php: -------------------------------------------------------------------------------- 1 | table('users'); 8 | 9 | if (!$smarty->isCached($tplfile)) { 10 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 11 | $smarty->assign('site_keywords', $options['site_keywords']); 12 | $smarty->assign('site_description', $options['site_description']); 13 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 14 | 15 | $user_id = intval($_GET['uid']); 16 | $verify_code = trim($_GET['code']); 17 | 18 | $user = $DB->fetch_one("SELECT user_id, verify_code, join_time FROM $table WHERE user_id=$user_id LIMIT 1"); 19 | if (!$user) { 20 | msgbox('您还不是本站的会员!', '?mod=register'); 21 | } 22 | 23 | $twodays = $user['join_time'] + (2 * 24 * 3600); 24 | if ($twodays >= time()) { 25 | if ($verify_code == $user['verify_code']) { 26 | $DB->update($table, array('user_status' => 1), array('user_id' => $user['user_id'])); 27 | $message = '帐号激活成功!

立即登录账户>>'; 28 | } else { 29 | $message = '帐号激活失败!'; 30 | } 31 | } else { 32 | $message = '可能是因为超过48小时没有完成验证,该链接地址已经失效!'; 33 | } 34 | 35 | $smarty->assign('message', $message); 36 | } 37 | 38 | smarty_output($tplfile); 39 | ?> -------------------------------------------------------------------------------- /member/module/editpwd.php: -------------------------------------------------------------------------------- 1 | table('users'); 8 | 9 | if (!$smarty->isCached($tplfile)) { 10 | $smarty->assign('pagename', $pagename); 11 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 12 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 13 | 14 | if ($_POST['do'] == 'save') { 15 | $old_pass = trim($_POST['old_pass']); 16 | $new_pass = trim($_POST['new_pass']); 17 | $new_pass1 = trim($_POST['new_pass1']); 18 | 19 | if (empty($old_pass)) { 20 | msgbox('请输入原始密码!'); 21 | } else { 22 | $user = $DB->fetch_one("SELECT user_pass FROM $table WHERE user_id=".$myself['user_id']); 23 | if ($user['user_pass'] != md5($old_pass)) { 24 | unset($user); 25 | msgbox('您输入的原始密码不正确!'); 26 | } 27 | } 28 | 29 | if (empty($new_pass)) { 30 | msgbox('请输入新密码!'); 31 | } 32 | 33 | if (empty($new_pass1)) { 34 | msgbox('请输入确认密码!'); 35 | } 36 | 37 | if ($new_pass != $new_pass1) { 38 | msgbox('两次密码输入不一致,请重新输入!'); 39 | } 40 | 41 | $data = array('user_pass' => md5($new_pass)); 42 | $where = array('user_id' => $myself['user_id'],); 43 | 44 | $DB->update($table, $data, $where); 45 | msgbox('账户密码修改成功!', $pageurl); 46 | } 47 | } 48 | 49 | smarty_output($tplfile); 50 | ?> -------------------------------------------------------------------------------- /member/module/favorite.php: -------------------------------------------------------------------------------- 1 | table('favorites'); 10 | 11 | $action = isset($_GET['act']) ? $_GET['act'] : 'list'; 12 | $smarty->assign('action', $action); 13 | 14 | if (!$smarty->isCached($tplfile)) { 15 | /** list */ 16 | if ($action == 'list') { 17 | $pagename = '我的收藏'; 18 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 19 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 20 | 21 | $pagesize = 10; 22 | $curpage = intval($_GET['page']); 23 | if ($curpage > 1) { 24 | $start = ($curpage - 1) * $pagesize; 25 | } else { 26 | $start = 0; 27 | $curpage = 1; 28 | } 29 | 30 | $where = "f.user_id=".$myself['user_id']; 31 | $favorites = get_favorite_list($where, 'ftime', 'DESC', $start, $pagesize); 32 | $total = $DB->get_count($table.' f', $where); 33 | $showpage = showpage($pageurl, $total, $curpage, $pagesize); 34 | 35 | $smarty->assign('pagename', $pagename); 36 | $smarty->assign('favorites', $favorites); 37 | $smarty->assign('total', $total); 38 | $smarty->assign('showpage', $showpage); 39 | } 40 | 41 | /** del */ 42 | if ($action == 'del') { 43 | $fav_ids = (array) ($_POST['fid'] ? $_POST['fid'] : $_GET['fid']); 44 | 45 | $DB->delete($table, 'fav_id IN ('.dimplode($fav_ids).')'); 46 | unset($fav_ids); 47 | 48 | redirect($pageurl); 49 | } 50 | } 51 | 52 | smarty_output($tplfile); 53 | ?> -------------------------------------------------------------------------------- /member/module/home.php: -------------------------------------------------------------------------------- 1 | isCached($tplfile)) { 9 | $smarty->assign('pagename', $pagename); 10 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 11 | $smarty->assign('site_path', get_sitepath()); 12 | 13 | $mystat = array(); 14 | $mystat['website'] = $DB->get_count($DB->table('websites'), array('user_id' => $myself['user_id'])); 15 | $mystat['article'] = $DB->get_count($DB->table('articles'), array('user_id' => $myself['user_id'])); 16 | $mystat['weblink'] = $DB->get_count($DB->table('weblinks'), array('user_id' => $myself['user_id'])); 17 | $mystat['favorite'] = $DB->get_count($DB->table('favorites'), array('user_id' => $myself['user_id'])); 18 | $smarty->assign('mystat', $mystat); 19 | } 20 | 21 | smarty_output($tplfile); 22 | ?> -------------------------------------------------------------------------------- /member/module/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /member/module/profile.php: -------------------------------------------------------------------------------- 1 | table('users'); 8 | 9 | if (!$smarty->isCached($tplfile)) { 10 | $smarty->assign('pagename', $pagename); 11 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 12 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 13 | 14 | if ($_POST['do'] == 'save') { 15 | $nick_name = trim($_POST['nick_name']); 16 | $user_qq = trim($_POST['user_qq']); 17 | 18 | $data = array( 19 | 'nick_name' => $nick_name, 20 | 'user_qq' => $user_qq, 21 | ); 22 | 23 | $where = array( 24 | 'user_id' => $myself['user_id'], 25 | ); 26 | 27 | $DB->update($table, $data, $where); 28 | msgbox('个人资料修改成功!', $pageurl); 29 | } 30 | } 31 | 32 | smarty_output($tplfile); 33 | ?> -------------------------------------------------------------------------------- /member/module/upload.php: -------------------------------------------------------------------------------- 1 | make_dir($savepath); 12 | $upload->init($_FILES['imgFile'], $savepath); 13 | 14 | header('Content-type: text/html; charset=utf-8'); 15 | $json = new Services_JSON(); 16 | 17 | if ($upload->error_code == 0) { 18 | $upload->save_file(); 19 | echo $json->encode(array('error' => 0, 'url' => $upload->attach['path'])); 20 | exit; 21 | } else { 22 | echo $json->encode(array('error' => 1, 'message' => $upload->error())); 23 | exit; 24 | } 25 | } 26 | ?> -------------------------------------------------------------------------------- /member/module/verify.php: -------------------------------------------------------------------------------- 1 | assign('site_name', $options['site_name']); 13 | $smarty->assign('site_url', $options['site_url']); 14 | $smarty->assign('user_email', $user_email); 15 | $smarty->assign('active_link', $active_link); 16 | $mailbody = $smarty->fetch('verify_mail.html'); 17 | 18 | if (sendmail($user_email, '['.$options['site_name'].'] E-mail地址验证!', $mailbody)) { 19 | $DB->update($DB->table('users'), array('verify_code' => $verify_code, 'join_time' => time()), array('user_id' => $myself['user_id'])); 20 | msgbox('验证邮件发送成功!', '?mod=home'); 21 | } else { 22 | msgbox('邮件发送失败!请检查邮件发送功能设置是否正确或邮件地址错误!', '?mod=home'); 23 | } 24 | } 25 | ?> -------------------------------------------------------------------------------- /module/api.php: -------------------------------------------------------------------------------- 1 | 1) { 9 | $start = ($curpage - 1) * $pagesize; 10 | } else { 11 | $start = 0; 12 | $curpage = 1; 13 | } 14 | 15 | get_website_api($cate_id, $start, $pagesize); 16 | ?> -------------------------------------------------------------------------------- /module/category.php: -------------------------------------------------------------------------------- 1 | table('categories'); 8 | 9 | if (!$smarty->isCached($tempfile)) { 10 | $categories = get_categories(); 11 | 12 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 13 | $smarty->assign('site_keywords', '开放分类,网址分类,目录分类,行业分类'); 14 | $smarty->assign('site_description', '对网站进行很详细的分类,这样有助于帮你找到感兴趣的内容。'); 15 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 16 | $smarty->assign('site_rss', get_rssfeed()); 17 | 18 | $smarty->assign('pagename', $pagename); 19 | $smarty->assign('total', count($categories)); 20 | $smarty->assign('categories', $categories); 21 | unset($categories); 22 | } 23 | 24 | smarty_output($tempfile); 25 | ?> -------------------------------------------------------------------------------- /module/diypage.php: -------------------------------------------------------------------------------- 1 | table('pages'); 8 | 9 | $page_id = intval($_GET['pid']); 10 | $cache_id = $page_id; 11 | 12 | if (!$smarty->isCached($tempfile, $cache_id)) { 13 | $page = get_one_page($page_id); 14 | if (!$page) { 15 | unset($page); 16 | redirect('?mod=index'); 17 | } 18 | 19 | $smarty->assign('site_title', $page['page_name'].' - '.$options['site_title']); 20 | $smarty->assign('site_keywords', $options['site_keywords']); 21 | $smarty->assign('site_description', $options['site_description']); 22 | $smarty->assign('site_path', get_sitepath().' » '.$page['page_name']); 23 | $smarty->assign('site_rss', get_rssfeed()); 24 | $smarty->assign('page_id', $page_id); 25 | $smarty->assign('page', $page); 26 | } 27 | 28 | smarty_output($tempfile, $cache_id); 29 | ?> -------------------------------------------------------------------------------- /module/feedback.php: -------------------------------------------------------------------------------- 1 | caching = false; 9 | 10 | if (!$smarty->isCached($tempfile)) { 11 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 12 | $smarty->assign('site_keywords', '意见反馈,问题反馈,用户反馈,意见与建议'); 13 | $smarty->assign('site_description', '您的意见和建议,将帮助我们改进产品和服务,欢迎您提出宝贵建议和意见!'); 14 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 15 | $smarty->assign('site_rss', get_rssfeed()); 16 | $smarty->assign('pagename', $pagename); 17 | 18 | if ($_POST['action'] == 'send') { 19 | $fb_nick = trim($_POST['nick']); 20 | $fb_email = trim($_POST['email']); 21 | $fb_content = trim($_POST['content']); 22 | $check_code = strtolower(trim($_POST['checkcode'])); 23 | 24 | $fb_date = time(); 25 | if (empty($fb_nick)) { 26 | msgbox('请输入昵称!'); 27 | } 28 | 29 | if (empty($fb_email)) { 30 | msgbox('请输入电子邮件!'); 31 | } else { 32 | if (!is_valid_email($fb_email)) { 33 | msgbox('请输入正确的电子邮件地址!'); 34 | } 35 | } 36 | 37 | if (empty($fb_content) || strlen($fb_content) < 20) { 38 | msgbox('请输入意见内容,且长度不能小于20个字符!'); 39 | } 40 | 41 | if (empty($check_code) || $check_code != $_SESSION['code']) { 42 | unset($_SESSION['code']); 43 | msgbox('您输入的验证码不正确,请重新输入!'); 44 | } 45 | 46 | $data = array( 47 | 'fb_nick' => $fb_nick, 48 | 'fb_email' => $fb_email, 49 | 'fb_content' => $fb_content, 50 | 'fb_date' => $fb_date, 51 | ); 52 | 53 | $DB->insert($DB->table('feedback'), $data); 54 | unset($_SESSION['code']); 55 | 56 | msgbox('您的意见已经提交,谢谢您对我们的支持!', './'); 57 | } 58 | } 59 | 60 | smarty_output($tempfile); 61 | ?> -------------------------------------------------------------------------------- /module/index.php: -------------------------------------------------------------------------------- 1 | isCached($tempfile)) { 9 | $smarty->assign('site_title', $options['site_title']); 10 | $smarty->assign('site_keywords', $options['site_keywords']); 11 | $smarty->assign('site_description', $options['site_description']); 12 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 13 | $smarty->assign('site_rss', get_rssfeed()); 14 | } 15 | 16 | smarty_output($tempfile); 17 | ?> -------------------------------------------------------------------------------- /module/rssfeed.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/sitemap.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/top.php: -------------------------------------------------------------------------------- 1 | isCached($tempfile)) { 9 | $smarty->assign('pagename', $pagename); 10 | $smarty->assign('site_title', $pagename.' - '.$options['site_name']); 11 | $smarty->assign('site_keywords', '网站热榜,网站TOP排行榜,热门网站排行,网站风云榜'); 12 | $smarty->assign('site_description', '提供最新热门网站排行数据,让您及时了解那些信息最受关注。'); 13 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 14 | $smarty->assign('site_rss', get_rssfeed()); 15 | } 16 | 17 | smarty_output($tempfile); 18 | ?> -------------------------------------------------------------------------------- /public/editor/examples/colorpicker.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | ColorPicker Examples 6 | 7 | 8 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /public/editor/examples/custom-theme.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Custom Theme Examples 6 | 14 | 15 | 16 | 26 | 27 | 28 |

默认风格

29 | 30 |

简单风格

31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /public/editor/examples/dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Dialog Examples 6 | 7 | 8 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /public/editor/examples/dynamic-load.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Dynamic Load Examples 6 | 14 | 15 | 32 | 33 | 34 |

异步加载

35 |
36 | 37 |

38 | 39 | 40 |

41 |
42 | 43 | 44 | -------------------------------------------------------------------------------- /public/editor/examples/file-dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | fileDialog Examples 6 | 7 | 8 | 9 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /public/editor/examples/file-manager.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | FileManager Examples 6 | 7 | 8 | 9 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /public/editor/examples/filter-mode.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Filter Mode Examples 6 | 14 | 15 | 16 | 23 | 24 | 25 |

HTML过滤

26 |
27 | 28 |

29 | 默认根据KindEditor.options.htmlTags过滤HTML标签,也可以通过参数自定义htmlTags。 30 |

31 |
32 | 33 | 34 | -------------------------------------------------------------------------------- /public/editor/examples/index.css: -------------------------------------------------------------------------------- 1 | .ke-content { 2 | font-size: 12px; 3 | background-color: #ffffff; 4 | } 5 | .ke-content table { 6 | border-collapse:collapse; 7 | } 8 | .red { 9 | color: white; 10 | background-color: red; 11 | } 12 | .green { 13 | color: white; 14 | background-color: green; 15 | } 16 | .yellow { 17 | color: white; 18 | background-color: yellow; 19 | } -------------------------------------------------------------------------------- /public/editor/examples/jquery-ui.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | With jQuery UI 6 | 20 | 21 | 22 | 23 | 24 | 25 | 48 | 49 | 50 |

在jQuery UI Dialog里打开编辑器

51 |
52 | 53 |
54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /public/editor/examples/jquery.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | With jQuery 6 | 14 | 15 | 16 | 17 | 22 | 23 | 24 |

使用jQuery

25 |
26 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /public/editor/examples/mootools.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | With MooTools 6 | 14 | 15 | 16 | 17 | 22 | 23 | 24 |

使用MooTools

25 |
26 | 27 |
28 | 29 | 30 | -------------------------------------------------------------------------------- /public/editor/examples/multi-image-dialog.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | MultiImageDialog Examples 6 | 7 | 8 | 9 | 30 | 31 | 32 | 33 |
34 | 35 | 36 | -------------------------------------------------------------------------------- /public/editor/examples/multi-language.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Multi Language Examples 6 | 14 | 15 | 30 | 31 | 32 |

Multi Language

33 |
34 |

35 | 41 |

42 | 43 |
44 | 45 | 46 | -------------------------------------------------------------------------------- /public/editor/examples/newline.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Newline Examples 6 | 14 | 15 | 16 | 31 | 32 | 33 |

回车换行设置

34 |
35 |

36 | 40 |

41 | 42 |
43 | 44 | 45 | -------------------------------------------------------------------------------- /public/editor/examples/node.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Node Examples 6 | 7 | 8 | 20 | 33 | 34 | 35 |
K('div#id').addClass('cls');
36 |
K('div.class').css('margin', '10px');
37 |
K('#id img').css('border', '1px solid #000').attr('title', 'hello');
38 |
K('#id > div').width(200).height(50).css('border', '1px solid #000');
39 |
K('a[href="\\#"]').attr('href', 'http://www.kindsoft.net/');
40 |
41 |
class1
42 |
class2
43 | 44 |
45 | 46 | 47 | -------------------------------------------------------------------------------- /public/editor/examples/paste-type.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Paste Type Examples 6 | 14 | 15 | 16 | 29 | 30 | 31 |

禁止粘贴

32 | 33 |

纯文本粘贴

34 | 35 |

HTML粘贴

36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /public/editor/examples/readonly.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Readonly Examples 6 | 14 | 15 | 16 | 31 | 32 | 33 |

只读模式

34 |
35 | 36 |

37 | 38 | 39 |

40 |
41 | 42 | 43 | -------------------------------------------------------------------------------- /public/editor/examples/simple.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Simple Examples 6 | 14 | 15 | 16 | 30 | 31 | 32 |

默认模式

33 |
34 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /public/editor/examples/uploadbutton.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Upload Button Examples 6 | 7 | 8 | 31 | 32 | 33 |
34 | 35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /public/editor/examples/word-count.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Word Count Examples 6 | 14 | 15 | 16 | 26 | 27 | 28 |

统计字数

29 |
30 | 31 |

32 | 您当前输入了 0 个文字。(字数统计包含HTML代码。)
33 | 您当前输入了 0 个文字。(字数统计包含纯文本、IMG、EMBED,不包含换行符,IMG和EMBED算一个文字。) 34 |

35 |
36 | 37 | 38 | -------------------------------------------------------------------------------- /public/editor/php/demo.php: -------------------------------------------------------------------------------- 1 | 11 | 12 | 13 | 14 | 15 | KindEditor PHP 16 | 17 | 18 | 19 | 20 | 21 | 43 | 44 | 45 | 46 |
47 | 48 |
49 | (提交快捷键: Ctrl + Enter) 50 |
51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /public/editor/plugins/anchor/anchor.js: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * KindEditor - WYSIWYG HTML Editor for Internet 3 | * Copyright (C) 2006-2011 kindsoft.net 4 | * 5 | * @author Roddy 6 | * @site http://www.kindsoft.net/ 7 | * @licence http://www.kindsoft.net/license.php 8 | *******************************************************************************/ 9 | 10 | KindEditor.plugin('anchor', function(K) { 11 | var self = this, name = 'anchor', lang = self.lang(name + '.'); 12 | self.plugin.anchor = { 13 | edit : function() { 14 | var html = ['
', 15 | '
', 16 | '', 17 | '', 18 | '
', 19 | '
'].join(''); 20 | var dialog = self.createDialog({ 21 | name : name, 22 | width : 300, 23 | title : self.lang(name), 24 | body : html, 25 | yesBtn : { 26 | name : self.lang('yes'), 27 | click : function(e) { 28 | self.insertHtml('').hideDialog().focus(); 29 | } 30 | } 31 | }); 32 | var div = dialog.div, 33 | nameBox = K('input[name="name"]', div); 34 | var img = self.plugin.getSelectedAnchor(); 35 | if (img) { 36 | nameBox.val(unescape(img.attr('data-ke-name'))); 37 | } 38 | nameBox[0].focus(); 39 | nameBox[0].select(); 40 | }, 41 | 'delete' : function() { 42 | self.plugin.getSelectedAnchor().remove(); 43 | } 44 | }; 45 | self.clickToolbar(name, self.plugin.anchor.edit); 46 | }); 47 | -------------------------------------------------------------------------------- /public/editor/plugins/baidumap/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Baidu Maps 6 | 10 | 11 | 39 | 40 | 41 |
42 | 43 | 44 | -------------------------------------------------------------------------------- /public/editor/plugins/clearhtml/clearhtml.js: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * KindEditor - WYSIWYG HTML Editor for Internet 3 | * Copyright (C) 2006-2011 kindsoft.net 4 | * 5 | * @author Roddy 6 | * @site http://www.kindsoft.net/ 7 | * @licence http://www.kindsoft.net/license.php 8 | *******************************************************************************/ 9 | 10 | KindEditor.plugin('clearhtml', function(K) { 11 | var self = this, name = 'clearhtml'; 12 | self.clickToolbar(name, function() { 13 | self.focus(); 14 | var html = self.html(); 15 | html = html.replace(/(]*>)([\s\S]*?)(<\/script>)/ig, ''); 16 | html = html.replace(/(]*>)([\s\S]*?)(<\/style>)/ig, ''); 17 | html = K.formatHtml(html, { 18 | a : ['href', 'target'], 19 | embed : ['src', 'width', 'height', 'type', 'loop', 'autostart', 'quality', '.width', '.height', 'align', 'allowscriptaccess'], 20 | img : ['src', 'width', 'height', 'border', 'alt', 'title', '.width', '.height'], 21 | table : ['border'], 22 | 'td,th' : ['rowspan', 'colspan'], 23 | 'div,hr,br,tbody,tr,p,ol,ul,li,blockquote,h1,h2,h3,h4,h5,h6' : [] 24 | }); 25 | self.html(html); 26 | self.cmd.selection(true); 27 | self.addBookmark(); 28 | }); 29 | }); 30 | -------------------------------------------------------------------------------- /public/editor/plugins/code/prettify.css: -------------------------------------------------------------------------------- 1 | .pln{color:#000}@media screen{.str{color:#080}.kwd{color:#008}.com{color:#800}.typ{color:#606}.lit{color:#066}.pun,.opn,.clo{color:#660}.tag{color:#008}.atn{color:#606}.atv{color:#080}.dec,.var{color:#606}.fun{color:red}}@media print,projection{.str{color:#060}.kwd{color:#006;font-weight:bold}.com{color:#600;font-style:italic}.typ{color:#404;font-weight:bold}.lit{color:#044}.pun,.opn,.clo{color:#440}.tag{color:#006;font-weight:bold}.atn{color:#404}.atv{color:#060}}pre.prettyprint{padding:2px;border:1px solid #888}ol.linenums{margin-top:0;margin-bottom:0}li.L0,li.L1,li.L2,li.L3,li.L5,li.L6,li.L7,li.L8{list-style-type:none}li.L1,li.L3,li.L5,li.L7,li.L9{background:#eee} 2 | 3 | pre.prettyprint { 4 | border: 0; 5 | border-left: 3px solid rgb(204, 204, 204); 6 | margin-left: 2em; 7 | padding: 0.5em; 8 | font-size: 110%; 9 | display: block; 10 | font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; 11 | margin: 1em 0px; 12 | white-space: pre; 13 | } 14 | -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/0.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/1.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/10.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/100.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/100.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/101.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/101.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/102.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/102.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/103.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/103.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/104.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/104.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/105.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/105.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/106.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/106.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/107.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/107.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/108.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/108.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/109.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/109.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/11.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/110.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/110.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/111.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/111.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/112.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/112.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/113.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/113.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/114.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/114.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/115.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/115.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/116.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/116.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/117.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/117.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/118.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/118.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/119.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/119.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/12.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/120.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/120.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/121.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/121.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/122.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/122.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/123.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/123.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/124.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/124.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/125.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/125.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/126.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/126.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/127.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/127.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/128.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/128.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/129.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/129.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/13.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/130.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/130.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/131.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/131.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/132.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/132.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/133.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/133.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/134.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/134.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/14.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/15.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/16.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/17.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/18.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/19.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/2.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/20.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/21.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/22.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/23.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/24.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/25.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/26.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/27.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/28.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/29.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/3.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/30.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/31.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/32.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/33.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/34.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/35.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/36.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/37.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/38.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/39.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/4.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/40.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/41.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/42.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/43.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/44.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/45.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/46.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/47.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/48.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/49.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/5.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/50.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/51.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/52.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/53.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/54.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/55.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/56.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/57.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/58.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/59.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/6.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/60.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/61.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/62.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/63.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/64.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/65.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/66.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/67.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/68.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/69.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/7.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/70.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/71.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/72.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/72.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/73.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/73.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/74.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/74.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/75.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/75.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/76.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/76.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/77.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/77.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/78.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/78.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/79.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/79.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/8.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/80.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/80.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/81.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/81.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/82.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/82.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/83.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/83.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/84.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/84.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/85.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/85.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/86.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/86.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/87.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/87.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/88.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/88.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/89.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/89.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/9.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/90.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/90.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/91.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/91.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/92.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/92.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/93.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/93.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/94.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/94.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/95.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/95.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/96.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/96.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/97.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/97.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/98.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/98.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/99.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/99.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/VIP.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/VIP.txt -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/iis.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/iis.ini -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/inc.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/inc.ini -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/static.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/emoticons/images/static.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/file-16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/filemanager/images/file-16.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/file-64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/filemanager/images/file-64.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/folder-16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/filemanager/images/folder-16.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/folder-64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/filemanager/images/folder-64.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/go-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/filemanager/images/go-up.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/align_left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/image/images/align_left.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/align_right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/image/images/align_right.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/align_top.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/image/images/align_top.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/image/images/refresh.png -------------------------------------------------------------------------------- /public/editor/plugins/lineheight/lineheight.js: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * KindEditor - WYSIWYG HTML Editor for Internet 3 | * Copyright (C) 2006-2011 kindsoft.net 4 | * 5 | * @author Roddy 6 | * @site http://www.kindsoft.net/ 7 | * @licence http://www.kindsoft.net/license.php 8 | *******************************************************************************/ 9 | 10 | KindEditor.plugin('lineheight', function(K) { 11 | var self = this, name = 'lineheight', lang = self.lang(name + '.'); 12 | self.clickToolbar(name, function() { 13 | var curVal = '', commonNode = self.cmd.commonNode({'*' : '.line-height'}); 14 | if (commonNode) { 15 | curVal = commonNode.css('line-height'); 16 | } 17 | var menu = self.createMenu({ 18 | name : name, 19 | width : 150 20 | }); 21 | K.each(lang.lineHeight, function(i, row) { 22 | K.each(row, function(key, val) { 23 | menu.addItem({ 24 | title : val, 25 | checked : curVal === key, 26 | click : function() { 27 | self.cmd.toggle('', { 28 | span : '.line-height=' + key 29 | }); 30 | self.updateState(); 31 | self.addBookmark(); 32 | self.hideMenu(); 33 | } 34 | }); 35 | }); 36 | }); 37 | }); 38 | }); 39 | -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/VIP.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/VIP.txt -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/iis.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/iis.ini -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/image.png -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/inc.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/inc.ini -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/select-files-en.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/select-files-en.png -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/select-files-zh_CN.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/select-files-zh_CN.png -------------------------------------------------------------------------------- /public/editor/plugins/multiimage/images/swfupload.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/plugins/multiimage/images/swfupload.swf -------------------------------------------------------------------------------- /public/editor/plugins/pagebreak/pagebreak.js: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * KindEditor - WYSIWYG HTML Editor for Internet 3 | * Copyright (C) 2006-2011 kindsoft.net 4 | * 5 | * @author Roddy 6 | * @site http://www.kindsoft.net/ 7 | * @licence http://www.kindsoft.net/license.php 8 | *******************************************************************************/ 9 | 10 | KindEditor.plugin('pagebreak', function(K) { 11 | var self = this, name = 'pagebreak'; 12 | self.clickToolbar(name, function() { 13 | var cmd = self.cmd, range = cmd.range; 14 | self.focus(); 15 | range.enlarge(true); 16 | cmd.split(true); 17 | var tail = self.newlineTag == 'br' || K.WEBKIT ? '' : '

'; 18 | self.insertHtml('
' + tail); 19 | if (tail !== '') { 20 | var p = K('#__kindeditor_tail_tag__', self.edit.doc); 21 | range.selectNodeContents(p[0]); 22 | p.removeAttr('id'); 23 | cmd.select(); 24 | } 25 | }); 26 | }); 27 | -------------------------------------------------------------------------------- /public/editor/plugins/plainpaste/plainpaste.js: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * KindEditor - WYSIWYG HTML Editor for Internet 3 | * Copyright (C) 2006-2011 kindsoft.net 4 | * 5 | * @author Roddy 6 | * @site http://www.kindsoft.net/ 7 | * @licence http://www.kindsoft.net/license.php 8 | *******************************************************************************/ 9 | 10 | KindEditor.plugin('plainpaste', function(K) { 11 | var self = this, name = 'plainpaste'; 12 | self.clickToolbar(name, function() { 13 | var lang = self.lang(name + '.'), 14 | html = '
' + 15 | '
' + lang.comment + '
' + 16 | '' + 17 | '
', 18 | dialog = self.createDialog({ 19 | name : name, 20 | width : 450, 21 | title : self.lang(name), 22 | body : html, 23 | yesBtn : { 24 | name : self.lang('yes'), 25 | click : function(e) { 26 | var html = textarea.val(); 27 | html = K.escape(html); 28 | html = html.replace(/ {2}/g, '  '); 29 | if (self.newlineTag == 'p') { 30 | html = html.replace(/^/, '

').replace(/$/, '

').replace(/\n/g, '

'); 31 | } else { 32 | html = html.replace(/\n/g, '
$&'); 33 | } 34 | self.insertHtml(html).hideDialog().focus(); 35 | } 36 | } 37 | }), 38 | textarea = K('textarea', dialog.div); 39 | textarea[0].focus(); 40 | }); 41 | }); 42 | -------------------------------------------------------------------------------- /public/editor/plugins/preview/preview.js: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * KindEditor - WYSIWYG HTML Editor for Internet 3 | * Copyright (C) 2006-2011 kindsoft.net 4 | * 5 | * @author Roddy 6 | * @site http://www.kindsoft.net/ 7 | * @licence http://www.kindsoft.net/license.php 8 | *******************************************************************************/ 9 | 10 | KindEditor.plugin('preview', function(K) { 11 | var self = this, name = 'preview', undefined; 12 | self.clickToolbar(name, function() { 13 | var lang = self.lang(name + '.'), 14 | html = '

' + 15 | '' + 16 | '
', 17 | dialog = self.createDialog({ 18 | name : name, 19 | width : 750, 20 | title : self.lang(name), 21 | body : html 22 | }), 23 | iframe = K('iframe', dialog.div), 24 | doc = K.iframeDoc(iframe); 25 | doc.open(); 26 | doc.write(self.fullHtml()); 27 | doc.close(); 28 | K(doc.body).css('background-color', '#FFF'); 29 | iframe[0].contentWindow.focus(); 30 | }); 31 | }); 32 | -------------------------------------------------------------------------------- /public/editor/plugins/template/html/1.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

8 | 在此处输入标题 9 |

10 |

11 | 在此处输入内容 12 |

13 | 14 | -------------------------------------------------------------------------------- /public/editor/plugins/template/html/2.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

8 | 标题 9 |

10 | 11 | 12 | 13 | 16 | 19 | 20 | 21 | 24 | 27 | 28 | 29 | 32 | 35 | 36 | 37 |
14 |

标题1

15 |
17 |

标题1

18 |
22 | 内容1 23 | 25 | 内容2 26 |
30 | 内容3 31 | 33 | 内容4 34 |
38 |

39 | 表格说明 40 |

41 | 42 | -------------------------------------------------------------------------------- /public/editor/plugins/template/html/3.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

8 | 在此处输入内容 9 |

10 |
    11 |
  1. 12 | 描述1 13 |
  2. 14 |
  3. 15 | 描述2 16 |
  4. 17 |
  5. 18 | 描述3 19 |
  6. 20 |
21 |

22 | 在此处输入内容 23 |

24 |
    25 |
  • 26 | 描述1 27 |
  • 28 |
  • 29 | 描述2 30 |
  • 31 |
  • 32 | 描述3 33 |
  • 34 |
35 | 36 | -------------------------------------------------------------------------------- /public/editor/themes/common/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/common/anchor.gif -------------------------------------------------------------------------------- /public/editor/themes/common/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/common/blank.gif -------------------------------------------------------------------------------- /public/editor/themes/common/flash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/common/flash.gif -------------------------------------------------------------------------------- /public/editor/themes/common/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/common/loading.gif -------------------------------------------------------------------------------- /public/editor/themes/common/media.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/common/media.gif -------------------------------------------------------------------------------- /public/editor/themes/common/rm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/common/rm.gif -------------------------------------------------------------------------------- /public/editor/themes/default/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/default/background.png -------------------------------------------------------------------------------- /public/editor/themes/default/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/default/default.png -------------------------------------------------------------------------------- /public/editor/themes/qq/editor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/editor/themes/qq/editor.gif -------------------------------------------------------------------------------- /public/images/attr/audit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/attr/audit.gif -------------------------------------------------------------------------------- /public/images/attr/best.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/attr/best.gif -------------------------------------------------------------------------------- /public/images/attr/top.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/attr/top.gif -------------------------------------------------------------------------------- /public/images/bpr/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/0.gif -------------------------------------------------------------------------------- /public/images/bpr/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/1.gif -------------------------------------------------------------------------------- /public/images/bpr/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/10.gif -------------------------------------------------------------------------------- /public/images/bpr/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/2.gif -------------------------------------------------------------------------------- /public/images/bpr/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/3.gif -------------------------------------------------------------------------------- /public/images/bpr/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/4.gif -------------------------------------------------------------------------------- /public/images/bpr/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/5.gif -------------------------------------------------------------------------------- /public/images/bpr/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/6.gif -------------------------------------------------------------------------------- /public/images/bpr/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/7.gif -------------------------------------------------------------------------------- /public/images/bpr/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/8.gif -------------------------------------------------------------------------------- /public/images/bpr/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/bpr/9.gif -------------------------------------------------------------------------------- /public/images/gpr/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/0.gif -------------------------------------------------------------------------------- /public/images/gpr/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/1.gif -------------------------------------------------------------------------------- /public/images/gpr/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/10.gif -------------------------------------------------------------------------------- /public/images/gpr/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/2.gif -------------------------------------------------------------------------------- /public/images/gpr/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/3.gif -------------------------------------------------------------------------------- /public/images/gpr/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/4.gif -------------------------------------------------------------------------------- /public/images/gpr/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/5.gif -------------------------------------------------------------------------------- /public/images/gpr/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/6.gif -------------------------------------------------------------------------------- /public/images/gpr/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/7.gif -------------------------------------------------------------------------------- /public/images/gpr/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/8.gif -------------------------------------------------------------------------------- /public/images/gpr/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/gpr/9.gif -------------------------------------------------------------------------------- /public/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/loading.gif -------------------------------------------------------------------------------- /public/images/nopic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/nopic.gif -------------------------------------------------------------------------------- /public/images/qq_login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/qq_login.png -------------------------------------------------------------------------------- /public/images/rss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/rss.gif -------------------------------------------------------------------------------- /public/images/spr/0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/0.gif -------------------------------------------------------------------------------- /public/images/spr/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/1.gif -------------------------------------------------------------------------------- /public/images/spr/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/10.gif -------------------------------------------------------------------------------- /public/images/spr/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/2.gif -------------------------------------------------------------------------------- /public/images/spr/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/3.gif -------------------------------------------------------------------------------- /public/images/spr/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/4.gif -------------------------------------------------------------------------------- /public/images/spr/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/5.gif -------------------------------------------------------------------------------- /public/images/spr/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/6.gif -------------------------------------------------------------------------------- /public/images/spr/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/7.gif -------------------------------------------------------------------------------- /public/images/spr/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/8.gif -------------------------------------------------------------------------------- /public/images/spr/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/spr/9.gif -------------------------------------------------------------------------------- /public/images/star.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/images/star.gif -------------------------------------------------------------------------------- /public/scripts/admin.js: -------------------------------------------------------------------------------- 1 | //全选 2 | function CheckAll(form){ 3 | for (var i = 0; i < form.elements.length; i++) { 4 | var e = form.elements[i]; 5 | if (e.Name != "ChkAll" && e.disabled == false) 6 | e.checked = form.ChkAll.checked; 7 | } 8 | } 9 | 10 | //判断是否选择 11 | function IsCheck(ObjName){ 12 | var Obj = document.getElementsByName(ObjName); //获取复选框数组 13 | var ObjLen = Obj.length; //获取数组长度 14 | var Flag = false; //是否有选择 15 | for (var i = 0; i < ObjLen; i++) { 16 | if (Obj[i].checked == true) { 17 | Flag = true; 18 | break; 19 | } 20 | } 21 | return Flag; 22 | } 23 | 24 | //栏目合并判断 25 | function ConfirmUnite() { 26 | if ($("#CurrentClassID").attr("value") == $("#TargetClassID").attr("value")) { 27 | alert("请不要在相同栏目内进行操作!"); 28 | $("#TargetClassID").focus(); 29 | return false; 30 | } 31 | return true; 32 | } 33 | 34 | //获取META 35 | function GetMeta() { 36 | var url = $("#web_url").attr("value"); 37 | if (url == '') { 38 | alert('请输入网站域名!'); 39 | $("#web_url").focus(); 40 | return false; 41 | } 42 | $(document).ready(function(){$("#meta_btn").val('正在获取,请稍候...'); $.ajax({type: "GET", url: 'website.php?act=metainfo', data: 'url=' + url, datatype: "script", cache: false, success: function(data){$("body").append(data); $("#meta_btn").val('重新获取');}});}); 43 | } 44 | 45 | //获取ip, PageRank, Sogou PageRank, Alexa 46 | function GetData() { 47 | var url = $("#web_url").attr("value"); 48 | if (url == '') { 49 | alert('请输入网站域名!'); 50 | $("#web_url").focus(); 51 | return false; 52 | } 53 | $(document).ready(function(){$("#data_btn").val('正在获取,请稍候...'); $.ajax({type: "GET", url: 'website.php?act=webdata', data: 'url=' + url, datatype: "script", cache: false, success: function(data){$("body").append(data); $("#data_btn").val('重新获取');}});}); 54 | } -------------------------------------------------------------------------------- /public/scripts/iepng.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/iepng.js -------------------------------------------------------------------------------- /public/scripts/star/star-half.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/star/star-half.png -------------------------------------------------------------------------------- /public/scripts/star/star-off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/star/star-off.png -------------------------------------------------------------------------------- /public/scripts/star/star-on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/star/star-on.png -------------------------------------------------------------------------------- /public/scripts/tree/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/ajax-loader.gif -------------------------------------------------------------------------------- /public/scripts/tree/file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/file.gif -------------------------------------------------------------------------------- /public/scripts/tree/folder-closed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/folder-closed.gif -------------------------------------------------------------------------------- /public/scripts/tree/folder-open.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/folder-open.gif -------------------------------------------------------------------------------- /public/scripts/tree/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/minus.gif -------------------------------------------------------------------------------- /public/scripts/tree/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/plus.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-black-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-black-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-black.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-default-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-default-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-default.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-famfamfam-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-famfamfam-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-famfamfam.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-famfamfam.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-gray-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-gray-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-gray.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-red-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-red-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/public/scripts/tree/treeview-red.gif -------------------------------------------------------------------------------- /source/extend/smarty/plugins/block.nocache.php: -------------------------------------------------------------------------------- 1 | register_block('nocache', 'smarty_block_nocache', false); 11 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifier.replace.php: -------------------------------------------------------------------------------- 1 | 12 | * Name: replace
13 | * Purpose: simple search/replace 14 | * 15 | * @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual) 16 | * @author Monte Ohrt 17 | * @author Uwe Tews 18 | * @param string $string input string 19 | * @param string $search text to search for 20 | * @param string $replace replacement text 21 | * @return string 22 | */ 23 | function smarty_modifier_replace($string, $search, $replace) 24 | { 25 | if (Smarty::$_MBSTRING) { 26 | require_once(SMARTY_PLUGINS_DIR . 'shared.mb_str_replace.php'); 27 | return smarty_mb_str_replace($search, $replace, $string); 28 | } 29 | 30 | return str_replace($search, $replace, $string); 31 | } 32 | 33 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifier.spacify.php: -------------------------------------------------------------------------------- 1 | 12 | * Name: spacify
13 | * Purpose: add spaces between characters in a string 14 | * 15 | * @link http://smarty.php.net/manual/en/language.modifier.spacify.php spacify (Smarty online manual) 16 | * @author Monte Ohrt 17 | * @param string $string input string 18 | * @param string $spacify_char string to insert between characters. 19 | * @return string 20 | */ 21 | function smarty_modifier_spacify($string, $spacify_char = ' ') 22 | { 23 | // well… what about charsets besides latin and UTF-8? 24 | return implode($spacify_char, preg_split('//' . Smarty::$_UTF8_MODIFIER, $string, -1, PREG_SPLIT_NO_EMPTY)); 25 | } 26 | 27 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.cat.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: cat
14 | * Date: Feb 24, 2003
15 | * Purpose: catenate a value to a variable
16 | * Input: string to catenate
17 | * Example: {$var|cat:"foo"} 18 | * 19 | * @link http://smarty.php.net/manual/en/language.modifier.cat.php cat 20 | * (Smarty online manual) 21 | * @author Uwe Tews 22 | * @param array $params parameters 23 | * @return string with compiled code 24 | */ 25 | function smarty_modifiercompiler_cat($params, $compiler) 26 | { 27 | return '('.implode(').(', $params).')'; 28 | } 29 | 30 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.count_characters.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: count_characteres
14 | * Purpose: count the number of characters in a text 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.count.characters.php count_characters (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_count_characters($params, $compiler) 22 | { 23 | if (!isset($params[1]) || $params[1] != 'true') { 24 | return 'preg_match_all(\'/[^\s]/' . Smarty::$_UTF8_MODIFIER . '\',' . $params[0] . ', $tmp)'; 25 | } 26 | if (Smarty::$_MBSTRING) { 27 | return 'mb_strlen(' . $params[0] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')'; 28 | } 29 | // no MBString fallback 30 | return 'strlen(' . $params[0] . ')'; 31 | } 32 | 33 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.count_paragraphs.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: count_paragraphs
14 | * Purpose: count the number of paragraphs in a text 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php 17 | * count_paragraphs (Smarty online manual) 18 | * @author Uwe Tews 19 | * @param array $params parameters 20 | * @return string with compiled code 21 | */ 22 | function smarty_modifiercompiler_count_paragraphs($params, $compiler) 23 | { 24 | // count \r or \n characters 25 | return '(preg_match_all(\'#[\r\n]+#\', ' . $params[0] . ', $tmp)+1)'; 26 | } 27 | 28 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.count_sentences.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: count_sentences 14 | * Purpose: count the number of sentences in a text 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.count.paragraphs.php 17 | * count_sentences (Smarty online manual) 18 | * @author Uwe Tews 19 | * @param array $params parameters 20 | * @return string with compiled code 21 | */ 22 | function smarty_modifiercompiler_count_sentences($params, $compiler) 23 | { 24 | // find periods, question marks, exclamation marks with a word before but not after. 25 | return 'preg_match_all("#\w[\.\?\!](\W|$)#S' . Smarty::$_UTF8_MODIFIER . '", ' . $params[0] . ', $tmp)'; 26 | } 27 | 28 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.count_words.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: count_words
14 | * Purpose: count the number of words in a text 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.count.words.php count_words (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_count_words($params, $compiler) 22 | { 23 | if (Smarty::$_MBSTRING) { 24 | // return 'preg_match_all(\'#[\w\pL]+#' . Smarty::$_UTF8_MODIFIER . '\', ' . $params[0] . ', $tmp)'; 25 | // expression taken from http://de.php.net/manual/en/function.str-word-count.php#85592 26 | return 'preg_match_all(\'/\p{L}[\p{L}\p{Mn}\p{Pd}\\\'\x{2019}]*/' . Smarty::$_UTF8_MODIFIER . '\', ' . $params[0] . ', $tmp)'; 27 | } 28 | // no MBString fallback 29 | return 'str_word_count(' . $params[0] . ')'; 30 | } 31 | 32 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.default.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: default
14 | * Purpose: designate default value for empty variables 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.default.php default (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_default ($params, $compiler) 22 | { 23 | $output = $params[0]; 24 | if (!isset($params[1])) { 25 | $params[1] = "''"; 26 | } 27 | 28 | array_shift($params); 29 | foreach ($params as $param) { 30 | $output = '(($tmp = @' . $output . ')===null||$tmp===\'\' ? ' . $param . ' : $tmp)'; 31 | } 32 | return $output; 33 | } 34 | 35 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.from_charset.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: from_charset
14 | * Purpose: convert character encoding from $charset to internal encoding 15 | * 16 | * @author Rodney Rehm 17 | * @param array $params parameters 18 | * @return string with compiled code 19 | */ 20 | function smarty_modifiercompiler_from_charset($params, $compiler) 21 | { 22 | if (!Smarty::$_MBSTRING) { 23 | // FIXME: (rodneyrehm) shouldn't this throw an error? 24 | return $params[0]; 25 | } 26 | 27 | if (!isset($params[1])) { 28 | $params[1] = '"ISO-8859-1"'; 29 | } 30 | 31 | return 'mb_convert_encoding(' . $params[0] . ', "' . addslashes(Smarty::$_CHARSET) . '", ' . $params[1] . ')'; 32 | } 33 | 34 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.indent.php: -------------------------------------------------------------------------------- 1 | 12 | * Name: indent
13 | * Purpose: indent lines of text 14 | * 15 | * @link http://www.smarty.net/manual/en/language.modifier.indent.php indent (Smarty online manual) 16 | * @author Uwe Tews 17 | * @param array $params parameters 18 | * @return string with compiled code 19 | */ 20 | 21 | function smarty_modifiercompiler_indent($params, $compiler) 22 | { 23 | if (!isset($params[1])) { 24 | $params[1] = 4; 25 | } 26 | if (!isset($params[2])) { 27 | $params[2] = "' '"; 28 | } 29 | return 'preg_replace(\'!^!m\',str_repeat(' . $params[2] . ',' . $params[1] . '),' . $params[0] . ')'; 30 | } 31 | 32 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.lower.php: -------------------------------------------------------------------------------- 1 | 12 | * Name: lower
13 | * Purpose: convert string to lowercase 14 | * 15 | * @link http://www.smarty.net/manual/en/language.modifier.lower.php lower (Smarty online manual) 16 | * @author Monte Ohrt 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | 22 | function smarty_modifiercompiler_lower($params, $compiler) 23 | { 24 | if (Smarty::$_MBSTRING) { 25 | return 'mb_strtolower(' . $params[0] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')' ; 26 | } 27 | // no MBString fallback 28 | return 'strtolower(' . $params[0] . ')'; 29 | } 30 | 31 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.noprint.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: noprint
14 | * Purpose: return an empty string 15 | * 16 | * @author Uwe Tews 17 | * @param array $params parameters 18 | * @return string with compiled code 19 | */ 20 | function smarty_modifiercompiler_noprint($params, $compiler) 21 | { 22 | return "''"; 23 | } 24 | 25 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.string_format.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: string_format
14 | * Purpose: format strings via sprintf 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.string.format.php string_format (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_string_format($params, $compiler) 22 | { 23 | return 'sprintf(' . $params[1] . ',' . $params[0] . ')'; 24 | } 25 | 26 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.strip.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: strip
14 | * Purpose: Replace all repeated spaces, newlines, tabs 15 | * with a single space or supplied replacement string.
16 | * Example: {$var|strip} {$var|strip:" "}
17 | * Date: September 25th, 2002 18 | * 19 | * @link http://www.smarty.net/manual/en/language.modifier.strip.php strip (Smarty online manual) 20 | * @author Uwe Tews 21 | * @param array $params parameters 22 | * @return string with compiled code 23 | */ 24 | 25 | function smarty_modifiercompiler_strip($params, $compiler) 26 | { 27 | if (!isset($params[1])) { 28 | $params[1] = "' '"; 29 | } 30 | return "preg_replace('!\s+!" . Smarty::$_UTF8_MODIFIER . "', {$params[1]},{$params[0]})"; 31 | } 32 | 33 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.strip_tags.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: strip_tags
14 | * Purpose: strip html tags from text 15 | * 16 | * @link http://www.smarty.net/manual/en/language.modifier.strip.tags.php strip_tags (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_strip_tags($params, $compiler) 22 | { 23 | if (!isset($params[1])) { 24 | $params[1] = true; 25 | } 26 | if ($params[1] === true) { 27 | return "preg_replace('!<[^>]*?>!', ' ', {$params[0]})"; 28 | } else { 29 | return 'strip_tags(' . $params[0] . ')'; 30 | } 31 | } 32 | 33 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.to_charset.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: to_charset
14 | * Purpose: convert character encoding from internal encoding to $charset 15 | * 16 | * @author Rodney Rehm 17 | * @param array $params parameters 18 | * @return string with compiled code 19 | */ 20 | function smarty_modifiercompiler_to_charset($params, $compiler) 21 | { 22 | if (!Smarty::$_MBSTRING) { 23 | // FIXME: (rodneyrehm) shouldn't this throw an error? 24 | return $params[0]; 25 | } 26 | 27 | if (!isset($params[1])) { 28 | $params[1] = '"ISO-8859-1"'; 29 | } 30 | 31 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[1] . ', "' . addslashes(Smarty::$_CHARSET) . '")'; 32 | } 33 | 34 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.unescape.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: unescape
14 | * Purpose: unescape html entities 15 | * 16 | * @author Rodney Rehm 17 | * @param array $params parameters 18 | * @return string with compiled code 19 | */ 20 | function smarty_modifiercompiler_unescape($params, $compiler) 21 | { 22 | if (!isset($params[1])) { 23 | $params[1] = 'html'; 24 | } 25 | if (!isset($params[2])) { 26 | $params[2] = '\'' . addslashes(Smarty::$_CHARSET) . '\''; 27 | } else { 28 | $params[2] = "'" . $params[2] . "'"; 29 | } 30 | 31 | switch (trim($params[1], '"\'')) { 32 | case 'entity': 33 | case 'htmlall': 34 | if (Smarty::$_MBSTRING) { 35 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')'; 36 | } 37 | 38 | return 'html_entity_decode(' . $params[0] . ', ENT_NOQUOTES, ' . $params[2] . ')'; 39 | 40 | case 'html': 41 | return 'htmlspecialchars_decode(' . $params[0] . ', ENT_QUOTES)'; 42 | 43 | case 'url': 44 | return 'rawurldecode(' . $params[0] . ')'; 45 | 46 | default: 47 | return $params[0]; 48 | } 49 | } 50 | 51 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.upper.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: lower
14 | * Purpose: convert string to uppercase 15 | * 16 | * @link http://smarty.php.net/manual/en/language.modifier.upper.php lower (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_upper($params, $compiler) 22 | { 23 | if (Smarty::$_MBSTRING) { 24 | return 'mb_strtoupper(' . $params[0] . ', \'' . addslashes(Smarty::$_CHARSET) . '\')' ; 25 | } 26 | // no MBString fallback 27 | return 'strtoupper(' . $params[0] . ')'; 28 | } 29 | 30 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifiercompiler.wordwrap.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: wordwrap
14 | * Purpose: wrap a string of text at a given length 15 | * 16 | * @link http://smarty.php.net/manual/en/language.modifier.wordwrap.php wordwrap (Smarty online manual) 17 | * @author Uwe Tews 18 | * @param array $params parameters 19 | * @return string with compiled code 20 | */ 21 | function smarty_modifiercompiler_wordwrap($params, $compiler) 22 | { 23 | if (!isset($params[1])) { 24 | $params[1] = 80; 25 | } 26 | if (!isset($params[2])) { 27 | $params[2] = '"\n"'; 28 | } 29 | if (!isset($params[3])) { 30 | $params[3] = 'false'; 31 | } 32 | $function = 'wordwrap'; 33 | if (Smarty::$_MBSTRING) { 34 | if ($compiler->tag_nocache | $compiler->nocache) { 35 | $compiler->template->required_plugins['nocache']['wordwrap']['modifier']['file'] = SMARTY_PLUGINS_DIR .'shared.mb_wordwrap.php'; 36 | $compiler->template->required_plugins['nocache']['wordwrap']['modifier']['function'] = 'smarty_mb_wordwrap'; 37 | } else { 38 | $compiler->template->required_plugins['compiled']['wordwrap']['modifier']['file'] = SMARTY_PLUGINS_DIR .'shared.mb_wordwrap.php'; 39 | $compiler->template->required_plugins['compiled']['wordwrap']['modifier']['function'] = 'smarty_mb_wordwrap'; 40 | } 41 | $function = 'smarty_mb_wordwrap'; 42 | } 43 | return $function . '(' . $params[0] . ',' . $params[1] . ',' . $params[2] . ',' . $params[3] . ')'; 44 | } 45 | 46 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/shared.literal_compiler_param.php: -------------------------------------------------------------------------------- 1 | 11 | * Purpose: used by other smarty functions to make a timestamp from a string. 12 | * 13 | * @author Monte Ohrt 14 | * @param DateTime|int|string $string date object, timestamp or string that can be converted using strtotime() 15 | * @return int 16 | */ 17 | function smarty_make_timestamp($string) 18 | { 19 | if (empty($string)) { 20 | // use "now": 21 | return time(); 22 | } elseif ($string instanceof DateTime) { 23 | return $string->getTimestamp(); 24 | } elseif (strlen($string) == 14 && ctype_digit($string)) { 25 | // it is mysql timestamp format of YYYYMMDDHHMMSS? 26 | return mktime(substr($string, 8, 2),substr($string, 10, 2),substr($string, 12, 2), 27 | substr($string, 4, 2),substr($string, 6, 2),substr($string, 0, 4)); 28 | } elseif (is_numeric($string)) { 29 | // it is a numeric string, we handle it as timestamp 30 | return (int) $string; 31 | } else { 32 | // strtotime should handle it 33 | $time = strtotime($string); 34 | if ($time == -1 || $time === false) { 35 | // strtotime() was not able to parse $string, use "now": 36 | return time(); 37 | } 38 | return $time; 39 | } 40 | } 41 | 42 | ?> 43 | -------------------------------------------------------------------------------- /source/extend/smarty/plugins/shared.mb_unicode.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/plugins/variablefilter.htmlspecialchars.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_compile_block.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/source/extend/smarty/sysplugins/smarty_internal_compile_block.php -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_compile_debug.php: -------------------------------------------------------------------------------- 1 | getAttributes($compiler, $args); 32 | 33 | // compile always as nocache 34 | $compiler->tag_nocache = true; 35 | 36 | // display debug template 37 | $_output = "smarty->loadPlugin('Smarty_Internal_Debug'); Smarty_Internal_Debug::display_debug(\$_smarty_tpl); ?>"; 38 | return $_output; 39 | } 40 | 41 | } 42 | 43 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_compile_ldelim.php: -------------------------------------------------------------------------------- 1 | getAttributes($compiler, $args); 31 | if ($_attr['nocache'] === true) { 32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno); 33 | } 34 | // this tag does not return compiled code 35 | $compiler->has_code = true; 36 | return $compiler->smarty->left_delimiter; 37 | } 38 | 39 | } 40 | 41 | ?> 42 | -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_compile_rdelim.php: -------------------------------------------------------------------------------- 1 | getAttributes($compiler, $args); 31 | if ($_attr['nocache'] === true) { 32 | $compiler->trigger_template_error('nocache option not allowed', $compiler->lex->taglineno); 33 | } 34 | // this tag does not return compiled code 35 | $compiler->has_code = true; 36 | return $compiler->smarty->right_delimiter; 37 | } 38 | 39 | } 40 | 41 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_get_include_path.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_resource_recompiled.php: -------------------------------------------------------------------------------- 1 | filepath = false; 30 | $compiled->timestamp = false; 31 | $compiled->exists = false; 32 | } 33 | 34 | } 35 | 36 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_resource_uncompiled.php: -------------------------------------------------------------------------------- 1 | filepath = false; 38 | $compiled->timestamp = false; 39 | $compiled->exists = false; 40 | } 41 | 42 | } 43 | 44 | ?> -------------------------------------------------------------------------------- /source/include/cache.php: -------------------------------------------------------------------------------- 1 | "); 13 | @fclose($fp); 14 | @chmod($cache_file, 0777); 15 | } else { 16 | echo 'Error: Can\'t write to '.$cache_name.' cache files, please check directory.!'; 17 | exit; 18 | } 19 | } 20 | 21 | /** load cache */ 22 | function load_cache($cache_name) { 23 | static $static_data = array(); 24 | if (!empty($cache_name)) { 25 | $cache_file = ROOT_PATH.'data/static/'.$cache_name.'.php'; 26 | if (is_file($cache_file)) { 27 | @require($cache_file); 28 | return $static_data; 29 | } else { 30 | return false; 31 | } 32 | } 33 | } 34 | 35 | /** update cache */ 36 | function update_cache($cache_name = '') { 37 | $update_list = empty($cache_name) ? array() : (is_array($cache_name) ? $cache_name : array($cache_name)); 38 | foreach ($update_list as $entry) { 39 | call_user_func($entry.'_cache'); 40 | } 41 | unset($update_list); 42 | } 43 | ?> -------------------------------------------------------------------------------- /source/include/sendmail.php: -------------------------------------------------------------------------------- 1 | SMTPDebug = 1; 9 | $mail->IsSMTP(); //使用SMTP方式发送 10 | $mail->SMTPAuth = ($options['smtp_auth'] == 'yes') ? true : false; //启用SMTP验证功能,一般需要开启 11 | $mail->Host = $options['smtp_host']; //smtp服务器地址 12 | $mail->Port = $options['smtp_port']; //smtp服务器端口 13 | $mail->Username = $options['smtp_user']; //smtp服务器帐号 14 | $mail->Password = $options['smtp_pass']; // smtp服务器密码 15 | $mail->CharSet = 'utf-8'; //发送的邮件内容编码 16 | $mail->SetFrom($options['smtp_user'], $options['site_name']); //发件人的邮箱和姓名 17 | $mail->AddReplyTo($options['smtp_user'], $options['site_name']); //回复时的邮箱和姓名,一般跟发件人一样 18 | //$mail->SMTPSecure = "ssl"; //gmail需要启用sll安全连接 19 | $mail->Subject = $subject; //邮件主题 20 | $mail->MsgHTML($content); //邮件内容,支持html代码 21 | //发送邮件 22 | if (is_array($mailto)) { 23 | //同时发送给多个人 24 | foreach ($mailto as $key => $value) { 25 | $mail->AddAddress($value, ""); // 收件人邮箱和姓名 26 | } 27 | } else { //只发送给一个人 28 | $mail->AddAddress($mailto, ""); // 收件人邮箱和姓名 29 | } 30 | 31 | if (!$mail->Send()) { 32 | //echo "Mailer Error: ".$mail->ErrorInfo; 33 | return false; 34 | } else { 35 | return true; 36 | } 37 | } 38 | ?> -------------------------------------------------------------------------------- /source/include/smarty.php: -------------------------------------------------------------------------------- 1 | debugging = false; 24 | $smarty->template_dir = $template_dir.$dirname.'/'; 25 | $smarty->compile_dir = $compile_dir.$dirname.'/'; 26 | $smarty->cache_dir = $cache_dir.$dirname.'/'; 27 | $smarty->caching = $caching; 28 | $smarty->cache_lifetime = $lifetime; 29 | $smarty->left_delimiter = "{#"; 30 | $smarty->right_delimiter = "#}"; 31 | 32 | /** check if a template resource exists */ 33 | function template_exists($template) { 34 | global $smarty; 35 | 36 | if (!$smarty->templateExists($template)){ 37 | exit('The template file "'.$template.'" is not found!'); 38 | } 39 | } 40 | ?> -------------------------------------------------------------------------------- /source/include/snoopy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/source/include/snoopy.php -------------------------------------------------------------------------------- /source/include/validate.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/module/diypage.php: -------------------------------------------------------------------------------- 1 | table('pages')." WHERE $where ORDER BY $field $order LIMIT $start, $pagesize"; 7 | $results = $DB->fetch_all($sql); 8 | 9 | return $results; 10 | } 11 | 12 | /** one page */ 13 | function get_one_page($page_id) { 14 | global $DB; 15 | 16 | $sql = "SELECT * FROM ".$DB->table('pages')." WHERE page_id=$page_id LIMIT 1"; 17 | $row = $DB->fetch_one($sql); 18 | 19 | return $row; 20 | } 21 | 22 | /** pages */ 23 | function get_pages() { 24 | global $DB; 25 | 26 | $sql = "SELECT page_id, page_name FROM ".$DB->table('pages')." ORDER BY page_id ASC"; 27 | $query = $DB->query($sql); 28 | $results = array(); 29 | while ($row = $DB->fetch_array($query)) { 30 | $row['page_link'] = get_diypage_url($row['page_id']); 31 | $results[] = $row; 32 | } 33 | unset($row); 34 | $DB->free_result($query); 35 | 36 | return $results; 37 | } 38 | ?> -------------------------------------------------------------------------------- /source/module/favorite.php: -------------------------------------------------------------------------------- 1 | table('favorites')." f LEFT JOIN ".$DB->table('websites')." w ON f.web_id=w.web_id WHERE $where ORDER BY $sortby $order LIMIT $start, $pagesize"; 25 | $query = $DB->query($sql); 26 | $results = array(); 27 | while ($row = $DB->fetch_array($query)) { 28 | $row['fav_time'] = date('Y-m-d', $row['fav_time']); 29 | $results[] = $row; 30 | } 31 | unset($row); 32 | $DB->free_result($query); 33 | 34 | return $results; 35 | } 36 | ?> -------------------------------------------------------------------------------- /source/module/feedback.php: -------------------------------------------------------------------------------- 1 | table('feedbacks')." WHERE $where ORDER BY $field $order LIMIT $start, $pagesize"; 7 | $results = $DB->fetch_all($sql); 8 | 9 | return $results; 10 | } 11 | 12 | /** one feedback */ 13 | function get_one_feedback($fb_id) { 14 | global $DB; 15 | 16 | $sql = "SELECT * FROM ".$DB->table('feedbacks')." WHERE fb_id=$fb_id LIMIT 1"; 17 | $row = $DB->fetch_one($sql); 18 | 19 | return $row; 20 | } 21 | ?> -------------------------------------------------------------------------------- /source/module/label.php: -------------------------------------------------------------------------------- 1 | table('labels')." WHERE $where ORDER BY $field $order LIMIT $start, $pagesize"; 7 | $results = $DB->fetch_all($sql); 8 | 9 | return $results; 10 | } 11 | 12 | /** one label */ 13 | function get_one_label($label_id) { 14 | global $DB; 15 | 16 | $sql = "SELECT * FROM ".$DB->table('labels')." WHERE label_id=$label_id LIMIT 1"; 17 | $row = $DB->fetch_one($sql); 18 | 19 | return $row; 20 | } 21 | 22 | /** labels */ 23 | function get_labels() { 24 | global $DB; 25 | 26 | $labels = load_cache('labels') ? load_cache('labels') : $DB->fetch_all("SELECT label_name, label_content FROM ".$DB->table('labels')." ORDER BY label_id ASC"); 27 | 28 | return $labels; 29 | } 30 | ?> -------------------------------------------------------------------------------- /source/module/link.php: -------------------------------------------------------------------------------- 1 | table('links')." WHERE $where ORDER BY $field $order LIMIT $start, $pagesize"; 7 | $results = $DB->fetch_all($sql); 8 | 9 | return $results; 10 | } 11 | 12 | /** one link */ 13 | function get_one_link($link_id) { 14 | global $DB; 15 | 16 | $sql = "SELECT * FROM ".$DB->table('links')." WHERE link_id=$link_id LIMIT 1"; 17 | $row = $DB->fetch_one($sql); 18 | 19 | return $row; 20 | } 21 | 22 | /** links */ 23 | function get_links() { 24 | global $DB; 25 | 26 | $links = load_cache('links') ? load_cache('links') : $DB->fetch_all("SELECT link_id, link_name, link_url, link_logo FROM ".$DB->table('links')." WHERE link_hide=1 ORDER BY link_order DESC, link_id ASC"); 27 | 28 | return $links; 29 | } 30 | ?> -------------------------------------------------------------------------------- /source/module/option.php: -------------------------------------------------------------------------------- 1 | fetch_all("SELECT option_name, option_value FROM ".$DB->table('options')); 7 | foreach ($results as $row) { 8 | $options[$row['option_name']] = addslashes($row['option_value']); 9 | } 10 | unset($results); 11 | 12 | return load_cache('options') ? load_cache('options') : $options; 13 | } 14 | ?> -------------------------------------------------------------------------------- /source/module/prelink.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/source/module/prelink.php -------------------------------------------------------------------------------- /source/module/stats.php: -------------------------------------------------------------------------------- 1 | get_count($DB->table('categories')); 7 | $stat['website'] = $DB->get_count($DB->table('websites')); 8 | $stat['article'] = $DB->get_count($DB->table('articles')); 9 | $stat['apply'] = $DB->get_count($DB->table('websites'), array('web_status' => 2)); 10 | $stat['user'] = $DB->get_count($DB->table('users'), 'user_type' != 'admin'); 11 | $stat['adver'] = $DB->get_count($DB->table('advers')); 12 | $stat['link'] = $DB->get_count($DB->table('links')); 13 | $stat['feedback'] = $DB->get_count($DB->table('feedbacks')); 14 | $stat['label'] = $DB->get_count($DB->table('labels')); 15 | $stat['page'] = $DB->get_count($DB->table('pages')); 16 | 17 | return $stat; 18 | } 19 | ?> -------------------------------------------------------------------------------- /source/version.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/admin.php: -------------------------------------------------------------------------------- 1 | assign('site_root', str_replace('\\', '/', dirname(HF_ROOT))); 7 | $smarty->assign('pagetitle', $pagetitle); 8 | $smarty->display('admin.html'); 9 | ?> -------------------------------------------------------------------------------- /system/common.php: -------------------------------------------------------------------------------- 1 | table('users'); 5 | $user_auth = $_COOKIE['user_auth']; 6 | list($user_id, $user_pass) = $user_auth ? explode('@', authcode($user_auth, 'DECODE')) : array('', '', ''); 7 | $user_id = intval($user_id); 8 | $user_pass = addslashes($user_pass); 9 | if (!$user_id || !$user_pass) { 10 | $user_id = 0; 11 | msgbox('您还未登录或无权限!', './login.php'); 12 | } 13 | 14 | $myself = array(); 15 | $user = $DB->fetch_one("SELECT user_id, user_email, user_pass, login_time, login_ip, login_count FROM $table WHERE user_type='admin' AND user_id='$user_id'"); 16 | if (!$user) { 17 | $myself = array(); 18 | setcookie('user_auth', ''); 19 | msgbox('您还未登录或无权限!', './login.php'); 20 | } else { 21 | if ($user['user_pass'] == $user_pass) { 22 | $myself = array( 23 | 'user_id' => $user['user_id'], 24 | 'user_email' => $user['user_email'], 25 | 'login_time' => date('Y-m-d H:i:s', $user['login_time']), 26 | 'login_ip' => long2ip($user['login_ip']), 27 | 'login_count' => $user['login_count'], 28 | ); 29 | } 30 | } 31 | 32 | if (empty($myself)) { 33 | msgbox('您还未登录或无权限!', './login.php'); 34 | } 35 | 36 | $smarty->assign('myself', $myself); 37 | ?> -------------------------------------------------------------------------------- /system/editpwd.php: -------------------------------------------------------------------------------- 1 | table('users'); 8 | 9 | if ($action == 'saveedit') { 10 | $user_id = intval($_POST['user_id']); 11 | $user_email = trim($_POST['user_email']); 12 | $user_pass = trim($_POST['user_pass']); 13 | $new_pass = trim($_POST['new_pass']); 14 | $new_pass1 = trim($_POST['new_pass1']); 15 | 16 | if (empty($user_email) || !is_valid_email($user_email)) { 17 | msgbox('请输入正确的电子邮箱!'); 18 | } 19 | 20 | if (empty($user_pass)) { 21 | msgbox('请输入原始密码!'); 22 | } 23 | 24 | if (empty($new_pass)) { 25 | msgbox('请输入新密码!'); 26 | } 27 | 28 | if (empty($new_pass1)) { 29 | msgbox('请输入确认密码!'); 30 | } 31 | 32 | if ($new_pass != $new_pass1) { 33 | msgbox('您两次输入的密码不一致!'); 34 | } 35 | 36 | $user_pass = md5($user_pass); 37 | $new_pass = md5($new_pass); 38 | 39 | $user = $DB->fetch_one("SELECT user_id, user_pass FROM $table WHERE user_id='$user_id'"); 40 | if (!$user) { 41 | msgbox('不存在此用户!'); 42 | } else { 43 | if ($user_pass != $user['user_pass']) { 44 | msgbox('您输入的原始密码不正确!'); 45 | } 46 | $DB->update($table, array('user_email' => $user_email, 'user_pass' => $new_pass), array('user_id' => $user['user_id'])); 47 | } 48 | 49 | msgbox('帐号密码修改成功!', $fileurl); 50 | } 51 | 52 | smarty_output($tempfile); 53 | ?> -------------------------------------------------------------------------------- /system/load.php: -------------------------------------------------------------------------------- 1 | 1) { 13 | $start = ($curpage - 1) * $pagesize; 14 | } else { 15 | $start = 0; 16 | $curpage = 1; 17 | } 18 | 19 | $action = $_GET['act'] ? $_GET['act'] : $_POST['act']; 20 | 21 | #category module 22 | $category_modules = array('webdir' => '网站目录', 'article' => '文章资讯'); 23 | ?> -------------------------------------------------------------------------------- /system/login.php: -------------------------------------------------------------------------------- 1 | table('users'); 8 | 9 | if ($_POST['act'] == 'login') { 10 | $email = trim($_POST['email']); 11 | $pass = trim($_POST['pass']); 12 | 13 | if (empty($email) || !is_valid_email($email)) { 14 | msgbox('请输入有效电子邮件!'); 15 | } 16 | if (empty($pass)) { 17 | msgbox('请输入登陆密码!'); 18 | } 19 | 20 | $user = $DB->fetch_one("SELECT user_id, user_pass, login_count FROM $table WHERE user_type='admin' AND user_email='$email'"); 21 | if ($user) { 22 | if ($user['user_id'] && $user['user_pass'] == md5($pass)) { 23 | $ip_address = sprintf("%u", ip2long(get_client_ip())); 24 | $login_count = $user['login_count'] + 1; 25 | $data = array( 26 | 'login_time' => time(), 27 | 'login_ip' => $ip_address, 28 | 'login_count' => $login_count, 29 | ); 30 | $where = array('user_id' => $user['user_id']); 31 | $DB->update($table, $data, $where); 32 | $user_auth = authcode("$user[user_id]@$user[user_pass]"); 33 | setcookie('user_auth', $user_auth); 34 | 35 | redirect('admin.php'); 36 | } else { 37 | msgbox('用户名或密码错误,请重试!'); 38 | } 39 | } else { 40 | msgbox('用户名或密码错误,请重试!'); 41 | } 42 | } 43 | 44 | if ($_GET['act'] == 'logout') { 45 | setcookie('user_auth', ''); 46 | redirect('../'); 47 | } 48 | 49 | smarty_output($tempfile); 50 | ?> -------------------------------------------------------------------------------- /system/main.php: -------------------------------------------------------------------------------- 1 | version(); 13 | $server['smarty_version'] = Smarty::SMARTY_VERSION; 14 | $server['soft_version'] = SYS_VERSION.' Build '.SYS_RELEASE; 15 | 16 | $server['globals'] = get_phpcfg('register_globals'); 17 | $server['safemode'] = get_phpcfg('safe_mode'); 18 | $server['rewrite'] = apache_mod_enabled('mod_rewrite') ? '' : '×'; 19 | if (function_exists('memory_get_usage')) { 20 | $server['memory_info'] = get_real_size(memory_get_usage()); 21 | } 22 | 23 | function get_phpcfg($varname) { 24 | switch ($result = get_cfg_var($varname)) { 25 | case 0 : 26 | return '×'; 27 | break; 28 | case 1 : 29 | return ''; 30 | break; 31 | default : 32 | return $result; 33 | break; 34 | } 35 | } 36 | 37 | $smarty->assign('login_user', $login_user); 38 | $smarty->assign('login_time', $login_time); 39 | $smarty->assign('login_ip', $login_ip); 40 | $smarty->assign('login_count', $login_count); 41 | $smarty->assign('server', $server); 42 | $smarty->assign('stat', get_stats()); 43 | unset($server); 44 | 45 | smarty_output($tempfile); 46 | ?> -------------------------------------------------------------------------------- /system/upload.php: -------------------------------------------------------------------------------- 1 | make_dir($savepath); 12 | $upload->init($_FILES['imgFile'], $savepath); 13 | 14 | header('Content-type: text/html; charset=utf-8'); 15 | $json = new Services_JSON(); 16 | 17 | if ($upload->error_code == 0) { 18 | $upload->save_file(); 19 | echo $json->encode(array('error' => 0, 'url' => $upload->attach['path'])); 20 | exit; 21 | } else { 22 | echo $json->encode(array('error' => 1, 'message' => $upload->error())); 23 | exit; 24 | } 25 | } 26 | ?> -------------------------------------------------------------------------------- /system/weblink.php: -------------------------------------------------------------------------------- 1 | table('weblinks'); 10 | 11 | if (!isset($action)) $action = 'list'; 12 | 13 | /** list */ 14 | if ($action == 'list') { 15 | $pagetitle = '友链列表'; 16 | 17 | $keywords = addslashes(trim($_POST['keywords'] ? $_POST['keywords'] : $_GET['keywords'])); 18 | $keyurl = !empty($keywords) ? '?keywords='.urlencode($keywords) : ''; 19 | $pageurl = $fileurl.$keyurl; 20 | 21 | $where = !empty($keywords) ? "link_name like '%$keywords%'" : 1; 22 | $results = get_weblink_list($where, 'id', 'DESC', $start, $pagesize); 23 | $weblinks = array(); 24 | foreach ($results as $row) { 25 | $row['deal_type'] = $deal_types[$row['deal_type']]; 26 | $row['link_time'] = date('Y-m-d', $row['link_time']); 27 | $row['link_operate'] = '
删除'; 28 | $weblinks[] = $row; 29 | } 30 | 31 | $total = $DB->get_count($table, $where); 32 | $showpage = showpage($pageurl, $total, $curpage, $pagesize); 33 | 34 | $smarty->assign('keywords', $keywords); 35 | $smarty->assign('weblinks', $weblinks); 36 | $smarty->assign('showpage', $showpage); 37 | unset($results, $weblinks); 38 | } 39 | 40 | /** del */ 41 | if ($action == 'del') { 42 | $link_ids = (array) ($_POST['link_id'] ? $_POST['link_id'] : $_GET['link_id']); 43 | 44 | $DB->delete($table, 'link_id IN ('.dimplode($link_ids).')'); 45 | unset($link_ids); 46 | 47 | msgbox('链接删除成功!', $fileurl); 48 | } 49 | 50 | smarty_output($tempfile); 51 | ?> -------------------------------------------------------------------------------- /themes/default/default.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/default.zip -------------------------------------------------------------------------------- /themes/default/diypage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | {#include file="script.html"#} 10 | 11 | 12 | 13 | {#include file="topbar.html"#} 14 |
15 | {#include file="header.html"#} 16 |
17 |
18 | 23 |
24 |
25 |
26 |

{#$page.page_name#}

27 |
28 |
{#$page.page_content#}
29 |
30 |
31 |
32 |
33 | {#include file="footer.html"#} 34 |
35 | 36 | -------------------------------------------------------------------------------- /themes/default/footer.html: -------------------------------------------------------------------------------- 1 |
2 | -------------------------------------------------------------------------------- /themes/default/msgbox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$msg#} 5 | 6 | 16 | 17 | 18 | 19 |
20 |

系统提示!

21 |
{#$msg#}
22 | 23 |
24 | 36 | 37 | -------------------------------------------------------------------------------- /themes/default/psd/bg.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/psd/bg.psd -------------------------------------------------------------------------------- /themes/default/psd/title.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/psd/title.psd -------------------------------------------------------------------------------- /themes/default/script.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /themes/default/sendmail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 29 | 30 | 31 | 32 | 33 |
  欢迎您提交网站至{#$site_name#}!
24 | 尊敬的{#$site_owner#}
25 | 您好!
26 | 欢迎使用{#$site_name#}的网站提交服务,您的网站正在审核中,审核通过后,我们将会第一次时间发邮件通知您的,敬请关注!

27 | 本站网址:{#$site_url#}
28 |
请注意:此邮件系 {#$site_name#} 自动发送,请勿直接回复。
如果此邮件不是您请求的,请忽略并删除!
34 | 35 | -------------------------------------------------------------------------------- /themes/default/skin/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/bg.gif -------------------------------------------------------------------------------- /themes/default/skin/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/bg.png -------------------------------------------------------------------------------- /themes/default/skin/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/blue.png -------------------------------------------------------------------------------- /themes/default/skin/btn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/btn.gif -------------------------------------------------------------------------------- /themes/default/skin/dot.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/dot.gif -------------------------------------------------------------------------------- /themes/default/skin/fav.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/fav.gif -------------------------------------------------------------------------------- /themes/default/skin/fbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/fbg.png -------------------------------------------------------------------------------- /themes/default/skin/header.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/header.gif -------------------------------------------------------------------------------- /themes/default/skin/ipt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/ipt.png -------------------------------------------------------------------------------- /themes/default/skin/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/logo.png -------------------------------------------------------------------------------- /themes/default/skin/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/logo.psd -------------------------------------------------------------------------------- /themes/default/skin/navline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/navline.gif -------------------------------------------------------------------------------- /themes/default/skin/navsel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/navsel.gif -------------------------------------------------------------------------------- /themes/default/skin/reset.css: -------------------------------------------------------------------------------- 1 | body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {margin: 0; padding: 0;} 2 | body, button, input, select, textarea {font: 12px/1.5 "Segoe UI", tahoma, arial, \5b8b\4f53, sans-serif;} 3 | h1, h2, h3, h4, h5, h6 {font-size: 100%;} 4 | address, cite, dfn, em, var {font-style: normal;} 5 | code, kbd, pre, samp {font-family: courier new, courier, monospace;} 6 | small {font-size: 12px;} 7 | ul, ol {list-style: none;} 8 | a {text-decoration: none;} 9 | a:hover {text-decoration: underline;} 10 | sup {vertical-align: text-top;} 11 | sub {vertical-align: text-bottom;} 12 | legend {color: #000;} 13 | fieldset, img {border: 0;} 14 | button, input, select, textarea {font-size: 100%;} 15 | table {border-collapse: collapse; border-spacing: 0;} 16 | /* clear float */ 17 | .clearfix:after {clear: both; content: '.'; display: block; font-size: 0; height: 1; visibility: hidden;} 18 | *html .clearfix {zoom: 1;} 19 | *:first-child+html .clearfix {zoom: 1;} -------------------------------------------------------------------------------- /themes/default/skin/select.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/select.gif -------------------------------------------------------------------------------- /themes/default/skin/sobg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/sobg.png -------------------------------------------------------------------------------- /themes/default/skin/topbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/topbar.png -------------------------------------------------------------------------------- /themes/default/skin/visit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/default/skin/visit.gif -------------------------------------------------------------------------------- /themes/default/topbar.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
您好,欢迎来到{#$site_name#}!
4 |
{#nocache#}{#$login_status#}{#/nocache#}
5 |
6 |
-------------------------------------------------------------------------------- /themes/member/activate.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 21 |
22 |

恭喜,您已正式成为{#$site_name#}会员!

23 |

{#$message#}

24 |
25 | 28 |
29 | 30 | -------------------------------------------------------------------------------- /themes/member/editpwd.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 |
4 |
{#$pagename#}
5 |
6 |
7 |
8 |
    9 |
  • 登录帐号:{#$myself.user_email#}
  • 10 |
  • 原始密码:
  • 11 |
  • 新 密 码:
  • 12 |
  • 确认密码:
  • 13 |
  •  
  • 14 |
15 |
16 |
17 |
18 |
19 | 20 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /themes/member/favorite.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 |
4 |
{#$pagename#}
5 |
6 | {#if $action == 'list'#} 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | {#foreach from=$favorites item=row#} 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | {#foreachelse#} 25 | 26 | {#/foreach#} 27 |
ID网站名称收藏次数收藏时间操作选项
{#$row.fav_id#}{#$row.web_name#}{#$row.web_fnum#}{#$row.fav_time#}删除
您还未收藏任何网站!
28 |
29 |
{#$showpage#}
30 | {#/if#} 31 |
32 |
33 | 34 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /themes/member/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /themes/member/home.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 |
4 |
{#$pagename#}
5 |
6 |
{#$cfg.site_notice#}
7 |
8 |

您好,{#$myself.nick_name#},欢迎登录{#$site_name#}管理中心!

9 |
    10 |
  1. 1. 您现在的会员等级是 {#$myself.user_type#},注册于 {#$myself.join_time#}
  2. 11 |
  3. 2. 目前您共提交 {#$mystat.website#} 个站点,继续提交>>
  4. 12 |
  5. 3. 目前您共发布 {#$mystat.article#} 篇文章,继续发布>>
  6. 13 |
  7. 4. 目前您共发布 {#$mystat.weblink#} 个链接,继续发布>>
  8. 14 |
  9. 5. 目前您共收藏 {#$mystat.favorite#} 个网站
  10. 15 |
  11. 6. 最后一次登录时间:{#$myself.login_time#},登录IP:{#$myself.login_ip#}
  12. 16 |
17 |
18 |
19 |
20 | 21 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /themes/member/msgbox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$msg#} 5 | 6 | 16 | 17 | 18 | 19 |
20 |

系统提示!

21 |
{#$msg#}
22 | 23 |
24 | 36 | 37 | -------------------------------------------------------------------------------- /themes/member/profile.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 |
4 |
{#$pagename#}
5 |
6 |
7 |
8 |
    9 |
  • 登录帐号:{#$myself.user_email#}
  • 10 |
  • 昵 称:
  • 11 |
  • QQ号码:
  • 12 |
  • 注册时间:{#$myself.join_time#}
  • 13 |
  • 最后登录时间:{#$myself.login_time#}
  • 14 |
  • 最后登录IP:{#$myself.login_ip#}
  • 15 |
  • 登录次数:{#$myself.login_count#} 次
  • 16 |
  •  
  • 17 |
18 |
19 |
20 |
21 |
22 | 23 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /themes/member/register_mail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 27 | 28 | 29 | 30 | 31 |
  欢迎加入{#$site_name#}!
24 | 亲爱的用户
您好!以下是您的帐号信息,请务必妥善保管。
帐 号:{#$user_email#}
密 码:{#$user_pass#}

请点击下面的链接完成注册:
25 | {#$active_link#}
(如果无法点击该URL链接地址,请将它复制并粘帖到浏览器的地址输入框,然后单击回车即可)
注意:请您在收到邮件的48小时内进行激活,否则您的帐户将会失效。 26 |
请注意:此邮件系 {#$site_name#} 自动发送,请勿直接回复。
如果此邮件不是您请求的,请忽略并删除!
32 | 33 | -------------------------------------------------------------------------------- /themes/member/reset_mail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | 30 |
  重置密码!
24 | {#$user_email#} 您好:

您在 {#$post_time#} 提交了找回密码的申请,如果您确定该申请,请点击以下链接:
25 | {#$reset_link#}
(如果无法点击该URL链接地址,请将它复制并粘帖到浏览器的地址输入框,然后单击回车即可)
请注意:此邮件系 {#$site_name#} 自动发送,请勿直接回复。
如果此邮件不是您请求的,请忽略并删除!
31 | 32 | -------------------------------------------------------------------------------- /themes/member/skin/blue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/blue.png -------------------------------------------------------------------------------- /themes/member/skin/fbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/fbg.gif -------------------------------------------------------------------------------- /themes/member/skin/hbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/hbg.png -------------------------------------------------------------------------------- /themes/member/skin/icon.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/icon.gif -------------------------------------------------------------------------------- /themes/member/skin/ipt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/ipt.png -------------------------------------------------------------------------------- /themes/member/skin/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/logo.png -------------------------------------------------------------------------------- /themes/member/skin/reset.css: -------------------------------------------------------------------------------- 1 | body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {margin: 0; padding: 0;} 2 | body, button, input, select, textarea {font: 12px/1.5 "Segoe UI", tahoma, arial, \5b8b\4f53, sans-serif;} 3 | h1, h2, h3, h4, h5, h6 {font-size: 100%;} 4 | address, cite, dfn, em, var {font-style: normal;} 5 | code, kbd, pre, samp {font-family: courier new, courier, monospace;} 6 | small {font-size: 12px;} 7 | ul, ol {list-style: none;} 8 | a {text-decoration: none;} 9 | a:hover {text-decoration: underline;} 10 | sup {vertical-align: text-top;} 11 | sub {vertical-align: text-bottom;} 12 | legend {color: #000;} 13 | fieldset, img {border: 0;} 14 | button, input, select, textarea {font-size: 100%;} 15 | table {border-collapse: collapse; border-spacing: 0;} 16 | /* clear float */ 17 | .clearfix:after {clear: both; content: '.'; display: block; font-size: 0; height: 1; visibility: hidden;} 18 | *html .clearfix {zoom: 1;} 19 | *:first-child+html .clearfix {zoom: 1;} -------------------------------------------------------------------------------- /themes/member/skin/select.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/select.gif -------------------------------------------------------------------------------- /themes/member/skin/tbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/member/skin/tbg.png -------------------------------------------------------------------------------- /themes/member/verify_mail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 27 | 28 | 29 | 30 | 31 |
  欢迎加入{#$site_name#}!
24 | {#$user_email#}
您好!
请点击下面的链接完成E-mail验证:
25 | {#$active_link#}
(如果无法点击该URL链接地址,请将它复制并粘帖到浏览器的地址输入框,然后单击回车即可)
注意:请您在收到邮件的48小时内进行激活,否则您的帐户将会失效。 26 |
请注意:此邮件系 {#$site_name#} 自动发送,请勿直接回复。
如果此邮件不是您请求的,请忽略并删除!
32 | 33 | -------------------------------------------------------------------------------- /themes/system/audit_mail.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 28 | 29 | 30 | 31 | 32 |
  您提交在{#$site_name#}的网站已通过审核!
24 | 您好!
25 | 您提交在{#$site_name#}的网站:{#$web_name#}, 已通过我们的审核!
收录地址:{#$site_link#}

附:如果您还没有使用我们提供的友情链接代码,我们建议您尽快加上!这样做的好处是:当网友点击了您已经插入在贵站页面里的友情链接,则贵站在我们的分类目录里自动靠前排一名,点击越多排名越靠前!

26 | 本站网址:{#$site_url#}
27 |
请注意:此邮件系 {#$site_name#} 自动发送,请勿直接回复。
如果此邮件不是您请求的,请忽略并删除!
33 | 34 | -------------------------------------------------------------------------------- /themes/system/editpwd.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 |

{#$pagetitle#}

4 |
5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 30 | 31 |
电子邮箱:
原始密码:
新 密 码:
确认密码:
  26 | 27 | 28 | 29 |
32 |
33 |
34 | 35 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /themes/system/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /themes/system/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {#$pagetitle#} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 23 | 24 | 25 | 26 |
-------------------------------------------------------------------------------- /themes/system/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {#$pagetitle#} 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 |

登录入口

15 |
16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
电子邮件:
登录密码:
28 |
29 |
30 | 31 |   32 | 33 |
34 |
35 |
36 |
37 | 38 | -------------------------------------------------------------------------------- /themes/system/msgbox.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 系统提示! 5 | 6 | 16 | 17 | 18 | 19 |
20 |

系统提示!

21 |
{#$msg#}
22 | 23 |
24 | 36 | 37 | -------------------------------------------------------------------------------- /themes/system/psd/logo.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/system/psd/logo.psd -------------------------------------------------------------------------------- /themes/system/skin/global.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /* global */ 3 | body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td {margin: 0; padding: 0;} 4 | body, button, input, select, textarea {font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif;} 5 | h1, h2, h3, h4, h5, h6{font-size: 100%;} 6 | address, cite, dfn, em, var{font-style: normal;} 7 | code, kbd, pre, samp {font-family: courier new, courier,monospace;} 8 | small {font-size: 12px;} 9 | ul, ol{list-style: none;} 10 | a {text-decoration: none;} 11 | a:hover{text-decoration: underline;} 12 | sup {vertical-align: text-top;} 13 | sub {vertical-align: text-bottom;} 14 | legend{color: #000;} 15 | fieldset, img{border: 0;} 16 | button, input, select, textarea{font-size: 100%;} 17 | table {border-collapse: collapse; border-spacing: 0;} -------------------------------------------------------------------------------- /themes/system/skin/iframe.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /* custom */ 3 | body {background: #be0a0a; font-family: 微软雅黑;} 4 | #wrapper {margin: 0 auto; width: 100%;} 5 | /* header */ 6 | #header {height: 70px;} 7 | #logo {background: url(logo.png) no-repeat; float: left; height: 70px; width: 200px;} 8 | #link {color: #fff; margin-left: 200px; padding: 25px 20px 0px 0px; text-align: right;} 9 | #link a {color: #fff; text-decoration: none;} 10 | /* mainer */ 11 | #mainer {padding: 0 5px;} 12 | #mainer-left {float: left; width: 170px;} 13 | #mainer-right {margin-left: 175px;} 14 | #sidebar {background: #fee; border: solid 1px #a11414; overflow-y: auto;} 15 | #content {background: #fee; border: solid 1px #a11414; _zoom: 1} 16 | #main_frame {height: 100%; width: 100%;} -------------------------------------------------------------------------------- /themes/system/skin/ipt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/system/skin/ipt.png -------------------------------------------------------------------------------- /themes/system/skin/login.css: -------------------------------------------------------------------------------- 1 | @charset "utf-8"; 2 | /* custom */ 3 | body {background: #fff;} 4 | body, input, select, textarea {color: #555; font: normal 12px Verdana, Arial, Helvetica, sans-serif; vertical-align: middle;} 5 | a {color: #333; text-decoration: none;} 6 | a:hover {color: #f30; text-decoration: underline;} 7 | .sel {background: #fff url(ipt.png); border: solid 1px #dadada; height: 23px;} 8 | .ipt {background: #fff url(ipt.png); border-top: solid 1px #dadada; border-left: solid 1px #dadada; border-right: solid 1px #f3f3f3; border-bottom: solid 1px #f3f3f3; padding: 4px;} 9 | .btn {background: #be0a0a; border: solid 1px #a70000; color: #fff; height: 25px; padding: 0px 8px; _padding: 0px 3px;} 10 | /* loginbox */ 11 | #loginbox {border: solid 3px #be0a0a; margin: 100px auto 0px auto; width: 350px;} 12 | #loginbox h2 {background: #be0a0a; color: #fff; font: bold 12px/120% normal; padding: 7px;} 13 | #loginbox div {} 14 | #formbox {background: #fff; padding: 15px 0px 15px 30px;} 15 | #formbox table tr th {font: 12px normal; padding: 15px 5px; text-align: right; width: 35%;} 16 | #formbox table tr td {line-height: 25px;} 17 | #btnbox {background: #fee; border-top: solid 1px #fadddd; clear: both; color: #be5050; padding: 10px; text-align: center;} -------------------------------------------------------------------------------- /themes/system/skin/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/system/skin/logo.png -------------------------------------------------------------------------------- /themes/system/skin/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/themes/system/skin/title.png -------------------------------------------------------------------------------- /uploads/article/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shaojiankui/35dir/fa1e938510ac83754207462d37cf4db3b489f184/uploads/article/index.html --------------------------------------------------------------------------------