├── .idea └── vcs.xml ├── App ├── Common │ └── Conf │ │ └── config.php └── Home │ ├── Common │ └── function.php │ ├── Conf │ └── config.php │ ├── Controller │ ├── AdminController.class.php │ ├── CommonController.class.php │ ├── IndexController.class.php │ ├── LoginController.class.php │ ├── ReserveController.class.php │ ├── ShopsController.class.php │ ├── WeixinController.class.php │ └── WxpayController.class.php │ └── View │ ├── Admin │ ├── dishes.html │ ├── dishes_manage.html │ ├── index.html │ ├── manage.html │ ├── reply.html │ ├── reserve.html │ └── wxmessage.html │ ├── Index │ ├── dishes.html │ └── index.html │ ├── Login │ └── index.html │ ├── Public │ └── dispatch_jump.html │ ├── Reserve │ ├── about.html │ ├── bind.html │ ├── index.html │ └── show.html │ ├── Shops │ └── index.html │ ├── adminlayout.html │ └── reservelayout.html ├── Public ├── css │ ├── ReserveAbout.css │ ├── ReserveBind.css │ ├── ReserveIndex.css │ ├── bootstrap.min.css │ ├── dataTables.bootstrap.css │ ├── dataTables.responsive.css │ ├── font-awesome.min.css │ ├── metisMenu.min.css │ ├── normalize.css │ ├── sb-admin-2.css │ ├── shops_street.css │ ├── style.css │ └── supersized.css ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ └── fontawesome-webfont.ttf └── js │ ├── bootstrap.min.js │ ├── dataTables.bootstrap.min.js │ ├── form.min.js │ ├── html5.js │ ├── jquery-1.11.3.min.js │ ├── jquery.dataTables.min.js │ ├── jquery.js │ ├── jquery.mobile-1.4.5.min.js │ ├── jquery.mobile.icons-1.4.5.min.css │ ├── jquery.mobile.structure-1.4.5.min.css │ ├── jquery.seat-charts.min.js │ ├── live_weixin.png │ ├── metisMenu.min.js │ ├── my.min.css │ └── sb-admin-2.js ├── README.md ├── ThinkPHP ├── Common │ └── functions.php ├── Conf │ ├── convention.php │ └── debug.php ├── LICENSE.txt ├── Lang │ ├── en-us.php │ ├── pt-br.php │ ├── zh-cn.php │ └── zh-tw.php ├── Library │ ├── Behavior │ │ ├── AgentCheckBehavior.class.php │ │ ├── BorisBehavior.class.php │ │ ├── BrowserCheckBehavior.class.php │ │ ├── BuildLiteBehavior.class.php │ │ ├── CheckActionRouteBehavior.class.php │ │ ├── CheckLangBehavior.class.php │ │ ├── ChromeShowPageTraceBehavior.class.php │ │ ├── ContentReplaceBehavior.class.php │ │ ├── CronRunBehavior.class.php │ │ ├── FireShowPageTraceBehavior.class.php │ │ ├── ParseTemplateBehavior.class.php │ │ ├── ReadHtmlCacheBehavior.class.php │ │ ├── RobotCheckBehavior.class.php │ │ ├── ShowPageTraceBehavior.class.php │ │ ├── ShowRuntimeBehavior.class.php │ │ ├── TokenBuildBehavior.class.php │ │ ├── UpgradeNoticeBehavior.class.php │ │ └── WriteHtmlCacheBehavior.class.php │ ├── Org │ │ ├── Net │ │ │ ├── Http.class.php │ │ │ └── IpLocation.class.php │ │ └── Util │ │ │ ├── ArrayList.class.php │ │ │ ├── CodeSwitch.class.php │ │ │ ├── Date.class.php │ │ │ ├── Rbac.class.php │ │ │ ├── Stack.class.php │ │ │ ├── String.class.php │ │ │ └── Wechat.class.php │ ├── Think │ │ ├── App.class.php │ │ ├── Auth.class.php │ │ ├── Behavior.class.php │ │ ├── Build.class.php │ │ ├── Cache.class.php │ │ ├── Cache │ │ │ └── Driver │ │ │ │ ├── Apachenote.class.php │ │ │ │ ├── Apc.class.php │ │ │ │ ├── Db.class.php │ │ │ │ ├── Eaccelerator.class.php │ │ │ │ ├── File.class.php │ │ │ │ ├── Memcache.class.php │ │ │ │ ├── Memcached.class.php │ │ │ │ ├── Memcachesae.class.php │ │ │ │ ├── Redis.class.php │ │ │ │ ├── Shmop.class.php │ │ │ │ ├── Sqlite.class.php │ │ │ │ ├── Wincache.class.php │ │ │ │ └── Xcache.class.php │ │ ├── Controller.class.php │ │ ├── Controller │ │ │ ├── HproseController.class.php │ │ │ ├── JsonRpcController.class.php │ │ │ ├── RestController.class.php │ │ │ ├── RpcController.class.php │ │ │ └── YarController.class.php │ │ ├── Crypt.class.php │ │ ├── Crypt │ │ │ └── Driver │ │ │ │ ├── Base64.class.php │ │ │ │ ├── Crypt.class.php │ │ │ │ ├── Des.class.php │ │ │ │ ├── Think.class.php │ │ │ │ └── Xxtea.class.php │ │ ├── Db.class.php │ │ ├── Db │ │ │ ├── Driver.class.php │ │ │ ├── Driver │ │ │ │ ├── Firebird.class.php │ │ │ │ ├── Mongo.class.php │ │ │ │ ├── Mysql.class.php │ │ │ │ ├── Oracle.class.php │ │ │ │ ├── Pgsql.class.php │ │ │ │ ├── Sqlite.class.php │ │ │ │ └── Sqlsrv.class.php │ │ │ └── Lite.class.php │ │ ├── Dispatcher.class.php │ │ ├── Exception.class.php │ │ ├── Hook.class.php │ │ ├── Image.class.php │ │ ├── Image │ │ │ └── Driver │ │ │ │ ├── GIF.class.php │ │ │ │ ├── Gd.class.php │ │ │ │ └── Imagick.class.php │ │ ├── Log.class.php │ │ ├── Log │ │ │ └── Driver │ │ │ │ ├── File.class.php │ │ │ │ └── Sae.class.php │ │ ├── Model.class.php │ │ ├── Model │ │ │ ├── AdvModel.class.php │ │ │ ├── MergeModel.class.php │ │ │ ├── MongoModel.class.php │ │ │ ├── RelationModel.class.php │ │ │ └── ViewModel.class.php │ │ ├── Page.class.php │ │ ├── Route.class.php │ │ ├── Session │ │ │ └── Driver │ │ │ │ ├── Db.class.php │ │ │ │ ├── Memcache.class.php │ │ │ │ └── Mysqli.class.php │ │ ├── Storage.class.php │ │ ├── Storage │ │ │ └── Driver │ │ │ │ ├── File.class.php │ │ │ │ └── Sae.class.php │ │ ├── Template.class.php │ │ ├── Template │ │ │ ├── Driver │ │ │ │ ├── Ease.class.php │ │ │ │ ├── Lite.class.php │ │ │ │ ├── Mobile.class.php │ │ │ │ ├── Smart.class.php │ │ │ │ └── Smarty.class.php │ │ │ ├── TagLib.class.php │ │ │ └── TagLib │ │ │ │ ├── Cx.class.php │ │ │ │ └── Html.class.php │ │ ├── Think.class.php │ │ ├── Upload.class.php │ │ ├── Upload │ │ │ └── Driver │ │ │ │ ├── Bcs.class.php │ │ │ │ ├── Bcs │ │ │ │ ├── bcs.class.php │ │ │ │ ├── mimetypes.class.php │ │ │ │ └── requestcore.class.php │ │ │ │ ├── Ftp.class.php │ │ │ │ ├── Local.class.php │ │ │ │ ├── Qiniu.class.php │ │ │ │ ├── Qiniu │ │ │ │ └── QiniuStorage.class.php │ │ │ │ ├── Sae.class.php │ │ │ │ └── Upyun.class.php │ │ ├── Verify.class.php │ │ ├── Verify │ │ │ ├── bgs │ │ │ │ ├── 1.jpg │ │ │ │ ├── 2.jpg │ │ │ │ ├── 3.jpg │ │ │ │ ├── 4.jpg │ │ │ │ ├── 5.jpg │ │ │ │ ├── 6.jpg │ │ │ │ ├── 7.jpg │ │ │ │ └── 8.jpg │ │ │ ├── ttfs │ │ │ │ ├── 1.ttf │ │ │ │ ├── 2.ttf │ │ │ │ ├── 3.ttf │ │ │ │ ├── 4.ttf │ │ │ │ ├── 5.ttf │ │ │ │ └── 6.ttf │ │ │ └── zhttfs │ │ │ │ └── 1.ttf │ │ └── View.class.php │ └── Vendor │ │ ├── Boris │ │ ├── Boris.php │ │ ├── CLIOptionsHandler.php │ │ ├── ColoredInspector.php │ │ ├── Config.php │ │ ├── DumpInspector.php │ │ ├── EvalWorker.php │ │ ├── ExportInspector.php │ │ ├── Inspector.php │ │ ├── ReadlineClient.php │ │ └── ShallowParser.php │ │ ├── EaseTemplate │ │ ├── template.core.php │ │ └── template.ease.php │ │ ├── Hprose │ │ ├── HproseClassManager.php │ │ ├── HproseClient.php │ │ ├── HproseCommon.php │ │ ├── HproseFormatter.php │ │ ├── HproseHttpClient.php │ │ ├── HproseHttpServer.php │ │ ├── HproseIO.php │ │ ├── HproseIOStream.php │ │ ├── HproseReader.php │ │ ├── HproseTags.php │ │ └── HproseWriter.php │ │ ├── README.txt │ │ ├── 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 │ │ ├── jsonRPC │ │ ├── jsonRPCClient.php │ │ └── jsonRPCServer.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 │ │ └── spyc │ │ ├── COPYING │ │ ├── README.md │ │ ├── Spyc.php │ │ ├── composer.json │ │ ├── examples │ │ ├── yaml-dump.php │ │ └── yaml-load.php │ │ ├── php4 │ │ ├── 5to4.php │ │ ├── spyc.php4 │ │ └── test.php4 │ │ ├── spyc.yaml │ │ └── tests │ │ ├── DumpTest.php │ │ ├── IndentTest.php │ │ ├── ParseTest.php │ │ ├── RoundTripTest.php │ │ ├── comments.yaml │ │ ├── failing1.yaml │ │ ├── indent_1.yaml │ │ └── quotes.yaml ├── Mode │ ├── Api │ │ ├── App.class.php │ │ ├── Controller.class.php │ │ ├── Dispatcher.class.php │ │ └── functions.php │ ├── Lite │ │ ├── App.class.php │ │ ├── Controller.class.php │ │ ├── Dispatcher.class.php │ │ ├── Model.class.php │ │ ├── View.class.php │ │ ├── convention.php │ │ └── functions.php │ ├── Sae │ │ └── convention.php │ ├── api.php │ ├── common.php │ ├── lite.php │ └── sae.php ├── ThinkPHP.php ├── Tpl │ ├── dispatch_jump.tpl │ ├── page_trace.tpl │ └── think_exception.tpl └── logo.png └── index.php /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /App/Common/Conf/config.php: -------------------------------------------------------------------------------- 1 | '配置值' 4 | ); -------------------------------------------------------------------------------- /App/Home/Common/function.php: -------------------------------------------------------------------------------- 1 | 'weixin', //填写你设定的key 24 | 'encodingaeskey'=>'jgNF3nRdTqwauhqiCcJcLxkiwEDLeYl3PdtF2lBMtQn', //填写加密用的EncodingAESKey 25 | 'appid'=>'wx439a3874a5b28c4f', //填写高级调用功能的app id, 请在微信开发模式后台查询 26 | 'appsecret'=>'99f3dc0e04ed8a5dae12ee29e3e847cc' //填写高级调用功能的密钥 27 | ); 28 | $weObj = new Wechat($options); 29 | $accesstoken = $weObj->getOauthAccessToken(); 30 | $freshtoken = $weObj->getOauthRefreshToken($accesstoken['refresh_token']); 31 | $userwechat = $weObj->getOauthUserinfo($accesstoken['access_token'], $freshtoken['openid']); 32 | return $userwechat; 33 | } 34 | 35 | function isWechat(){ 36 | if ( strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger')) { 37 | return true; 38 | }else{ 39 | return false; 40 | } 41 | } 42 | function timeformat($time){ 43 | return substr($time,0,4).'-'.substr($time,4,2).'-'.substr($time,6,2).' '.substr($time,8,2).':'.substr($time,10,2).':'.substr($time,12,2); 44 | } 45 | function paynotify(){ 46 | vendor('Log.log'); 47 | } 48 | ?> 49 | -------------------------------------------------------------------------------- /App/Home/Conf/config.php: -------------------------------------------------------------------------------- 1 | '配置值' 4 | 5 | ), 6 | ); 7 | -------------------------------------------------------------------------------- /App/Home/Controller/CommonController.class.php: -------------------------------------------------------------------------------- 1 | assign("jumpUrl",U("Login/index")); 14 | $this->error('请先登录'); 15 | } 16 | } 17 | 18 | } -------------------------------------------------------------------------------- /App/Home/Controller/IndexController.class.php: -------------------------------------------------------------------------------- 1 | display(); 13 | } 14 | public function dishes(){ 15 | $this->feature = M('dishes')->where("restaurant_id=1 and type = 1")->select(); 16 | $this->dishes = M('dishes')->where("restaurant_id=1 and type = 0")->select(); 17 | //p($this->feature); 18 | $this->display(); 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /App/Home/Controller/LoginController.class.php: -------------------------------------------------------------------------------- 1 | title = "登录"; 7 | layout(false); 8 | session_unset(); 9 | session_destroy(); 10 | $this->display(); 11 | } 12 | public function login(){ 13 | if(!IS_POST) E('无法访问'); 14 | $username = I('post.username'); 15 | $password = I('post.password'); 16 | $info = M('admin')->where(array("user" => $username))->find(); 17 | if(!$info || $info['password'] != $password){ 18 | echo "密码错误";die(); 19 | $this->error('帐号或密码错误'); 20 | } 21 | session('loginname',$info['user']); 22 | session('restaurantid',$info['id']); 23 | $this->redirect('Admin/index'); 24 | } 25 | public function logout(){ 26 | session_unset(); 27 | session_destroy(); 28 | $this->redirect('Login/index'); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /App/Home/Controller/ShopsController.class.php: -------------------------------------------------------------------------------- 1 | myAddress = "重庆"; 14 | $this->list = $Restaurant ->select(); 15 | $this->display(); 16 | } 17 | } 18 | ?> -------------------------------------------------------------------------------- /App/Home/View/Admin/dishes_manage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongkouwei/Restaurant-Reservation/a5c63b829bb3c742089b50687e64326555f73b8e/App/Home/View/Admin/dishes_manage.html -------------------------------------------------------------------------------- /App/Home/View/Admin/manage.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongkouwei/Restaurant-Reservation/a5c63b829bb3c742089b50687e64326555f73b8e/App/Home/View/Admin/manage.html -------------------------------------------------------------------------------- /App/Home/View/Admin/reply.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongkouwei/Restaurant-Reservation/a5c63b829bb3c742089b50687e64326555f73b8e/App/Home/View/Admin/reply.html -------------------------------------------------------------------------------- /App/Home/View/Index/dishes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 菜单 8 | 9 | 10 | 11 | 12 | 13 |
14 |
15 | 16 |
17 | 18 |
19 |
20 |
21 |
22 |

