├── Aria2.php ├── Index ├── Conf │ └── config.php ├── Lib │ ├── Action │ │ ├── AdminAction.class.php │ │ ├── IndexAction.class.php │ │ └── OndoAction.class.php │ └── Model │ │ ├── AdminModel.class.php │ │ ├── ControlModel.class.php │ │ ├── OndoModel.class.php │ │ ├── PreModel.class.php │ │ └── VideoModel.class.php ├── Runtime │ ├── Cache │ │ └── 9885ecc411f90bec36756701bd64bb4a.php │ └── Logs │ │ └── 17_02_11.log └── Tpl │ ├── Admin │ ├── index.html │ └── login.html │ ├── Index │ ├── index.html │ ├── search.html │ └── video.html │ └── Public │ ├── comm.html │ ├── duo_top.html │ ├── footer.html │ ├── head.html │ ├── index.html │ └── search.html ├── LICENSE ├── README.md ├── ThinkPHP ├── Common │ ├── common.php │ ├── functions.php │ └── runtime.php ├── Conf │ ├── alias.php │ ├── convention.php │ ├── debug.php │ └── tags.php ├── Extend │ ├── Action │ │ └── RestAction.class.php │ ├── Behavior │ │ ├── AgentCheckBehavior.class.php │ │ ├── BrowserCheckBehavior.class.php │ │ ├── CheckActionRouteBehavior.class.php │ │ ├── CheckLangBehavior.class.php │ │ ├── CronRunBehavior.class.php │ │ ├── FireShowPageTraceBehavior.class.php │ │ ├── RobotCheckBehavior.class.php │ │ └── UpgradeNoticeBehavior.class.php │ ├── Driver │ │ ├── Cache │ │ │ ├── CacheApachenote.class.php │ │ │ ├── CacheApc.class.php │ │ │ ├── CacheDb.class.php │ │ │ ├── CacheEaccelerator.class.php │ │ │ ├── CacheMemcache.class.php │ │ │ ├── CacheRedis.class.php │ │ │ ├── CacheShmop.class.php │ │ │ ├── CacheSqlite.class.php │ │ │ ├── CacheWincache.class.php │ │ │ └── CacheXcache.class.php │ │ ├── Db │ │ │ ├── DbIbase.class.php │ │ │ ├── DbMongo.class.php │ │ │ ├── DbMssql.class.php │ │ │ ├── DbOracle.class.php │ │ │ ├── DbPdo.class.php │ │ │ ├── DbPgsql.class.php │ │ │ ├── DbSqlite.class.php │ │ │ └── DbSqlsrv.class.php │ │ ├── Session │ │ │ └── SessionDb.class.php │ │ ├── TagLib │ │ │ └── TagLibHtml.class.php │ │ └── Template │ │ │ ├── TemplateEase.class.php │ │ │ ├── TemplateLite.class.php │ │ │ ├── TemplateMobile.class.php │ │ │ ├── TemplateSmart.class.php │ │ │ └── TemplateSmarty.class.php │ ├── Function │ │ └── extend.php │ ├── Library │ │ └── ORG │ │ │ ├── Crypt │ │ │ ├── Base64.class.php │ │ │ ├── Crypt.class.php │ │ │ ├── Des.class.php │ │ │ ├── Hmac.class.php │ │ │ ├── Rsa.class.php │ │ │ └── Xxtea.class.php │ │ │ ├── Net │ │ │ ├── Http.class.php │ │ │ ├── IpLocation.class.php │ │ │ └── UploadFile.class.php │ │ │ └── Util │ │ │ ├── ArrayList.class.php │ │ │ ├── Auth.class.php │ │ │ ├── CodeSwitch.class.php │ │ │ ├── Cookie.class.php │ │ │ ├── Date.class.php │ │ │ ├── Debug.class.php │ │ │ ├── HtmlExtractor.class.php │ │ │ ├── Image.class.php │ │ │ ├── Image │ │ │ ├── Driver │ │ │ │ ├── GIF.class.php │ │ │ │ ├── ImageGd.class.php │ │ │ │ └── ImageImagick.class.php │ │ │ ├── ThinkImage.class.php │ │ │ └── readme.md │ │ │ ├── Input.class.php │ │ │ ├── Page.class.php │ │ │ ├── RBAC.class.php │ │ │ ├── Session.class.php │ │ │ ├── Socket.class.php │ │ │ ├── Stack.class.php │ │ │ └── String.class.php │ ├── Mode │ │ ├── Amf │ │ │ ├── Action.class.php │ │ │ ├── App.class.php │ │ │ ├── Db.class.php │ │ │ └── Model.class.php │ │ ├── Cli │ │ │ ├── Action.class.php │ │ │ ├── App.class.php │ │ │ ├── Db.class.php │ │ │ ├── Log.class.php │ │ │ ├── Model.class.php │ │ │ └── functions.php │ │ ├── Lite │ │ │ ├── Action.class.php │ │ │ ├── App.class.php │ │ │ ├── Db.class.php │ │ │ ├── Dispatcher.class.php │ │ │ ├── Model.class.php │ │ │ └── tags.php │ │ ├── Phprpc │ │ │ ├── Action.class.php │ │ │ ├── App.class.php │ │ │ ├── Db.class.php │ │ │ ├── Model.class.php │ │ │ └── alias.php │ │ ├── Rest │ │ │ ├── Action.class.php │ │ │ ├── Behavior │ │ │ │ ├── CheckRestRouteBehavior.class.php │ │ │ │ └── CheckUrlExtBehavior.class.php │ │ │ ├── config.php │ │ │ └── tags.php │ │ ├── Thin │ │ │ ├── Action.class.php │ │ │ ├── App.class.php │ │ │ ├── Db.class.php │ │ │ └── Model.class.php │ │ ├── amf.php │ │ ├── cli.php │ │ ├── lite.php │ │ ├── phprpc.php │ │ ├── rest.php │ │ └── thin.php │ ├── Model │ │ ├── AdvModel.class.php │ │ ├── MongoModel.class.php │ │ ├── RelationModel.class.php │ │ └── ViewModel.class.php │ ├── README.txt │ ├── Tool │ │ ├── Requirements-Checker │ │ │ ├── .htaccess │ │ │ ├── assets │ │ │ │ ├── checker.phtml │ │ │ │ ├── denied │ │ │ │ │ ├── .htaccess │ │ │ │ │ ├── checker.js │ │ │ │ │ └── web.config │ │ │ │ ├── failed.gif │ │ │ │ ├── info.gif │ │ │ │ ├── logo.png │ │ │ │ ├── passed.gif │ │ │ │ ├── rewrite │ │ │ │ │ ├── .htaccess │ │ │ │ │ ├── checker.js │ │ │ │ │ └── web.config │ │ │ │ └── warning.gif │ │ │ └── checker.php │ │ ├── TPM │ │ │ ├── SwitchMobileTplBehavior.class.php │ │ │ ├── TemplateMobile.class.php │ │ │ ├── Tpl │ │ │ │ ├── Index │ │ │ │ │ └── index.html │ │ │ │ ├── Public │ │ │ │ │ ├── css │ │ │ │ │ │ ├── TPMlist.css │ │ │ │ │ │ └── TPMmodal.css │ │ │ │ │ └── js │ │ │ │ │ │ ├── .TPM.js.swp │ │ │ │ │ │ ├── TPM.js │ │ │ │ │ │ ├── TPMlist.js │ │ │ │ │ │ ├── TPMmodal.js │ │ │ │ │ │ ├── TPMupload.js │ │ │ │ │ │ ├── app.js │ │ │ │ │ │ ├── bootstrap.min.js │ │ │ │ │ │ ├── desktopBrowsers.js │ │ │ │ │ │ ├── jquery-1.9.1.min.js │ │ │ │ │ │ ├── jquery-2.0.0.min.js │ │ │ │ │ │ ├── modernizr.js │ │ │ │ │ │ ├── prefixfree.min.js │ │ │ │ │ │ └── touch.js │ │ │ │ ├── index.html │ │ │ │ └── layout.html │ │ │ └── readme.txt │ │ ├── phpunit.php │ │ └── thinkeditor │ │ │ ├── ThinkEditor.js │ │ │ ├── jquery-1.6.2.min.js │ │ │ ├── plugins │ │ │ ├── myplugins.js │ │ │ ├── system.js │ │ │ └── upload_interface.js │ │ │ └── skins │ │ │ ├── default │ │ │ ├── config.js │ │ │ ├── dialog │ │ │ │ ├── css │ │ │ │ │ ├── base.css │ │ │ │ │ └── te_dialog.css │ │ │ │ └── dialog.html │ │ │ ├── img │ │ │ │ ├── bg_img.jpg │ │ │ │ ├── bg_img.png │ │ │ │ ├── resize_center.jpg │ │ │ │ ├── resize_leftjpg.jpg │ │ │ │ └── spacer.gif │ │ │ ├── style.css │ │ │ └── styles.css │ │ │ └── qq_face │ │ │ ├── qq_face.gif │ │ │ ├── qq_face_0.gif │ │ │ ├── qq_face_1.gif │ │ │ ├── qq_face_10.gif │ │ │ ├── qq_face_100.gif │ │ │ ├── qq_face_101.gif │ │ │ ├── qq_face_102.gif │ │ │ ├── qq_face_103.gif │ │ │ ├── qq_face_104.gif │ │ │ ├── qq_face_11.gif │ │ │ ├── qq_face_12.gif │ │ │ ├── qq_face_13.gif │ │ │ ├── qq_face_14.gif │ │ │ ├── qq_face_15.gif │ │ │ ├── qq_face_16.gif │ │ │ ├── qq_face_17.gif │ │ │ ├── qq_face_18.gif │ │ │ ├── qq_face_19.gif │ │ │ ├── qq_face_2.gif │ │ │ ├── qq_face_20.gif │ │ │ ├── qq_face_21.gif │ │ │ ├── qq_face_22.gif │ │ │ ├── qq_face_23.gif │ │ │ ├── qq_face_24.gif │ │ │ ├── qq_face_25.gif │ │ │ ├── qq_face_26.gif │ │ │ ├── qq_face_27.gif │ │ │ ├── qq_face_28.gif │ │ │ ├── qq_face_29.gif │ │ │ ├── qq_face_3.gif │ │ │ ├── qq_face_30.gif │ │ │ ├── qq_face_31.gif │ │ │ ├── qq_face_32.gif │ │ │ ├── qq_face_33.gif │ │ │ ├── qq_face_34.gif │ │ │ ├── qq_face_35.gif │ │ │ ├── qq_face_36.gif │ │ │ ├── qq_face_37.gif │ │ │ ├── qq_face_38.gif │ │ │ ├── qq_face_39.gif │ │ │ ├── qq_face_4.gif │ │ │ ├── qq_face_40.gif │ │ │ ├── qq_face_41.gif │ │ │ ├── qq_face_42.gif │ │ │ ├── qq_face_43.gif │ │ │ ├── qq_face_44.gif │ │ │ ├── qq_face_45.gif │ │ │ ├── qq_face_46.gif │ │ │ ├── qq_face_47.gif │ │ │ ├── qq_face_48.gif │ │ │ ├── qq_face_49.gif │ │ │ ├── qq_face_5.gif │ │ │ ├── qq_face_50.gif │ │ │ ├── qq_face_51.gif │ │ │ ├── qq_face_52.gif │ │ │ ├── qq_face_53.gif │ │ │ ├── qq_face_54.gif │ │ │ ├── qq_face_55.gif │ │ │ ├── qq_face_56.gif │ │ │ ├── qq_face_57.gif │ │ │ ├── qq_face_58.gif │ │ │ ├── qq_face_59.gif │ │ │ ├── qq_face_6.gif │ │ │ ├── qq_face_60.gif │ │ │ ├── qq_face_61.gif │ │ │ ├── qq_face_62.gif │ │ │ ├── qq_face_63.gif │ │ │ ├── qq_face_64.gif │ │ │ ├── qq_face_65.gif │ │ │ ├── qq_face_66.gif │ │ │ ├── qq_face_67.gif │ │ │ ├── qq_face_68.gif │ │ │ ├── qq_face_69.gif │ │ │ ├── qq_face_7.gif │ │ │ ├── qq_face_70.gif │ │ │ ├── qq_face_71.gif │ │ │ ├── qq_face_72.gif │ │ │ ├── qq_face_73.gif │ │ │ ├── qq_face_74.gif │ │ │ ├── qq_face_75.gif │ │ │ ├── qq_face_76.gif │ │ │ ├── qq_face_77.gif │ │ │ ├── qq_face_78.gif │ │ │ ├── qq_face_79.gif │ │ │ ├── qq_face_8.gif │ │ │ ├── qq_face_80.gif │ │ │ ├── qq_face_81.gif │ │ │ ├── qq_face_82.gif │ │ │ ├── qq_face_83.gif │ │ │ ├── qq_face_84.gif │ │ │ ├── qq_face_85.gif │ │ │ ├── qq_face_86.gif │ │ │ ├── qq_face_87.gif │ │ │ ├── qq_face_88.gif │ │ │ ├── qq_face_89.gif │ │ │ ├── qq_face_9.gif │ │ │ ├── qq_face_90.gif │ │ │ ├── qq_face_91.gif │ │ │ ├── qq_face_92.gif │ │ │ ├── qq_face_93.gif │ │ │ ├── qq_face_94.gif │ │ │ ├── qq_face_95.gif │ │ │ ├── qq_face_96.gif │ │ │ ├── qq_face_97.gif │ │ │ ├── qq_face_98.gif │ │ │ └── qq_face_99.gif │ └── Vendor │ │ ├── EaseTemplate │ │ ├── template.core.php │ │ └── template.ease.php │ │ ├── SmartTemplate │ │ ├── class.smarttemplate.php │ │ ├── class.smarttemplatedebugger.php │ │ └── class.smarttemplateparser.php │ │ ├── Smarty │ │ ├── Smarty.class.php │ │ ├── SmartyBC.class.php │ │ ├── debug.tpl │ │ ├── plugins │ │ │ ├── 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 │ │ ├── TemplateLite │ │ ├── class.compiler.php │ │ ├── class.config.php │ │ ├── class.template.php │ │ └── internal │ │ │ ├── compile.compile_config.php │ │ │ ├── compile.compile_custom_block.php │ │ │ ├── compile.compile_custom_function.php │ │ │ ├── compile.compile_if.php │ │ │ ├── compile.generate_compiler_debug_output.php │ │ │ ├── compile.include.php │ │ │ ├── compile.parse_is_expr.php │ │ │ ├── compile.section_start.php │ │ │ ├── debug.tpl │ │ │ ├── template.build_dir.php │ │ │ ├── template.config_loader.php │ │ │ ├── template.destroy_dir.php │ │ │ ├── template.fetch_compile_include.php │ │ │ └── template.generate_debug_output.php │ │ ├── Zend │ │ ├── Amf │ │ │ ├── Adobe │ │ │ │ ├── Auth.php │ │ │ │ ├── DbInspector.php │ │ │ │ └── Introspector.php │ │ │ ├── Auth │ │ │ │ └── Abstract.php │ │ │ ├── Constants.php │ │ │ ├── Exception.php │ │ │ ├── Parse │ │ │ │ ├── Amf0 │ │ │ │ │ ├── Deserializer.php │ │ │ │ │ └── Serializer.php │ │ │ │ ├── Amf3 │ │ │ │ │ ├── Deserializer.php │ │ │ │ │ └── Serializer.php │ │ │ │ ├── Deserializer.php │ │ │ │ ├── InputStream.php │ │ │ │ ├── OutputStream.php │ │ │ │ ├── Resource │ │ │ │ │ ├── MysqlResult.php │ │ │ │ │ ├── MysqliResult.php │ │ │ │ │ └── Stream.php │ │ │ │ ├── Serializer.php │ │ │ │ └── TypeLoader.php │ │ │ ├── Request.php │ │ │ ├── Request │ │ │ │ └── Http.php │ │ │ ├── Response.php │ │ │ ├── Response │ │ │ │ └── Http.php │ │ │ ├── Server.php │ │ │ ├── Server │ │ │ │ └── Exception.php │ │ │ ├── Util │ │ │ │ └── BinaryStream.php │ │ │ └── Value │ │ │ │ ├── ByteArray.php │ │ │ │ ├── MessageBody.php │ │ │ │ ├── MessageHeader.php │ │ │ │ ├── Messaging │ │ │ │ ├── AbstractMessage.php │ │ │ │ ├── AcknowledgeMessage.php │ │ │ │ ├── ArrayCollection.php │ │ │ │ ├── AsyncMessage.php │ │ │ │ ├── CommandMessage.php │ │ │ │ ├── ErrorMessage.php │ │ │ │ └── RemotingMessage.php │ │ │ │ └── TraitsInfo.php │ │ ├── Auth.php │ │ ├── Date.php │ │ ├── Date │ │ │ ├── Cities.php │ │ │ ├── DateObject.php │ │ │ └── Exception.php │ │ ├── Exception.php │ │ ├── Loader.php │ │ ├── Loader │ │ │ ├── Autoloader.php │ │ │ ├── Autoloader │ │ │ │ ├── Interface.php │ │ │ │ └── Resource.php │ │ │ ├── Exception.php │ │ │ ├── PluginLoader.php │ │ │ └── PluginLoader │ │ │ │ ├── Exception.php │ │ │ │ └── Interface.php │ │ ├── Server │ │ │ ├── Abstract.php │ │ │ ├── Cache.php │ │ │ ├── Definition.php │ │ │ ├── Exception.php │ │ │ ├── Interface.php │ │ │ ├── Method │ │ │ │ ├── Callback.php │ │ │ │ ├── Definition.php │ │ │ │ ├── Parameter.php │ │ │ │ └── Prototype.php │ │ │ ├── Reflection.php │ │ │ └── Reflection │ │ │ │ ├── Class.php │ │ │ │ ├── Exception.php │ │ │ │ ├── Function.php │ │ │ │ ├── Function │ │ │ │ └── Abstract.php │ │ │ │ ├── Method.php │ │ │ │ ├── Node.php │ │ │ │ ├── Parameter.php │ │ │ │ ├── Prototype.php │ │ │ │ └── ReturnValue.php │ │ └── Version.php │ │ ├── phpRPC │ │ ├── bigint.php │ │ ├── compat.php │ │ ├── dhparams.php │ │ ├── dhparams │ │ │ ├── 1024.dhp │ │ │ ├── 128.dhp │ │ │ ├── 1536.dhp │ │ │ ├── 160.dhp │ │ │ ├── 192.dhp │ │ │ ├── 2048.dhp │ │ │ ├── 256.dhp │ │ │ ├── 3072.dhp │ │ │ ├── 4096.dhp │ │ │ ├── 512.dhp │ │ │ ├── 768.dhp │ │ │ └── 96.dhp │ │ ├── pecl │ │ │ └── xxtea │ │ │ │ ├── CREDITS │ │ │ │ ├── INSTALL │ │ │ │ ├── LICENSE │ │ │ │ ├── README │ │ │ │ ├── config.m4 │ │ │ │ ├── config.w32 │ │ │ │ ├── php_xxtea.c │ │ │ │ ├── php_xxtea.dsp │ │ │ │ ├── php_xxtea.h │ │ │ │ ├── php_xxtea.sln │ │ │ │ ├── php_xxtea.vcproj │ │ │ │ ├── test │ │ │ │ └── test.php │ │ │ │ ├── xxtea.c │ │ │ │ └── xxtea.h │ │ ├── phprpc_client.php │ │ ├── phprpc_date.php │ │ ├── phprpc_server.php │ │ └── xxtea.php │ │ └── readme.txt ├── LICENSE.txt ├── Lang │ ├── en-us.php │ └── zh-cn.php ├── Lib │ ├── Behavior │ │ ├── CheckRouteBehavior.class.php │ │ ├── ContentReplaceBehavior.class.php │ │ ├── ParseTemplateBehavior.class.php │ │ ├── ReadHtmlCacheBehavior.class.php │ │ ├── ShowPageTraceBehavior.class.php │ │ ├── ShowRuntimeBehavior.class.php │ │ ├── TokenBuildBehavior.class.php │ │ └── WriteHtmlCacheBehavior.class.php │ ├── Core │ │ ├── Action.class.php │ │ ├── App.class.php │ │ ├── Behavior.class.php │ │ ├── Cache.class.php │ │ ├── Db.class.php │ │ ├── Dispatcher.class.php │ │ ├── Log.class.php │ │ ├── Model.class.php │ │ ├── Think.class.php │ │ ├── ThinkException.class.php │ │ ├── View.class.php │ │ └── Widget.class.php │ ├── Driver │ │ ├── Cache │ │ │ └── CacheFile.class.php │ │ ├── Db │ │ │ ├── DbMysql.class.php │ │ │ └── DbMysqli.class.php │ │ └── TagLib │ │ │ └── TagLibCx.class.php │ └── Template │ │ ├── TagLib.class.php │ │ └── ThinkTemplate.class.php ├── README.txt ├── ThinkPHP.php ├── Tpl │ ├── default_index.tpl │ ├── dispatch_jump.tpl │ ├── page_trace.tpl │ └── think_exception.tpl └── logo.png ├── a.jpg ├── danmu.sql ├── index.php └── phpQuery ├── phpQuery.php └── phpQuery ├── Callback.php ├── DOMDocumentWrapper.php ├── DOMEvent.php ├── Zend ├── Exception.php ├── Http │ ├── Client.php │ ├── Client │ │ ├── Adapter │ │ │ ├── Exception.php │ │ │ ├── Interface.php │ │ │ ├── Proxy.php │ │ │ ├── Socket.php │ │ │ └── Test.php │ │ └── Exception.php │ ├── Cookie.php │ ├── CookieJar.php │ ├── Exception.php │ └── Response.php ├── Json │ ├── Decoder.php │ ├── Encoder.php │ └── Exception.php ├── Loader.php ├── Registry.php ├── Uri.php ├── Uri │ ├── Exception.php │ └── Http.php └── Validate │ ├── Abstract.php │ ├── Alnum.php │ ├── Alpha.php │ ├── Barcode.php │ ├── Barcode │ ├── Ean13.php │ └── UpcA.php │ ├── Between.php │ ├── Ccnum.php │ ├── Date.php │ ├── Digits.php │ ├── EmailAddress.php │ ├── Exception.php │ ├── File │ ├── Count.php │ ├── Exists.php │ ├── Extension.php │ ├── FilesSize.php │ ├── ImageSize.php │ ├── MimeType.php │ ├── NotExists.php │ ├── Size.php │ └── Upload.php │ ├── Float.php │ ├── GreaterThan.php │ ├── Hex.php │ ├── Hostname.php │ ├── Hostname │ ├── At.php │ ├── Ch.php │ ├── De.php │ ├── Fi.php │ ├── Hu.php │ ├── Interface.php │ ├── Li.php │ ├── No.php │ └── Se.php │ ├── Identical.php │ ├── InArray.php │ ├── Int.php │ ├── Interface.php │ ├── Ip.php │ ├── LessThan.php │ ├── NotEmpty.php │ ├── Regex.php │ └── StringLength.php ├── bootstrap.example.php ├── compat └── mbstring.php ├── phpQueryEvents.php ├── phpQueryObject.php └── plugins ├── Scripts.php ├── Scripts ├── __config.example.php ├── example.php ├── fix_webroot.php ├── google_login.php ├── print_source.php └── print_websafe.php ├── WebBrowser.php └── example.php /Aria2.php: -------------------------------------------------------------------------------- 1 | ch = curl_init($server); 9 | curl_setopt_array($this->ch, [ 10 | CURLOPT_POST=>true, 11 | CURLOPT_RETURNTRANSFER=>true, 12 | CURLOPT_HEADER=>false 13 | ]); 14 | } 15 | 16 | function __destruct() 17 | { 18 | curl_close($this->ch); 19 | } 20 | 21 | protected function req($data) 22 | { 23 | curl_setopt($this->ch, CURLOPT_POSTFIELDS, $data); 24 | return curl_exec($this->ch); 25 | } 26 | 27 | function __call($name, $arg) 28 | { 29 | $data = [ 30 | 'jsonrpc'=>'2.0', 31 | 'id'=>'1', 32 | 'method'=>'aria2.'.$name, 33 | 'params'=>$arg 34 | ]; 35 | $data = json_encode($data); 36 | $response = $this->req($data); 37 | if($response===false) { 38 | trigger_error(curl_error($this->ch)); 39 | } 40 | return json_decode($response, 1); 41 | } 42 | } -------------------------------------------------------------------------------- /Index/Conf/config.php: -------------------------------------------------------------------------------- 1 | '配置值' 4 | 'DB_TYPE' => 'mysql', // 数据库类型 ss 5 | 'DB_HOST' => 'localhost', // 服务器地址 6 | 'DB_NAME' => 'danmu', // 数据库名 7 | 'DB_USER' => 'root', // 用户名 8 | 'DB_PWD' => '', // 输入安装MySQL时设置的密码 9 | 'DB_PORT' => '3306', // 端口 10 | 'DB_PREFIX' => 'tr_', // 数据库表前缀 11 | // 'SHOW_PAGE_TRACE'=>True, 12 | 'LAYOUT_ON'=>true, 13 | 'LAYOUT_NAME'=>'Public/index' 14 | ); 15 | ?> -------------------------------------------------------------------------------- /Index/Lib/Model/AdminModel.class.php: -------------------------------------------------------------------------------- 1 | where($where)->select(); 6 | $adm=$info['0']; 7 | $pre=md5(md5($pass).$adm['salt']); 8 | if($pre==$adm['password']){ 9 | return true; 10 | }else{ 11 | return false; 12 | } 13 | 14 | } 15 | function jugg_info($user,$pass){ 16 | $where['user']=$user; 17 | $info=$this->where($where)->select(); 18 | $adm=$info['0']; 19 | $pre=md5(md5($pass).$adm['salt']); 20 | if($pre==$adm['password']){ 21 | return $info[0]; 22 | }else{ 23 | return false; 24 | } 25 | 26 | } 27 | function salt(){ 28 | return mt_rand(100000,999999); 29 | } 30 | function change($user,$old,$new){ 31 | $my=$this->jugg_info($user,$old); 32 | if($my){ 33 | $my['salt']=$this->salt(); 34 | $my['password']=md5(md5($new).$my['salt']); 35 | if($this->save($my)){ 36 | $re['con']="修改成功"; 37 | $re['status']=true; 38 | }else{ 39 | $re['status']=false; 40 | $re['con']="未知原因"; 41 | } 42 | }else{ 43 | $re['status']=false; 44 | $re['con']="原密码错误"; 45 | } 46 | return $re; 47 | 48 | } 49 | } -------------------------------------------------------------------------------- /Index/Lib/Model/ControlModel.class.php: -------------------------------------------------------------------------------- 1 | where($xxx)->select(); 6 | if($is_d){//hash时 才记录 7 | if($info['totalLength']<3*pow(2, 20)){ 8 | return; 9 | } 10 | $where['hash']=$info['infoHash']; 11 | $where['status']=array('neq','complete'); 12 | $where['_logic']='and'; 13 | $ref['status']=$info['status']; 14 | $rex=$this->where($where)->select(); 15 | $ref=$rex[0]; 16 | if($ref){//如果数据库已经完成就不动作 17 | $ref['gid']=$info['gid']; 18 | $ref['name']=$ref['name']?$ref['name']:$info['bittorrent']['info']['name']; 19 | $ref['complete']=$info['completedLength'];//已经完成的 20 | $ref['total']=$info['totalLength'];//总任务 21 | $ref['speed']=$info['downloadSpeed']; 22 | $ref['status']=$info['status']; 23 | $ref['dir']=$info['dir']; 24 | if($info['totalLength']==$info['completedLength']){ 25 | $ref['precent']=1; 26 | }else{ 27 | $ref['precent']=round($info['completedLength']/$info['totalLength'],2); 28 | } 29 | $this->save($ref); 30 | } 31 | }else{//创建新的信息 32 | $add['hash']=$info['infoHash']; 33 | $add['gid']=$info['gid']; 34 | $add['name']=$info['bittorrent']['info']['name']; 35 | $add['complete']=$info['completedLength'];//已经完成的 36 | $add['total']=$info['totalLength'];//总任务 37 | $add['speed']=$info['downloadSpeed']; 38 | $add['status']=$info['status']; 39 | $add['dir']=$info['dir']; 40 | $this->add($add); 41 | } 42 | } 43 | function oid_dir($oid){ 44 | $info=$this->find($oid); 45 | return $info['dir']; 46 | } 47 | } -------------------------------------------------------------------------------- /Index/Lib/Model/PreModel.class.php: -------------------------------------------------------------------------------- 1 | add($add); 9 | } 10 | function jugg($magnet){ 11 | $where['magnet']=$magnet; 12 | $jugg=$this->where($where)->select(); 13 | if($jugg){ 14 | return true; 15 | }else{ 16 | return false; 17 | } 18 | } 19 | function dir_info($dir){ 20 | $where['dir']=$dir; 21 | $info=$this->where($where)->select(); 22 | return $info; 23 | } 24 | function dir_name($dir){ 25 | $info=$this->dir_info($dir); 26 | return $info['0']['name']; 27 | } 28 | function dir_magnet($dir){ 29 | $info=$this->dir_info($dir); 30 | return $info['0']['magnet']; 31 | } 32 | } -------------------------------------------------------------------------------- /Index/Lib/Model/VideoModel.class.php: -------------------------------------------------------------------------------- 1 | save($add); 18 | } 19 | function not_image(){//返回没有截图的5个视频 20 | $where['img_array']=array('between',array('','null')); 21 | return $this->where($where)->limit(5)->select(); 22 | } 23 | function ten(){ 24 | $where['img']=array('neq','a.jpg'); 25 | $info=$this->where($where)->order("click")->limit(5)->select(); 26 | return $info; 27 | } 28 | 29 | } 30 | -------------------------------------------------------------------------------- /Index/Runtime/Cache/9885ecc411f90bec36756701bd64bb4a.php: -------------------------------------------------------------------------------- 1 |

