├── .htaccess ├── README.md ├── config.php ├── data ├── sql │ └── db.sql └── static │ ├── advers.php │ ├── archives.php │ ├── categories.php │ ├── category_1.php │ ├── labels.php │ ├── links.php │ ├── options.php │ └── stats.php ├── favicon.ico ├── httpd.ini ├── ico ├── fav.php ├── fav_function.php └── i │ ├── fav_erro.png │ └── no.png ├── index.php ├── install ├── agreement.php ├── database.php ├── footer.php ├── function.php ├── header.php ├── images │ ├── button.gif │ └── skin.css ├── index.php └── install.php ├── member ├── index.php └── module │ ├── activate.php │ ├── claim.php │ ├── common.php │ ├── getpwd.php │ ├── home.php │ ├── login.php │ ├── logout.php │ ├── profile.php │ ├── register.php │ ├── reset.php │ ├── verify.php │ └── website.php ├── module ├── ajaxget.php ├── api.php ├── archives.php ├── category.php ├── common.php ├── feedback.php ├── getdata.php ├── index.php ├── link.php ├── rssfeed.php ├── search.php ├── siteinfo.php ├── sitemap.php ├── top.php ├── update.php └── webdir.php ├── public ├── editor │ ├── kindeditor-min.js │ ├── kindeditor.js │ ├── lang │ │ ├── ar.js │ │ ├── en.js │ │ ├── zh_CN.js │ │ └── zh_TW.js │ ├── license.txt │ ├── plugins │ │ ├── anchor │ │ │ └── anchor.js │ │ ├── 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 │ │ │ │ └── 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.gif │ │ ├── insertfile │ │ │ └── insertfile.js │ │ ├── lineheight │ │ │ └── lineheight.js │ │ ├── link │ │ │ └── link.js │ │ ├── map │ │ │ ├── map.html │ │ │ └── map.js │ │ ├── media │ │ │ └── media.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 │ │ ├── bg.gif │ │ ├── default.css │ │ └── default.png │ │ └── simple │ │ └── simple.css ├── images │ ├── loading.gif │ ├── qcloud01.jpg │ ├── qcloud02.jpg │ ├── qcloud03.jpg │ └── rss.gif ├── scripts │ ├── admin.js │ ├── common.js │ ├── iepng.js │ ├── jquery.min.js │ ├── jquery.treeview.js │ ├── linkage.select.js │ ├── 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 │ └── treeview.css └── style │ └── default │ ├── arrow.gif │ ├── logo.png │ ├── select.gif │ ├── sprite.png │ ├── style.css │ └── visit.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 │ ├── mysql.php │ ├── pagerank.php │ ├── sendmail.php │ ├── smarty.php │ ├── snoopy.php │ └── validate.php ├── init.php ├── module │ ├── adver.php │ ├── category.php │ ├── diypage.php │ ├── feedback.php │ ├── label.php │ ├── link.php │ ├── option.php │ ├── prelink.php │ ├── rewrite.php │ ├── siteurl.php │ ├── stats.php │ ├── user.php │ ├── webdata.php │ └── website.php └── version.php ├── system ├── admin.php ├── adver.php ├── cache.php ├── category.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 ├── user.php └── website.php └── themes ├── default ├── archives.html ├── feedback.html ├── footer.html ├── header.html ├── index.html ├── msgbox.html ├── script.html ├── search.html ├── siteinfo.html ├── top.html ├── topbar.html ├── update.html └── webdir.html ├── member ├── activate.html ├── claim.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 │ ├── fbg.gif │ ├── hbg.png │ ├── ipt.png │ ├── login.css │ ├── logo.png │ ├── member.css │ └── tbg.png ├── verify_mail.html └── website.html └── system ├── admin.html ├── adver.html ├── audit_mail.html ├── cache.html ├── category.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 ├── skin ├── global.css ├── iframe.css ├── ipt.png ├── login.css ├── logo.png ├── page.css └── title.png ├── user.html └── website.html /.htaccess: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/.htaccess -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # PHP网站目录源码 2 | 3 | 基于35DIR内核修改的网站目录程序源码。基于PHP+MYSQL 4 | 5 | ------------------------- 6 | 7 | **推荐主机商** 8 | 9 | 1、糖果主机([查看官方网站购买][1]) 10 | 11 | 提供香港、美国等无需备案的Linux虚拟主机,支持支付宝付款。年付最低270元。 12 | 13 | 2、腾讯云服务器([腾讯云服务器优惠活动][2]) 14 | 15 | **网站目录介绍** 16 | 1、基于35DIR内核和lply主题修改版完善的网站目录 17 | 2、支持提交网站HTTP和HTTPS 18 | 3、更换缩略图接口 19 | 4、优化模板结构样式体验更简单 20 | 5...... 21 | 22 | **系统要求支持** 23 | 1、支持PHP5.3+MYSQL 24 | 2、建议是APACHE系统 25 | 26 | **演示网站和支持** 27 | 28 | 1、演示网站:[https://www.141.biz/][3] 29 | 30 | 2、作者网站(老蒋):[https://www.itbulu.com/][4] 31 | 32 | 3、发布支持网站:[https://www.laobuluo.com/][5] 33 | 34 | 35 | [1]: http://www.sugarhosts.com/members/aff.php?aff=571 36 | [2]: https://www.laobuluo.com/tengxunyun/ 37 | [3]: https://www.141.biz/ 38 | [4]: https://www.itbulu.com/ 39 | [5]: https://www.laobuluo.com/ 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /config.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/static/advers.php: -------------------------------------------------------------------------------- 1 | array( 9 | 'adver_type' => '2', 10 | 'adver_name' => '广告位(3)250*250', 11 | 'adver_url' => '', 12 | 'adver_code' => '这是广告位(3),请在后台网站广告放置广告代码!', 13 | 'adver_etips' => '', 14 | 'adver_days' => '0', 15 | 'adver_date' => '1472112532' 16 | ), 17 | '2' => array( 18 | 'adver_type' => '2', 19 | 'adver_name' => '广告位(2)710*100', 20 | 'adver_url' => '', 21 | 'adver_code' => '这是广告位(2),请在后台网站广告放置广告代码!', 22 | 'adver_etips' => '', 23 | 'adver_days' => '0', 24 | 'adver_date' => '1472112571' 25 | ), 26 | '1' => array( 27 | 'adver_type' => '2', 28 | 'adver_name' => '广告位(1)250*250', 29 | 'adver_url' => '', 30 | 'adver_code' => '这是广告位(1),请在后台网站广告放置广告代码!', 31 | 'adver_etips' => '', 32 | 'adver_days' => '0', 33 | 'adver_date' => '1472112491' 34 | ), 35 | ); 36 | ?> -------------------------------------------------------------------------------- /data/static/archives.php: -------------------------------------------------------------------------------- 1 | array( 9 | '08' => '1', 10 | ), 11 | ); 12 | ?> -------------------------------------------------------------------------------- /data/static/categories.php: -------------------------------------------------------------------------------- 1 | array( 9 | 'cate_id' => '1', 10 | 'root_id' => '0', 11 | 'cate_name' => '测试', 12 | 'cate_dir' => '', 13 | 'cate_url' => '', 14 | 'cate_isbest' => '1', 15 | 'cate_keywords' => '', 16 | 'cate_description' => '', 17 | 'cate_arrparentid' => '0', 18 | 'cate_arrchildid' => '1', 19 | 'cate_childcount' => '0', 20 | 'cate_postcount' => '0' 21 | ), 22 | ); 23 | ?> -------------------------------------------------------------------------------- /data/static/category_1.php: -------------------------------------------------------------------------------- 1 | '1', 9 | 'root_id' => '0', 10 | 'cate_name' => '测试', 11 | 'cate_dir' => '', 12 | 'cate_url' => '', 13 | 'cate_isbest' => '1', 14 | 'cate_keywords' => '', 15 | 'cate_description' => '', 16 | 'cate_arrparentid' => '0', 17 | 'cate_arrchildid' => '1', 18 | 'cate_childcount' => '0', 19 | 'cate_postcount' => '0', 20 | ); 21 | ?> -------------------------------------------------------------------------------- /data/static/labels.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/static/links.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/static/options.php: -------------------------------------------------------------------------------- 1 | '141网站导航', 9 | 'site_title' => '141网站导航', 10 | 'site_url' => 'https://www.itbulu.com', 11 | 'site_root' => '/', 12 | 'admin_email' => 'admi@qq.com', 13 | 'site_keywords' => '', 14 | 'site_description' => '全人工编辑的开放式网站分类目录,收录国内外、各行业优秀网站,旨在为用户提供网站分类目录检索、优秀网站参考、网站推广服务。', 15 | 'site_copyright' => 'CopyRight 141博客导航 All Rights Reserved.', 16 | 'regname_small' => '2', 17 | 'regname_large' => '6', 18 | 'regname_forbid' => 'admin 19 | 管理员 20 | 来派领域 21 | lply', 22 | 'home_instat' => '20', 23 | 'home_outstat' => '20', 24 | 'home_isbest' => '50', 25 | 'home_new' => '13', 26 | 'is_enabled_gzip' => 'yes', 27 | 'is_enabled_submit' => 'yes', 28 | 'submit_close_reason' => '', 29 | 'data_update_cycle' => '1', 30 | 'is_enabled_register' => 'yes', 31 | 'register_email_verify' => 'no', 32 | 'is_enabled_rewrite' => 'yes', 33 | 'rewrite_suffix' => '.html', 34 | 'smtp_host' => 'smtp.163.com', 35 | 'smtp_port' => '25', 36 | 'smtp_auth' => 'yes', 37 | 'smtp_user' => 'username@163.com', 38 | 'smtp_pass' => 'password', 39 | 'filter_words' => 'sb 40 | 共产党 41 | 发票', 42 | ); 43 | ?> -------------------------------------------------------------------------------- /data/static/stats.php: -------------------------------------------------------------------------------- 1 | '1', 9 | 'website' => '1', 10 | 'adver' => '0', 11 | 'link' => '0', 12 | 'feedback' => '0', 13 | 'label' => '0', 14 | 'page' => '0', 15 | ); 16 | ?> -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/favicon.ico -------------------------------------------------------------------------------- /httpd.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/httpd.ini -------------------------------------------------------------------------------- /ico/fav.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ico/fav_function.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ico/i/fav_erro.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/ico/i/fav_erro.png -------------------------------------------------------------------------------- /ico/i/no.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/ico/i/no.png -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | query("UPDATE ".$DB->table('website')." w, ".$DB->table('webdata')." d SET d.web_instat=d.web_instat+1, d.web_itime=".time()." WHERE w.web_id=d.web_id AND web_url='$domain'"); 36 | } 37 | } 38 | } else { 39 | _404(); 40 | } 41 | ?> -------------------------------------------------------------------------------- /install/footer.php: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 |
Copyright © 2018 博客导航
-------------------------------------------------------------------------------- /install/header.php: -------------------------------------------------------------------------------- 1 |
2 | 3 | 4 |
-------------------------------------------------------------------------------- /install/images/button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/install/images/button.gif -------------------------------------------------------------------------------- /install/images/skin.css: -------------------------------------------------------------------------------- 1 | body,td,th {color: #444; font: 12px Arial, Helvetica, sans-serif;} 2 | body {background: #f1f1f1; margin: 0;} 3 | ul,li,h1,h2,h3,h4,p {margin: 0; padding: 0; list-style: none} 4 | a:link {color: #777; text-decoration: none;} 5 | a:visited {color: #777; text-decoration: none;} 6 | a:hover {color: #06f; text-decoration: none;} 7 | a:active {color: #777; text-decoration: none;} 8 | #main {background: #fff; margin: 30px auto 0 auto; width: 980px;} 9 | .logo {background: url(logo.png) no-repeat; float: left; height: 95px; margin-left: 15px; width: 250px;} 10 | #link {color: #fff; float: right; font-size: 12px; height: 25px; line-height: 25px; margin-right: 20px; margin-top: 35px; text-align: right; width: 350px;} 11 | #link a {color:#fff !important; margin: 0 5px;} 12 | #link a:hover { color:#FF0 !important} 13 | .top {background: #078fdf; height: 95px;} 14 | .foot {clear: both; height: 50px; line-height: 40px; margin: 10px auto 0 auto; text-align: center; width: 980px;} 15 | .central {height: 650px; margin: 20px auto 0 auto; width: 940px;} 16 | #left {border-right: solid 1px #e1e1e1; float: left; height: 650px; width: 210px;} 17 | #left ul {} 18 | #left ul li {border-bottom: solid 1px #eee; color: #777; height: 85px; margin-bottom: 10px;} 19 | #left h1 {font-size: 50px; float: left; width: 40px;} 20 | .left_title {width: 160px; float: left} 21 | .left_title h2 {font-size: 14px; line-height: 30px;} 22 | .left_title p {color: #999; line-height: 20px} 23 | .install {color: #008dc7 !important} 24 | .right {float: right; height: 460px; width: 710px;} 25 | .right_title {border-bottom: solid 1px #eee; font: bold 16px normal; height: 40px; line-height: 25px; width: 100%;} 26 | .button {background: url(button.gif) no-repeat; border: 0; color: #4e4e4e; cursor: pointer; height: 38px; font-weight: bold; text-align: center; width: 240px;} 27 | .agree {border-top: solid 1px #eee; padding-top: 20px;} 28 | .setup_input {border: solid 1px #e2e2e2; color: #4e4e4e; height: 18px; padding: 5px; font: bold 14px Arial, Helvetica, sans-serif; width: 205px;} 29 | .lightcolor {color:#808080;} -------------------------------------------------------------------------------- /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/common.php: -------------------------------------------------------------------------------- 1 | assign('site_root', $options['site_root']); 10 | $smarty->assign('site_name', $options['site_name']); 11 | $smarty->assign('site_url', $options['site_url']); 12 | $smarty->assign('site_copyright', $options['site_copyright']); 13 | $smarty->assign('cfg', $options); #options 14 | $smarty->display($template, $cache_id, $compile_id); 15 | 16 | if ($options['is_enabled_rewrite'] == 'yes') { 17 | $content = rewrite_output($content); 18 | } 19 | unset($options); 20 | echo $content; 21 | 22 | #gzip 23 | if($options['is_enabled_gzip'] == 'yes') { 24 | $buffer = ob_get_contents(); 25 | ob_end_clean(); 26 | if(extension_loaded('zlib')) { 27 | ob_start('ob_gzhandler'); 28 | } else { 29 | ob_start(); 30 | } 31 | 32 | echo $buffer; 33 | } 34 | } 35 | 36 | 37 | function msgbox($msg, $url = 'javascript: history.go(-1);') { 38 | global $smarty; 39 | 40 | $template = 'msgbox.html'; 41 | template_exists($template); 42 | 43 | $smarty->assign('msg', $msg); 44 | $smarty->assign('url', $url); 45 | echo $smarty->fetch('msgbox.html'); 46 | @ob_end_flush(); 47 | exit(); 48 | } 49 | 50 | function redirect($url) { 51 | header('location:'.$url, false, 301); 52 | exit; 53 | } 54 | 55 | function get_scripttime() { 56 | global $DB, $options, $start_time; 57 | 58 | $mtime = explode(' ', microtime()); 59 | $end_time = $mtime[1] + $mtime[0]; 60 | $exec_time = number_format(($end_time - $start_time), 6); 61 | $gzip = $options['is_enabled_gzip'] ? 'Enabled' : 'Disabled'; 62 | 63 | return 'Processed in '.$exec_time.' second(s), '.$DB->queries.' Queries, Gzip '.$gzip; 64 | } 65 | 66 | function insert_script_time() { 67 | return get_scripttime(); 68 | } 69 | 70 | /** site path */ 71 | function get_sitepath() { 72 | global $options; 73 | 74 | $strpath = '当前位置:'.$options['site_name'].' » 会员中心'; 75 | 76 | return $strpath; 77 | } 78 | ?> -------------------------------------------------------------------------------- /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 | 14 | smarty_output($tplfile); 15 | ?> -------------------------------------------------------------------------------- /member/module/login.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 | if ($_POST['action'] == 'login') { 16 | $user_email = trim($_POST['email']); 17 | $user_pass = trim($_POST['pass']); 18 | 19 | if (empty($user_email) || !is_valid_email($user_email)) { 20 | msgbox('请输入有效的电子邮箱!'); 21 | } 22 | 23 | if (empty($user_pass)) { 24 | msgbox('请输入登陆密码!'); 25 | } 26 | 27 | $newpass = md5($user_pass); 28 | $user = $DB->fetch_one("SELECT user_id, user_pass, login_time, login_count FROM $table WHERE user_email='$user_email'"); 29 | if (!$user) { 30 | msgbox('用户名或密码错误,请重试!'); 31 | } else { 32 | if ($newpass != $user['user_pass']) { 33 | msgbox('用户名或密码错误,请重试!'); 34 | } else { 35 | //积分 36 | if (datediff('h', $user['login_time']) == 24) { 37 | $DB->query("UPDATE $table SET user_score=user_score+1 WHERE user_id=".$user['user_id']." LIMIT 1"); 38 | } 39 | 40 | $ip_address = sprintf("%u", ip2long(get_client_ip())); 41 | $login_count = $user['login_count'] + 1; 42 | 43 | $data = array( 44 | 'login_time' => time(), 45 | 'login_ip' => $ip_address, 46 | 'login_count' => $login_count, 47 | ); 48 | $where = array('user_id' => $user['user_id']); 49 | $DB->update($table, $data, $where); 50 | 51 | $auth_cookie = authcode("$user[user_id]|$newpass|$login_count"); 52 | $expire = time() + 3600 * 24; 53 | setcookie('auth_cookie', $auth_cookie, $expire, $options['site_root']); 54 | 55 | redirect('?mod=home'); 56 | } 57 | } 58 | } 59 | } 60 | 61 | smarty_output($tplfile); 62 | ?> -------------------------------------------------------------------------------- /member/module/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /member/module/reset.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 | if (empty($verify_code)) { 18 | msgbox('校验代码错误!'); 19 | } 20 | $smarty->assign('code', $verify_code); 21 | 22 | $user = $DB->fetch_one("SELECT user_id FROM $table WHERE user_id='$user_id'"); 23 | if (!$user) { 24 | msgbox('您还不是本站会员!', '?mod=register'); 25 | } 26 | 27 | if ($_POST['action'] == 'save') { 28 | $user_email = trim($_POST['email']); 29 | $verify_code = trim($_POST['code']); 30 | $user_pass = trim($_POST['pass']); 31 | $user_pass1 = trim($_POST['pass1']); 32 | 33 | if (empty($user_email) || !is_valid_email($user_email)) { 34 | msgbox('请输入有效的电子邮箱!'); 35 | } 36 | 37 | if (empty($verify_code)) { 38 | msgbox('请输入校验码!'); 39 | } 40 | 41 | if (empty($user_pass)) { 42 | msgbox('请输入新密码!'); 43 | } else { 44 | if (strlen($user_pass) < 6 || strlen($user_pass) > 20) { 45 | msgbox('密码长度请保持在6-20个字符!'); 46 | } 47 | } 48 | 49 | if (empty($user_pass1)) { 50 | msgbox('请输入确认密码!'); 51 | } 52 | 53 | if ($user_pass != $user_pass1) { 54 | msgbox('两次密码输入不一致,请重新输入!'); 55 | } 56 | 57 | $user = $DB->fetch_one("SELECT user_id, verify_code FROM $table WHERE user_email='$user_email'"); 58 | if (!$user) { 59 | msgbox('您还不是本站会员!', '?mod=register'); 60 | } else { 61 | if ($verify_code != $user['verify_code']) { 62 | msgbox('校验代码错误或已失效!'); 63 | } 64 | $DB->update($table, array('user_pass' => md5($user_pass)), array('user_id' => $user['user_id'])); 65 | 66 | msgbox('恭喜!您的密码已重置成功!', '?mod=login'); 67 | } 68 | } 69 | } 70 | 71 | smarty_output($tplfile); 72 | ?> -------------------------------------------------------------------------------- /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 | ?> 26 | -------------------------------------------------------------------------------- /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/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/getdata.php: -------------------------------------------------------------------------------- 1 | query("UPDATE ".$DB->table('webdata')." SET web_utime='$update_time' WHERE web_id=".$web['web_id']); 20 | #server ip 21 | if ($type == 'ip') { 22 | $ip = get_serverip($web['web_url']); 23 | $ip = sprintf("%u", ip2long($ip)); 24 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_ip='$ip' WHERE web_id=".$web['web_id']); 25 | } 26 | 27 | #google pagerank 28 | if ($type == 'grank') { 29 | $rank = get_pagerank($web['web_url']); 30 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_grank='$rank' WHERE web_id=".$web['web_id']); 31 | } 32 | 33 | #baidu pagerank 34 | if ($type == 'brank') { 35 | $rank = get_baidurank($web['web_url']); 36 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_brank='$rank' WHERE web_id=".$web['web_id']); 37 | } 38 | 39 | #sogou pagerank 40 | if ($type == 'srank') { 41 | $rank = get_sogourank($web['web_url']); 42 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_srank='$rank' WHERE web_id=".$web['web_id']); 43 | } 44 | 45 | #alexa rank 46 | if ($type == 'arank') { 47 | $rank = get_alexarank($web['web_url']); 48 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_arank='$rank' WHERE web_id=".$web['web_id']); 49 | } 50 | } 51 | 52 | #outstat 53 | if ($type == 'outstat') { 54 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_outstat=web_outstat+1, web_otime=".time()." WHERE web_id=".$web['web_id']); 55 | } 56 | 57 | #error 58 | if ($type == 'error') { 59 | $DB->query("UPDATE ".$DB->table('webdata')." SET web_errors=web_errors+1, web_utime=".time()." WHERE web_id=".$web['web_id']); 60 | } 61 | } 62 | ?> 63 | -------------------------------------------------------------------------------- /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/link.php: -------------------------------------------------------------------------------- 1 | table('links'); 8 | 9 | $pagesize = 10; 10 | $curpage = intval($_GET['page']); 11 | if ($curpage > 1) { 12 | $start = ($curpage - 1) * $pagesize; 13 | } else { 14 | $start = 0; 15 | $curpage = 1; 16 | } 17 | 18 | if (!$smarty->isCached($tempfile)) { 19 | $smarty->assign('pagename', $pagename); 20 | $smarty->assign('site_title', $pagename.' - '.$options['site_title']); 21 | $smarty->assign('site_keywords', $options['site_keywords']); 22 | $smarty->assign('site_description', $options['site_description']); 23 | $smarty->assign('site_path', get_sitepath().' » '.$pagename); 24 | $smarty->assign('site_rss', get_rssfeed()); 25 | 26 | $linklist = get_link_list('link_display = 1', 'link_id', 'DESC', $start, $pagesize); 27 | $total = $DB->get_count($table, $where); 28 | $showpage = showpage($pageurl, $total, $curpage, $pagesize); 29 | 30 | $smarty->assign('total', $total); 31 | $smarty->assign('linklist', $linklist); 32 | $smarty->assign('showpage', $showpage); 33 | unset($linklist); 34 | } 35 | 36 | smarty_output($tempfile); 37 | ?> -------------------------------------------------------------------------------- /module/rssfeed.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /module/search.php: -------------------------------------------------------------------------------- 1 | table('website'); 8 | 9 | //搜索页不缓存 10 | $smarty->caching = false; 11 | 12 | $pagesize = 10; 13 | $curpage = intval($_GET['page']); 14 | if ($curpage > 1) { 15 | $start = ($curpage - 1) * $pagesize; 16 | } else { 17 | $start = 0; 18 | $curpage = 1; 19 | } 20 | 21 | $strtype = strtolower(trim($_GET['type'])); 22 | $keyword = addslashes(trim($_GET['query'])); 23 | 24 | if (!$smarty->isCached($tempfile)) { 25 | $where = "a.web_status=3"; 26 | if ($keyword) { 27 | $pageurl .= '&type='.$strtype.'&query='.urlencode($keyword); 28 | 29 | $smarty->assign('site_title', $keyword.' - '.$pagename.' - '.$options['site_name']); 30 | $smarty->assign('site_keywords', $keyword.',搜索结果,查询结果'); 31 | $smarty->assign('site_description', '以下是与关键字(词)“'.$keyword.'”相关的结果。'); 32 | $smarty->assign('site_path', get_sitepath().' » '.$pagename.' » '.$keyword.''); 33 | $smarty->assign('rss_feed', get_rssfeed()); 34 | 35 | switch ($strtype) { 36 | case 'name' : 37 | $where = "w.web_name like '%$keyword%'"; 38 | break; 39 | case 'url' : 40 | $where = "w.web_url like '%$keyword%'"; 41 | break; 42 | case 'tags' : 43 | $where = "w.web_tags like '%$keyword%'"; 44 | break; 45 | case 'intro' : 46 | $where = "w.web_intro like '%$keyword%'"; 47 | default : 48 | $where = "w.web_name like '%$keyword%'"; 49 | break; 50 | } 51 | } 52 | 53 | $websites = get_website_list($where, 'web_ctime', 'DESC', $start, $pagesize); 54 | $total = $DB->get_count($table.' w', $where); 55 | $showpage = showpage($pageurl, $total, $curpage, $pagesize); 56 | 57 | $smarty->assign('pagename', $pagename); 58 | $smarty->assign('category_list', get_categories()); 59 | $smarty->assign('archives', get_archives()); 60 | $smarty->assign('keyword', $keyword); 61 | $smarty->assign('total', $total); 62 | $smarty->assign('websites', $websites); 63 | $smarty->assign('showpage', $showpage); 64 | unset($websites); 65 | } 66 | 67 | smarty_output($tempfile, $cache_id); 68 | ?> -------------------------------------------------------------------------------- /module/siteinfo.php: -------------------------------------------------------------------------------- 1 | table('webdata'); 8 | 9 | $web_id = intval($_GET['wid']); 10 | $cache_id = $web_id; 11 | 12 | if (!$smarty->isCached($tempfile, $cache_id)) { 13 | $where = "a.web_status=3 AND a.web_id=$web_id"; 14 | $web = get_one_website($where); 15 | if (!$web) { 16 | unset($web); 17 | redirect('./?mod=index'); 18 | } 19 | 20 | $DB->query("UPDATE $table SET web_views=web_views+1 WHERE web_id=".$web['web_id']." LIMIT 1"); 21 | 22 | $cate = get_one_category($web['cate_id']); 23 | $user = get_one_user($web['user_id']); 24 | 25 | $smarty->assign('site_title', $web['web_name'].' - '.$cate['cate_name'].' - '.$options['site_name']); 26 | $smarty->assign('site_keywords', !empty($web['web_tags']) ? $web['web_tags'] : $options['site_keywords']); 27 | $smarty->assign('site_description', !empty($web['web_intro']) ? $web['web_intro'] : $options['site_description']); 28 | $smarty->assign('site_path', get_sitepath($web['cate_id']).' » '.$pagename); 29 | $smarty->assign('site_rss', get_rssfeed($web['cate_id'])); 30 | 31 | $smarty->assign('cate_id', $cate['cate_id']); 32 | $smarty->assign('cate_name', $cate['cate_name']); 33 | $smarty->assign('cate_keywords', $cate['cate_keywords']); 34 | $smarty->assign('cate_description', $cate['cate_description']); 35 | 36 | $web['web_furl'] = format_url($web['web_url']); 37 | $web['web_thumb'] = get_webthumb($web['web_url']); 38 | $web['web_ip'] = long2ip($web['web_ip']); 39 | $web['web_ctime'] = date('Y-m-d', $web['web_ctime']); 40 | $web['web_utime'] = date('Y-m-d', $web['web_utime']); 41 | 42 | /** tags */ 43 | $web_tags = get_format_tags($web['web_tags']); 44 | $smarty->assign('web_tags', $web_tags); 45 | $smarty->assign('web', $web); 46 | $smarty->assign('user', $user); 47 | $smarty->assign('related_website', get_websites($web['cate_id'], 10, false, 'ctime')); 48 | } 49 | 50 | smarty_output($tempfile, $cache_id); 51 | ?> -------------------------------------------------------------------------------- /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/license.txt: -------------------------------------------------------------------------------- 1 | http://www.kindsoft.net/license.php -------------------------------------------------------------------------------- /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/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/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/0.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/1.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/10.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/100.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/100.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/101.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/101.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/102.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/102.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/103.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/103.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/104.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/104.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/105.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/105.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/106.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/106.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/107.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/107.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/108.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/108.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/109.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/109.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/11.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/110.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/110.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/111.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/111.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/112.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/112.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/113.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/113.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/114.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/114.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/115.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/115.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/116.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/116.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/117.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/117.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/118.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/118.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/119.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/119.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/12.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/120.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/120.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/121.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/121.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/122.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/122.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/123.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/123.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/124.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/124.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/125.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/125.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/126.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/126.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/127.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/127.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/128.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/128.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/129.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/129.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/13.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/130.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/130.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/131.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/131.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/132.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/132.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/133.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/133.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/134.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/134.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/14.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/15.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/16.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/17.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/18.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/19.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/2.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/20.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/21.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/22.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/23.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/24.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/25.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/26.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/27.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/28.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/29.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/3.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/30.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/31.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/32.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/33.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/34.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/35.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/36.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/37.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/38.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/39.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/4.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/40.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/41.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/42.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/43.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/44.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/45.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/46.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/47.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/48.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/49.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/5.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/50.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/51.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/52.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/53.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/54.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/55.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/56.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/57.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/58.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/59.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/6.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/60.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/61.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/62.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/63.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/64.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/65.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/66.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/67.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/68.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/69.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/7.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/70.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/71.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/72.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/72.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/73.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/73.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/74.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/74.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/75.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/75.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/76.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/76.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/77.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/77.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/78.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/78.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/79.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/79.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/8.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/80.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/80.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/81.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/81.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/82.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/82.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/83.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/83.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/84.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/84.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/85.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/85.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/86.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/86.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/87.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/87.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/88.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/88.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/89.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/89.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/9.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/90.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/90.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/91.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/91.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/92.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/92.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/93.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/93.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/94.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/94.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/95.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/95.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/96.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/96.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/97.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/97.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/98.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/98.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/99.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/99.gif -------------------------------------------------------------------------------- /public/editor/plugins/emoticons/images/static.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/emoticons/images/static.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/file-16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/filemanager/images/file-16.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/file-64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/filemanager/images/file-64.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/folder-16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/filemanager/images/folder-16.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/folder-64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/filemanager/images/folder-64.gif -------------------------------------------------------------------------------- /public/editor/plugins/filemanager/images/go-up.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/filemanager/images/go-up.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/align_left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/image/images/align_left.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/align_right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/image/images/align_right.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/align_top.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/image/images/align_top.gif -------------------------------------------------------------------------------- /public/editor/plugins/image/images/refresh.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/plugins/image/images/refresh.gif -------------------------------------------------------------------------------- /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/map/map.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 | 11 | 53 | 54 | 55 |
56 | 57 | -------------------------------------------------------------------------------- /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/quickformat/quickformat.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('quickformat', function(K) { 11 | var self = this, name = 'quickformat', 12 | blockMap = K.toMap('blockquote,center,div,h1,h2,h3,h4,h5,h6,p'); 13 | self.clickToolbar(name, function() { 14 | self.focus(); 15 | var doc = self.edit.doc, 16 | range = self.cmd.range, 17 | child = K(doc.body).first(), next, 18 | nodeList = [], subList = [], 19 | bookmark = range.createBookmark(true); 20 | while(child) { 21 | next = child.next(); 22 | if (blockMap[child.name]) { 23 | child.html(child.html().replace(/^(\s| | )+/ig, '')); 24 | child.css('text-indent', '2em'); 25 | } else { 26 | subList.push(child); 27 | } 28 | if (!next || (blockMap[next.name] || blockMap[child.name] && !blockMap[next.name])) { 29 | if (subList.length > 0) { 30 | nodeList.push(subList); 31 | } 32 | subList = []; 33 | } 34 | child = next; 35 | } 36 | K.each(nodeList, function(i, subList) { 37 | var wrapper = K('

', doc); 38 | subList[0].before(wrapper); 39 | K.each(subList, function(i, knode) { 40 | wrapper.append(knode); 41 | }); 42 | }); 43 | range.moveToBookmark(bookmark); 44 | self.addBookmark(); 45 | }); 46 | }); 47 | 48 | /** 49 | -------------------------- 50 | abcd
51 | 1234
52 | 53 | to 54 | 55 |

56 | abcd
57 | 1234
58 |

59 | 60 | -------------------------- 61 | 62 |   abcd1233 63 |

1234

64 | 65 | to 66 | 67 |

abcd1233

68 |

1234

69 | 70 | -------------------------- 71 | */ -------------------------------------------------------------------------------- /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/plugins/wordpaste/wordpaste.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('wordpaste', function(K) { 11 | var self = this, name = 'wordpaste'; 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 str = doc.body.innerHTML; 27 | str = K.clearMsWord(str, self.filterMode ? self.htmlTags : K.options.htmlTags); 28 | self.insertHtml(str).hideDialog().focus(); 29 | } 30 | } 31 | }), 32 | div = dialog.div, 33 | iframe = K('iframe', div), 34 | doc = K.iframeDoc(iframe); 35 | if (!K.IE) { 36 | doc.designMode = 'on'; 37 | } 38 | doc.open(); 39 | doc.write(' 40 | 41 | WordPaste'); 42 | doc.write(''); 43 | if (!K.IE) { 44 | doc.write('
'); 45 | } 46 | doc.write(''); 47 | doc.close(); 48 | if (K.IE) { 49 | doc.body.contentEditable = 'true'; 50 | } 51 | iframe[0].contentWindow.focus(); 52 | }); 53 | }); 54 | -------------------------------------------------------------------------------- /public/editor/themes/common/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/common/anchor.gif -------------------------------------------------------------------------------- /public/editor/themes/common/blank.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/common/blank.gif -------------------------------------------------------------------------------- /public/editor/themes/common/flash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/common/flash.gif -------------------------------------------------------------------------------- /public/editor/themes/common/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/common/loading.gif -------------------------------------------------------------------------------- /public/editor/themes/common/media.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/common/media.gif -------------------------------------------------------------------------------- /public/editor/themes/common/rm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/common/rm.gif -------------------------------------------------------------------------------- /public/editor/themes/default/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/default/bg.gif -------------------------------------------------------------------------------- /public/editor/themes/default/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/editor/themes/default/default.png -------------------------------------------------------------------------------- /public/images/loading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/images/loading.gif -------------------------------------------------------------------------------- /public/images/qcloud01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/images/qcloud01.jpg -------------------------------------------------------------------------------- /public/images/qcloud02.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/images/qcloud02.jpg -------------------------------------------------------------------------------- /public/images/qcloud03.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/images/qcloud03.jpg -------------------------------------------------------------------------------- /public/images/rss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/images/rss.gif -------------------------------------------------------------------------------- /public/scripts/iepng.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/iepng.js -------------------------------------------------------------------------------- /public/scripts/tree/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/ajax-loader.gif -------------------------------------------------------------------------------- /public/scripts/tree/file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/file.gif -------------------------------------------------------------------------------- /public/scripts/tree/folder-closed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/folder-closed.gif -------------------------------------------------------------------------------- /public/scripts/tree/folder-open.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/folder-open.gif -------------------------------------------------------------------------------- /public/scripts/tree/minus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/minus.gif -------------------------------------------------------------------------------- /public/scripts/tree/plus.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/plus.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-black-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-black-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-black.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-black.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-default-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-default-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-default.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-famfamfam-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-famfamfam-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-famfamfam.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-famfamfam.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-gray-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-gray-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-gray.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-gray.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-red-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-red-line.gif -------------------------------------------------------------------------------- /public/scripts/tree/treeview-red.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/scripts/tree/treeview-red.gif -------------------------------------------------------------------------------- /public/style/default/arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/style/default/arrow.gif -------------------------------------------------------------------------------- /public/style/default/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/style/default/logo.png -------------------------------------------------------------------------------- /public/style/default/select.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/style/default/select.gif -------------------------------------------------------------------------------- /public/style/default/sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/style/default/sprite.png -------------------------------------------------------------------------------- /public/style/default/visit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/public/style/default/visit.gif -------------------------------------------------------------------------------- /source/extend/smarty/plugins/block.nocache.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/plugins/function.counter.php: -------------------------------------------------------------------------------- 1 | 12 | * Name: counter
13 | * Purpose: print out a counter value 14 | * 15 | * @author Monte Ohrt 16 | * @link http://www.smarty.net/manual/en/language.function.counter.php {counter} 17 | * (Smarty online manual) 18 | * @param array $params parameters 19 | * @param Smarty_Internal_Template $template template object 20 | * @return string|null 21 | */ 22 | function smarty_function_counter($params, $template) 23 | { 24 | static $counters = array(); 25 | 26 | $name = (isset($params['name'])) ? $params['name'] : 'default'; 27 | if (!isset($counters[$name])) { 28 | $counters[$name] = array( 29 | 'start'=>1, 30 | 'skip'=>1, 31 | 'direction'=>'up', 32 | 'count'=>1 33 | ); 34 | } 35 | $counter =& $counters[$name]; 36 | 37 | if (isset($params['start'])) { 38 | $counter['start'] = $counter['count'] = (int)$params['start']; 39 | } 40 | 41 | if (!empty($params['assign'])) { 42 | $counter['assign'] = $params['assign']; 43 | } 44 | 45 | if (isset($counter['assign'])) { 46 | $template->assign($counter['assign'], $counter['count']); 47 | } 48 | 49 | if (isset($params['print'])) { 50 | $print = (bool)$params['print']; 51 | } else { 52 | $print = empty($counter['assign']); 53 | } 54 | 55 | if ($print) { 56 | $retval = $counter['count']; 57 | } else { 58 | $retval = null; 59 | } 60 | 61 | if (isset($params['skip'])) { 62 | $counter['skip'] = $params['skip']; 63 | } 64 | 65 | if (isset($params['direction'])) { 66 | $counter['direction'] = $params['direction']; 67 | } 68 | 69 | if ($counter['direction'] == "down") 70 | $counter['count'] -= $counter['skip']; 71 | else 72 | $counter['count'] += $counter['skip']; 73 | 74 | return $retval; 75 | 76 | } 77 | 78 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/plugins/modifier.regex_replace.php: -------------------------------------------------------------------------------- 1 | 13 | * Name: regex_replace
14 | * Purpose: regular expression search/replace 15 | * 16 | * @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php 17 | * regex_replace (Smarty online manual) 18 | * @author Monte Ohrt 19 | * @param string $string input string 20 | * @param string|array $search regular expression(s) to search for 21 | * @param string|array $replace string(s) that should be replaced 22 | * @return string 23 | */ 24 | function smarty_modifier_regex_replace($string, $search, $replace) 25 | { 26 | if(is_array($search)) { 27 | foreach($search as $idx => $s) { 28 | $search[$idx] = _smarty_regex_replace_check($s); 29 | } 30 | } else { 31 | $search = _smarty_regex_replace_check($search); 32 | } 33 | return preg_replace($search, $replace, $string); 34 | } 35 | 36 | /** 37 | * @param string $search string(s) that should be replaced 38 | * @return string 39 | * @ignore 40 | */ 41 | function _smarty_regex_replace_check($search) 42 | { 43 | // null-byte injection detection 44 | // anything behind the first null-byte is ignored 45 | if (($pos = strpos($search,"\0")) !== false) { 46 | $search = substr($search,0,$pos); 47 | } 48 | // remove eval-modifier from $search 49 | if (preg_match('!([a-zA-Z\s]+)$!s', $search, $match) && (strpos($match[1], 'e') !== false)) { 50 | $search = substr($search, 0, -strlen($match[1])) . preg_replace('![e\s]+!', '', $match[1]); 51 | } 52 | return $search; 53 | } 54 | 55 | ?> -------------------------------------------------------------------------------- /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.escape_special_chars.php: -------------------------------------------------------------------------------- 1 | =')) { 10 | /** 11 | * escape_special_chars common function 12 | * 13 | * Function: smarty_function_escape_special_chars
14 | * Purpose: used by other smarty functions to escape 15 | * special chars except for already escaped ones 16 | * 17 | * @author Monte Ohrt 18 | * @param string $string text that should by escaped 19 | * @return string 20 | */ 21 | function smarty_function_escape_special_chars($string) 22 | { 23 | if (!is_array($string)) { 24 | $string = htmlspecialchars($string, ENT_COMPAT, Smarty::$_CHARSET, false); 25 | } 26 | return $string; 27 | } 28 | } else { 29 | /** 30 | * escape_special_chars common function 31 | * 32 | * Function: smarty_function_escape_special_chars
33 | * Purpose: used by other smarty functions to escape 34 | * special chars except for already escaped ones 35 | * 36 | * @author Monte Ohrt 37 | * @param string $string text that should by escaped 38 | * @return string 39 | */ 40 | function smarty_function_escape_special_chars($string) 41 | { 42 | if (!is_array($string)) { 43 | $string = preg_replace('!&(#?\w+);!', '%%%SMARTY_START%%%\\1%%%SMARTY_END%%%', $string); 44 | $string = htmlspecialchars($string); 45 | $string = str_replace(array('%%%SMARTY_START%%%', '%%%SMARTY_END%%%'), array('&', ';'), $string); 46 | } 47 | return $string; 48 | } 49 | } 50 | 51 | ?> -------------------------------------------------------------------------------- /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_str_replace.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/plugins/shared.mb_unicode.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/plugins/variablefilter.htmlspecialchars.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_compile_append.php: -------------------------------------------------------------------------------- 1 | required_attributes = array('var', 'value'); 32 | $this->shorttag_order = array('var', 'value'); 33 | $this->optional_attributes = array('scope', 'index'); 34 | // check and get attributes 35 | $_attr = $this->getAttributes($compiler, $args); 36 | // map to compile assign attributes 37 | if (isset($_attr['index'])) { 38 | $_params['smarty_internal_index'] = '[' . $_attr['index'] . ']'; 39 | unset($_attr['index']); 40 | } else { 41 | $_params['smarty_internal_index'] = '[]'; 42 | } 43 | $_new_attr = array(); 44 | foreach ($_attr as $key => $value) { 45 | $_new_attr[] = array($key => $value); 46 | } 47 | // call compile assign 48 | return parent::compile($_new_attr, $compiler, $_params); 49 | } 50 | 51 | } 52 | 53 | ?> -------------------------------------------------------------------------------- /source/extend/smarty/sysplugins/smarty_internal_compile_block.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/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_internal_nocache_insert.php: -------------------------------------------------------------------------------- 1 | assign('{$_assign}' , {$_function} (" . var_export($_attr, true) . ",\$_smarty_tpl), true);?>"; 41 | } else { 42 | $_output .= "echo {$_function}(" . var_export($_attr, true) . ",\$_smarty_tpl);?>"; 43 | } 44 | $_tpl = $_template; 45 | while ($_tpl->parent instanceof Smarty_Internal_Template) { 46 | $_tpl = $_tpl->parent; 47 | } 48 | return "/*%%SmartyNocache:{$_tpl->properties['nocache_hash']}%%*/" . $_output . "/*/%%SmartyNocache:{$_tpl->properties['nocache_hash']}%%*/"; 49 | } 50 | 51 | } 52 | 53 | ?> 54 | -------------------------------------------------------------------------------- /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/pagerank.php: -------------------------------------------------------------------------------- 1 | checkHash($this->hashURL($url))."&q=info:".$url; 5 | $data = get_url_content($url); 6 | if (!empty($data)) { 7 | preg_match('/Rank_([0-9]+):([0-9]+):([0-9]+)/si', $data, $matches); 8 | return ($matches[3]) ? $matches[3] : 0; 9 | } 10 | return 0; 11 | } 12 | 13 | function strToNum($Str, $Check, $Magic) { 14 | $Int32Unit = 4294967296; 15 | $length = strlen($Str); 16 | for ($i = 0; $i < $length; $i++) { 17 | $Check *= $Magic; 18 | if ($Check >= $Int32Unit) { 19 | $Check = ($Check - $Int32Unit * (int) ($Check / $Int32Unit)); 20 | $Check = ($Check < -2147483648)? ($Check + $Int32Unit) : $Check; 21 | } 22 | $Check += ord($Str{$i}); 23 | } 24 | return $Check; 25 | } 26 | 27 | function hashURL($String) { 28 | $Check1 = $this->strToNum($String, 0x1505, 0x21); 29 | $Check2 = $this->strToNum($String, 0, 0x1003F); 30 | 31 | $Check1 >>= 2; 32 | $Check1 = (($Check1 >> 4) & 0x3FFFFC0 ) | ($Check1 & 0x3F); 33 | $Check1 = (($Check1 >> 4) & 0x3FFC00 ) | ($Check1 & 0x3FF); 34 | $Check1 = (($Check1 >> 4) & 0x3C000 ) | ($Check1 & 0x3FFF); 35 | 36 | $T1 = (((($Check1 & 0x3C0) << 4) | ($Check1 & 0x3C)) <<2 ) | ($Check2 & 0xF0F ); 37 | $T2 = (((($Check1 & 0xFFFFC000) << 4) | ($Check1 & 0x3C00)) << 0xA) | ($Check2 & 0xF0F0000 ); 38 | 39 | return ($T1 | $T2); 40 | } 41 | 42 | function checkHash($Hashnum) { 43 | $CheckByte = 0; 44 | $Flag = 0; 45 | 46 | $HashStr = sprintf('%u', $Hashnum) ; 47 | $length = strlen($HashStr); 48 | 49 | for ($i = $length - 1; $i >= 0; $i --) { 50 | $Re = $HashStr{$i}; 51 | if (1 === ($Flag % 2)) { 52 | $Re += $Re; 53 | $Re = (int)($Re / 10) + ($Re % 10); 54 | } 55 | $CheckByte += $Re; 56 | $Flag ++; 57 | } 58 | 59 | $CheckByte %= 10; 60 | if (0!== $CheckByte) { 61 | $CheckByte = 10 - $CheckByte; 62 | if (1 === ($Flag % 2) ) { 63 | if (1 === ($CheckByte % 2)) {$CheckByte += 9;} 64 | $CheckByte >>= 1; 65 | } 66 | } 67 | 68 | return '7'.$CheckByte.$HashStr; 69 | } 70 | } 71 | ?> -------------------------------------------------------------------------------- /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 | ?> 41 | -------------------------------------------------------------------------------- /source/include/snoopy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/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/feedback.php: -------------------------------------------------------------------------------- 1 | table('feedback')." 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('feedback')." 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_display=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/stats.php: -------------------------------------------------------------------------------- 1 | get_count($DB->table('categories')); 7 | $stat['website'] = $DB->get_count($DB->table('website')); 8 | $stat['apply'] = $DB->get_count($DB->table('website'), array('web_status' => 2)); 9 | $stat['user'] = $DB->get_count($DB->table('users'), 'user_type' != 'admin'); 10 | $stat['adver'] = $DB->get_count($DB->table('advers')); 11 | $stat['link'] = $DB->get_count($DB->table('links')); 12 | $stat['feedback'] = $DB->get_count($DB->table('feedback')); 13 | $stat['label'] = $DB->get_count($DB->table('labels')); 14 | $stat['page'] = $DB->get_count($DB->table('pages')); 15 | 16 | return $stat; 17 | } 18 | ?> -------------------------------------------------------------------------------- /source/version.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /system/admin.php: -------------------------------------------------------------------------------- 1 | assign('site_root', $options['site_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/feedback.php: -------------------------------------------------------------------------------- 1 | table('feedback'); 8 | 9 | if (!isset($action)) $action = 'list'; 10 | 11 | /** list */ 12 | if ($action == 'list') { 13 | $pagetitle = '意见反馈列表'; 14 | 15 | $keywords = addslashes(trim($_POST['keywords'] ? $_POST['keywords'] : $_GET['keywords'])); 16 | $keyurl = $keywords ? '?keywords='.urlencode($keywords) : ''; 17 | $pageurl = $fileurl.$keyurl; 18 | 19 | $where = !empty($keywords) ? "fb_nick like '%$keywords%' OR fb_email like '%$keywords%'" : 1; 20 | $result = get_feedback_list($where, 'fb_id', 'DESC', $start, $pagesize); 21 | $feedback = array(); 22 | foreach ($result as $row) { 23 | $row['fb_date'] = date('Y-m-d H:i:s', $row['fb_date']); 24 | $row['fb_operate'] = '
查看 | 删除'; 25 | $feedback[] = $row; 26 | } 27 | 28 | $total = $DB->get_count($table, $where); 29 | $showpage = showpage($pageurl, $total, $curpage, $pagesize); 30 | 31 | $smarty->assign('keywords', $keywords); 32 | $smarty->assign('feedback', $feedback); 33 | $smarty->assign('showpage', $showpage); 34 | unset($result, $feedback); 35 | } 36 | 37 | /** view */ 38 | if ($action == 'view') { 39 | $pagetitle = '查看意见信息'; 40 | 41 | $fb_id = intval($_GET['fb_id']); 42 | $fb = get_one_feedback($fb_id); 43 | if (!$fb) { 44 | msgbox('指定的内容不存在!'); 45 | } 46 | 47 | $fb['fb_date'] = date('Y-m-d H:i:s', $fb['fb_date']); 48 | $smarty->assign('fb', $fb); 49 | } 50 | 51 | /** del */ 52 | if ($action == 'del') { 53 | $fb_ids = (array) ($_POST['fb_id'] ? $_POST['fb_id'] : $_GET['fb_id']); 54 | 55 | $DB->delete($table, 'fb_id IN ('.dimplode($fb_ids).')'); 56 | unset($fb_ids); 57 | 58 | msgbox('信息删除成功!', $fileurl); 59 | } 60 | 61 | smarty_output($tempfile); 62 | ?> 63 | -------------------------------------------------------------------------------- /system/load.php: -------------------------------------------------------------------------------- 1 | 1) { 12 | $start = ($curpage - 1) * $pagesize; 13 | } else { 14 | $start = 0; 15 | $curpage = 1; 16 | } 17 | 18 | $action = $_GET['act'] ? $_GET['act'] : $_POST['act']; 19 | ?> 20 | -------------------------------------------------------------------------------- /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['user_id'] && $user['user_pass'] == md5($pass)) { 22 | $ip_address = sprintf("%u", ip2long(get_client_ip())); 23 | $login_count = $user['login_count'] + 1; 24 | $data = array( 25 | 'login_time' => time(), 26 | 'login_ip' => $ip_address, 27 | 'login_count' => $login_count, 28 | ); 29 | $where = array('user_id' => $user['user_id']); 30 | $DB->update($table, $data, $where); 31 | $user_auth = authcode("$user[user_id]@$user[user_pass]"); 32 | setcookie('user_auth', $user_auth); 33 | 34 | redirect('admin.php'); 35 | } else { 36 | msgbox('用户名或密码错误,请重试!'); 37 | } 38 | } 39 | 40 | if ($_GET['act'] == 'logout') { 41 | setcookie('user_auth', ''); 42 | redirect('../'); 43 | } 44 | 45 | smarty_output($tempfile); 46 | ?> -------------------------------------------------------------------------------- /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 | ?> 47 | -------------------------------------------------------------------------------- /system/option.php: -------------------------------------------------------------------------------- 1 | table('options'); 7 | 8 | $option = $_GET['opt'] ? $_GET['opt'] : $_POST['opt']; 9 | if (!isset($option)) $option = 'basic'; 10 | $fileurl .= '?opt='.$option; 11 | 12 | if (in_array($option, array('basic', 'misc', 'user', 'rewrite', 'mail'))) { 13 | switch ($option) { 14 | case 'basic' : 15 | $pagetitle = '站点信息'; 16 | break; 17 | case 'misc' : 18 | $pagetitle = '选项设置'; 19 | break; 20 | case 'user' : 21 | $pagetitle = '注册设置'; 22 | break; 23 | case 'rewrite' : 24 | $pagetitle = '伪静态设置'; 25 | break; 26 | case 'mail' : 27 | $pagetitle = '邮件设置'; 28 | break; 29 | default : 30 | $pagetitle = '站点信息'; 31 | break; 32 | } 33 | 34 | $configs = stripslashes_deep($options); 35 | $configs['site_root'] = str_replace('\\', '/', dirname($site_root)); 36 | 37 | $smarty->assign('pagetitle', $pagetitle); 38 | $smarty->assign('option', $option); 39 | $smarty->assign('cfg', $configs); 40 | unset($configs); 41 | 42 | if ($action == 'update') { 43 | foreach ($_POST['cfg'] as $cname => $cval) { 44 | //if ($cname == 'site_url' && !empty($cval)) $cval .= (substr($cval, -1) != '/') ? '/' : ''; 45 | if ($cname == 'data_update_cycle' && $cval <= 0) $cval = 3; 46 | if ($cname == 'filter_words') { 47 | $cval = str_replace(',', ',', $cval); 48 | $cval = str_replace(',,', ',', $cval); 49 | if (substr($cval, -1) == ',') { 50 | $cval = substr($cval, 0, strlen($cval) - 1); 51 | } 52 | } 53 | 54 | $udata = array('option_value' => $cval); 55 | $uwhere = array('option_name' => $cname); 56 | $idata = array('option_name' => $cname, 'option_value' => $cval); 57 | 58 | $DB->fetch_one("SELECT option_name FROM $table WHERE option_name = '$cname'") ? $DB->update($table, $udata, $uwhere) : $DB->insert($table, $idata); 59 | } 60 | update_cache('options'); 61 | 62 | msgbox('更新系统配置成功!', $fileurl); 63 | } 64 | } 65 | 66 | smarty_output($tempfile); 67 | ?> -------------------------------------------------------------------------------- /themes/default/feedback.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {#$site_title#} 6 | 7 | 8 | 9 | 10 | 11 | 12 | {#include file="script.html"#} 13 | 14 | 15 | {#include file="topbar.html"#} 16 | {#include file="header.html"#} 17 |
18 |
19 |
意见/建议反馈
20 |
21 |
22 |
    23 |
  • 用户昵称:

  • 24 |
  • 电子邮件:

  • 25 |
  • 意见内容:

  • 26 |
  • 验证代码:

    点击输入框即可显示验证码

  • 27 |
  •  

     

  • 28 |
29 |
30 |
31 |
32 |
33 | {#include file="footer.html"#} 34 | 35 | -------------------------------------------------------------------------------- /themes/default/footer.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 7 |
-------------------------------------------------------------------------------- /themes/default/header.html: -------------------------------------------------------------------------------- 1 |
2 | 15 |
16 |
17 |
18 |
{#$site_path#}
19 |
-------------------------------------------------------------------------------- /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/script.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /themes/default/topbar.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 | 16 | 19 |
20 | 21 |
22 |
-------------------------------------------------------------------------------- /themes/member/activate.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 |
21 |

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

22 |

{#$message#}

23 |
24 | 27 |
28 | 29 | -------------------------------------------------------------------------------- /themes/member/footer.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /themes/member/getpwd.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 20 |
21 |
22 |

找回账户密码

23 |
24 |
    25 |
  • 只有通过邮箱验证的账号才能找回密码

  • 26 |
  • 点击输入框即可显示验证码

  • 27 |
  • 28 |
29 |
30 |
31 | 未收到密码找回邮件怎么办?
没有收到密码找回邮件,有可能因为延迟导致的,请稍候查收,也可以再次发送。 32 |
33 |
34 |
35 | 38 |
39 | 40 | -------------------------------------------------------------------------------- /themes/member/header.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 31 |
{#$site_path#}
32 |
-------------------------------------------------------------------------------- /themes/member/home.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 |
4 |

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

5 |
    6 |
  1. 1. 您现在的会员等级是 {#$myself.user_type#},注册于 {#$myself.join_time#}
  2. 7 |
  3. 2. 目前您共有 {#$myself.user_score#} 个积分
  4. 8 |
  5. 3. 目前您共提交 {#$myself.site_count#} 个站点,继续提交>>
  6. 9 |
  7. 4. 最后一次登录时间:{#$myself.login_time#},登录IP:{#$myself.login_ip#}
  8. 10 |
11 |
12 | 13 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /themes/member/login.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 |
17 | 18 | 19 |
20 |
21 |

已经是{#$site_name#}会员,现在登录 >>

22 |
23 | 28 |
29 |
30 | 33 |
34 | 35 | -------------------------------------------------------------------------------- /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 |
5 |
    6 |
  • 登录帐号:{#$myself.user_email#}
  • 7 |
  • 原始密码:
  • 8 |
  • 新 密 码:
  • 9 |
  • 确认密码:
  • 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 | {#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.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#$site_title#} 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 20 |
21 |
22 |

重置密码

23 |
24 |
    25 |
  • 26 |
  • 27 |
  • 28 |
  • 29 |
  • 30 |
31 |
32 |
33 |
34 | 37 |
38 | 39 | -------------------------------------------------------------------------------- /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/fbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/member/skin/fbg.gif -------------------------------------------------------------------------------- /themes/member/skin/hbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/member/skin/hbg.png -------------------------------------------------------------------------------- /themes/member/skin/ipt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/member/skin/ipt.png -------------------------------------------------------------------------------- /themes/member/skin/login.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/member/skin/login.css -------------------------------------------------------------------------------- /themes/member/skin/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/member/skin/logo.png -------------------------------------------------------------------------------- /themes/member/skin/member.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/member/skin/member.css -------------------------------------------------------------------------------- /themes/member/skin/tbg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/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/cache.html: -------------------------------------------------------------------------------- 1 | {#include file="header.html"#} 2 | 3 | {#if $action == 'info'#} 4 |

{#$pagetitle#}

5 |
6 |
7 |
8 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | {#foreach from=$caches item=cache#} 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | {#/foreach#} 33 |
缓存名称缓存说明生成时间修改时间缓存大小操作选项
{#$cache.name#}{#$cache.desc#}{#$cache.ctime#}{#$cache.mtime#}{#$cache.size#}查看 | 更新
34 |
35 |
36 | {#/if#} 37 | 38 | {#if $action == 'show'#} 39 |
40 |
41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 54 | 55 |
 
{#$data#}
  49 | 50 | 51 |   52 | 53 |
56 |
57 |
58 | {#/if#} 59 | 60 | {#include file="footer.html"#} -------------------------------------------------------------------------------- /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 | 13 | 14 | 15 |
-------------------------------------------------------------------------------- /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/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; vertical-align: middle;} 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/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/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/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/system/skin/logo.png -------------------------------------------------------------------------------- /themes/system/skin/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/laobuluo/141mulu/858de0a67a8407e0681f2a7dc201c04998d4b692/themes/system/skin/title.png --------------------------------------------------------------------------------