特色菜

23 |
24 | 25 |
{$vo.name} {$vo.price}
26 |
{$vo.detail}
27 |
28 |
29 |
30 |
31 |
32 |
33 | 34 |
35 | 36 |
37 | 38 |
39 | 40 |
41 |
42 |

菜单

43 |
44 | 45 |
{$vo.name} {$vo.price}
46 |
{$vo.detail}
47 |
48 |
49 |
50 |
51 | 52 |
53 |
54 | 55 |
56 | 57 |
58 | 59 |
60 | 61 | -------------------------------------------------------------------------------- /App/Home/View/Index/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 主页 13 | 14 | 15 | 16 |

主页

17 |

刘一手火锅

18 | 19 | 20 | {$vo.name} 21 | {$vo.address} 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /App/Home/View/Login/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 登录 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 |
29 | 49 |
50 |
51 |
52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /App/Home/View/Reserve/bind.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 绑定 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 |
18 |
19 |

20 | 21 | 22 |

23 | 24 |

25 | 26 | 27 |

28 | 29 |

30 | 31 |

32 |
33 |
34 | 35 | 36 |
37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /App/Home/View/Reserve/show.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 餐厅展示 10 | 11 | 35 | 36 | 37 | 38 | 39 |

{$name}

40 |
41 |