:)

欢迎使用 ThinkPHP

-------------------------------------------------------------------------------- /Index/Tpl/Admin/login.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |

管理

4 |
5 |
6 | 7 |
8 |
9 | 10 |
11 |
12 | 13 | 14 |
15 |
16 |
17 | -------------------------------------------------------------------------------- /Index/Tpl/Index/search.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |
4 |
5 |
6 | 7 |
8 | 9 |
10 |
11 |
12 |
13 |
14 |
15 | 16 |
17 |

{$vo['name']}

18 |

发布于 {$vo['time']|date="Y-m-d H:i",###} 热度 {$vo['click']}

19 |
20 |
21 |
22 | {$page} 23 |
24 |
-------------------------------------------------------------------------------- /Index/Tpl/Public/comm.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /Index/Tpl/Public/duo_top.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 |
5 |
6 | 7 | 8 | 9 |
10 |
11 | -------------------------------------------------------------------------------- /Index/Tpl/Public/footer.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |

4 | Powered by gaoji 5 | 6 |

7 |
-------------------------------------------------------------------------------- /Index/Tpl/Public/head.html: -------------------------------------------------------------------------------- 1 |
2 |

看动漫

3 |
-------------------------------------------------------------------------------- /Index/Tpl/Public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | DM 11 | 26 | 27 | 28 |
29 | {__CONTENT__} 30 |
31 |
32 | 33 |
34 | 35 | -------------------------------------------------------------------------------- /Index/Tpl/Public/search.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 |
5 | 6 | 7 | 8 | 9 |
10 |
11 |
12 |
13 | -------------------------------------------------------------------------------- /ThinkPHP/Conf/alias.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | // 系统别名定义文件 14 | return array( 15 | 'Model' => CORE_PATH.'Core/Model.class.php', 16 | 'Db' => CORE_PATH.'Core/Db.class.php', 17 | 'Log' => CORE_PATH.'Core/Log.class.php', 18 | 'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php', 19 | 'TagLib' => CORE_PATH.'Template/TagLib.class.php', 20 | 'Cache' => CORE_PATH.'Core/Cache.class.php', 21 | 'Widget' => CORE_PATH.'Core/Widget.class.php', 22 | 'TagLibCx' => CORE_PATH.'Driver/TagLib/TagLibCx.class.php', 23 | ); -------------------------------------------------------------------------------- /ThinkPHP/Conf/debug.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP 默认的调试模式配置文件 14 | * 如果项目有定义自己的调试模式配置文件,本文件无效 15 | * @category Think 16 | * @package Common 17 | * @author liu21st 18 | * @version $Id: debug.php 3071 2012-07-15 07:59:23Z liu21st@gmail.com $ 19 | */ 20 | defined('THINK_PATH') or exit(); 21 | // 调试模式下面默认设置 可以在项目配置目录下重新定义 debug.php 覆盖 22 | return array( 23 | 'LOG_RECORD' => true, // 进行日志记录 24 | 'LOG_EXCEPTION_RECORD' => true, // 是否记录异常信息日志 25 | 'LOG_LEVEL' => 'EMERG,ALERT,CRIT,ERR,WARN,NOTIC,INFO,DEBUG,SQL', // 允许记录的日志级别 26 | 'DB_FIELDS_CACHE' => false, // 字段缓存信息 27 | 'DB_SQL_LOG' => true, // 记录SQL信息 28 | 'APP_FILE_CASE' => true, // 是否检查文件的大小写 对Windows平台有效 29 | 'TMPL_CACHE_ON' => false, // 是否开启模板编译缓存,设为false则每次都会重新编译 30 | 'TMPL_STRIP_SPACE' => false, // 是否去除模板文件里面的html空格与换行 31 | 'SHOW_ERROR_MSG' => true, // 显示错误信息 32 | ); -------------------------------------------------------------------------------- /ThinkPHP/Conf/tags.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 系统默认的核心行为扩展列表文件 13 | return array( 14 | 'app_init' => array( 15 | ), 16 | 'app_begin' => array( 17 | 'ReadHtmlCache', // 读取静态缓存 18 | ), 19 | 'route_check' => array( 20 | 'CheckRoute', // 路由检测 21 | ), 22 | 'app_end' => array(), 23 | 'path_info' => array(), 24 | 'action_begin' => array(), 25 | 'action_end' => array(), 26 | 'view_begin' => array(), 27 | 'view_parse' => array( 28 | 'ParseTemplate', // 模板解析 支持PHP、内置模板引擎和第三方模板引擎 29 | ), 30 | 'view_filter' => array( 31 | 'ContentReplace', // 模板输出替换 32 | 'TokenBuild', // 表单令牌 33 | 'WriteHtmlCache', // 写入静态缓存 34 | 'ShowRuntime', // 运行时间显示 35 | ), 36 | 'view_end' => array( 37 | 'ShowPageTrace', // 页面Trace显示 38 | ), 39 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Behavior/AgentCheckBehavior.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * 行为扩展:代理检测 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Behavior 18 | * @author liu21st 19 | */ 20 | class AgentCheckBehavior extends Behavior { 21 | protected $options = array( 22 | 'LIMIT_PROXY_VISIT'=>true, 23 | ); 24 | public function run(&$params) { 25 | // 代理访问检测 26 | if(C('LIMIT_PROXY_VISIT') && ($_SERVER['HTTP_X_FORWARDED_FOR'] || $_SERVER['HTTP_VIA'] || $_SERVER['HTTP_PROXY_CONNECTION'] || $_SERVER['HTTP_USER_AGENT_VIA'])) { 27 | // 禁止代理访问 28 | exit('Access Denied'); 29 | } 30 | } 31 | } 32 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Behavior/BrowserCheckBehavior.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * 浏览器防刷新检测 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Behavior 18 | * @author liu21st 19 | */ 20 | class BrowserCheckBehavior extends Behavior { 21 | protected $options = array( 22 | // 浏览器防刷新的时间间隔(秒) 23 | 'LIMIT_REFLESH_TIMES' => 10, 24 | ); 25 | 26 | public function run(&$params) { 27 | if($_SERVER['REQUEST_METHOD'] == 'GET') { 28 | // 启用页面防刷新机制 29 | $guid = md5($_SERVER['PHP_SELF']); 30 | // 检查页面刷新间隔 31 | if(cookie('_last_visit_time_'.$guid) && cookie('_last_visit_time_'.$guid)>time()-C('LIMIT_REFLESH_TIMES')) { 32 | // 页面刷新读取浏览器缓存 33 | header('HTTP/1.1 304 Not Modified'); 34 | exit; 35 | }else{ 36 | // 缓存当前地址访问时间 37 | cookie('_last_visit_time_'.$guid, $_SERVER['REQUEST_TIME']); 38 | //header('Last-Modified:'.(date('D,d M Y H:i:s',$_SERVER['REQUEST_TIME']-C('LIMIT_REFLESH_TIMES'))).' GMT'); 39 | } 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Driver/Template/TemplateLite.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * TemplateLite模板引擎驱动 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Driver.Template 18 | * @author liu21st 19 | */ 20 | class TemplateLite { 21 | /** 22 | * 渲染模板输出 23 | * @access public 24 | * @param string $templateFile 模板文件名 25 | * @param array $var 模板变量 26 | * @return void 27 | */ 28 | public function fetch($templateFile,$var) { 29 | vendor("TemplateLite.class#template"); 30 | $templateFile = substr($templateFile,strlen(THEME_PATH)); 31 | $tpl = new Template_Lite(); 32 | $tpl->template_dir = THEME_PATH; 33 | $tpl->compile_dir = CACHE_PATH ; 34 | $tpl->cache_dir = TEMP_PATH ; 35 | if(C('TMPL_ENGINE_CONFIG')) { 36 | $config = C('TMPL_ENGINE_CONFIG'); 37 | foreach ($config as $key=>$val){ 38 | $tpl->{$key} = $val; 39 | } 40 | } 41 | $tpl->assign($var); 42 | $tpl->display($templateFile); 43 | } 44 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Driver/Template/TemplateMobile.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * MobileTemplate模板引擎驱动 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Driver.Template 18 | * @author luofei614 19 | */ 20 | class TemplateMobile { 21 | /** 22 | * 渲染模板输出 23 | * @access public 24 | * @param string $templateFile 模板文件名 25 | * @param array $var 模板变量 26 | * @return void 27 | */ 28 | public function fetch($templateFile,$var) { 29 | $templateFile=substr($templateFile,strlen(THEME_PATH)); 30 | $var['_think_template_path']=$templateFile; 31 | exit(json_encode($var)); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Driver/Template/TemplateSmart.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * Smart模板引擎驱动 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Driver.Template 18 | * @author liu21st 19 | */ 20 | class TemplateSmart { 21 | /** 22 | * 渲染模板输出 23 | * @access public 24 | * @param string $templateFile 模板文件名 25 | * @param array $var 模板变量 26 | * @return void 27 | */ 28 | public function fetch($templateFile,$var) { 29 | $templateFile = substr($templateFile,strlen(THEME_PATH)); 30 | vendor('SmartTemplate.class#smarttemplate'); 31 | $tpl = new SmartTemplate($templateFile); 32 | $tpl->caching = C('TMPL_CACHE_ON'); 33 | $tpl->template_dir = THEME_PATH; 34 | $tpl->compile_dir = CACHE_PATH ; 35 | $tpl->cache_dir = TEMP_PATH ; 36 | if(C('TMPL_ENGINE_CONFIG')) { 37 | $config = C('TMPL_ENGINE_CONFIG'); 38 | foreach ($config as $key=>$val){ 39 | $tpl->{$key} = $val; 40 | } 41 | } 42 | $tpl->assign($var); 43 | $tpl->output(); 44 | } 45 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Driver/Template/TemplateSmarty.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * Smarty模板引擎驱动 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Driver.Template 18 | * @author liu21st 19 | */ 20 | class TemplateSmarty { 21 | 22 | /** 23 | * 渲染模板输出 24 | * @access public 25 | * @param string $templateFile 模板文件名 26 | * @param array $var 模板变量 27 | * @return void 28 | */ 29 | public function fetch($templateFile,$var) { 30 | $templateFile = substr($templateFile,strlen(THEME_PATH)); 31 | vendor('Smarty.Smarty#class'); 32 | $tpl = new Smarty(); 33 | $tpl->caching = C('TMPL_CACHE_ON'); 34 | $tpl->template_dir = THEME_PATH; 35 | $tpl->compile_dir = CACHE_PATH ; 36 | $tpl->cache_dir = TEMP_PATH ; 37 | if(C('TMPL_ENGINE_CONFIG')) { 38 | $config = C('TMPL_ENGINE_CONFIG'); 39 | foreach ($config as $key=>$val){ 40 | $tpl->{$key} = $val; 41 | } 42 | } 43 | $tpl->assign($var); 44 | $tpl->display($templateFile); 45 | } 46 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Library/ORG/Util/Stack.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | import("ORG.Util.ArrayList"); 12 | 13 | /** 14 | * Stack实现类 15 | * @category ORG 16 | * @package ORG 17 | * @subpackage Util 18 | * @author liu21st 19 | */ 20 | class Stack extends ArrayList { 21 | 22 | /** 23 | * 架构函数 24 | * @access public 25 | * @param array $values 初始化数组元素 26 | */ 27 | public function __construct($values = array()) { 28 | parent::__construct($values); 29 | } 30 | 31 | /** 32 | * 将堆栈的内部指针指向第一个单元 33 | * @access public 34 | * @return mixed 35 | */ 36 | public function peek() { 37 | return reset($this->toArray()); 38 | } 39 | 40 | /** 41 | * 元素进栈 42 | * @access public 43 | * @param mixed $value 44 | * @return mixed 45 | */ 46 | public function push($value) { 47 | $this->add($value); 48 | return $value; 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Amf/Action.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP AMF模式Action控制器基类 14 | */ 15 | abstract class Action { 16 | 17 | /** 18 | * 魔术方法 有不存在的操作的时候执行 19 | * @access public 20 | * @param string $method 方法名 21 | * @param array $parms 参数 22 | * @return mixed 23 | */ 24 | public function __call($method,$parms) { 25 | // 如果定义了_empty操作 则调用 26 | if(method_exists($this,'_empty')) { 27 | $this->_empty($method,$parms); 28 | } 29 | } 30 | 31 | }//类定义结束 32 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Amf/App.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP AMF模式应用程序类 14 | */ 15 | class App { 16 | 17 | /** 18 | * 应用程序初始化 19 | * @access public 20 | * @return void 21 | */ 22 | static public function run() { 23 | 24 | //导入类库 25 | Vendor('Zend.Amf.Server'); 26 | //实例化AMF 27 | $server = new Zend_Amf_Server(); 28 | $actions = explode(',',C('APP_AMF_ACTIONS')); 29 | foreach ($actions as $action) 30 | $server -> setClass($action.'Action'); 31 | echo $server -> handle(); 32 | 33 | // 保存日志记录 34 | if(C('LOG_RECORD')) Log::save(); 35 | return ; 36 | } 37 | 38 | }; -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Cli/Action.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP 命令模式Action控制器基类 14 | */ 15 | abstract class Action { 16 | 17 | /** 18 | * 架构函数 19 | * @access public 20 | */ 21 | public function __construct() { 22 | //控制器初始化 23 | if(method_exists($this,'_initialize')) { 24 | $this->_initialize(); 25 | } 26 | } 27 | 28 | /** 29 | * 魔术方法 有不存在的操作的时候执行 30 | * @access public 31 | * @param string $method 方法名 32 | * @param array $parms 参数 33 | * @return mixed 34 | */ 35 | public function __call($method,$parms) { 36 | if(strtolower($method) == strtolower(ACTION_NAME)) { 37 | // 如果定义了_empty操作 则调用 38 | if(method_exists($this,'_empty')) { 39 | $this->_empty($method,$parms); 40 | }else { 41 | // 抛出异常 42 | exit(L('_ERROR_ACTION_').ACTION_NAME); 43 | } 44 | }else{ 45 | exit(__CLASS__.':'.$method.L('_METHOD_NOT_EXIST_')); 46 | } 47 | } 48 | 49 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Lite/tags.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 核心行为扩展列表文件 13 | return array( 14 | 'app_begin'=>array( 15 | 'CheckTemplate', // 模板检测 16 | ), 17 | 'route_check'=>array('CheckRoute', // 路由检测 18 | ), 19 | 'app_end'=>array( 20 | 'ShowPageTrace', // 页面Trace显示 21 | ), 22 | 'view_template'=>array( 23 | 'LocationTemplate', // 自动定位模板文件 24 | ), 25 | 'view_parse'=>array( 26 | 'ParseTemplate', // 模板解析 支持PHP、内置模板引擎和第三方模板引擎 27 | ), 28 | 'view_filter'=>array( 29 | 'ContentReplace', // 模板输出替换 30 | 'ShowRuntime', // 运行时间显示 31 | ), 32 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Phprpc/Action.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP AMF模式Action控制器基类 14 | */ 15 | abstract class Action { 16 | 17 | /** 18 | * 魔术方法 有不存在的操作的时候执行 19 | * @access public 20 | * @param string $method 方法名 21 | * @param array $parms 参数 22 | * @return mixed 23 | */ 24 | public function __call($method,$parms) { 25 | // 如果定义了_empty操作 则调用 26 | if(method_exists($this,'_empty')) { 27 | $this->_empty($method,$parms); 28 | } 29 | } 30 | 31 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Phprpc/App.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP AMF模式应用程序类 14 | */ 15 | class App { 16 | 17 | /** 18 | * 应用程序初始化 19 | * @access public 20 | * @return void 21 | */ 22 | static public function run() { 23 | 24 | //导入类库 25 | Vendor('phpRPC.phprpc_server'); 26 | //实例化phprpc 27 | $server = new PHPRPC_Server(); 28 | $actions = explode(',',C('APP_PHPRPC_ACTIONS')); 29 | foreach ($actions as $action){ 30 | //$server -> setClass($action.'Action'); 31 | $temp = $action.'Action'; 32 | $methods = get_class_methods($temp); 33 | $server->add($methods,new $temp); 34 | } 35 | if(APP_DEBUG) { 36 | $server->setDebugMode(true); 37 | } 38 | $server->setEnableGZIP(true); 39 | $server->start(); 40 | //C('PHPRPC_COMMENT',$server->comment()); 41 | echo $server->comment(); 42 | // 保存日志记录 43 | if(C('LOG_RECORD')) Log::save(); 44 | return ; 45 | } 46 | 47 | }; -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Phprpc/alias.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 导入别名定义 13 | alias_import(array( 14 | 'Model' => MODE_PATH.'Phprpc/Model.class.php', 15 | 'Db' => MODE_PATH.'Phprpc/Db.class.php', 16 | 'Debug' => CORE_PATH.'Util/Debug.class.php', 17 | 'Session' => CORE_PATH.'Util/Session.class.php', 18 | ) 19 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Rest/Behavior/CheckUrlExtBehavior.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * 行为扩展 URL资源类型检测 14 | */ 15 | class CheckUrlExtBehavior extends Behavior { 16 | 17 | /** 18 | * 检测URL地址中资源扩展 19 | * @access public 20 | * @return void 21 | */ 22 | public function run(&$params) { 23 | // 获取资源类型 24 | if(!empty($_SERVER['PATH_INFO'])) { 25 | $part = pathinfo($_SERVER['PATH_INFO']); 26 | if(isset($part['extension'])) { // 判断扩展名 27 | define('__EXT__', strtolower($part['extension'])); 28 | $_SERVER['PATH_INFO'] = preg_replace('/.'.__EXT__.'$/i','',$_SERVER['PATH_INFO']); 29 | } 30 | } 31 | } 32 | 33 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Rest/config.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | // $Id: config.php 2668 2012-01-26 13:07:16Z liu21st $ 12 | 13 | return array( 14 | 'REST_METHOD_LIST' => 'get,post,put,delete', // 允许的请求类型列表 15 | 'REST_DEFAULT_METHOD' => 'get', // 默认请求类型 16 | 'REST_CONTENT_TYPE_LIST' => 'html,xml,json,rss', // REST允许请求的资源类型列表 17 | 'REST_DEFAULT_TYPE' => 'html', // 默认的资源类型 18 | 'REST_OUTPUT_TYPE' => array( // REST允许输出的资源类型列表 19 | 'xml' => 'application/xml', 20 | 'json' => 'application/json', 21 | 'html' => 'text/html', 22 | ), 23 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Rest/tags.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | // $Id: tags.php 2802 2012-03-06 06:19:07Z liu21st $ 12 | 13 | // Rest 系统行为扩展列表文件 14 | return array( 15 | 'app_begin'=>array( 16 | 'ReadHtmlCache', // 读取静态缓存 17 | ), 18 | 'route_check'=>array( 19 | 'CheckRestRoute', // 路由检测 20 | ), 21 | 'view_end'=>array( 22 | 'ShowPageTrace', // 页面Trace显示 23 | ), 24 | 'view_template'=>array( 25 | 'LocationTemplate', // 自动定位模板文件 26 | ), 27 | 'view_parse'=>array( 28 | 'ParseTemplate', // 模板解析 支持PHP、内置模板引擎和第三方模板引擎 29 | ), 30 | 'view_filter'=>array( 31 | 'ContentReplace', // 模板输出替换 32 | 'TokenBuild', // 表单令牌 33 | 'WriteHtmlCache', // 写入静态缓存 34 | 'ShowRuntime', // 运行时间显示 35 | ), 36 | 'path_info'=>array( 37 | 'CheckUrlExt' 38 | ), 39 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/Thin/Action.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP 简洁模式Action控制器基类 14 | */ 15 | abstract class Action { 16 | 17 | /** 18 | * 架构函数 19 | * @access public 20 | */ 21 | public function __construct() { 22 | //控制器初始化 23 | if(method_exists($this,'_initialize')) { 24 | $this->_initialize(); 25 | } 26 | } 27 | 28 | /** 29 | * 魔术方法 有不存在的操作的时候执行 30 | * @access public 31 | * @param string $method 方法名 32 | * @param array $parms 参数 33 | * @return mixed 34 | */ 35 | public function __call($method,$parms) { 36 | if(strtolower($method) == strtolower(ACTION_NAME)) { 37 | // 如果定义了_empty操作 则调用 38 | if(method_exists($this,'_empty')) { 39 | $this->_empty($method,$parms); 40 | }else { 41 | // 抛出异常 42 | throw_exception(L('_ERROR_ACTION_').ACTION_NAME); 43 | } 44 | }else{ 45 | throw_exception(__CLASS__.':'.$method.L('_METHOD_NOT_EXIST_')); 46 | } 47 | } 48 | 49 | } -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/amf.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // AMF模式定义文件 13 | return array( 14 | 'core' => array( 15 | THINK_PATH.'Common/functions.php', // 系统函数库 16 | CORE_PATH.'Core/Log.class.php',// 日志处理 17 | MODE_PATH.'Amf/App.class.php', // 应用程序类 18 | MODE_PATH.'Amf/Action.class.php',// 控制器类 19 | ), 20 | 21 | // 项目别名定义文件 [支持数组直接定义或者文件名定义] 22 | 'alias' => array( 23 | 'Model' => MODE_PATH.'Amf/Model.class.php', 24 | 'Db' => MODE_PATH.'Amf/Db.class.php', 25 | ), 26 | // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ] 27 | 'extends' => array(), 28 | 29 | // 项目应用行为定义文件 [支持数组直接定义或者文件名定义] 30 | 'tags' => array(), 31 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/cli.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 命令行模式定义文件 13 | return array( 14 | 'core' => array( 15 | MODE_PATH.'Cli/functions.php', // 命令行系统函数库 16 | MODE_PATH.'Cli/Log.class.php', 17 | MODE_PATH.'Cli/App.class.php', 18 | MODE_PATH.'Cli/Action.class.php', 19 | ), 20 | 21 | // 项目别名定义文件 [支持数组直接定义或者文件名定义] 22 | 'alias' => array( 23 | 'Model' => MODE_PATH.'Cli/Model.class.php', 24 | 'Db' => MODE_PATH.'Cli/Db.class.php', 25 | 'Cache' => CORE_PATH.'Core/Cache.class.php', 26 | 'Debug' => CORE_PATH.'Util/Debug.class.php', 27 | ), 28 | 29 | // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ] 30 | 'extends' => array(), 31 | 32 | // 项目应用行为定义文件 [支持数组直接定义或者文件名定义] 33 | 'tags' => array(), 34 | 35 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/lite.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // Lite模式定义文件 13 | return array( 14 | 'core' => array( 15 | THINK_PATH.'Common/functions.php', // 系统函数库 16 | CORE_PATH.'Core/Log.class.php',// 日志处理 17 | MODE_PATH.'Lite/App.class.php', // 应用程序类 18 | MODE_PATH.'Lite/Action.class.php',// 控制器类 19 | MODE_PATH.'Lite/Dispatcher.class.php', 20 | ), 21 | 22 | // 项目别名定义文件 [支持数组直接定义或者文件名定义] 23 | 'alias' => array( 24 | 'Model' => MODE_PATH.'Lite/Model.class.php', 25 | 'Db' => MODE_PATH.'Lite/Db.class.php', 26 | 'ThinkTemplate' => CORE_PATH.'Template/ThinkTemplate.class.php', 27 | 'TagLib' => CORE_PATH.'Template/TagLib.class.php', 28 | 'Cache' => CORE_PATH.'Core/Cache.class.php', 29 | 'Debug' => CORE_PATH.'Util/Debug.class.php', 30 | 'Session' => CORE_PATH.'Util/Session.class.php', 31 | 'TagLibCx' => CORE_PATH.'Driver/TagLib/TagLibCx.class.php', 32 | ), 33 | 34 | // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ] 35 | 'extends' => MODE_PATH.'Lite/tags.php', 36 | 37 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/phprpc.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // PHPRPC模式定义文件 13 | return array( 14 | 'core' => array( 15 | THINK_PATH.'Common/functions.php', // 系统函数库 16 | CORE_PATH.'Core/Log.class.php',// 日志处理 17 | MODE_PATH.'Phprpc/App.class.php', // 应用程序类 18 | MODE_PATH.'Phprpc/Action.class.php',// 控制器类 19 | ), 20 | 21 | // 项目别名定义文件 [支持数组直接定义或者文件名定义] 22 | 'alias' => array( 23 | 'Model' => MODE_PATH.'Phprpc/Model.class.php', 24 | 'Db' => MODE_PATH.'Phprpc/Db.class.php', 25 | ), 26 | 27 | // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ] 28 | 'extends' => array(), 29 | 30 | // 项目应用行为定义文件 [支持数组直接定义或者文件名定义] 31 | 'tags' => array(), 32 | 33 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/rest.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // REST模式定义文件 13 | return array( 14 | 15 | 'core' => array( 16 | THINK_PATH.'Common/functions.php', // 标准模式函数库 17 | CORE_PATH.'Core/Log.class.php', // 日志处理类 18 | CORE_PATH.'Core/Dispatcher.class.php', // URL调度类 19 | CORE_PATH.'Core/App.class.php', // 应用程序类 20 | CORE_PATH.'Core/View.class.php', // 视图类 21 | MODE_PATH.'Rest/Action.class.php',// 控制器类 22 | ), 23 | 24 | // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ] 25 | 'extends' => MODE_PATH.'Rest/tags.php', 26 | 27 | // 模式配置文件 [支持数组直接定义或者文件名定义](如有相同则覆盖项目配置文件中的配置) 28 | 'config' => MODE_PATH.'Rest/config.php', 29 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/Mode/thin.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // 简洁模式核心定义文件列表 13 | return array( 14 | 15 | 'core' => array( 16 | THINK_PATH.'Common/functions.php', // 系统函数库 17 | CORE_PATH.'Core/Log.class.php',// 日志处理 18 | MODE_PATH.'Thin/App.class.php', // 应用程序类 19 | MODE_PATH.'Thin/Action.class.php',// 控制器类 20 | ), 21 | 22 | // 项目别名定义文件 [支持数组直接定义或者文件名定义] 23 | 'alias' => array( 24 | 'Model' => MODE_PATH.'Thin/Model.class.php', 25 | 'Db' => MODE_PATH.'Thin/Db.class.php', 26 | ), 27 | 28 | // 系统行为定义文件 [必须 支持数组直接定义或者文件名定义 ] 29 | 'extends' => array(), 30 | 31 | // 项目应用行为定义文件 [支持数组直接定义或者文件名定义] 32 | 'tags' => array(), 33 | 34 | ); -------------------------------------------------------------------------------- /ThinkPHP/Extend/README.txt: -------------------------------------------------------------------------------- 1 | 注意:下载后的扩展需要放入系统目录下面的Extend目录的相同位置。 2 | 3 | Extend目录为系统扩展目录(核心版不含任何扩展),子目录结构为: 4 | 5 | |-Action 控制器扩展 6 | |-Behavior 行为扩展 7 | |-Driver 驱动扩展 8 | | ├Driver/Cache 缓存驱动 9 | | ├Driver/Db 数据库驱动 10 | | ├Driver/Session SESSION驱动 11 | | ├Driver/TagLib 标签库驱动 12 | | ├Driver/Template 模板引擎驱动 13 | | 14 | |-Engine 引擎扩展 15 | |-Function 函数扩展 16 | |-Library 类库扩展 17 | | ├ORG ORG类库包 18 | | ├COM COM类库包 19 | | 20 | |-Mode 模式扩展 21 | |-Model 模型扩展 22 | |-Tool 其他扩展或工具 23 | |-Vendor 第三方类库目录 24 | 25 | 关于扩展的详细使用,请参考开发手册的扩展章节。 -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/.htaccess: -------------------------------------------------------------------------------- 1 | php_value display_errors 'On' -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/denied/.htaccess: -------------------------------------------------------------------------------- 1 | Order Allow,Deny 2 | Deny from all -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/denied/checker.js: -------------------------------------------------------------------------------- 1 | fileProtectionChecker = true; 2 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/denied/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/failed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/Requirements-Checker/assets/failed.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/Requirements-Checker/assets/info.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/Requirements-Checker/assets/logo.png -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/passed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/Requirements-Checker/assets/passed.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/rewrite/.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine On 2 | RewriteRule .* checker.js [L] 3 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/rewrite/checker.js: -------------------------------------------------------------------------------- 1 | modRewriteChecker = true; 2 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/rewrite/web.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/Requirements-Checker/assets/warning.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/Requirements-Checker/assets/warning.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/SwitchMobileTplBehavior.class.php: -------------------------------------------------------------------------------- 1 | $replace))); 17 | //判断如果是云窗调试器访问跳转访问首页到client目录 18 | if(APP_DEBUG && ''==__INFO__ && preg_match('/android|iphone/i',$_SERVER['HTTP_USER_AGENT'])){ 19 | redirect(__ROOT__.'/client'); 20 | exit(); 21 | } 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/TemplateMobile.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * MobileTemplate模板引擎驱动 15 | * @category Extend 16 | * @package Extend 17 | * @subpackage Driver.Template 18 | * @author luofei614 19 | */ 20 | class TemplateMobile { 21 | /** 22 | * 渲染模板输出 23 | * @access public 24 | * @param string $templateFile 模板文件名 25 | * @param array $var 模板变量 26 | * @return void 27 | */ 28 | public function fetch($templateFile,$var) { 29 | $templateFile=substr($templateFile,strlen(THEME_PATH)); 30 | if($tpm_theme=C('TPM_THEME')){ 31 | $tpm_theme.='/'; 32 | }else{ 33 | $tpm_theme=''; 34 | } 35 | $var['_think_template_path']=$tpm_theme.$templateFile; 36 | exit(json_encode($var)); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/Tpl/Index/index.html: -------------------------------------------------------------------------------- 1 | 欢迎使用 TPM! 2 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/Tpl/Public/css/TPMlist.css: -------------------------------------------------------------------------------- 1 | .pullDown{ 2 | background:#fff; 3 | height:40px; 4 | line-height:40px; 5 | padding:5px 10px; 6 | border-bottom:1px solid #ccc; 7 | font-weight:bold; 8 | font-size:14px; 9 | color:#888; 10 | } 11 | .pullDown .pullDownIcon{ 12 | display:block; float:left; 13 | width:40px; height:40px; 14 | background:url(TPMlist-pull-icon-2x.png) 0 0 no-repeat; 15 | -webkit-background-size:40px 80px; background-size:40px 80px; 16 | -webkit-transition-property:-webkit-transform; 17 | -webkit-transition-duration:250ms; 18 | } 19 | .pullDown .pullDownIcon { 20 | -webkit-transform:rotate(0deg) translateZ(0); 21 | } 22 | 23 | .pullDown.flip .pullDownIcon { 24 | -webkit-transform:rotate(-180deg) translateZ(0); 25 | } 26 | 27 | 28 | .pullDown.loading .pullDownIcon { 29 | background-position:0 100%; 30 | -webkit-transform:rotate(0deg) translateZ(0); 31 | -webkit-transition-duration:0ms; 32 | 33 | -webkit-animation-name:loading; 34 | -webkit-animation-duration:2s; 35 | -webkit-animation-iteration-count:infinite; 36 | -webkit-animation-timing-function:linear; 37 | } 38 | 39 | @-webkit-keyframes loading { 40 | from { -webkit-transform:rotate(0deg) translateZ(0); } 41 | to { -webkit-transform:rotate(360deg) translateZ(0); } 42 | } 43 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/Tpl/Public/js/.TPM.js.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/TPM/Tpl/Public/js/.TPM.js.swp -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/Tpl/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 14 |
15 |
正在加载中...
16 | 17 | 18 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/Tpl/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | test 7 | 8 | 9 | {__CONTENT__} 10 | 11 | 12 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/TPM/readme.txt: -------------------------------------------------------------------------------- 1 | 配置项目配置文件: 2 | 'LAYOUT_ON'=>true 3 | 4 | 在项目Conf目录下添加文件 tags.php 5 | array('SwitchMobileTpl') 8 | ) 9 | 10 | 11 | 将Tpl文件夹复制到项目中,作为项目的模板。 12 | 13 | 将SwitchMobileTplBehavior.class.php 复制到 项目目录下 Lib/Behavior 目录下。 14 | 15 | 将TemplateMobile.class.php 文件复制到 ThinkPHP/Extend/Driver/Template 下。 16 | 17 | 18 | 支持手机客户端跳转,需要修改核心文件 ThinkPHP/Common/functions.php 中得redirect函数, 19 | 修改如下: 20 | 21 | 22 | function redirect($url, $time=0, $msg='') { 23 | //多行URL地址支持 24 | $url = str_replace(array("\n", "\r"), '', $url); 25 | if (empty($msg)) 26 | $msg = "系统将在{$time}秒之后自动跳转到{$url}!"; 27 | if (!headers_sent()) { 28 | // redirect 29 | if (0 === $time) { 30 | //手机客户端跳转发送redirect的header 31 | if(defined('IS_CLIENT') && IS_CLIENT){ 32 | if(''!==__APP__){ 33 | $url=substr($url,strlen(__APP__)); 34 | } 35 | header('redirect:'.$url); 36 | }else{ 37 | header('Location: ' . $url); 38 | } 39 | } else { 40 | header("refresh:{$time};url={$url}"); 41 | echo($msg); 42 | } 43 | exit(); 44 | } else { 45 | $str = ""; 46 | if ($time != 0) 47 | $str .= $msg; 48 | exit($str); 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/phpunit.php: -------------------------------------------------------------------------------- 1 | #! php -d safe_mode=Off 2 | 11 | // +---------------------------------------------------------------------- 12 | // $Id: phpunit.php 2504 2011-12-28 07:35:29Z liu21st $ 13 | 14 | require_once 'PHPUnit/Util/Filter.php'; 15 | 16 | PHPUnit_Util_Filter::addFileToFilter(__FILE__, 'PHPUNIT'); 17 | 18 | require_once 'PHPUnit/TextUI/Command.php'; 19 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/plugins/myplugins.js: -------------------------------------------------------------------------------- 1 | $.TE.plugin("bold",{ 2 | title:"标题", 3 | cmd:"bold", 4 | click:function(){ 5 | this.editor.pasteHTML("sdfdf"); 6 | }, 7 | bold:function(){ 8 | alert('sdfsdf'); 9 | }, 10 | noRight:function(e){ 11 | if(e.type=="click"){ 12 | alert('noright'); 13 | } 14 | }, 15 | init:function(){ 16 | }, 17 | event:"click mouseover mouseout", 18 | mouseover:function(e){ 19 | this.$btn.css("color","red"); 20 | 21 | }, 22 | mouseout:function(e){ 23 | this.$btn.css("color","#000") 24 | } 25 | }); 26 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/default/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/default/config.js -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/bg_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/bg_img.jpg -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/bg_img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/bg_img.png -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/resize_center.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/resize_center.jpg -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/resize_leftjpg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/resize_leftjpg.jpg -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/default/img/spacer.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_0.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_0.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_1.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_10.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_100.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_100.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_101.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_101.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_102.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_102.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_103.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_103.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_104.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_104.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_11.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_12.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_13.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_14.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_15.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_16.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_17.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_18.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_19.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_2.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_20.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_20.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_21.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_22.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_23.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_24.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_25.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_26.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_27.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_27.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_28.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_28.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_29.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_29.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_3.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_30.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_30.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_31.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_31.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_32.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_32.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_33.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_33.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_34.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_34.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_35.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_35.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_36.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_36.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_37.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_37.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_38.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_38.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_39.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_39.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_4.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_40.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_40.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_41.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_41.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_42.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_42.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_43.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_44.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_44.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_45.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_45.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_46.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_46.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_47.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_47.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_48.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_48.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_49.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_49.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_5.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_50.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_50.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_51.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_51.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_52.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_52.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_53.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_53.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_54.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_54.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_55.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_55.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_56.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_56.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_57.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_57.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_58.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_58.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_59.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_59.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_6.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_60.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_60.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_61.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_61.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_62.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_62.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_63.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_63.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_64.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_64.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_65.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_65.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_66.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_66.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_67.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_67.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_68.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_68.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_69.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_69.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_7.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_70.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_70.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_71.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_71.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_72.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_72.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_73.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_73.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_74.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_74.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_75.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_75.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_76.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_76.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_77.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_77.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_78.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_78.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_79.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_79.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_8.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_80.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_80.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_81.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_81.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_82.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_82.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_83.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_83.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_84.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_84.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_85.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_85.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_86.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_86.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_87.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_87.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_88.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_88.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_89.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_89.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_9.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_90.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_90.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_91.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_91.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_92.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_92.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_93.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_93.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_94.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_94.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_95.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_95.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_96.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_96.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_97.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_97.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_98.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_98.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_99.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Tool/thinkeditor/skins/qq_face/qq_face_99.gif -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/EaseTemplate/template.ease.php: -------------------------------------------------------------------------------- 1 | '1', //缓存ID 27 | 'TplType' =>'htm', //模板格式 28 | 'CacheDir' =>'cache', //缓存目录 29 | 'TemplateDir'=>'template' , //模板存放目录 30 | 'AutoImage' =>'on' , //自动解析图片目录开关 on表示开放 off表示关闭 31 | 'LangDir' =>'language' , //语言文件存放的目录 32 | 'Language' =>'default' , //语言的默认文件 33 | 'Copyright' =>'off' , //版权保护 34 | 'MemCache' =>'' , //Memcache服务器地址例如:127.0.0.1:11211 35 | ) 36 | ){ 37 | 38 | parent::ETCoreStart($set); 39 | } 40 | 41 | } 42 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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('//u', $string, -1, PREG_SPLIT_NO_EMPTY)); 25 | } 26 | 27 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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]/u\',' . $params[0] . ', $tmp)'; 25 | } 26 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 27 | return 'mb_strlen(' . $params[0] . ', SMARTY_RESOURCE_CHAR_SET)'; 28 | } 29 | // no MBString fallback 30 | return 'strlen(' . $params[0] . ')'; 31 | } 32 | 33 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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|$)#uS", ' . $params[0] . ', $tmp)'; 26 | } 27 | 28 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 24 | // return 'preg_match_all(\'#[\w\pL]+#u\', ' . $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}]*/u\', ' . $params[0] . ', $tmp)'; 27 | } 28 | // no MBString fallback 29 | return 'str_word_count(' . $params[0] . ')'; 30 | } 31 | 32 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 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] . ', SMARTY_RESOURCE_CHAR_SET, ' . $params[1] . ')'; 32 | } 33 | 34 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 25 | return 'mb_strtolower(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ; 26 | } 27 | // no MBString fallback 28 | return 'strtolower(' . $params[0] . ')'; 29 | } 30 | 31 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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+!u', {$params[1]},{$params[0]})"; 31 | } 32 | 33 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 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] . ', SMARTY_RESOURCE_CHAR_SET)'; 32 | } 33 | 34 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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] = "SMARTY_RESOURCE_CHAR_SET"; 27 | } else { 28 | $params[2] = "'" . $params[2] . "'"; 29 | } 30 | 31 | switch (trim($params[1], '"\'')) { 32 | case 'entity': 33 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')'; 34 | case 'htmlall': 35 | if (SMARTY_MBSTRING /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 36 | return 'mb_convert_encoding(' . $params[0] . ', ' . $params[2] . ', \'HTML-ENTITIES\')'; 37 | } 38 | return 'html_entity_decode(' . $params[0] . ', ENT_QUOTES, ' . $params[2] . ')'; 39 | 40 | case 'html': 41 | return 'htmlspecialchars_decode(' . $params[0] . ', ENT_QUOTES)'; 42 | 43 | default: 44 | return $params[0]; 45 | } 46 | } 47 | 48 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 /* ^phpunit */&&empty($_SERVER['SMARTY_PHPUNIT_DISABLE_MBSTRING'])/* phpunit$ */) { 24 | return 'mb_strtoupper(' . $params[0] . ',SMARTY_RESOURCE_CHAR_SET)' ; 25 | } 26 | // no MBString fallback 27 | return 'strtoupper(' . $params[0] . ')'; 28 | } 29 | 30 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Smarty/plugins/shared.mb_unicode.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Smarty/plugins/variablefilter.htmlspecialchars.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/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 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Smarty/sysplugins/smarty_internal_get_include_path.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Smarty/sysplugins/smarty_resource_recompiled.php: -------------------------------------------------------------------------------- 1 | filepath = false; 30 | $compiled->timestamp = false; 31 | $compiled->exists = false; 32 | } 33 | 34 | } 35 | 36 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Smarty/sysplugins/smarty_resource_uncompiled.php: -------------------------------------------------------------------------------- 1 | filepath = false; 38 | $compiled->timestamp = false; 39 | $compiled->exists = false; 40 | } 41 | 42 | } 43 | 44 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/compile.compile_custom_block.php: -------------------------------------------------------------------------------- 1 | _plugin_exists($function, "block")) 22 | { 23 | if ($start_tag) 24 | { 25 | $_args = $object->_parse_arguments($arguments); 26 | foreach($_args as $key => $value) 27 | { 28 | if (is_bool($value)) 29 | { 30 | $value = $value ? 'true' : 'false'; 31 | } 32 | if (is_null($value)) 33 | { 34 | $value = 'null'; 35 | } 36 | $_args[$key] = "'$key' => $value"; 37 | } 38 | $_result = "_tag_stack[] = array('$function', array(".implode(',', (array)$_args).")); "; 39 | $_result .= $function . '(array(' . implode(',', (array)$_args) .'), null, $this); '; 40 | $_result .= 'ob_start(); ?>'; 41 | } 42 | else 43 | { 44 | $_result .= '_block_content = ob_get_contents(); ob_end_clean(); '; 45 | $_result .= '$this->_block_content = ' . $function . '($this->_tag_stack[count($this->_tag_stack) - 1][1], $this->_block_content, $this); '; 46 | if (!empty($modifiers)) 47 | { 48 | $_result .= '$this->_block_content = ' . $object->_parse_modifier('$this->_block_content', $modifiers) . '; '; 49 | } 50 | $_result .= 'echo $this->_block_content; array_pop($this->_tag_stack); ?>'; 51 | } 52 | return true; 53 | } 54 | else 55 | { 56 | return false; 57 | } 58 | } 59 | 60 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/compile.compile_custom_function.php: -------------------------------------------------------------------------------- 1 | _plugin_exists($function, "function")) 12 | { 13 | $_args = $object->_parse_arguments($arguments); 14 | foreach($_args as $key => $value) 15 | { 16 | if (is_bool($value)) 17 | { 18 | $value = $value ? 'true' : 'false'; 19 | } 20 | if (is_null($value)) 21 | { 22 | $value = 'null'; 23 | } 24 | $_args[$key] = "'$key' => $value"; 25 | } 26 | $_result = '_parse_modifier($function . '(array(' . implode(',', (array)$_args) . '), $this)', $modifiers) . '; '; 30 | } 31 | else 32 | { 33 | $_result .= $function . '(array(' . implode(',', (array)$_args) . '), $this);'; 34 | } 35 | $_result .= '?>'; 36 | return true; 37 | } 38 | else 39 | { 40 | return false; 41 | } 42 | } 43 | 44 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/compile.generate_compiler_debug_output.php: -------------------------------------------------------------------------------- 1 | _vars;\n"; 12 | $debug_output .= "ksort(\$assigned_vars);\n"; 13 | $debug_output .= "if (@is_array(\$this->_config[0])) {\n"; 14 | $debug_output .= " \$config_vars = \$this->_config[0];\n"; 15 | $debug_output .= " ksort(\$config_vars);\n"; 16 | $debug_output .= " \$this->assign('_debug_config_keys', array_keys(\$config_vars));\n"; 17 | $debug_output .= " \$this->assign('_debug_config_vals', array_values(\$config_vars));\n"; 18 | $debug_output .= "} \n"; 19 | 20 | $debug_output .= "\$included_templates = \$this->_templatelite_debug_info;\n"; 21 | 22 | $debug_output .= "\$this->assign('_debug_keys', array_keys(\$assigned_vars));\n"; 23 | $debug_output .= "\$this->assign('_debug_vals', array_values(\$assigned_vars));\n"; 24 | $debug_output .= "\$this->assign('_debug_tpls', \$included_templates);\n"; 25 | 26 | $debug_output .= "\$this->_templatelite_debug_loop = true;\n"; 27 | $debug_output .= "\$this->_templatelite_debug_dir = \$this->template_dir;\n"; 28 | $debug_output .= "\$this->template_dir = TEMPLATE_LITE_DIR . 'internal/';\n"; 29 | $debug_output .= "echo \$this->_fetch_compile('debug.tpl');\n"; 30 | $debug_output .= "\$this->template_dir = \$this->_templatelite_debug_dir;\n"; 31 | $debug_output .= "\$this->_templatelite_debug_loop = false; \n"; 32 | return $debug_output; 33 | } 34 | 35 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/compile.include.php: -------------------------------------------------------------------------------- 1 | _parse_arguments($arguments); 12 | 13 | $arg_list = array(); 14 | if (empty($_args['file'])) 15 | { 16 | $object->trigger_error("missing 'file' attribute in include tag", E_USER_ERROR, __FILE__, __LINE__); 17 | } 18 | 19 | foreach ($_args as $arg_name => $arg_value) 20 | { 21 | if ($arg_name == 'file') 22 | { 23 | $include_file = $arg_value; 24 | continue; 25 | } 26 | else if ($arg_name == 'assign') 27 | { 28 | $assign_var = $arg_value; 29 | continue; 30 | } 31 | if (is_bool($arg_value)) 32 | { 33 | $arg_value = $arg_value ? 'true' : 'false'; 34 | } 35 | $arg_list[] = "'$arg_name' => $arg_value"; 36 | } 37 | 38 | if (isset($assign_var)) 39 | { 40 | $output = '_vars;' . 41 | "\n\$this->assign(" . $assign_var . ", \$this->_fetch_compile_include(" . $include_file . ", array(".implode(',', (array)$arg_list).")));\n" . 42 | "\$this->_vars = \$_templatelite_tpl_vars;\n" . 43 | "unset(\$_templatelite_tpl_vars);\n" . 44 | ' ?>'; 45 | } 46 | else 47 | { 48 | $output = '_vars;' . 49 | "\necho \$this->_fetch_compile_include(" . $include_file . ", array(".implode(',', (array)$arg_list)."));\n" . 50 | "\$this->_vars = \$_templatelite_tpl_vars;\n" . 51 | "unset(\$_templatelite_tpl_vars);\n" . 52 | ' ?>'; 53 | } 54 | return $output; 55 | } 56 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/template.build_dir.php: -------------------------------------------------------------------------------- 1 | _get_dir($dir); 15 | } 16 | $_result = $object->_get_dir($dir); 17 | foreach($_args as $value) 18 | { 19 | $_result .= $value.DIRECTORY_SEPARATOR; 20 | if (!is_dir($_result)) 21 | { 22 | @mkdir($_result, 0777); 23 | } 24 | } 25 | return $_result; 26 | } 27 | 28 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/template.destroy_dir.php: -------------------------------------------------------------------------------- 1 | template_dir = $object->_get_dir($object->template_dir); 32 | 33 | $name = ($object->encode_file_name) ? md5($object->template_dir.$file).'.php' : str_replace(".", "_", str_replace("/", "_", $file)).'.php'; 34 | @unlink($dir.$name); 35 | } 36 | else 37 | { 38 | $_args = ""; 39 | foreach(explode('|', $id) as $value) 40 | { 41 | $_args .= $value.DIRECTORY_SEPARATOR; 42 | } 43 | template_rm_dir($dir.DIRECTORY_SEPARATOR.$_args); 44 | } 45 | } 46 | } 47 | 48 | function template_rm_dir($dir) 49 | { 50 | if (is_file(substr($dir, 0, -1))) 51 | { 52 | @unlink(substr($dir, 0, -1)); 53 | return; 54 | } 55 | if ($d = opendir($dir)) 56 | { 57 | while(($f = readdir($d)) !== false) 58 | { 59 | if ($f != '.' && $f != '..') 60 | { 61 | template_rm_dir($dir.$f.DIRECTORY_SEPARATOR, $object); 62 | } 63 | } 64 | @rmdir($dir.$f); 65 | } 66 | } 67 | 68 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/template.fetch_compile_include.php: -------------------------------------------------------------------------------- 1 | debugging) 12 | { 13 | $object->_templatelite_debug_info[] = array('type' => 'template', 14 | 'filename' => $_templatelite_include_file, 15 | 'depth' => ++$object->_inclusion_depth, 16 | 'exec_time' => array_sum(explode(' ', microtime())) ); 17 | $included_tpls_idx = count($object->_templatelite_debug_info) - 1; 18 | } 19 | 20 | $object->_vars = array_merge($object->_vars, $_templatelite_include_vars); 21 | $_templatelite_include_file = $object->_get_resource($_templatelite_include_file); 22 | if(isset($object->_confs[0])) 23 | { 24 | array_unshift($object->_confs, $object->_confs[0]); 25 | $_compiled_output = $object->_fetch_compile($_templatelite_include_file); 26 | array_shift($object->_confs); 27 | } 28 | else 29 | { 30 | $_compiled_output = $object->_fetch_compile($_templatelite_include_file); 31 | } 32 | 33 | $object->_inclusion_depth--; 34 | 35 | if ($object->debugging) 36 | { 37 | $object->_templatelite_debug_info[$included_tpls_idx]['exec_time'] = array_sum(explode(' ', microtime())) - $object->_templatelite_debug_info[$included_tpls_idx]['exec_time']; 38 | } 39 | return $_compiled_output; 40 | } 41 | 42 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/TemplateLite/internal/template.generate_debug_output.php: -------------------------------------------------------------------------------- 1 | _vars; 12 | ksort($assigned_vars); 13 | if (@is_array($object->_config[0])) 14 | { 15 | $config_vars = $object->_config[0]; 16 | ksort($config_vars); 17 | $object->assign("_debug_config_keys", array_keys($config_vars)); 18 | $object->assign("_debug_config_vals", array_values($config_vars)); 19 | } 20 | 21 | $included_templates = $object->_templatelite_debug_info; 22 | 23 | $object->assign("_debug_keys", array_keys($assigned_vars)); 24 | $object->assign("_debug_vals", array_values($assigned_vars)); 25 | $object->assign("_debug_tpls", $included_templates); 26 | $object->assign("_templatelite_debug_output", ""); 27 | 28 | $object->_templatelite_debug_loop = true; 29 | $object->_templatelite_debug_dir = $object->template_dir; 30 | $object->template_dir = TEMPLATE_LITE_DIR . "internal/"; 31 | $debug_output = $object->fetch("debug.tpl"); 32 | $object->template_dir = $object->_templatelite_debug_dir; 33 | $object->_templatelite_debug_loop = false; 34 | return $debug_output; 35 | } 36 | 37 | ?> -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Zend/Amf/Auth/Abstract.php: -------------------------------------------------------------------------------- 1 | _username = $username; 40 | $this->_password = $password; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Zend/Amf/Exception.php: -------------------------------------------------------------------------------- 1 | _data = $data; 47 | } 48 | 49 | /** 50 | * Return the byte stream 51 | * 52 | * @return string 53 | */ 54 | public function getData() 55 | { 56 | return $this->_data; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Zend/Amf/Value/Messaging/ArrayCollection.php: -------------------------------------------------------------------------------- 1 | operand = $op; 42 | parent::__construct($message); 43 | } 44 | 45 | public function getOperand() 46 | { 47 | return $this->operand; 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/Zend/Exception.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/phpRPC/pecl/xxtea/xxtea.h: -------------------------------------------------------------------------------- 1 | /*********************************************************************** 2 | 3 | Copyright 2006-2007 Ma Bingyao 4 | 5 | These sources is free software. Redistributions of source code must 6 | retain the above copyright notice. Redistributions in binary form 7 | must reproduce the above copyright notice. You can redistribute it 8 | freely. You can use it with any free or commercial software. 9 | 10 | These sources is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY. Without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 13 | 14 | You may contact the author by: 15 | e-mail: andot@coolcode.cn 16 | 17 | *************************************************************************/ 18 | 19 | #ifndef XXTEA_H 20 | #define XXTEA_H 21 | 22 | #include /* for size_t & NULL declarations */ 23 | 24 | #if defined(_MSC_VER) 25 | 26 | typedef unsigned __int32 xxtea_long; 27 | 28 | #else 29 | 30 | #if defined(__FreeBSD__) && __FreeBSD__ < 5 31 | /* FreeBSD 4 doesn't have stdint.h file */ 32 | #include 33 | #else 34 | #include 35 | #endif 36 | 37 | typedef uint32_t xxtea_long; 38 | 39 | #endif /* end of if defined(_MSC_VER) */ 40 | 41 | #define XXTEA_MX (z >> 5 ^ y << 2) + (y >> 3 ^ z << 4) ^ (sum ^ y) + (k[p & 3 ^ e] ^ z) 42 | #define XXTEA_DELTA 0x9e3779b9 43 | 44 | void xxtea_long_encrypt(xxtea_long *v, xxtea_long len, xxtea_long *k); 45 | void xxtea_long_decrypt(xxtea_long *v, xxtea_long len, xxtea_long *k); 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /ThinkPHP/Extend/Vendor/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/Extend/Vendor/readme.txt -------------------------------------------------------------------------------- /ThinkPHP/LICENSE.txt: -------------------------------------------------------------------------------- 1 | 2 | ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 3 | 版权所有Copyright © 2006-2012 by ThinkPHP (http://thinkphp.cn) 4 | All rights reserved。 5 | ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 6 | 7 | Apache Licence是著名的非盈利开源组织Apache采用的协议。 8 | 该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, 9 | 允许代码修改,再作为开源或商业软件发布。需要满足 10 | 的条件: 11 | 1. 需要给代码的用户一份Apache Licence ; 12 | 2. 如果你修改了代码,需要在被修改的文件中说明; 13 | 3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 14 | 带有原来代码中的协议,商标,专利声明和其他原来作者规 15 | 定需要包含的说明; 16 | 4. 如果再发布的产品中包含一个Notice文件,则在Notice文 17 | 件中需要带有本协议内容。你可以在Notice中增加自己的 18 | 许可,但不可以表现为对Apache Licence构成更改。 19 | 具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 20 | 21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 22 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 23 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 24 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 25 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 29 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 31 | ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 32 | POSSIBILITY OF SUCH DAMAGE. 33 | -------------------------------------------------------------------------------- /ThinkPHP/Lib/Behavior/WriteHtmlCacheBehavior.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | defined('THINK_PATH') or exit(); 13 | /** 14 | * 系统行为扩展:静态缓存写入 15 | * @category Think 16 | * @package Think 17 | * @subpackage Behavior 18 | * @author liu21st 19 | */ 20 | class WriteHtmlCacheBehavior extends Behavior { 21 | 22 | // 行为扩展的执行入口必须是run 23 | public function run(&$content){ 24 | if(C('HTML_CACHE_ON') && defined('HTML_FILE_NAME')) { 25 | //静态文件写入 26 | // 如果开启HTML功能 检查并重写HTML文件 27 | // 没有模版的操作不生成静态文件 28 | if(!is_dir(dirname(HTML_FILE_NAME))) 29 | mkdir(dirname(HTML_FILE_NAME),0755,true); 30 | if( false === file_put_contents( HTML_FILE_NAME , $content )) 31 | throw_exception(L('_CACHE_WRITE_ERROR_').':'.HTML_FILE_NAME); 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /ThinkPHP/Lib/Core/Behavior.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP Behavior基础类 14 | * @category Think 15 | * @package Think 16 | * @subpackage Core 17 | * @author liu21st 18 | */ 19 | abstract class Behavior { 20 | 21 | // 行为参数 和配置参数设置相同 22 | protected $options = array(); 23 | 24 | /** 25 | * 架构函数 26 | * @access public 27 | */ 28 | public function __construct() { 29 | if(!empty($this->options)) { 30 | foreach ($this->options as $name=>$val){ 31 | if(NULL !== C($name)) { // 参数已设置 则覆盖行为参数 32 | $this->options[$name] = C($name); 33 | }else{ // 参数未设置 则传入默认值到配置 34 | C($name,$val); 35 | } 36 | } 37 | array_change_key_case($this->options); 38 | } 39 | } 40 | 41 | // 获取行为参数 42 | public function __get($name){ 43 | return $this->options[strtolower($name)]; 44 | } 45 | 46 | /** 47 | * 执行行为 run方法是Behavior唯一的接口 48 | * @access public 49 | * @param mixed $params 行为参数 50 | * @return void 51 | */ 52 | abstract public function run(&$params); 53 | 54 | } -------------------------------------------------------------------------------- /ThinkPHP/Lib/Core/ThinkException.class.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | /** 13 | * ThinkPHP系统异常基类 14 | * @category Think 15 | * @package Think 16 | * @subpackage Core 17 | * @author liu21st 18 | */ 19 | class ThinkException extends Exception { 20 | } -------------------------------------------------------------------------------- /ThinkPHP/ThinkPHP.php: -------------------------------------------------------------------------------- 1 | 10 | // +---------------------------------------------------------------------- 11 | 12 | // ThinkPHP 入口文件 13 | // 记录开始运行时间 14 | $GLOBALS['_beginTime'] = microtime(TRUE); 15 | // 记录内存初始使用 16 | define('MEMORY_LIMIT_ON',function_exists('memory_get_usage')); 17 | if(MEMORY_LIMIT_ON) $GLOBALS['_startUseMems'] = memory_get_usage(); 18 | // 系统目录定义 19 | defined('THINK_PATH') or define('THINK_PATH', dirname(__FILE__).'/'); 20 | defined('APP_PATH') or define('APP_PATH', dirname($_SERVER['SCRIPT_FILENAME']).'/'); 21 | defined('APP_DEBUG') or define('APP_DEBUG',false); // 是否调试模式 22 | if(defined('ENGINE_NAME')) { 23 | defined('ENGINE_PATH') or define('ENGINE_PATH',THINK_PATH.'Extend/Engine/'); 24 | require ENGINE_PATH.strtolower(ENGINE_NAME).'.php'; 25 | }else{ 26 | defined('RUNTIME_PATH') or define('RUNTIME_PATH',APP_PATH.'Runtime/'); 27 | $runtime = defined('MODE_NAME')?'~'.strtolower(MODE_NAME).'_runtime.php':'~runtime.php'; 28 | defined('RUNTIME_FILE') or define('RUNTIME_FILE',RUNTIME_PATH.$runtime); 29 | if(!APP_DEBUG && is_file(RUNTIME_FILE)) { 30 | // 部署模式直接载入运行缓存 31 | require RUNTIME_FILE; 32 | }else{ 33 | // 加载运行时文件 34 | require THINK_PATH.'Common/runtime.php'; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /ThinkPHP/Tpl/default_index.tpl: -------------------------------------------------------------------------------- 1 | show('

:)