联系电话:{$phone}

42 |

地址:{$address}

43 |
44 | 45 | -------------------------------------------------------------------------------- /App/Home/View/Shops/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 商家列表 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 27 |

您在{$myAddress}附近有家餐厅

28 | 32 | 33 | 34 |
35 | 36 |
37 |
38 | 39 | 40 | 41 |
42 |
43 |
44 | {{d[i].shopName}} 45 |
46 |
农场地址:{{d[i].shopAddress}}
消费均价{{d[i].deliveryStai].deliveryMoney}}元,住宿均价{{d[i].deliveryFreeMoney}}
47 |
48 |    49 | {{#if(d[i].shopAtive==1){}}营业中{{#}else{}}休息中{{#}}} 50 |
51 |
52 |
53 |
54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
62 | 63 | 64 | -------------------------------------------------------------------------------- /App/Home/View/reservelayout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | {__CONTENT__} 16 | 17 |
18 | 19 | -------------------------------------------------------------------------------- /Public/css/metisMenu.min.css: -------------------------------------------------------------------------------- 1 | /* 2 | * metismenu - v1.1.3 3 | * Easy menu jQuery plugin for Twitter Bootstrap 3 4 | * https://github.com/onokumus/metisMenu 5 | * 6 | * Made by Osman Nuri Okumus 7 | * Under MIT License 8 | */ 9 | 10 | .arrow{float:right;line-height:1.42857}.glyphicon.arrow:before{content:"\e079"}.active>a>.glyphicon.arrow:before{content:"\e114"}.fa.arrow:before{content:"\f104"}.active>a>.fa.arrow:before{content:"\f107"}.plus-times{float:right}.fa.plus-times:before{content:"\f067"}.active>a>.fa.plus-times{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg)}.plus-minus{float:right}.fa.plus-minus:before{content:"\f067"}.active>a>.fa.plus-minus:before{content:"\f068"} -------------------------------------------------------------------------------- /Public/css/shops_street.css: -------------------------------------------------------------------------------- 1 | html, body, div, iframe, blockquote, h1, h2, h3, h4, h5, h6, p, pre, a, address, big, cite, code, del, font, img, ins, small, var, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend { 2 | margin: 0; 3 | padding: 0; 4 | font-family: "微软雅黑"; 5 | } 6 | 7 | .wst-shop-box { 8 | padding: 8px; 9 | border-radius: 12px; 10 | border: 1px solid green; 11 | background-color: #ffffff; 12 | margin-bottom: 10px; 13 | } 14 | 15 | .wst-shop-streets-items { 16 | margin-left: 5px; 17 | position: relative; 18 | width: 720px; 19 | height: 80px; 20 | float: left; 21 | line-height: 28px; 22 | } 23 | 24 | .wst-shop-streets-items-status { 25 | position: absolute; 26 | top: 10px; 27 | right: 10px; 28 | height: 40px; 29 | width: 80px; 30 | color: #fd871e; 31 | font-weight: bolder; 32 | line-height: 40px; 33 | } 34 | 35 | .wst-clear { 36 | clear: both; 37 | } 38 | 39 | -------------------------------------------------------------------------------- /Public/css/supersized.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Supersized - Fullscreen Slideshow jQuery Plugin 4 | Version : 3.2.7 5 | Site : www.buildinternet.com/project/supersized 6 | 7 | Author : Sam Dunn 8 | Company : One Mighty Roar (www.onemightyroar.com) 9 | License : MIT License / GPL License 10 | 11 | */ 12 | 13 | * { margin:0; padding:0; } 14 | body { background:#111; height:100%; } 15 | img { border:none; } 16 | 17 | #supersized { display:block; position:fixed; left:0; top:0; overflow:hidden; z-index:-999; height:100%; width:100%; } 18 | #supersized img { width:auto; height:auto; position:relative; display:none; outline:none; border:none; } 19 | #supersized.speed img { -ms-interpolation-mode:nearest-neighbor; image-rendering: -moz-crisp-edges; } /*Speed*/ 20 | #supersized.quality img { -ms-interpolation-mode:bicubic; image-rendering: optimizeQuality; } /*Quality*/ 21 | 22 | #supersized li { display:block; list-style:none; z-index:-30; position:fixed; overflow:hidden; top:0; left:0; width:100%; height:100%; background:#111; } 23 | #supersized a { width:100%; height:100%; display:block; } 24 | #supersized li.prevslide { z-index:-20; } 25 | #supersized li.activeslide { z-index:-10; } 26 | #supersized li.image-loading img{ visibility:hidden; } 27 | #supersized li.prevslide img, #supersized li.activeslide img{ display:inline; } 28 | 29 | 30 | #supersized img { max-width: none !important } 31 | 32 | -------------------------------------------------------------------------------- /Public/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongkouwei/Restaurant-Reservation/a5c63b829bb3c742089b50687e64326555f73b8e/Public/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /Public/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongkouwei/Restaurant-Reservation/a5c63b829bb3c742089b50687e64326555f73b8e/Public/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /Public/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhongkouwei/Restaurant-Reservation/a5c63b829bb3c742089b50687e64326555f73b8e/Public/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /Public/js/dataTables.bootstrap.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | DataTables Bootstrap 3 integration 3 | ©2011-2014 SpryMedia Ltd - datatables.net/license 4 | */ 5 | (function(){var f=function(c,b){c.extend(!0,b.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-6'i><'col-sm-6'p>>",renderer:"bootstrap"});c.extend(b.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm"});b.ext.renderer.pageButton.bootstrap=function(g,f,p,k,h,l){var q=new b.Api(g),r=g.oClasses,i=g.oLanguage.oPaginate,d,e,o=function(b,f){var j,m,n,a,k=function(a){a.preventDefault(); 6 | c(a.currentTarget).hasClass("disabled")||q.page(a.data.action).draw(!1)};j=0;for(m=f.length;j",{"class":r.sPageButton+" "+ 7 | e,"aria-controls":g.sTableId,tabindex:g.iTabIndex,id:0===p&&"string"===typeof a?g.sTableId+"_"+a:null}).append(c("",{href:"#"}).html(d)).appendTo(b),g.oApi._fnBindAction(n,{action:a},k))}};o(c(f).empty().html('