欢迎使用 ThinkPHP

','utf-8'); 6 | } 7 | } -------------------------------------------------------------------------------- /ThinkPHP/Tpl/dispatch_jump.tpl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 跳转提示 6 | 16 | 17 | 18 |
19 | 20 |

:)

21 |

22 | 23 |

:(

24 |

25 |
26 |

27 |

28 | 页面自动 跳转 等待时间: 29 |

30 |
31 | 43 | 44 | -------------------------------------------------------------------------------- /ThinkPHP/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/ThinkPHP/logo.png -------------------------------------------------------------------------------- /a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maysrp/TALD/51ee37640d15144909c297836a30969cf0cd2385/a.jpg -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /phpQuery/phpQuery/Zend/Exception.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /phpQuery/phpQuery/plugins/Scripts/__config.example.php: -------------------------------------------------------------------------------- 1 | array('login@mail', 'password'), 9 | ); 10 | ?> -------------------------------------------------------------------------------- /phpQuery/phpQuery/plugins/Scripts/example.php: -------------------------------------------------------------------------------- 1 | find($params[0]); 14 | ?> -------------------------------------------------------------------------------- /phpQuery/phpQuery/plugins/Scripts/fix_webroot.php: -------------------------------------------------------------------------------- 1 | filter($filter) as $el) { 9 | $el = pq($el, $self->getDocumentID()); 10 | // imgs and scripts 11 | if ( $el->is('img') || $el->is('script') ) 12 | $el->attr('src', $params[0].$el->attr('src')); 13 | // css 14 | if ( $el->is('link') ) 15 | $el->attr('href', $params[0].$el->attr('href')); 16 | } -------------------------------------------------------------------------------- /phpQuery/phpQuery/plugins/Scripts/google_login.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | phpQuery::ajaxAllowHost( 10 | 'code.google.com', 11 | 'google.com', 'www.google.com', 12 | 'mail.google.com', 13 | 'docs.google.com', 14 | 'reader.google.com' 15 | ); 16 | if (! function_exists('ndfasui8923')) { 17 | function ndfasui8923($browser, $scope) { 18 | extract($scope); 19 | $browser 20 | ->WebBrowser() 21 | ->find('#Email') 22 | ->val($config['google_login'][0])->end() 23 | ->find('#Passwd') 24 | ->val($config['google_login'][1]) 25 | ->parents('form') 26 | ->submit(); 27 | } 28 | $ndfasui8923 = new Callback('ndfasui8923', new CallbackParam, compact( 29 | 'config', 'self', 'return', 'params' 30 | )); 31 | } 32 | phpQuery::plugin('WebBrowser'); 33 | $self->document->xhr = phpQuery::$plugins->browserGet( 34 | 'https://www.google.com/accounts/Login', 35 | $ndfasui8923 36 | ); 37 | //$self->document->xhr = phpQuery::$plugins->browserGet('https://www.google.com/accounts/Login', create_function('$browser', " 38 | // \$browser 39 | // ->WebBrowser() 40 | // ->find('#Email') 41 | // ->val('{$config['google_login'][0]}')->end() 42 | // ->find('#Passwd') 43 | // ->val('".str_replace("'", "\\'", $config['google_login'][1])."') 44 | // ->parents('form') 45 | // ->submit();" 46 | //)); 47 | ?> -------------------------------------------------------------------------------- /phpQuery/phpQuery/plugins/Scripts/print_source.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | /** @var phpQueryObject */ 8 | $self = $self; 9 | $return = htmlspecialchars($self); -------------------------------------------------------------------------------- /phpQuery/phpQuery/plugins/Scripts/print_websafe.php: -------------------------------------------------------------------------------- 1 | 6 | */ 7 | /** @var phpQueryObject */ 8 | $self = $self; 9 | $self 10 | ->find('script') 11 | ->add('meta[http-equiv=refresh]') 12 | ->add('meta[http-equiv=Refresh]') 13 | ->remove(); --------------------------------------------------------------------------------