├── .gitignore ├── LICENSE ├── README.md ├── deploy ├── Dockerfile ├── README.md ├── apsfc 20150727 2133.sql └── docker-compose.yml ├── pom.xml └── src └── main ├── java └── com │ └── example │ └── meal_ordering_system │ ├── controller │ ├── AdminController.java │ ├── FileController.java │ ├── MainController.java │ ├── MenusController.java │ ├── NoticeController.java │ ├── OrdersController.java │ ├── TypesController.java │ └── UsersController.java │ ├── dao │ ├── AdminDao.java │ ├── MenusDao.java │ ├── NoticeDao.java │ ├── OrdersDao.java │ ├── TypesDao.java │ └── UsersDao.java │ ├── entity │ ├── Admin.java │ ├── Menus.java │ ├── Notice.java │ ├── Orders.java │ ├── Page.java │ ├── Pages.java │ ├── ShoppingCart.java │ ├── Types.java │ └── Users.java │ ├── interceptor │ ├── AdminLoginInterceptor.java │ └── UserLoginInterceptor.java │ ├── service │ ├── AdminService.java │ ├── MenusService.java │ ├── NoticeService.java │ ├── OrdersService.java │ ├── TypesService.java │ ├── UsersService.java │ └── impl │ │ ├── AdminServiceImpl.java │ │ ├── MenusServiceImpl.java │ │ ├── NoticeServiceImpl.java │ │ ├── OrdersServiceImpl.java │ │ ├── TypesServiceImpl.java │ │ └── UsersServiceImpl.java │ ├── test │ └── testmybatis.java │ └── util │ └── AdviceUtil.java ├── resources ├── applicationContext.xml ├── log4j.properties ├── mapper │ ├── AdminDao.xml │ ├── MenusDao.xml │ ├── NoticeDao.xml │ ├── OrdersDao.xml │ ├── TypesDao.xml │ └── UsersDao.xml ├── springMVC.xml └── sqlMapConfig.xml └── webapp ├── WEB-INF └── web.xml └── public ├── admin ├── admin_left.jsp ├── admin_top.jsp ├── admin_update.jsp ├── css │ ├── left.css │ ├── login.css │ ├── skin.css │ └── top.css ├── images │ ├── !.gif │ ├── 054542aa798b899225.jpg │ ├── DefaultDocs.gif │ ├── Login_but.gif │ ├── OK.jpg │ ├── Redirects.gif │ ├── Submit_bg.gif │ ├── X.gif │ ├── ad.gif │ ├── add.gif │ ├── back.gif │ ├── bg.gif │ ├── bigsize.jpg │ ├── bootnbg.jpg │ ├── bullet.gif │ ├── buttom-copy-bg.gif │ ├── buttom-left.gif │ ├── buttom-right.gif │ ├── buttom_bgs.gif │ ├── buttom_left2.gif │ ├── buttom_right2.gif │ ├── card.jpg │ ├── check-out_.gif │ ├── close.gif │ ├── content-bg-line.gif │ ├── content-bg.gif │ ├── database_import_.gif │ ├── defind.gif │ ├── del.jpg │ ├── delete.gif │ ├── delete_6.gif │ ├── edit.gif │ ├── ershou_1.gif │ ├── ershou_2.gif │ ├── format.gif │ ├── fox.css │ ├── g.gif │ ├── gw.gif │ ├── gw2.gif │ ├── icon-demo.gif │ ├── icon-login-seaver.gif │ ├── icon-mail2.gif │ ├── icon-phone.gif │ ├── icon2_004.png │ ├── icon2_089.png │ ├── icon2_090.png │ ├── image_(add)6.gif │ ├── image_1.gif │ ├── imagedelete.gif │ ├── imageedit.gif │ ├── ipsecurity.gif │ ├── l1b3.gif │ ├── l1b4.gif │ ├── l1b5.gif │ ├── left-bg.gif │ ├── left-top-right.gif │ ├── left.css │ ├── line2.jpg │ ├── linkspic3.gif │ ├── linkspic6.gif │ ├── lm.gif │ ├── lminfo.gif │ ├── login-buttom-bg.gif │ ├── login-content-bg.gif │ ├── login-top-bg.gif │ ├── login-wel.gif │ ├── login_bg.jpg │ ├── logo.gif │ ├── logo.png │ ├── luck.gif │ ├── mail_leftbg.gif │ ├── mail_rightbg.gif │ ├── menu_bg.gif │ ├── menu_bg1.gif │ ├── menu_bg2.gif │ ├── menu_bgs.gif │ ├── menu_topimg.gif │ ├── menu_topline.gif │ ├── mime.gif │ ├── nav-right-bg.gif │ ├── news-title-bg.gif │ ├── ok.gif │ ├── out.gif │ ├── password.gif │ ├── pic1.gif │ ├── pic10.gif │ ├── pic11.gif │ ├── pic12.gif │ ├── pic13.gif │ ├── pic14.gif │ ├── pic15.gif │ ├── pic16.gif │ ├── pic17.gif │ ├── pic18.gif │ ├── pic19.gif │ ├── pic21.gif │ ├── pic22.gif │ ├── pic23.gif │ ├── pic24.gif │ ├── pic25.gif │ ├── pic26.gif │ ├── pic5.gif │ ├── pic6.gif │ ├── pic7.gif │ ├── pic8.gif │ ├── pic9.gif │ ├── report2_(add).gif │ ├── report2_(delete).gif │ ├── right_smbg.jpg │ ├── servicezhgb2312.gif │ ├── set.gif │ ├── set2.gif │ ├── sitebackup.gif │ ├── skin.css │ ├── smallbg.jpg │ ├── st.gif │ ├── st.png │ ├── stop.gif │ ├── str.gif │ ├── t2bg1.gif │ ├── t2bg2.gif │ ├── t2bg4.gif │ ├── t2bg5.gif │ ├── title.gif │ ├── tj.jpg │ ├── to.gif │ ├── tool-down-pic.gif │ ├── top-right.gif │ ├── top_bt.jpg │ ├── ts.gif │ ├── user-info.gif │ ├── usercontrol.gif │ ├── vie.gif │ ├── yc.gif │ └── yx.gif ├── index.jsp ├── js │ ├── date.js │ ├── moo.fx.js │ ├── moo.fx.pack.js │ └── prototype.lite.js ├── main.jsp ├── menus.jsp ├── menus_add.jsp ├── menus_update.jsp ├── notice.jsp ├── notice_add.jsp ├── notice_update.jsp ├── order.jsp ├── order_search.jsp ├── order_statistic.jsp ├── type.jsp ├── type_add.jsp └── type_update.jsp ├── img ├── 20150703005031.jpg ├── m_fenzhengrou.gif ├── m_huanggualapi.gif ├── m_shuizhuyu.gif ├── m_tangcupaigu.gif ├── m_wuxianglvrou.gif └── m_xianroucaifan.gif └── qiantai ├── carry.jsp ├── center.jsp ├── copyright.jsp ├── css ├── A.css ├── G.css ├── WdatePicker.css ├── client.css ├── common.css ├── datepicker.css ├── dingcanall.css ├── dingcanche.css ├── dingcantimeinfo.css ├── dingcanweekmenu.css ├── dingcanweekmenu28.css ├── feedbackform.css ├── gb.css ├── guestbookform.css ├── guestbookquery.css ├── memberlogin_c.css ├── membernotice.css ├── nav.css ├── navpath.css ├── newslist.css ├── newslist_time2.css ├── order.css ├── ordersearchform.css ├── pagecontent.css ├── pagetitlemenu_b2.css ├── reg.css ├── skin.css ├── startorder.css └── topmenu_bk.css ├── images ├── 1253519531.jpg ├── 1253519609.jpg ├── 1256607214.jpg ├── 1257395866.jpg ├── 1257396058.jpg ├── 1257396517.jpg ├── 1257396703.jpg ├── 1257396792.jpg ├── 1257396864.jpg ├── 1257397027.jpg ├── 1257397349.jpg ├── 1257397703.jpg ├── 1257398155.jpg ├── 1257469703.jpg ├── 1257477260.gif ├── 1257835997.jpg ├── 43.gif ├── Thumbs.db ├── articleitems.gif ├── bg.jpg ├── bottommenu_bg.jpg ├── canche_submit.gif ├── cart.png ├── cartnow1.gif ├── cartnow2.gif ├── cateitems.gif ├── chk_error.gif ├── chk_msg.gif ├── cw1.gif ├── cw2.gif ├── cw3.gif ├── cw4.gif ├── cw5.gif ├── denglu.gif ├── dingcanall.jpg ├── dingcanall_bg.jpg ├── dingcanall_menu.jpg ├── dingcanall_menunow.jpg ├── dingcanche.jpg ├── dingcanche_leftline.gif ├── dingcanche_rightline.gif ├── dingcantimeinfo.jpg ├── dingcantimeinfo_leftline.jpg ├── dingcantimeinfo_rightline.jpg ├── dingcanweekmenu.jpg ├── dingcanweekmenu_leftline.jpg ├── dingcanweekmenu_rightline.jpg ├── email.gif ├── homepage.gif ├── img.gif ├── img_dinggou.gif ├── ip.gif ├── left.jpg ├── li.gif ├── menu.jpg ├── menu_bg.jpg ├── menu_hover.jpg ├── msn.gif ├── order.gif ├── orderquery.jpg ├── orderquery_button.gif ├── posttime.gif ├── qq.gif ├── qq_offline.gif ├── qq_online.gif ├── quxiao2.gif ├── quxiao3.gif ├── scat_bg.gif ├── scat_li.gif ├── search5.gif ├── smallcart.png ├── topmenu_bg.jpg └── zhuce.gif ├── index.jsp ├── index_right.jsp ├── js ├── Mcommon.js ├── WdatePicker.js ├── blockui.js ├── calendar.js ├── config.js ├── date.js ├── dingcanall.js ├── dingcansubmit.js ├── feedback.js ├── form.js ├── guestbook.js ├── order.js ├── ordersearch.js ├── qqmenu.js ├── reg.js ├── startorder.js └── zh-cn.js ├── login.jsp ├── notice.jsp ├── order.jsp ├── our.jsp ├── reg.jsp ├── shoppingcar.jsp ├── show.jsp ├── top.jsp └── userLoginFail.jsp /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by .ignore support plugin (hsz.mobi) 2 | ### JetBrains template 3 | # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider 4 | # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 5 | 6 | # User-specific stuff 7 | .idea/**/workspace.xml 8 | .idea/**/tasks.xml 9 | .idea/**/usage.statistics.xml 10 | .idea/**/dictionaries 11 | .idea/**/shelf 12 | 13 | # Generated files 14 | .idea/**/contentModel.xml 15 | 16 | # Sensitive or high-churn files 17 | .idea/**/dataSources/ 18 | .idea/**/dataSources.ids 19 | .idea/**/dataSources.local.xml 20 | .idea/**/sqlDataSources.xml 21 | .idea/**/dynamic.xml 22 | .idea/**/uiDesigner.xml 23 | .idea/**/dbnavigator.xml 24 | 25 | # Gradle 26 | .idea/**/gradle.xml 27 | .idea/**/libraries 28 | 29 | # Gradle and Maven with auto-import 30 | # When using Gradle or Maven with auto-import, you should exclude module files, 31 | # since they will be recreated, and may cause churn. Uncomment if using 32 | # auto-import. 33 | .idea/artifacts 34 | .idea/compiler.xml 35 | .idea/jarRepositories.xml 36 | .idea/modules.xml 37 | .idea/*.iml 38 | .idea/modules 39 | *.iml 40 | *.ipr 41 | 42 | # CMake 43 | cmake-build-*/ 44 | 45 | # Mongo Explorer plugin 46 | .idea/**/mongoSettings.xml 47 | 48 | # File-based project format 49 | *.iws 50 | 51 | # IntelliJ 52 | out/ 53 | 54 | # mpeltonen/sbt-idea plugin 55 | .idea_modules/ 56 | 57 | # JIRA plugin 58 | atlassian-ide-plugin.xml 59 | 60 | # Cursive Clojure plugin 61 | .idea/replstate.xml 62 | 63 | # Crashlytics plugin (for Android Studio and IntelliJ) 64 | com_crashlytics_export_strings.xml 65 | crashlytics.properties 66 | crashlytics-build.properties 67 | fabric.properties 68 | 69 | # Editor-based Rest Client 70 | .idea/httpRequests 71 | 72 | # Android studio 3.1+ serialized cache file 73 | .idea/caches/build_file_checksums.ser 74 | 75 | ### Maven template 76 | target/ 77 | pom.xml.tag 78 | pom.xml.releaseBackup 79 | pom.xml.versionsBackup 80 | pom.xml.next 81 | release.properties 82 | dependency-reduced-pom.xml 83 | buildNumber.properties 84 | .mvn/timing.properties 85 | # https://github.com/takari/maven-wrapper#usage-without-binary-jar 86 | .mvn/wrapper/maven-wrapper.jar 87 | 88 | # Compiled class file 89 | *.class 90 | 91 | # Log file 92 | *.log 93 | 94 | # BlueJ files 95 | *.ctxt 96 | 97 | # Mobile Tools for Java (J2ME) 98 | .mtj.tmp/ 99 | 100 | # Package Files # 101 | *.jar 102 | *.war 103 | *.nar 104 | *.ear 105 | *.zip 106 | *.tar.gz 107 | *.rar 108 | 109 | # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml 110 | hs_err_pid* 111 | /.idea/sonarlint 112 | /.idea 113 | /*.iml 114 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 小林 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🍽️ meal_ordering_system 2 | 3 | 基于SSM框架搭建的点餐系统,包括前台和后台功能。 4 | 5 | ## 📝 介绍 6 | 7 | 该项目是使用Maven、Idea、Spring、SpringMVC、MyBatis和JSP等技术实现的点餐系统。你可以在Github和Gitee上找到该项目的源代码。 8 | 9 | Github地址:https://github.com/CodingLink/meal_ordering_system 10 | Gitee地址:https://gitee.com/CodingPeppa/meal_ordering_system 11 | 12 | ## 🛠️ 软件架构 13 | Mysql: 8.0.28 14 | JDK 1.8 15 | Tomcat 9.0.56 16 | 17 | ## 🔧 安装教程 18 | 二进制文件方式 19 | 1. 导入数据库文件:apsfc 20150727 2133.sql 20 | 2. 修改applicationContext.xml文件的数据库信息(默认数据库名:apsfc,用户名:root,密码:123456) 21 | 3. 在根目录下运行mvn package,将打包后的war包导入Tomcat的/webapp目录下 22 | 23 | [Docker-Compose方式](./deploy/README.md) 24 | 25 | ## 📖 使用说明 26 | 你可以通过以下链接访问点餐系统的前台和后台功能: 27 | 28 | 前台:http://localhost:8080/meal_ordering_system/qiantai 29 | 后台:http://localhost:8080/meal_ordering_system/admin 30 | 31 | ## 🤝 贡献 32 | 目前该项目已不再维护 33 | 34 | ## 📄 许可证 35 | 本项目基于MIT许可证开源。 36 | -------------------------------------------------------------------------------- /deploy/Dockerfile: -------------------------------------------------------------------------------- 1 | from tomcat:9.0.56 2 | 3 | MAINTAINER ZYR zhuyiran@codinglink.tech 4 | 5 | COPY meal_ordering_system.war /usr/local/tomcat/webapps -------------------------------------------------------------------------------- /deploy/README.md: -------------------------------------------------------------------------------- 1 | ### Docker-Compose方式 2 | 1. 在当前文件夹下使用`docker build -t mos:1.0 .` 3 | 2. `docker-compose up -d` 4 | 3. 将sql文件导入数据库,端口号3366 -------------------------------------------------------------------------------- /deploy/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | services: 3 | mos: 4 | restart: always 5 | image: mos:1.0 6 | container_name: mos 7 | ports: 8 | - 8080:8080 9 | depends_on: 10 | - mysqldbserver 11 | networks: 12 | - server 13 | 14 | mysqldbserver: 15 | image: mysql:8.0.28 16 | container_name: mysqldbserver 17 | command: 18 | # MySQL8的密码验证方式默认是 caching_sha2_password,但是很多的连接工具还不支持该方式 19 | # 就需要手动设置下mysql的密码认证方式为以前的 mysql_native_password 方式 20 | --default-authentication-plugin=mysql_native_password 21 | --character-set-server=utf8mb4 22 | --collation-server=utf8mb4_general_ci 23 | # docker的重启策略:在容器退出时总是重启容器,但是不考虑在Docker守护进程启动时就已经停止了的容器 24 | restart: unless-stopped 25 | environment: 26 | MYSQL_ROOT_PASSWORD: 123456 # root用户的密码 27 | MYSQL_USER: user # 创建新用户 28 | MYSQL_PASSWORD: user_password # 新用户的密码 29 | ports: 30 | - 3366:3306 31 | volumes: 32 | - ~/docker/mysql/data:/var/lib/mysql 33 | - ~/docker/mysql/conf:/etc/mysql/conf.d 34 | - ~/docker/mysql/logs:/logs 35 | networks: 36 | - server 37 | 38 | volumes: 39 | mysql-data: 40 | 41 | networks: 42 | server: 43 | driver: 44 | bridge -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/controller/AdminController.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.controller; 2 | 3 | import com.example.meal_ordering_system.entity.Admin; 4 | import com.example.meal_ordering_system.entity.Menus; 5 | import com.example.meal_ordering_system.entity.Types; 6 | import com.example.meal_ordering_system.service.AdminService; 7 | import org.apache.ibatis.annotations.Param; 8 | import org.springframework.beans.factory.annotation.Autowired; 9 | import org.springframework.beans.factory.annotation.Qualifier; 10 | import org.springframework.stereotype.Controller; 11 | import org.springframework.ui.Model; 12 | import org.springframework.web.bind.annotation.GetMapping; 13 | import org.springframework.web.bind.annotation.RequestMapping; 14 | import org.springframework.web.bind.annotation.RequestMethod; 15 | import org.springframework.web.bind.annotation.RestController; 16 | 17 | import javax.annotation.Resource; 18 | import javax.servlet.http.HttpServletRequest; 19 | import javax.servlet.http.HttpSession; 20 | import java.util.List; 21 | 22 | /** 23 | * (Admin)表控制层 24 | * 25 | * @author makejava 26 | * @since 2021-02-04 12:51:19 27 | */ 28 | @Controller 29 | @RequestMapping("admin") 30 | public class AdminController { 31 | /** 32 | * 服务对象 33 | */ 34 | //自动注入业务层的AdminService类 35 | @Autowired 36 | @Qualifier("adminService") 37 | private AdminService adminService; 38 | 39 | //修改管理员信息 40 | @RequestMapping("update") 41 | public String update(Admin admin) { 42 | adminService.update(admin); 43 | return "/admin/menus"; 44 | } 45 | 46 | 47 | @RequestMapping(value = "/login",method = RequestMethod.GET) 48 | public String toLogin(){ 49 | return "/admin/index"; 50 | } 51 | 52 | //login业务的访问位置为/admin/login 53 | @RequestMapping(value = "/login",method = RequestMethod.POST) 54 | public String login(Admin admin, HttpServletRequest request,HttpSession session){ 55 | //调用login方法来验证是否是注册用户 56 | boolean loginType = adminService.login(admin.getName(),admin.getPwd()); 57 | if(loginType){ 58 | //如果验证通过,则将用户信息传到前台 59 | request.setAttribute("admin",admin); 60 | session.setAttribute("admin_session",admin); 61 | //并跳转到success.jsp页面 62 | return "/admin/main"; 63 | }else{ 64 | //若不对,则返回 65 | request.setAttribute("message","用户名密码错误"); 66 | return "/admin/index"; 67 | } 68 | } 69 | 70 | //登出,地址/admin/logout 71 | @RequestMapping("logout") 72 | public String logout(HttpSession session){ 73 | //清除session 74 | session.removeAttribute("admin_session"); 75 | //重定向到登录页面的跳转方法 76 | return "/admin/index"; 77 | } 78 | 79 | 80 | 81 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/controller/FileController.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.controller; 2 | 3 | 4 | import com.example.meal_ordering_system.entity.Menus; 5 | import com.example.meal_ordering_system.service.MenusService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.beans.factory.annotation.Qualifier; 8 | import org.springframework.web.bind.annotation.RequestAttribute; 9 | import org.springframework.web.bind.annotation.RequestMapping; 10 | import org.springframework.web.bind.annotation.RequestParam; 11 | import org.springframework.web.bind.annotation.RestController; 12 | import org.springframework.web.multipart.commons.CommonsMultipartFile; 13 | 14 | 15 | import javax.servlet.http.HttpServletRequest; 16 | import java.io.*; 17 | 18 | @RestController 19 | public class FileController { 20 | @Autowired 21 | @Qualifier("menusService") 22 | private MenusService menusService; 23 | 24 | @RequestMapping("upload") 25 | public String fileUpload(CommonsMultipartFile file, Menus menus, HttpServletRequest request)throws IOException { 26 | menusService.insert(menus); 27 | //获取文件名 28 | String uploadFilename = file.getOriginalFilename(); 29 | //如果文件名为空,直接返回 30 | if("".equals(uploadFilename)){ 31 | return "redirect: menus_add.jsp"; 32 | } 33 | System.out.println("上传文件名:"+uploadFilename); 34 | //上传保存路径 35 | String path=request.getServletContext().getRealPath("/public/img"); 36 | //如果路径不存在,新建一个 37 | File realPath= new File(path); 38 | if (!realPath.exists()){ 39 | realPath.mkdirs(); 40 | } 41 | System.out.println("上传文件保存地址:"+realPath); 42 | //文件输入流 43 | InputStream is =file.getInputStream(); 44 | //文件输出流 45 | OutputStream os =new FileOutputStream(new File(realPath,uploadFilename)); 46 | 47 | //读取写出 48 | int len=0; 49 | byte[] buffer = new byte[1024]; 50 | while ((len=is.read(buffer))!=-1) { 51 | os.write(buffer,0,len); 52 | os.flush(); 53 | } 54 | os.close(); 55 | is.close(); 56 | return "/admin/main"; 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/controller/MainController.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.controller; 2 | 3 | 4 | import org.springframework.stereotype.Controller; 5 | import org.springframework.ui.Model; 6 | import org.springframework.web.bind.annotation.RequestMapping; 7 | 8 | @Controller 9 | public class MainController { 10 | 11 | @RequestMapping("admin") 12 | public String admin(Model model){ 13 | return "redirect:/admin/login"; 14 | } 15 | 16 | @RequestMapping("qiantai") 17 | public String qianTai(Model model){ 18 | return "redirect:/menus/qiantai/allMenus"; 19 | } 20 | 21 | 22 | } 23 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/controller/TypesController.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.controller; 2 | 3 | import com.example.meal_ordering_system.entity.Types; 4 | import com.example.meal_ordering_system.service.TypesService; 5 | import org.apache.ibatis.annotations.Param; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.beans.factory.annotation.Qualifier; 8 | import org.springframework.stereotype.Controller; 9 | import org.springframework.ui.Model; 10 | import org.springframework.web.bind.annotation.RequestMapping; 11 | 12 | import java.util.List; 13 | 14 | /** 15 | * (Types)表控制层 16 | * 17 | * @author makejava 18 | * @since 2021-02-04 12:51:21 19 | */ 20 | @Controller 21 | @RequestMapping("types") 22 | public class TypesController { 23 | /** 24 | * 服务对象 25 | */ 26 | @Autowired 27 | @Qualifier("typesService") 28 | private TypesService typesService; 29 | 30 | /** 31 | * 查询所有菜单类别 32 | * @param model 33 | * @return 34 | */ 35 | @RequestMapping("queryAll") 36 | public String queryAll(Model model){ 37 | List types=typesService.queryAll(); 38 | model.addAttribute("types",types); 39 | return "admin/type"; 40 | } 41 | 42 | @RequestMapping("getall") 43 | public List queryall() 44 | { 45 | return this.typesService.queryAll(); 46 | } 47 | 48 | /** 49 | * 通过id删除菜单类别 50 | * @param model 51 | * @param id 52 | * @return 53 | */ 54 | @RequestMapping("delete") 55 | public String delete(Model model,@Param("id") int id){ 56 | this.typesService.delete(id); 57 | return queryAll(model); 58 | } 59 | 60 | /** 61 | * 修改菜单类别 62 | * @param model 63 | * @param id 64 | * @return 65 | */ 66 | //函数入口 67 | @RequestMapping("update") 68 | public String update(Model model,@Param("id") int id,@Param("name") String name) { 69 | typesService.update(new Types(id,name)); 70 | return queryAll(model); 71 | } 72 | 73 | /** 74 | * 根据id查询元素 75 | * @param model 76 | * @param id 77 | * @return 78 | */ 79 | @RequestMapping("queryById") 80 | public String queryById(Model model,@Param("id") int id){ 81 | Types type=typesService.queryById(id); 82 | model.addAttribute("type",type); 83 | return "admin/type_update"; 84 | } 85 | 86 | /** 87 | * 插入元素 88 | * @param model 89 | * @param name 90 | * @return 91 | */ 92 | @RequestMapping("insert") 93 | public String insert(Model model,@Param("name") String name){ 94 | int id=(int)(System.currentTimeMillis()%100); 95 | typesService.insert(new Types(id,name)); 96 | return queryAll(model); 97 | } 98 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/controller/UsersController.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.controller; 2 | 3 | import com.example.meal_ordering_system.entity.Users; 4 | import com.example.meal_ordering_system.service.UsersService; 5 | import org.apache.ibatis.annotations.Param; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.beans.factory.annotation.Qualifier; 8 | import org.springframework.context.annotation.Scope; 9 | import org.springframework.stereotype.Controller; 10 | import org.springframework.ui.Model; 11 | import org.springframework.web.bind.annotation.GetMapping; 12 | import org.springframework.web.bind.annotation.RequestMapping; 13 | import org.springframework.web.bind.annotation.RestController; 14 | 15 | import javax.annotation.Resource; 16 | import javax.servlet.http.HttpServletRequest; 17 | import javax.servlet.http.HttpServletResponse; 18 | import javax.servlet.http.HttpSession; 19 | import java.util.Random; 20 | import java.util.UUID; 21 | 22 | /** 23 | * (Users)表控制层 24 | * 25 | * @author makejava 26 | * @since 2021-02-04 12:51:21 27 | */ 28 | @Controller("usersController") 29 | @RequestMapping("users") 30 | @Scope("prototype") 31 | public class UsersController { 32 | /** 33 | * 服务对象 34 | */ 35 | @Autowired 36 | @Qualifier("usersService") 37 | private UsersService usersService; 38 | 39 | /** 40 | * 通过主键查询单条数据 41 | * 42 | * @param id 主键 43 | * @return 单条数据 44 | */ 45 | @RequestMapping ("queryById") 46 | public Users queryById(Integer id) { 47 | return this.usersService.queryById(id); 48 | } 49 | 50 | 51 | /** 52 | * 登录方法 53 | * @param user 54 | * @param request 55 | * @return 56 | */ 57 | @RequestMapping("login") 58 | public String login(Users user, HttpServletRequest request){ 59 | boolean loginType=usersService.login(user.getName(), user.getPwd()); 60 | HttpSession session=request.getSession(); 61 | if(loginType){ 62 | session.setAttribute("user_session",usersService.queryById(usersService.queryByname(user.getName()))); 63 | return "redirect:/menus/qiantai/allMenus"; 64 | }else{ 65 | session.setAttribute("message","用户名密码错误"); 66 | return "qiantai/userLoginFail"; 67 | } 68 | } 69 | //登出,地址/users/logout 70 | @RequestMapping("logout") 71 | public String logout(HttpSession session){ 72 | //清除session 73 | session.removeAttribute("user_session"); 74 | //重定向到登录页面的跳转方法 75 | return "/admin/index"; 76 | } 77 | 78 | @RequestMapping("insert") 79 | public String insert(@Param("name") String name,@Param("pwd") String pwd,@Param("realname") String realname,@Param("sex") String sex,@Param("age") Integer age,@Param("card") String card,@Param("address") String address,@Param("Phone") String phone,@Param("email")String email,@Param("code")String code,@Param("type")Integer type){ 80 | Users user=new Users(name,pwd,realname,sex,age,card,address,phone,email,code,type); 81 | usersService.insert(user); 82 | return "redirect:../public/qiantai/login.jsp"; 83 | } 84 | 85 | 86 | @RequestMapping("update") 87 | public String update(HttpSession session,@Param("id")Integer id,@Param("name") String name,@Param("pwd") String pwd,@Param("realname") String realname,@Param("sex") String sex,@Param("age") Integer age,@Param("card") String card,@Param("address") String address,@Param("Phone") String phone,@Param("email")String email,@Param("code")String code,@Param("type")Integer type){ 88 | Users user=new Users(id,name,pwd,realname,sex,age,card,address,phone,email,code,type); 89 | usersService.update(user); 90 | session.removeAttribute("user_session"); 91 | return "redirect:/users/login"; 92 | } 93 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/dao/AdminDao.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.dao; 2 | 3 | import com.example.meal_ordering_system.entity.Admin; 4 | import org.apache.ibatis.annotations.Param; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * (Admin)表数据库访问层 10 | * 11 | * @author makejava 12 | * @since 2021-02-04 12:44:06 13 | */ 14 | public interface AdminDao { 15 | 16 | /** 17 | * 通过ID查询单条数据 18 | * 19 | * @param name 用户名 20 | * @return 实例对象 21 | */ 22 | Admin queryByName(String name); 23 | 24 | /** 25 | * 查询指定行数据 26 | * 27 | * @param offset 查询起始位置 28 | * @param limit 查询条数 29 | * @return 对象列表 30 | */ 31 | List queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit); 32 | 33 | 34 | /** 35 | * 通过实体作为筛选条件查询 36 | * 37 | * @param admin 实例对象 38 | * @return 对象列表 39 | */ 40 | List queryAll(Admin admin); 41 | 42 | /** 43 | * 新增数据 44 | * 45 | * @param admin 实例对象 46 | * @return 影响行数 47 | */ 48 | int insert(Admin admin); 49 | 50 | 51 | /** 52 | * 修改数据 53 | * 54 | * @param admin 实例对象 55 | * @return 影响行数 56 | */ 57 | int update(Admin admin); 58 | 59 | /** 60 | * 通过主键删除数据 61 | * 62 | * @param id 主键 63 | * @return 影响行数 64 | */ 65 | int deleteById(Integer id); 66 | 67 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/dao/MenusDao.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.dao; 2 | 3 | import com.example.meal_ordering_system.entity.Menus; 4 | import com.example.meal_ordering_system.entity.Page; 5 | import org.apache.ibatis.annotations.Param; 6 | 7 | 8 | 9 | import java.util.List; 10 | 11 | /** 12 | * (Menus)表数据库访问层 13 | * 14 | * @author makejava 15 | * @since 2021-02-04 12:44:07 16 | */ 17 | public interface MenusDao { 18 | 19 | /** 20 | * 通过ID查询单条数据 21 | * 22 | * @param id 主键 23 | * @return 实例对象 24 | */ 25 | Menus queryById(Object id); 26 | 27 | List selectAll(Page page); 28 | 29 | long selectCount(); 30 | 31 | /** 32 | * 查询指定行数据 33 | * 34 | * @param offset 查询起始位置 35 | * @param limit 查询条数 36 | * @return 对象列表 37 | */ 38 | List queryAllByLimit(@Param("offset") int offset, @Param("limit") int limit); 39 | 40 | 41 | List queryAll( ); 42 | 43 | /** 44 | * 新增数据 45 | * 46 | * @param menus 实例对象 47 | * @return 影响行数 48 | */ 49 | int insert(Menus menus); 50 | 51 | 52 | 53 | 54 | /** 55 | * 修改数据 56 | * 57 | * @param menus 实例对象 58 | * @return 影响行数 59 | */ 60 | int update(Menus menus); 61 | 62 | /** 63 | * 通过主键删除数据 64 | * 65 | * @param id 主键 66 | * @return 影响行数 67 | */ 68 | int deleteById(Object id); 69 | 70 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/dao/NoticeDao.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.dao; 2 | 3 | import com.example.meal_ordering_system.entity.Notice; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import javax.annotation.Resource; 8 | import java.util.List; 9 | 10 | /** 11 | * (Notice)表数据库访问层 12 | * 13 | * @author makejava 14 | * @since 2021-02-04 12:44:07 15 | */ 16 | @Repository("noticeDao") 17 | public interface NoticeDao { 18 | 19 | /** 20 | * 通过ID查询单条数据 21 | * 22 | * @param id 主键 23 | * @return 实例对象 24 | */ 25 | Notice queryById(Integer id); 26 | 27 | 28 | 29 | /** 30 | * 查询所有元素 31 | * 32 | * @return 对象列表 33 | */ 34 | List queryAll(); 35 | 36 | /** 37 | * 新增数据 38 | * 39 | * @param notice 实例对象 40 | * @return 影响行数 41 | */ 42 | int insert(Notice notice); 43 | 44 | /** 45 | * 批量新增数据(MyBatis原生foreach方法) 46 | * 47 | * @param entities List 实例对象列表 48 | * @return 影响行数 49 | */ 50 | int insertBatch(@Param("entities") List entities); 51 | 52 | /** 53 | * 批量新增或按主键更新数据(MyBatis原生foreach方法) 54 | * 55 | * @param entities List 实例对象列表 56 | * @return 影响行数 57 | */ 58 | int insertOrUpdateBatch(@Param("entities") List entities); 59 | 60 | /** 61 | * 修改数据 62 | * 63 | * @param notice 实例对象 64 | * @return 影响行数 65 | */ 66 | int update(Notice notice); 67 | 68 | /** 69 | * 通过主键删除数据 70 | * 71 | * @param id 主键 72 | * @return 影响行数 73 | */ 74 | int delete(Integer id); 75 | 76 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/dao/OrdersDao.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.dao; 2 | 3 | import com.example.meal_ordering_system.entity.Orders; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * (Orders)表数据库访问层 11 | * 12 | * @author makejava 13 | * @since 2021-02-04 12:44:08 14 | */ 15 | @Repository("ordersDao") 16 | public interface OrdersDao { 17 | 18 | //获取全部订单 19 | List pageList(int a,int b); 20 | 21 | //获取全部行数 22 | int pageCount(); 23 | 24 | //查询全部订单通过id 25 | List pageListByID(int id); 26 | 27 | //查询全部订单通过日期 28 | List pageListByDate(String times1,String times2); 29 | 30 | //查询全部订单通过menu 31 | List pageListByMenue(String name); 32 | 33 | //更新delivery 34 | int updatedeliveryById(Integer id); 35 | 36 | //删除订单 37 | int deleteById(Integer id); 38 | 39 | //查找所有订单通过delivery 40 | List pageListByDelivery(Integer delivery); 41 | 42 | 43 | //增加order 44 | int insert(Orders orders); 45 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/dao/TypesDao.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.dao; 2 | 3 | import com.example.meal_ordering_system.entity.Types; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * (Types)表数据库访问层 11 | * 12 | * @author makejava 13 | * @since 2021-02-04 12:44:08 14 | */ 15 | @Repository 16 | public interface TypesDao { 17 | /** 18 | * 通过实体作为筛选条件查询 19 | * 20 | * @return 对象列表 21 | */ 22 | List queryAll(); 23 | 24 | /** 25 | * 修改菜单类别 26 | * @param type 27 | * @return 28 | */ 29 | int update(Types type); 30 | 31 | /** 32 | * 删除菜单类别 33 | * @param id 34 | * @return 35 | */ 36 | int delete(int id); 37 | 38 | /** 39 | * 根据id查询 40 | * @param id 41 | * @return 42 | */ 43 | Types queryById(int id); 44 | 45 | /** 46 | * 插入元素 47 | * @param types 48 | * @return 49 | */ 50 | int insert(Types types); 51 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/dao/UsersDao.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.dao; 2 | 3 | import com.example.meal_ordering_system.entity.Users; 4 | import org.apache.ibatis.annotations.Param; 5 | import org.springframework.stereotype.Repository; 6 | 7 | import java.util.List; 8 | 9 | /** 10 | * (Users)表数据库访问层 11 | * 12 | * @author makejava 13 | * @since 2021-02-04 12:44:08 14 | */ 15 | @Repository("usersDao") 16 | public interface UsersDao { 17 | 18 | /** 19 | * 登录查询 20 | * 21 | * @param name 用户名 22 | * @return 实例对象 23 | */ 24 | Users queryOne(@Param("name") String name, @Param("pwd") String pwd); 25 | 26 | /** 27 | * 通过ID查询单条数据 28 | * 29 | * @param id 主键 30 | * @return 实例对象 31 | */ 32 | Users queryById(Integer id); 33 | 34 | 35 | 36 | /** 37 | * 新增数据 38 | * 39 | * @param user 实例对象 40 | * @return 影响行数 41 | */ 42 | int insert(Users user); 43 | 44 | 45 | 46 | /** 47 | * 修改数据 48 | * 49 | * @param users 实例对象 50 | * @return 影响行数 51 | */ 52 | int update(Users users); 53 | 54 | /** 55 | * 通过主键删除数据 56 | * 57 | * @param id 主键 58 | * @return 影响行数 59 | */ 60 | int deleteById(Integer id); 61 | 62 | //通过用户名查id 63 | int queryByname(String name); 64 | 65 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Admin.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | 8 | 9 | 10 | @Data 11 | @NoArgsConstructor 12 | @AllArgsConstructor 13 | public class Admin { 14 | 15 | private Integer id; 16 | 17 | private String name; 18 | 19 | private String pwd; 20 | 21 | private String authority; 22 | 23 | 24 | 25 | 26 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Menus.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | 8 | 9 | @Data 10 | @NoArgsConstructor 11 | @AllArgsConstructor 12 | public class Menus { 13 | 14 | private Integer id; 15 | 16 | private String name; 17 | 18 | private Integer typeid; 19 | 20 | private String burden; 21 | 22 | private String brief; 23 | 24 | private Float price; 25 | 26 | private Integer sums; 27 | 28 | private Float price1; 29 | 30 | private Integer sums1; 31 | 32 | private String imgpath; 33 | 34 | 35 | 36 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Notice.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | 8 | @Data 9 | @NoArgsConstructor 10 | @AllArgsConstructor 11 | public class Notice { 12 | 13 | private Integer id; 14 | 15 | private String name; 16 | 17 | private String content; 18 | 19 | private String times; 20 | 21 | 22 | 23 | 24 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Orders.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @NoArgsConstructor 9 | @AllArgsConstructor 10 | public class Orders { 11 | 12 | private Integer id; 13 | 14 | private Integer userid; 15 | 16 | private Integer menuid; 17 | 18 | private Integer menusum; 19 | 20 | private String times; 21 | 22 | private Integer delivery; 23 | 24 | private Users users; 25 | 26 | private Menus menus; 27 | 28 | public Orders(Integer id, Integer userid, Integer menuid, Integer menusum, String times, Integer delivery) { 29 | this.id = id; 30 | this.userid = userid; 31 | this.menuid = menuid; 32 | this.menusum = menusum; 33 | this.times = times; 34 | this.delivery = delivery; 35 | } 36 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Page.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | //分页用,封装了page对象 4 | public class Page { 5 | private Integer pageIndex;//当前页码 6 | 7 | private Integer pageSize;//页面大小 8 | 9 | private Integer totalCounts;//数据总条数 10 | 11 | private Integer totalPages;//总页数 12 | 13 | private Integer startRows;//起始行 14 | 15 | public Page(Integer pageIndex) { 16 | this(pageIndex,5); 17 | } 18 | 19 | public Page(Integer pageIndex, Integer pageSize) { 20 | this.pageIndex = pageIndex; 21 | this.pageSize = pageSize; 22 | this.setStartRows((pageIndex-1)*pageSize); 23 | } 24 | 25 | public Integer getPageIndex() { 26 | return pageIndex; 27 | } 28 | 29 | public void setPageIndex(Integer pageIndex) { 30 | this.pageIndex = pageIndex; 31 | } 32 | 33 | public Integer getPageSize() { 34 | return pageSize; 35 | } 36 | 37 | public void setPageSize(Integer pageSize) { 38 | this.pageSize = pageSize; 39 | } 40 | 41 | public Integer getTotalCounts() { 42 | return totalCounts; 43 | } 44 | 45 | public void setTotalCounts(Integer totalCounts) { 46 | this.totalCounts = totalCounts; 47 | this.setTotalPages(this.totalCounts % this.pageSize ==0?this.totalCounts/this.pageSize : this.totalCounts / this.pageSize +1); 48 | } 49 | 50 | public Integer getTotalPages() { 51 | return totalPages; 52 | } 53 | 54 | public void setTotalPages(Integer totalPages) { 55 | this.totalPages = totalPages; 56 | } 57 | 58 | public Integer getStartRows() { 59 | return startRows; 60 | } 61 | 62 | public void setStartRows(Integer startRows) { 63 | this.startRows = startRows; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Pages.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | import java.io.Serializable; 8 | 9 | @Data 10 | @NoArgsConstructor 11 | @AllArgsConstructor 12 | public class Pages implements Serializable { 13 | private static final long serialVersionUID=1L; 14 | private String currentpage="1"; //当前也是 15 | 16 | private int totalPageCount=1; //总页数 17 | } 18 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/ShoppingCart.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @NoArgsConstructor 9 | @AllArgsConstructor 10 | public class ShoppingCart { 11 | private Integer id; 12 | private String name; 13 | private float price; 14 | private Integer sums; 15 | } 16 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Types.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @NoArgsConstructor 9 | @AllArgsConstructor 10 | public class Types { 11 | 12 | private Integer id; 13 | 14 | private String name; 15 | 16 | 17 | 18 | 19 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/entity/Users.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.entity; 2 | 3 | import lombok.AllArgsConstructor; 4 | import lombok.Data; 5 | import lombok.NoArgsConstructor; 6 | 7 | @Data 8 | @NoArgsConstructor 9 | @AllArgsConstructor 10 | public class Users { 11 | 12 | private Integer id; 13 | 14 | private String name; 15 | 16 | private String pwd; 17 | 18 | private String realname; 19 | 20 | private String sex; 21 | 22 | private Integer age; 23 | 24 | private String card; 25 | 26 | private String address; 27 | 28 | private String phone; 29 | 30 | private String email; 31 | 32 | private String code; 33 | 34 | private Integer type; 35 | 36 | 37 | public Users(String name, String pwd, String realname, String sex, Integer age, String card, String address, String phone, String email, String code, Integer type) { 38 | this.name = name; 39 | this.pwd = pwd; 40 | this.realname = realname; 41 | this.sex = sex; 42 | this.age = age; 43 | this.card = card; 44 | this.address = address; 45 | this.phone = phone; 46 | this.email = email; 47 | this.code = code; 48 | this.type = type; 49 | } 50 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/interceptor/AdminLoginInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.interceptor; 2 | 3 | import com.example.meal_ordering_system.entity.Admin; 4 | import com.example.meal_ordering_system.entity.Users; 5 | import org.springframework.web.servlet.HandlerInterceptor; 6 | import org.springframework.web.servlet.ModelAndView; 7 | 8 | import javax.servlet.http.HttpServletRequest; 9 | import javax.servlet.http.HttpServletResponse; 10 | import javax.servlet.http.HttpSession; 11 | 12 | public class AdminLoginInterceptor implements HandlerInterceptor { 13 | @Override 14 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object o) throws Exception { 15 | //获取请求的RUi:去除http:localhost:8080这部分剩下的 16 | String uri = request.getRequestURI(); 17 | //UTL:除了login.jsp是可以公开访问的,其他的URL都进行拦截控制 18 | if (uri.indexOf("/admin/login")>=0) { 19 | return true; 20 | } 21 | //获取session 22 | HttpSession session = request.getSession(); 23 | Admin admin = (Admin) session.getAttribute("admin_session"); 24 | Users user=(Users)session.getAttribute("user_session"); 25 | //判断session中是否有用户数据,如果有,则返回true,继续向下执行 26 | if (admin != null) { 27 | return true; 28 | } 29 | //不符合条件的给出提示信息,并转发到登录页面 30 | request.setAttribute("msg", "您还没有登录,请先登录!"); 31 | request.getRequestDispatcher("/public/admin/index.jsp").forward(request, response); 32 | return false; 33 | } 34 | 35 | @Override 36 | public void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception { 37 | 38 | } 39 | 40 | @Override 41 | public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception { 42 | 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/interceptor/UserLoginInterceptor.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.interceptor; 2 | 3 | import com.example.meal_ordering_system.entity.Users; 4 | import org.springframework.web.servlet.HandlerInterceptor; 5 | import org.springframework.web.servlet.ModelAndView; 6 | 7 | import javax.servlet.http.HttpServletRequest; 8 | import javax.servlet.http.HttpServletResponse; 9 | import javax.servlet.http.HttpSession; 10 | 11 | public class UserLoginInterceptor implements HandlerInterceptor { 12 | 13 | @Override 14 | public boolean preHandle(HttpServletRequest request, HttpServletResponse response,Object o) throws Exception{ 15 | String uri=request.getRequestURI(); 16 | if(!uri.contains("/qiantai")){ 17 | HttpSession session=request.getSession(); 18 | Users user=(Users)session.getAttribute("USER_SESSION"); 19 | if(user!=null) 20 | return true; 21 | request.setAttribute("msg","您还没有登录,请先登录"); 22 | request.getRequestDispatcher("/public/qiantai/login.jsp").forward(request,response); 23 | return false; 24 | } 25 | return true; 26 | 27 | } 28 | 29 | @Override 30 | public void postHandle(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, ModelAndView modelAndView) throws Exception { 31 | 32 | } 33 | 34 | @Override 35 | public void afterCompletion(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, Object o, Exception e) throws Exception { 36 | 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/AdminService.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service; 2 | 3 | import com.example.meal_ordering_system.entity.Admin; 4 | import com.example.meal_ordering_system.entity.Types; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * (Admin)表服务接口 10 | * 11 | * @author makejava 12 | * @since 2021-02-04 12:49:13 13 | */ 14 | public interface AdminService { 15 | 16 | /** 17 | * 通过ID查询单条数据 18 | * 19 | * @param name 主键 20 | * @return 实例对象 21 | */ 22 | Admin queryByName(String name) ; 23 | 24 | boolean login(String name,String pwd); 25 | 26 | /** 27 | * 查询多条数据 28 | * 29 | * @param offset 查询起始位置 30 | * @param limit 查询条数 31 | * @return 对象列表 32 | */ 33 | List queryAllByLimit(int offset, int limit); 34 | 35 | /** 36 | * 新增数据 37 | * 38 | * @param admin 实例对象 39 | * @return 实例对象 40 | */ 41 | Admin insert(Admin admin); 42 | 43 | int update(Admin admin); 44 | 45 | 46 | /** 47 | * 通过主键删除数据 48 | * 49 | * @param id 主键 50 | * @return 是否成功 51 | */ 52 | boolean deleteById(Integer id); 53 | 54 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/MenusService.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service; 2 | 3 | import com.example.meal_ordering_system.entity.Menus; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * (Menus)表服务接口 9 | * 10 | * @author makejava 11 | * @since 2021-02-04 12:49:14 12 | */ 13 | public interface MenusService { 14 | 15 | /** 16 | * 通过ID查询单条数据 17 | * 18 | * @param id 主键 19 | * @return 实例对象 20 | */ 21 | Menus queryById(Object id); 22 | 23 | 24 | List queryAll(); 25 | 26 | /** 27 | * 查询多条数据 28 | * 29 | * @param offset 查询起始位置 30 | * @param limit 查询条数 31 | * @return 对象列表 32 | */ 33 | List queryAllByLimit(int offset, int limit); 34 | 35 | /** 36 | * 新增数据 37 | * 38 | * @param menus 实例对象 39 | * @return 实例对象 40 | */ 41 | Menus insert(Menus menus); 42 | 43 | /** 44 | * 修改数据 45 | * 46 | * @param menus 实例对象 47 | * @return 实例对象 48 | */ 49 | Menus update(Menus menus); 50 | 51 | /** 52 | * 通过主键删除数据 53 | * 54 | * @param id 主键 55 | * @return 是否成功 56 | */ 57 | boolean deleteById(Object id); 58 | 59 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/NoticeService.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service; 2 | 3 | import com.example.meal_ordering_system.entity.Notice; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * (Notice)表服务接口 9 | * 10 | * @author makejava 11 | * @since 2021-02-04 12:49:14 12 | */ 13 | public interface NoticeService { 14 | 15 | /** 16 | * 通过ID查询单条数据 17 | * 18 | * @param id 主键 19 | * @return 实例对象 20 | */ 21 | Notice queryById(Integer id); 22 | 23 | /** 24 | * 查询多条数据 25 | * @return 对象列表 26 | */ 27 | List queryAll(); 28 | 29 | /** 30 | * 新增数据 31 | * 32 | * @param notice 实例对象 33 | * @return 实例对象 34 | */ 35 | Notice insert(Notice notice); 36 | 37 | /** 38 | * 修改数据 39 | * 40 | * @param notice 实例对象 41 | * @return 实例对象 42 | */ 43 | Notice update(Notice notice); 44 | 45 | /** 46 | * 通过主键删除数据 47 | * 48 | * @param id 主键 49 | * @return 是否成功 50 | */ 51 | boolean delete(Integer id); 52 | 53 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/OrdersService.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service; 2 | 3 | import com.example.meal_ordering_system.entity.Orders; 4 | 5 | import java.util.List; 6 | 7 | /** 8 | * (Orders)表服务接口 9 | * 10 | * @author makejava 11 | * @since 2021-02-04 12:49:14 12 | */ 13 | public interface OrdersService { 14 | 15 | //分页查询销售订单信息 16 | List pageList(int a,int b); 17 | 18 | //返回页面个数 19 | int pageCount(); 20 | 21 | //更新delivery 22 | int updatedeliveryById(Integer id); 23 | 24 | //删除订单 25 | int deleteById(Integer id); 26 | 27 | //查询全部订单通过id 28 | List pageListByID(int id); 29 | 30 | //查询全部订单通过日期 31 | List pageListByDate(String times1,String times2); 32 | 33 | //查询全部订单通过menu 34 | List pageListByMenue(String name); 35 | 36 | 37 | //查找所有订单通过delivery 38 | List pageListByDelivery(Integer delivery); 39 | 40 | //增加order 41 | int insert(Orders orders); 42 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/TypesService.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service; 2 | 3 | import com.example.meal_ordering_system.entity.Types; 4 | 5 | import java.lang.reflect.Type; 6 | import java.util.List; 7 | 8 | /** 9 | * (Types)表服务接口 10 | * 11 | * @author makejava 12 | * @since 2021-02-04 12:49:15 13 | */ 14 | public interface TypesService { 15 | 16 | 17 | /** 18 | * 查询所有元素 19 | * @return 20 | */ 21 | List queryAll(); 22 | 23 | /** 24 | * 修改菜单类别 25 | * @param type 26 | * @return 27 | */ 28 | int update(Types type); 29 | 30 | /** 31 | * 删除菜单类别 32 | * @param id 33 | * @return 34 | */ 35 | int delete(int id); 36 | 37 | /** 38 | * 根据id查询 39 | * @param id 40 | * @return 41 | */ 42 | Types queryById(int id); 43 | 44 | /** 45 | * 插入元素 46 | * @param type 47 | * @return 48 | */ 49 | int insert(Types type); 50 | 51 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/UsersService.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service; 2 | 3 | import com.example.meal_ordering_system.entity.Users; 4 | import org.apache.ibatis.annotations.Param; 5 | 6 | import java.util.List; 7 | 8 | /** 9 | * (Users)表服务接口 10 | * 11 | * @author makejava 12 | * @since 2021-02-04 12:49:15 13 | */ 14 | public interface UsersService { 15 | 16 | /** 17 | * 登录查询 18 | * 19 | * @param name 用户名 20 | * @param pwd 密码 21 | * @return 实例对象 22 | */ 23 | boolean login(@Param("name") String name, @Param("pwd") String pwd); 24 | 25 | /** 26 | * 通过ID查询单条数据 27 | * 28 | * @param id 主键 29 | * @return 实例对象 30 | */ 31 | Users queryById(Integer id); 32 | 33 | 34 | 35 | 36 | /** 37 | * 新增数据 38 | * 39 | * @param user 实例对象 40 | * @return 改变行数 41 | */ 42 | int insert(Users user); 43 | 44 | /** 45 | * 修改数据 46 | * 47 | * @param users 实例对象 48 | * @return 实例对象 49 | */ 50 | Users update(Users users); 51 | 52 | /** 53 | * 通过主键删除数据 54 | * 55 | * @param id 主键 56 | * @return 是否成功 57 | */ 58 | boolean deleteById(Integer id); 59 | 60 | //通过用户名查id 61 | int queryByname(String name); 62 | 63 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/impl/AdminServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service.impl; 2 | 3 | import com.example.meal_ordering_system.dao.AdminDao; 4 | import com.example.meal_ordering_system.entity.Admin; 5 | import com.example.meal_ordering_system.service.AdminService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.stereotype.Service; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | /** 13 | * (Admin)表服务实现类 14 | * 15 | * @author makejava 16 | * @since 2021-02-04 12:49:13 17 | */ 18 | @Service("adminService") 19 | public class AdminServiceImpl implements AdminService { 20 | @Resource 21 | private AdminDao adminDao; 22 | 23 | /** 24 | * 通过ID查询单条数据 25 | * 26 | * @param name 用户名 27 | * @return 实例对象 28 | */ 29 | @Override 30 | public Admin queryByName(String name) { 31 | return this.adminDao.queryByName(name); 32 | } 33 | 34 | /** 35 | * 查询多条数据 36 | * 37 | * @param offset 查询起始位置 38 | * @param limit 查询条数 39 | * @return 对象列表 40 | */ 41 | @Override 42 | public List queryAllByLimit(int offset, int limit) { 43 | return this.adminDao.queryAllByLimit(offset, limit); 44 | } 45 | 46 | /** 47 | * 新增数据 48 | * 49 | * @param admin 实例对象 50 | * @return 实例对象 51 | */ 52 | @Override 53 | public Admin insert(Admin admin) { 54 | this.adminDao.insert(admin); 55 | return admin; 56 | } 57 | @Override 58 | public int update(Admin admin){ 59 | this.adminDao.update(admin); 60 | return 0; 61 | }; 62 | 63 | //登录方法的实现,从jsp页面获取username与password 64 | public boolean login(String name, String pwd) { 65 | Admin admin = adminDao.queryByName(name); 66 | if (admin != null) { 67 | if (admin.getName().equals(name) && admin.getPwd().equals(pwd)) 68 | return true; 69 | } 70 | return false; 71 | } 72 | 73 | 74 | /** 75 | * 通过主键删除数据 76 | * 77 | * @param id 主键 78 | * @return 是否成功 79 | */ 80 | @Override 81 | public boolean deleteById(Integer id) { 82 | return this.adminDao.deleteById(id) > 0; 83 | } 84 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/impl/MenusServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service.impl; 2 | 3 | import com.example.meal_ordering_system.dao.MenusDao; 4 | import com.example.meal_ordering_system.entity.Menus; 5 | import com.example.meal_ordering_system.service.MenusService; 6 | import org.springframework.beans.factory.annotation.Qualifier; 7 | import org.springframework.stereotype.Service; 8 | 9 | import javax.annotation.Resource; 10 | import java.util.List; 11 | 12 | /** 13 | * (Menus)表服务实现类 14 | * 15 | * @author makejava 16 | * @since 2021-02-04 12:49:14 17 | */ 18 | @Service("menusService") 19 | public class MenusServiceImpl implements MenusService { 20 | @Resource 21 | @Qualifier 22 | private MenusDao menusDao; 23 | 24 | /** 25 | * 通过ID查询单条数据 26 | * 27 | * @param id 主键 28 | * @return 实例对象 29 | */ 30 | @Override 31 | public Menus queryById(Object id) { 32 | return this.menusDao.queryById(id); 33 | } 34 | 35 | 36 | 37 | public List queryAll( ){ 38 | return this.menusDao.queryAll(); 39 | }; 40 | 41 | /** 42 | * 查询多条数据 43 | * 44 | * @param offset 查询起始位置 45 | * @param limit 查询条数 46 | * @return 对象列表 47 | */ 48 | @Override 49 | public List queryAllByLimit(int offset, int limit) { 50 | return this.menusDao.queryAllByLimit(offset, limit); 51 | } 52 | 53 | /** 54 | * 新增数据 55 | * 56 | * @param menus 实例对象 57 | * @return 实例对象 58 | */ 59 | @Override 60 | public Menus insert(Menus menus) { 61 | this.menusDao.insert(menus); 62 | return menus; 63 | } 64 | 65 | /** 66 | * 修改数据 67 | * 68 | * @param menus 实例对象 69 | * @return 实例对象 70 | */ 71 | @Override 72 | public Menus update(Menus menus) { 73 | this.menusDao.update(menus); 74 | return this.queryById(menus.getId()); 75 | } 76 | 77 | /** 78 | * 通过主键删除数据 79 | * 80 | * @param id 主键 81 | * @return 是否成功 82 | */ 83 | @Override 84 | public boolean deleteById(Object id) { 85 | return this.menusDao.deleteById(id) > 0; 86 | } 87 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/impl/NoticeServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service.impl; 2 | 3 | import com.example.meal_ordering_system.dao.NoticeDao; 4 | import com.example.meal_ordering_system.entity.Notice; 5 | import com.example.meal_ordering_system.service.NoticeService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.beans.factory.annotation.Qualifier; 8 | import org.springframework.stereotype.Service; 9 | 10 | import javax.annotation.Resource; 11 | import java.util.List; 12 | 13 | /** 14 | * (Notice)表服务实现类 15 | * 16 | * @author makejava 17 | * @since 2021-02-04 12:49:14 18 | */ 19 | @Service("noticeService") 20 | public class NoticeServiceImpl implements NoticeService { 21 | @Autowired 22 | @Qualifier("noticeDao") 23 | private NoticeDao noticeDao; 24 | 25 | /** 26 | * 通过ID查询单条数据 27 | * 28 | * @param id 主键 29 | * @return 实例对象 30 | */ 31 | @Override 32 | public Notice queryById(Integer id) { 33 | return this.noticeDao.queryById(id); 34 | } 35 | 36 | @Override 37 | public List queryAll() { 38 | return this.noticeDao.queryAll(); 39 | } 40 | /** 41 | * 新增数据 42 | * 43 | * @param notice 实例对象 44 | * @return 实例对象 45 | */ 46 | @Override 47 | public Notice insert(Notice notice) { 48 | this.noticeDao.insert(notice); 49 | return notice; 50 | } 51 | 52 | /** 53 | * 修改数据 54 | * 55 | * @param notice 实例对象 56 | * @return 实例对象 57 | */ 58 | @Override 59 | public Notice update(Notice notice) { 60 | this.noticeDao.update(notice); 61 | return this.queryById(notice.getId()); 62 | } 63 | 64 | /** 65 | * 通过主键删除数据 66 | * 67 | * @param id 主键 68 | * @return 是否成功 69 | */ 70 | @Override 71 | public boolean delete(Integer id) { 72 | return this.noticeDao.delete(id) > 0; 73 | } 74 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/impl/OrdersServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service.impl; 2 | 3 | import com.example.meal_ordering_system.dao.OrdersDao; 4 | import com.example.meal_ordering_system.entity.Orders; 5 | import com.example.meal_ordering_system.entity.Pages; 6 | import com.example.meal_ordering_system.service.OrdersService; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.beans.factory.annotation.Qualifier; 9 | import org.springframework.stereotype.Service; 10 | 11 | 12 | import java.util.List; 13 | 14 | /** 15 | * (Orders)表服务实现类 16 | * 17 | * @author makejava 18 | * @since 2021-02-04 12:49:15 19 | */ 20 | @Service("ordersService") 21 | public class OrdersServiceImpl implements OrdersService { 22 | 23 | @Autowired 24 | @Qualifier("ordersDao") 25 | private OrdersDao ordersDao; 26 | 27 | 28 | private Pages pages; 29 | 30 | 31 | @Override 32 | public List pageList(int a,int b){ 33 | return this.ordersDao.pageList(a,b); 34 | } 35 | 36 | 37 | 38 | @Override 39 | public int pageCount() { 40 | return this.ordersDao.pageCount(); 41 | } 42 | 43 | @Override 44 | public int updatedeliveryById(Integer id) { 45 | return this.ordersDao.updatedeliveryById(id); 46 | } 47 | 48 | @Override 49 | public int deleteById(Integer id) { 50 | return this.ordersDao.deleteById(id); 51 | } 52 | 53 | @Override 54 | public List pageListByID(int id) { 55 | return this.ordersDao.pageListByID(id); 56 | } 57 | 58 | @Override 59 | public List pageListByDate(String times1,String times2) { 60 | return this.ordersDao.pageListByDate(times1,times2); 61 | } 62 | 63 | @Override 64 | public List pageListByMenue(String name) { 65 | return this.ordersDao.pageListByMenue(name); 66 | } 67 | 68 | @Override 69 | public List pageListByDelivery(Integer delivery) { 70 | return this.ordersDao.pageListByDelivery(delivery); 71 | } 72 | 73 | @Override 74 | public int insert(Orders orders) { 75 | return this.ordersDao.insert(orders); 76 | } 77 | 78 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/impl/TypesServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service.impl; 2 | 3 | import com.example.meal_ordering_system.dao.TypesDao; 4 | import com.example.meal_ordering_system.entity.Types; 5 | import com.example.meal_ordering_system.service.TypesService; 6 | import org.springframework.beans.factory.annotation.Autowired; 7 | import org.springframework.beans.factory.annotation.Qualifier; 8 | import org.springframework.stereotype.Service; 9 | import java.util.List; 10 | 11 | /** 12 | * (Types)表服务实现类 13 | * 14 | * @author makejava 15 | * @since 2021-02-04 12:49:15 16 | */ 17 | @Service("typesService") 18 | public class TypesServiceImpl implements TypesService { 19 | 20 | @Autowired 21 | @Qualifier("typesDao") 22 | private TypesDao typesDao; 23 | 24 | /** 25 | * 查询所有元素 26 | * @return 27 | */ 28 | @Override 29 | public List queryAll() { 30 | return this.typesDao.queryAll(); 31 | } 32 | 33 | /** 34 | * 修改菜单类别 35 | * @param type 36 | * @return 37 | */ 38 | @Override 39 | public int update(Types type) { 40 | typesDao.update(type); 41 | return 0; 42 | } 43 | 44 | /** 45 | * 删除元素 46 | * @param id 47 | * @return 48 | */ 49 | @Override 50 | public int delete(int id) { 51 | return typesDao.delete(id); 52 | } 53 | 54 | /** 55 | * 根据id查询 56 | * @param id 57 | * @return 58 | */ 59 | @Override 60 | public Types queryById(int id) { 61 | return typesDao.queryById(id); 62 | } 63 | 64 | /** 65 | * 插入元素 66 | * @param type 67 | * @return 68 | */ 69 | @Override 70 | public int insert(Types type) { 71 | return typesDao.insert(type); 72 | } 73 | 74 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/service/impl/UsersServiceImpl.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.service.impl; 2 | 3 | import com.example.meal_ordering_system.dao.UsersDao; 4 | import com.example.meal_ordering_system.entity.Users; 5 | import com.example.meal_ordering_system.service.UsersService; 6 | import org.apache.ibatis.annotations.Param; 7 | import org.springframework.beans.factory.annotation.Autowired; 8 | import org.springframework.beans.factory.annotation.Qualifier; 9 | import org.springframework.context.annotation.Scope; 10 | import org.springframework.stereotype.Service; 11 | 12 | import javax.annotation.Resource; 13 | import java.util.List; 14 | 15 | /** 16 | * (Users)表服务实现类 17 | * 18 | * @author makejava 19 | * @since 2021-02-04 12:49:15 20 | */ 21 | @Service("usersService") 22 | @Scope("prototype") 23 | public class UsersServiceImpl implements UsersService { 24 | @Autowired 25 | @Qualifier("usersDao") 26 | private UsersDao usersDao; 27 | 28 | /** 29 | * 登录查询 30 | * @param name 31 | * @return 32 | */ 33 | public boolean login(@Param("name") String name, @Param("pwd") String pwd){ 34 | Users user= usersDao.queryOne(name,pwd); 35 | if(user==null) 36 | return false; 37 | else 38 | return true; 39 | } 40 | 41 | /** 42 | * 通过ID查询单条数据 43 | * 44 | * @param id 主键 45 | * @return 实例对象 46 | */ 47 | @Override 48 | public Users queryById(Integer id) { 49 | return this.usersDao.queryById(id); 50 | } 51 | 52 | 53 | /** 54 | * 新增数据 55 | * 56 | * @param user 实例对象 57 | * @return 实例对象 58 | */ 59 | @Override 60 | public int insert(Users user) { 61 | return this.usersDao.insert(user); 62 | } 63 | 64 | /** 65 | * 修改数据 66 | * 67 | * @param users 实例对象 68 | * @return 实例对象 69 | */ 70 | @Override 71 | public Users update(Users users) { 72 | this.usersDao.update(users); 73 | return this.queryById(users.getId()); 74 | } 75 | 76 | /** 77 | * 通过主键删除数据 78 | * 79 | * @param id 主键 80 | * @return 是否成功 81 | */ 82 | @Override 83 | public boolean deleteById(Integer id) { 84 | return this.usersDao.deleteById(id) > 0; 85 | } 86 | 87 | @Override 88 | public int queryByname(String name) { 89 | return this.usersDao.queryByname(name); 90 | } 91 | } -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/test/testmybatis.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.test; 2 | 3 | import com.example.meal_ordering_system.dao.TypesDao; 4 | import com.example.meal_ordering_system.entity.Types; 5 | import com.example.meal_ordering_system.service.TypesService; 6 | import com.example.meal_ordering_system.service.impl.TypesServiceImpl; 7 | 8 | import javax.annotation.Resource; 9 | import java.lang.reflect.Type; 10 | import java.util.List; 11 | 12 | public class testmybatis { 13 | 14 | 15 | public static void main(String[] args) { 16 | } 17 | 18 | 19 | } 20 | -------------------------------------------------------------------------------- /src/main/java/com/example/meal_ordering_system/util/AdviceUtil.java: -------------------------------------------------------------------------------- 1 | package com.example.meal_ordering_system.util; 2 | 3 | import org.aopalliance.intercept.Joinpoint; 4 | import org.aspectj.lang.JoinPoint; 5 | import org.aspectj.lang.ProceedingJoinPoint; 6 | 7 | public class AdviceUtil { 8 | public void before(JoinPoint joinPoint) throws Throwable { 9 | } 10 | 11 | public void after(JoinPoint joinPoint) throws Throwable { 12 | } 13 | 14 | public Object around(ProceedingJoinPoint proceedingJoinPoint) throws Throwable { 15 | 16 | return proceedingJoinPoint.proceed(); 17 | } 18 | 19 | public void exception(JoinPoint joinPoint) throws Throwable { 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Global logging configuration 2 | log4j.rootLogger=DEBUG, stdout 3 | # Console output... 4 | log4j.appender.stdout=org.apache.log4j.ConsoleAppender 5 | log4j.appender.stdout.layout=org.apache.log4j.PatternLayout 6 | log4j.appender.stdout.layout.ConversionPattern=%5p [%t] - %m%n -------------------------------------------------------------------------------- /src/main/resources/mapper/AdminDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 21 | 22 | 23 | 30 | 31 | 32 | 51 | 52 | 53 | 54 | insert into apsfc.admin(name, pwd, authority) 55 | values (#{name}, #{pwd}, #{authority}) 56 | 57 | 58 | 59 | 60 | 61 | update apsfc.admin 62 | 63 | 64 | name = #{name}, 65 | 66 | 67 | pwd = #{pwd}, 68 | 69 | 70 | authority = #{authority}, 71 | 72 | 73 | where id = #{id} 74 | 75 | 76 | 77 | 78 | delete 79 | from apsfc.admin 80 | where id = #{id} 81 | 82 | 83 | -------------------------------------------------------------------------------- /src/main/resources/mapper/MenusDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 33 | 34 | 35 | 48 | 49 | 50 | 55 | 56 | 57 | 58 | insert into apsfc.menus(name, typeid, burden, brief, price, sums, price1, sums1, imgpath) 59 | values (#{name}, #{typeid}, #{burden}, #{brief}, #{price}, #{sums}, #{price1}, #{sums1}, #{imgpath}) 60 | 61 | 62 | 63 | 64 | 65 | 66 | update apsfc.menus 67 | 68 | 69 | name = #{name}, 70 | 71 | 72 | typeid = #{typeid}, 73 | 74 | 75 | burden = #{burden}, 76 | 77 | 78 | brief = #{brief}, 79 | 80 | 81 | price = #{price}, 82 | 83 | 84 | sums = #{sums}, 85 | 86 | 87 | price1 = #{price1}, 88 | 89 | 90 | sums1 = #{sums1}, 91 | 92 | 93 | imgpath = #{imgpath}, 94 | 95 | 96 | where id = #{id} 97 | 98 | 99 | 100 | 101 | delete 102 | from apsfc.menus 103 | where id = #{id} 104 | 105 | 106 | -------------------------------------------------------------------------------- /src/main/resources/mapper/NoticeDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 20 | 21 | 29 | 30 | 31 | 32 | 33 | 34 | insert into notice(id, name, content, times) VALUES (#{id},#{name},#{content},#{times}) 35 | 36 | 37 | 38 | 39 | update apsfc.notice 40 | 41 | 42 | name = #{name}, 43 | 44 | 45 | content = #{content}, 46 | 47 | 48 | times = #{times}, 49 | 50 | 51 | where id = #{id} 52 | 53 | 54 | 55 | 56 | delete 57 | from apsfc.notice 58 | where id = #{id} 59 | 60 | 61 | -------------------------------------------------------------------------------- /src/main/resources/mapper/OrdersDao.xml: -------------------------------------------------------------------------------- 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 | 30 | 31 | 32 | 33 | 38 | 39 | 40 | 45 | 46 | 47 | 52 | 53 | 58 | 59 | 60 | 65 | 66 | 67 | update orders set delivery=1 where id=#{id} 68 | 69 | 70 | 71 | 72 | delete from orders where id=#{id} 73 | 74 | 75 | 76 | 77 | insert into apsfc.orders(id,userid,menuid,menusum,times,delivery) 78 | values (#{id}, #{userid}, #{menuid}, #{menusum}, #{times}, #{delivery}) 79 | 80 | -------------------------------------------------------------------------------- /src/main/resources/mapper/TypesDao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 15 | 16 | 17 | 18 | delete from types where id=#{id,jdbcType=INTEGER} 19 | 20 | 21 | 22 | 23 | update types set name=#{name} where id=#{id} 24 | 25 | 26 | 27 | 30 | 31 | insert into types(id, name) values (#{id},#{name}) 32 | 33 | -------------------------------------------------------------------------------- /src/main/resources/springMVC.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | -------------------------------------------------------------------------------- /src/main/resources/sqlMapConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | qiantai 8 | 9 | 10 | 11 | contextConfigLocation 12 | classpath:applicationContext.xml 13 | 14 | 15 | 16 | org.springframework.web.context.ContextLoaderListener 17 | 18 | 19 | 20 | DispatcherServlet 21 | org.springframework.web.servlet.DispatcherServlet 22 | 23 | 24 | contextConfigLocation 25 | classpath:springMVC.xml 26 | 27 | 1 28 | true 29 | 30 | 31 | DispatcherServlet 32 | /qiantai 33 | 34 | 35 | 36 | DispatcherServlet 37 | / 38 | 39 | 40 | 41 | characterEncodingFilter 42 | org.springframework.web.filter.CharacterEncodingFilter 43 | 44 | encoding 45 | UTF-8 46 | 47 | 48 | 49 | characterEncodingFilter 50 | /* 51 | 52 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/admin_top.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="com.example.meal_ordering_system.entity.Admin"%> 2 | <%@page import="java.util.*"%> 3 | <%@ page language="java" pageEncoding="utf-8"%> 4 | 5 | 网上订餐后台- 管理页面 6 | 7 | 8 | 9 | 10 | 11 | <% 12 | Admin admin = (Admin) session.getAttribute("admin_session"); 13 | String name = ""; 14 | if (admin == null) { 15 | name = "匿名"; 16 | } else { 17 | name = admin.getName(); 18 | } 19 | %> 20 |
21 |
22 |
23 | 安全退出 24 |
25 |
26 | 管理员:<%=name%> 您好,感谢登陆使用! 27 |
28 |
29 | 30 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/admin_update.jsp: -------------------------------------------------------------------------------- 1 | <%@page import="com.example.meal_ordering_system.entity.Admin"%> 2 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 3 | 4 | 5 | 6 | 7 | 22 | 23 | 24 | 25 | 26 | 28 | 29 | 31 | 38 | 40 | 41 | 42 | 43 | 88 | 89 | 90 | 91 | 92 | 93 | 95 | 97 | 99 | 100 |
34 | 35 | 36 | 37 |
管理员信息
  44 | 45 | 46 |
47 | 48 |
50 | 53 | 54 | 55 | 58 | 59 | <% 60 | Admin admin = (Admin) session.getAttribute("admin_session"); 61 | %> 62 | 63 | 65 | 67 | 68 | 69 | 71 | 75 | 76 | 77 | 80 | 81 | 82 |
56 | 更改管理员信息 57 |
管理员姓名
管理员密码 73 | 74 |
78 | 79 |
83 |
84 |
85 | 86 | 87 |
 
101 | 102 | 103 | 104 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/css/left.css: -------------------------------------------------------------------------------- 1 | body { 2 | font:12px Arial, Helvetica, sans-serif; 3 | color: #000; 4 | background-color: #EEF2FB; 5 | margin: 0px; 6 | } 7 | #container { 8 | width: 182px; 9 | } 10 | H1 { 11 | font-size: 12px; 12 | margin: 0px; 13 | width: 182px; 14 | cursor: pointer; 15 | height: 30px; 16 | line-height: 20px; 17 | } 18 | H1 a { 19 | display: block; 20 | width: 182px; 21 | color: #000; 22 | height: 30px; 23 | text-decoration: none; 24 | moz-outline-style: none; 25 | background-repeat: no-repeat; 26 | line-height: 30px; 27 | text-align: center; 28 | margin: 0px; 29 | padding: 0px; 30 | } 31 | .content{ 32 | width: 182px; 33 | height: 26px; 34 | } 35 | .MM ul { 36 | list-style-type: none; 37 | margin: 0px; 38 | padding: 0px; 39 | display: block; 40 | } 41 | .MM li { 42 | font-family: Arial, Helvetica, sans-serif; 43 | font-size: 12px; 44 | line-height: 26px; 45 | color: #333333; 46 | list-style-type: none; 47 | display: block; 48 | text-decoration: none; 49 | height: 26px; 50 | width: 182px; 51 | padding-left: 0px; 52 | } 53 | .MM { 54 | width: 182px; 55 | margin: 0px; 56 | padding: 0px; 57 | left: 0px; 58 | top: 0px; 59 | right: 0px; 60 | bottom: 0px; 61 | clip: rect(0px,0px,0px,0px); 62 | } 63 | .MM a:link { 64 | font-family: Arial, Helvetica, sans-serif; 65 | font-size: 12px; 66 | line-height: 26px; 67 | color: #333333; 68 | background-image: url(../images/menu_bg1.gif); 69 | background-repeat: no-repeat; 70 | height: 26px; 71 | width: 182px; 72 | display: block; 73 | text-align: center; 74 | margin: 0px; 75 | padding: 0px; 76 | overflow: hidden; 77 | text-decoration: none; 78 | } 79 | .MM a:visited { 80 | font-family: Arial, Helvetica, sans-serif; 81 | font-size: 12px; 82 | line-height: 26px; 83 | color: #333333; 84 | background-image: url(menu_bg1.gif); 85 | background-repeat: no-repeat; 86 | display: block; 87 | text-align: center; 88 | margin: 0px; 89 | padding: 0px; 90 | height: 26px; 91 | width: 182px; 92 | text-decoration: none; 93 | } 94 | .MM a:active { 95 | font-family: Arial, Helvetica, sans-serif; 96 | font-size: 12px; 97 | line-height: 26px; 98 | color: #333333; 99 | background-image: url(menu_bg1.gif); 100 | background-repeat: no-repeat; 101 | height: 26px; 102 | width: 182px; 103 | display: block; 104 | text-align: center; 105 | margin: 0px; 106 | padding: 0px; 107 | overflow: hidden; 108 | text-decoration: none; 109 | } 110 | .MM a:hover { 111 | font-family: Arial, Helvetica, sans-serif; 112 | font-size: 12px; 113 | line-height: 26px; 114 | font-weight: bold; 115 | color: #006600; 116 | background-image: url(menu_bg2.gif); 117 | background-repeat: no-repeat; 118 | text-align: center; 119 | display: block; 120 | margin: 0px; 121 | padding: 0px; 122 | height: 26px; 123 | width: 182px; 124 | text-decoration: none; 125 | } -------------------------------------------------------------------------------- /src/main/webapp/public/admin/css/login.css: -------------------------------------------------------------------------------- 1 | .login_top_bg { 2 | background-image: url(../images/login-top-bg.gif); 3 | background-repeat: repeat-x; 4 | } 5 | .body { 6 | background-color: #EEF2FB; 7 | left: 0px; 8 | top: 0px; 9 | right: 0px; 10 | bottom: 0px; 11 | } 12 | 13 | .login-buttom-bg { 14 | background-image: url(../images/login-buttom-bg.gif); 15 | background-repeat: repeat-x; 16 | } 17 | .login-buttom-txt { 18 | font-family: Arial, Helvetica, sans-serif; 19 | font-size: 10px; 20 | color: #ABCAD3; 21 | text-decoration: none; 22 | line-height: 20px; 23 | } 24 | .login_txt { 25 | font-family: Arial, Helvetica, sans-serif; 26 | font-size: 12px; 27 | line-height: 25px; 28 | color: #333333; 29 | } 30 | .Submit { 31 | font-family: Arial, Helvetica, sans-serif; 32 | font-size: 12px; 33 | color: #629DAE; 34 | text-decoration: none; 35 | background-image: url(../images/Submit_bg.gif); 36 | background-repeat: repeat-x; 37 | } 38 | .login_bg { 39 | background-image: url(../images/login_bg.jpg); 40 | background-repeat: repeat-x; 41 | } 42 | .login_bg2 { 43 | background-image: url(../images/login-content-bg.gif); 44 | background-repeat: no-repeat; 45 | background-position: right; 46 | } 47 | 48 | 49 | .login_txt_bt { 50 | font-family: Arial, Helvetica, sans-serif; 51 | font-size: 14px; 52 | line-height: 25px; 53 | color: #666666; 54 | font-weight: bold; 55 | } 56 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/css/skin.css: -------------------------------------------------------------------------------- 1 | 2 | .body { 3 | background-color: #EEF2FB; 4 | left: 0px; 5 | top: 0px; 6 | right: 0px; 7 | bottom: 0px; 8 | } 9 | 10 | .left_bt { 11 | font-family: Arial, Helvetica, sans-serif; 12 | font-size: 14px; 13 | font-weight: bold; 14 | color: #395a7b; 15 | } 16 | .left_bt2 { 17 | font-family: Arial, Helvetica, sans-serif; 18 | font-size: 12px; 19 | line-height: 25px; 20 | font-weight: bold; 21 | color: #333333; 22 | } 23 | .titlebt { 24 | font-size: 12px; 25 | line-height: 26px; 26 | font-weight: bold; 27 | color: #000000; 28 | background-image: url(top_bt.jpg); 29 | background-repeat: no-repeat; 30 | display: block; 31 | text-indent: 15px; 32 | padding-top: 5px; 33 | } 34 | 35 | .left_txt { 36 | font-family: Arial, Helvetica, sans-serif; 37 | font-size: 12px; 38 | line-height: 25px; 39 | color: #666666; 40 | } 41 | .left_txt2 { 42 | font-family: Arial, Helvetica, sans-serif; 43 | font-size: 12px; 44 | line-height: 25px; 45 | color: #000000; 46 | } 47 | .nowtable { 48 | background-color: #e1e5ee; 49 | border-top-width: 1px; 50 | border-right-width: 1px; 51 | border-bottom-width: 1px; 52 | border-left-width: 1px; 53 | border-top-style: solid; 54 | border-top-color: #bfc4ca; 55 | border-right-color: #bfc4ca; 56 | border-bottom-color: #bfc4ca; 57 | border-left-color: #bfc4ca; 58 | } 59 | .left_txt3 { 60 | font-family: Arial, Helvetica, sans-serif; 61 | font-size: 12px; 62 | line-height: 25px; 63 | color: #003366; 64 | text-decoration: none; 65 | } 66 | 67 | 68 | 69 | .left_ts { 70 | font-family: Arial, Helvetica, sans-serif; 71 | font-size: 12px; 72 | line-height: 25px; 73 | font-weight: bold; 74 | color: #FF6600; 75 | } 76 | .line_table { 77 | border: 1px solid #CCCCCC; 78 | } 79 | .sec1 { 80 | CURSOR: hand; 81 | COLOR: #000000; 82 | font-family: Arial, Helvetica, sans-serif; 83 | font-size: 12px; 84 | line-height: 25px; 85 | border: 1px solid #B5D0D9; 86 | background-image: url(right_smbg.jpg); 87 | background-repeat: repeat-x; 88 | } 89 | .sec2 { 90 | FONT-WEIGHT: bold; 91 | CURSOR: hand; 92 | COLOR: #000000; 93 | font-family: Arial, Helvetica, sans-serif; 94 | font-size: 12px; 95 | line-height: 25px; 96 | background-color: #e2e7ed; 97 | border: 1px solid #e2e7ed; 98 | } 99 | .main_tab { 100 | COLOR: #000000; 101 | BACKGROUND-COLOR: #e2e7ed; 102 | border: 1px solid #e2e7ed; 103 | } 104 | .MM a { 105 | font-family: Arial, Helvetica, sans-serif; 106 | font-size: 12px; 107 | line-height: 26px; 108 | color: #666666; 109 | background-image: url(menu_bg.gif); 110 | background-repeat: no-repeat; 111 | list-style-type: none; 112 | list-style-image: none; 113 | } 114 | a:link { 115 | font-size: 12px; 116 | line-height: 25px; 117 | color: #333333; 118 | text-decoration: none; 119 | } 120 | a:hover { 121 | font-size: 12px; 122 | line-height: 25px; 123 | color: #666666; 124 | text-decoration: none; 125 | } 126 | a:visited { 127 | font-size: 12px; 128 | line-height: 25px; 129 | color: #333333; 130 | text-decoration: none; 131 | } 132 | 133 | 134 | .MM a:link { 135 | font-family: Arial, Helvetica, sans-serif; 136 | font-size: 12px; 137 | line-height: 26px; 138 | color: #666666; 139 | background-image: url(menu_bg.gif); 140 | background-repeat: no-repeat; 141 | list-style-type: none; 142 | list-style-image: none; 143 | } 144 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/css/top.css: -------------------------------------------------------------------------------- 1 | @CHARSET "UTF-8"; 2 | #maindiv { 3 | width: 100%; 4 | height: 64px; 5 | background-image: url(../images/top-right.gif); 6 | background-repeat: repeat-x; 7 | } 8 | 9 | #logodiv { 10 | width: 262px; 11 | height: 64px; 12 | background-image: url(../images/logo.gif); 13 | background-repeat: no-repeat; 14 | margin-top: 0px; 15 | margin-right: 0px; 16 | float: left; 17 | } 18 | 19 | #exitdiv { 20 | width: 46px; 21 | height: 15px; 22 | margin-top: 10px; 23 | margin-right: 20px; 24 | float: right; 25 | } 26 | 27 | #exitdiv img { 28 | width: 46px; 29 | height: 20px; 30 | border: 0px; 31 | } 32 | 33 | #textdiv { 34 | font-family: Arial, Helvetica, sans-serif; 35 | font-size: 12px; 36 | color: #FFFFFF; 37 | text-decoration: none; 38 | width: 250px; 39 | height: 38px; 40 | margin-top: 10px; 41 | margin-right: 150px; 42 | float: right; 43 | } -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/!.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/!.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/054542aa798b899225.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/054542aa798b899225.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/DefaultDocs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/DefaultDocs.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/Login_but.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/Login_but.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/OK.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/OK.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/Redirects.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/Redirects.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/Submit_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/Submit_bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/X.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/X.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/ad.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/ad.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/add.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/add.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/back.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/back.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/bigsize.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/bigsize.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/bootnbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/bootnbg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/bullet.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/bullet.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/buttom-copy-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/buttom-copy-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/buttom-left.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/buttom-left.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/buttom-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/buttom-right.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/buttom_bgs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/buttom_bgs.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/buttom_left2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/buttom_left2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/buttom_right2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/buttom_right2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/card.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/card.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/check-out_.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/check-out_.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/close.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/close.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/content-bg-line.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/content-bg-line.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/content-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/content-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/database_import_.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/database_import_.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/defind.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/defind.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/del.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/del.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/delete.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/delete_6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/delete_6.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/edit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/edit.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/ershou_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/ershou_1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/ershou_2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/ershou_2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/format.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/format.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/fox.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/fox.css -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/g.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/g.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/gw.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/gw.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/gw2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/gw2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon-demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon-demo.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon-login-seaver.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon-login-seaver.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon-mail2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon-mail2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon-phone.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon-phone.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon2_004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon2_004.png -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon2_089.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon2_089.png -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/icon2_090.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/icon2_090.png -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/image_(add)6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/image_(add)6.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/image_1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/image_1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/imagedelete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/imagedelete.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/imageedit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/imageedit.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/ipsecurity.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/ipsecurity.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/l1b3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/l1b3.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/l1b4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/l1b4.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/l1b5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/l1b5.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/left-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/left-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/left-top-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/left-top-right.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/left.css: -------------------------------------------------------------------------------- 1 | body { 2 | font:12px Arial, Helvetica, sans-serif; 3 | color: #000; 4 | background-color: #EEF2FB; 5 | margin: 0px; 6 | } 7 | #container { 8 | width: 182px; 9 | } 10 | H1 { 11 | font-size: 12px; 12 | margin: 0px; 13 | width: 182px; 14 | cursor: pointer; 15 | height: 30px; 16 | line-height: 20px; 17 | } 18 | H1 a { 19 | display: block; 20 | width: 182px; 21 | color: #000; 22 | height: 30px; 23 | text-decoration: none; 24 | moz-outline-style: none; 25 | /* background-image: url(menu_bgS.gif);*/ 26 | background-repeat: no-repeat; 27 | line-height: 30px; 28 | text-align: center; 29 | margin: 0px; 30 | padding: 0px; 31 | } 32 | .content{ 33 | width: 182px; 34 | height: 26px; 35 | } 36 | .MM ul { 37 | list-style-type: none; 38 | margin: 0px; 39 | padding: 0px; 40 | display: block; 41 | } 42 | .MM li { 43 | font-family: Arial, Helvetica, sans-serif; 44 | font-size: 12px; 45 | line-height: 26px; 46 | color: #333333; 47 | list-style-type: none; 48 | display: block; 49 | text-decoration: none; 50 | height: 26px; 51 | width: 182px; 52 | padding-left: 0px; 53 | } 54 | .MM { 55 | width: 182px; 56 | margin: 0px; 57 | padding: 0px; 58 | left: 0px; 59 | top: 0px; 60 | right: 0px; 61 | bottom: 0px; 62 | clip: rect(0px,0px,0px,0px); 63 | } 64 | .MM a:link { 65 | font-family: Arial, Helvetica, sans-serif; 66 | font-size: 12px; 67 | line-height: 26px; 68 | color: #333333; 69 | background-image: url(menu_bg1.gif); 70 | background-repeat: no-repeat; 71 | height: 26px; 72 | width: 182px; 73 | display: block; 74 | text-align: center; 75 | margin: 0px; 76 | padding: 0px; 77 | overflow: hidden; 78 | text-decoration: none; 79 | } 80 | .MM a:visited { 81 | font-family: Arial, Helvetica, sans-serif; 82 | font-size: 12px; 83 | line-height: 26px; 84 | color: #333333; 85 | background-image: url(menu_bg1.gif); 86 | background-repeat: no-repeat; 87 | display: block; 88 | text-align: center; 89 | margin: 0px; 90 | padding: 0px; 91 | height: 26px; 92 | width: 182px; 93 | text-decoration: none; 94 | } 95 | .MM a:active { 96 | font-family: Arial, Helvetica, sans-serif; 97 | font-size: 12px; 98 | line-height: 26px; 99 | color: #333333; 100 | background-image: url(menu_bg1.gif); 101 | background-repeat: no-repeat; 102 | height: 26px; 103 | width: 182px; 104 | display: block; 105 | text-align: center; 106 | margin: 0px; 107 | padding: 0px; 108 | overflow: hidden; 109 | text-decoration: none; 110 | } 111 | .MM a:hover { 112 | font-family: Arial, Helvetica, sans-serif; 113 | font-size: 12px; 114 | line-height: 26px; 115 | font-weight: bold; 116 | color: #006600; 117 | background-image: url(menu_bg2.gif); 118 | background-repeat: no-repeat; 119 | text-align: center; 120 | display: block; 121 | margin: 0px; 122 | padding: 0px; 123 | height: 26px; 124 | width: 182px; 125 | text-decoration: none; 126 | } -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/line2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/line2.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/linkspic3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/linkspic3.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/linkspic6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/linkspic6.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/lm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/lm.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/lminfo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/lminfo.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/login-buttom-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/login-buttom-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/login-content-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/login-content-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/login-top-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/login-top-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/login-wel.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/login-wel.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/login_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/login_bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/logo.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/logo.png -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/luck.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/luck.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/mail_leftbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/mail_leftbg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/mail_rightbg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/mail_rightbg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/menu_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/menu_bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/menu_bg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/menu_bg1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/menu_bg2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/menu_bg2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/menu_bgs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/menu_bgs.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/menu_topimg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/menu_topimg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/menu_topline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/menu_topline.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/mime.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/mime.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/nav-right-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/nav-right-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/news-title-bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/news-title-bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/ok.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/ok.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/out.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/password.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/password.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic10.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic10.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic11.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic11.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic12.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic12.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic13.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic13.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic14.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic14.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic15.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic15.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic16.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic16.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic17.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic17.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic18.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic18.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic19.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic19.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic21.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic21.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic22.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic22.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic23.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic23.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic24.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic24.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic25.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic25.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic26.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic26.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic5.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic6.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic7.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic7.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic8.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/pic9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/pic9.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/report2_(add).gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/report2_(add).gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/report2_(delete).gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/report2_(delete).gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/right_smbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/right_smbg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/servicezhgb2312.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/servicezhgb2312.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/set.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/set.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/set2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/set2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/sitebackup.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/sitebackup.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/smallbg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/smallbg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/st.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/st.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/st.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/st.png -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/stop.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/stop.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/str.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/str.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/t2bg1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/t2bg1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/t2bg2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/t2bg2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/t2bg4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/t2bg4.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/t2bg5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/t2bg5.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/title.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/title.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/tj.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/tj.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/to.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/to.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/tool-down-pic.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/tool-down-pic.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/top-right.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/top-right.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/top_bt.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/top_bt.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/ts.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/ts.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/user-info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/user-info.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/usercontrol.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/usercontrol.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/vie.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/vie.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/yc.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/yc.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/images/yx.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/admin/images/yx.gif -------------------------------------------------------------------------------- /src/main/webapp/public/admin/js/moo.fx.js: -------------------------------------------------------------------------------- 1 | /* 2 | moo.fx, simple effects library built with prototype.js (http://prototype.conio.net). 3 | by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE. 4 | for more info (http://moofx.mad4milk.net). 5 | Sunday, March 05, 2006 6 | v 1.2.3 7 | */ 8 | 9 | var fx = new Object(); 10 | //base 11 | fx.Base = function(){}; 12 | fx.Base.prototype = { 13 | setOptions: function(options) { 14 | this.options = { 15 | duration: 500, 16 | onComplete: '', 17 | transition: fx.sinoidal 18 | } 19 | Object.extend(this.options, options || {}); 20 | }, 21 | 22 | step: function() { 23 | var time = (new Date).getTime(); 24 | if (time >= this.options.duration+this.startTime) { 25 | this.now = this.to; 26 | clearInterval (this.timer); 27 | this.timer = null; 28 | if (this.options.onComplete) setTimeout(this.options.onComplete.bind(this), 10); 29 | } 30 | else { 31 | var Tpos = (time - this.startTime) / (this.options.duration); 32 | this.now = this.options.transition(Tpos) * (this.to-this.from) + this.from; 33 | } 34 | this.increase(); 35 | }, 36 | 37 | custom: function(from, to) { 38 | if (this.timer != null) return; 39 | this.from = from; 40 | this.to = to; 41 | this.startTime = (new Date).getTime(); 42 | this.timer = setInterval (this.step.bind(this), 13); 43 | }, 44 | 45 | hide: function() { 46 | this.now = 0; 47 | this.increase(); 48 | }, 49 | 50 | clearTimer: function() { 51 | clearInterval(this.timer); 52 | this.timer = null; 53 | } 54 | } 55 | 56 | //stretchers 57 | fx.Layout = Class.create(); 58 | fx.Layout.prototype = Object.extend(new fx.Base(), { 59 | initialize: function(el, options) { 60 | this.el = $(el); 61 | this.el.style.overflow = "hidden"; 62 | this.iniWidth = this.el.offsetWidth; 63 | this.iniHeight = this.el.offsetHeight; 64 | this.setOptions(options); 65 | } 66 | }); 67 | 68 | fx.Height = Class.create(); 69 | Object.extend(Object.extend(fx.Height.prototype, fx.Layout.prototype), { 70 | increase: function() { 71 | this.el.style.height = this.now + "px"; 72 | }, 73 | 74 | toggle: function() { 75 | if (this.el.offsetHeight > 0) this.custom(this.el.offsetHeight, 0); 76 | else this.custom(0, this.el.scrollHeight); 77 | } 78 | }); 79 | 80 | fx.Width = Class.create(); 81 | Object.extend(Object.extend(fx.Width.prototype, fx.Layout.prototype), { 82 | increase: function() { 83 | this.el.style.width = this.now + "px"; 84 | }, 85 | 86 | toggle: function(){ 87 | if (this.el.offsetWidth > 0) this.custom(this.el.offsetWidth, 0); 88 | else this.custom(0, this.iniWidth); 89 | } 90 | }); 91 | 92 | //fader 93 | fx.Opacity = Class.create(); 94 | fx.Opacity.prototype = Object.extend(new fx.Base(), { 95 | initialize: function(el, options) { 96 | this.el = $(el); 97 | this.now = 1; 98 | this.increase(); 99 | this.setOptions(options); 100 | }, 101 | 102 | increase: function() { 103 | if (this.now == 1 && (/Firefox/.test(navigator.userAgent))) this.now = 0.9999; 104 | this.setOpacity(this.now); 105 | }, 106 | 107 | setOpacity: function(opacity) { 108 | if (opacity == 0 && this.el.style.visibility != "hidden") this.el.style.visibility = "hidden"; 109 | else if (this.el.style.visibility != "visible") this.el.style.visibility = "visible"; 110 | if (window.ActiveXObject) this.el.style.filter = "alpha(opacity=" + opacity*100 + ")"; 111 | this.el.style.opacity = opacity; 112 | }, 113 | 114 | toggle: function() { 115 | if (this.now > 0) this.custom(1, 0); 116 | else this.custom(0, 1); 117 | } 118 | }); 119 | 120 | //transitions 121 | fx.sinoidal = function(pos){ 122 | return ((-Math.cos(pos*Math.PI)/2) + 0.5); 123 | //this transition is from script.aculo.us 124 | } 125 | fx.linear = function(pos){ 126 | return pos; 127 | } 128 | fx.cubic = function(pos){ 129 | return Math.pow(pos, 3); 130 | } 131 | fx.circ = function(pos){ 132 | return Math.sqrt(pos); 133 | } -------------------------------------------------------------------------------- /src/main/webapp/public/admin/main.jsp: -------------------------------------------------------------------------------- 1 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 2 | 3 | 4 | 网上订餐后台- 管理页面 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | <body></body> 16 | 17 | 18 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/notice.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | 15 | 17 | 24 | 26 | 27 | 28 | 29 | 70 | 71 | 72 | 73 | 74 | 76 | 78 | 80 | 81 |
20 | 21 | 22 | 23 |
公告信息
  30 | 31 | 32 |
33 | 36 | 37 | 38 | 41 | 42 | 43 | 45 | 47 | 49 | 50 | 51 | 52 | 53 | 54 | 56 | 58 | 60 | 62 | 64 | 65 | 66 |
39 | 公告信息列表 40 |
标题内容发布时间
${t.name}${t.content}${t.times}">修改">删除
67 |
68 | 69 |
 
82 | 83 | 84 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/notice_add.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 2 | <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%> 3 | 4 | 5 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 29 | 30 | 32 | 39 | 41 | 42 | 43 | 44 | 78 | 79 | 80 | 81 | 82 | 84 | 86 | 88 | 89 |
35 | 36 | 37 | 38 |
添加公告
  45 |

 

46 | 47 |
48 | 49 |
" method="post" 50 | name="form1" onSubmit="return check11()"> 51 | 52 | 53 | 56 | 57 | 58 | 60 | 62 | 63 | 64 | 66 | 68 | 69 | 70 | 73 | 74 |
公告标题:
公告内容:
71 | 72 |
75 |
76 |
77 |
 
90 | 91 | 92 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/notice_update.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | 4 | 5 | 6 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 31 | 33 | 40 | 42 | 43 | 44 | 45 | 86 | 87 | 88 | 89 | 90 | 92 | 94 | 96 | 97 |
36 | 37 | 38 | 39 |
添加公告
  46 |

 

47 | 48 |
49 | 50 |
" method="post" 51 | name="form1" onSubmit="return check11()"> 52 | 53 | 54 | 57 | 58 | 60 | 62 | 63 | 64 | 66 | 68 | 69 | 70 | 72 | 76 | 77 | 78 | 81 | 82 |
公告标题:
发布时间:
公告内容: 74 | 75 |
79 | 80 |
83 |
84 |
85 |
 
98 | 99 | 100 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/type.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 12 | 13 | 15 | 22 | 24 | 25 | 26 | 27 | 67 | 68 | 69 | 70 | 71 | 73 | 75 | 77 | 78 |
18 | 19 | 20 | 21 |
类别信息
  28 | 29 | 30 |
31 | 34 | 35 | 36 | 39 | 40 | 41 | 43 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 53 | 55 | 57 | 59 | 60 | 61 | 62 |
37 | 类别信息列表 38 |
类别ID类别名称
${t.id}${t.name}" target="main">修改" target="main">删除
63 |
64 | 65 | 66 |
 
79 | 80 | 81 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/type_add.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 3 | 4 | 5 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 24 | 25 | 27 | 34 | 36 | 37 | 38 | 39 | 70 | 71 | 72 | 73 | 74 | 75 | 77 | 79 | 81 | 82 |
30 | 31 | 32 | 33 |
添加类别
  40 |

 

41 | 42 |
43 | 44 |
" method="post" name="form1" 45 | onSubmit="return check11()"> 46 | 47 | 48 | 51 | 52 | 53 | 55 | 57 | 58 | 59 | 60 | 63 | 64 |
菜品类别:
61 | 62 |
65 |
66 |
67 | 68 | 69 |
 
83 | 84 | 85 | -------------------------------------------------------------------------------- /src/main/webapp/public/admin/type_update.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 2 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 3 | 4 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 21 | 22 | 24 | 31 | 33 | 34 | 35 | 36 | 62 | 63 | 64 | 65 | 67 | 69 | 71 | 72 |
27 | 28 | 29 | 30 |
修改类别
  37 |

 

38 | 39 |
40 |
" method="post" 41 | name="form1" onSubmit="return check11()"> 42 | 45 | 46 | 48 | 51 | 52 | 53 | 56 | 57 |
菜品类别: 50 |
54 | 55 |
58 |
59 |
60 | 61 |
 
73 | 74 | 75 | -------------------------------------------------------------------------------- /src/main/webapp/public/img/20150703005031.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/20150703005031.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/img/m_fenzhengrou.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/m_fenzhengrou.gif -------------------------------------------------------------------------------- /src/main/webapp/public/img/m_huanggualapi.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/m_huanggualapi.gif -------------------------------------------------------------------------------- /src/main/webapp/public/img/m_shuizhuyu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/m_shuizhuyu.gif -------------------------------------------------------------------------------- /src/main/webapp/public/img/m_tangcupaigu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/m_tangcupaigu.gif -------------------------------------------------------------------------------- /src/main/webapp/public/img/m_wuxianglvrou.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/m_wuxianglvrou.gif -------------------------------------------------------------------------------- /src/main/webapp/public/img/m_xianroucaifan.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/img/m_xianroucaifan.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/carry.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/carry.jsp -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/copyright.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/copyright.jsp -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/A.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/A.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/G.css: -------------------------------------------------------------------------------- 1 | .arrowlistmenu{ 2 | width: 160px; /*width of accordion menu*/ 3 | } 4 | 5 | .arrowlistmenu .menuheader{ 6 | height:30px; 7 | font:14px/28px 'Microsoft YaHei','SimSun',Arial,Sans-Serif; 8 | color: #fff; 9 | background:url(../images/mvmenu_off.gif) 0px -180px no-repeat; 10 | margin-bottom: 1px; /*bottom spacing between header and rest of content*/ 11 | text-transform: uppercase; 12 | text-align:center; 13 | cursor: pointer; 14 | } 15 | 16 | .arrowlistmenu .openheader{ /*CSS class to apply to expandable header when it's expanded*/ 17 | background:url(../images/mvmenu_off.gif) 0px -180px no-repeat; 18 | } 19 | 20 | .arrowlistmenu ul{ /*CSS for UL of each sub menu*/ 21 | list-style-type: none; 22 | padding: 0; 23 | margin-bottom: 0px; /*bottom spacing between each UL and rest of content*/ 24 | } 25 | 26 | .arrowlistmenu ul li{ 27 | height:30px; 28 | padding-bottom: 0px; /*bottom spacing between menu items*/ 29 | margin-bottom:1px; 30 | background:url(../images/mvmenu_on.gif) 0px -180px no-repeat; 31 | } 32 | 33 | .arrowlistmenu ul li .opensubheader{ /*Open state CSS for sub menu header*/ 34 | background: lightblue !important; 35 | } 36 | 37 | .arrowlistmenu ul li .closedsubheader{ /*Closed state CSS for sub menu header*/ 38 | background: lightgreen !important; 39 | } 40 | 41 | .arrowlistmenu ul li a{ 42 | color: #505050; 43 | display: block; 44 | font:14px/30px 'Microsoft YaHei','SimSun',Arial,Sans-Serif; 45 | 46 | text-align:center; 47 | text-decoration: none; 48 | } 49 | 50 | .arrowlistmenu ul li a:visited{ 51 | color: #505050; 52 | } 53 | 54 | .arrowlistmenu ul li a:hover{ /*hover state CSS*/ 55 | color: #ff6600; 56 | } 57 | 58 | .arrowlistmenu ul li a.subexpandable:hover{ /*hover state CSS for sub menu header*/ 59 | } 60 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/WdatePicker.css: -------------------------------------------------------------------------------- 1 | .Wdate{ 2 | border:#999 1px solid; 3 | height:20px; 4 | background:#fff url(datePicker.gif) no-repeat right; 5 | } 6 | 7 | .WdateFmtErr{ 8 | font-weight:bold; 9 | color:red; 10 | } -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/common.css: -------------------------------------------------------------------------------- 1 | /* ============容器============== */ 2 | body{ 3 | margin:0; 4 | padding:0; 5 | border:0; 6 | height:auto; 7 | text-align:left 8 | } 9 | #contain{position: relative;height:100%;padding:10px;margin:10px auto;border:0;} 10 | #content { 11 | position:absolute; 12 | margin:10px auto 10px auto; 13 | left: 45px; 14 | top: -41px; 15 | } 16 | #bottom {position: relative;margin:0px auto} 17 | #top {position:relative;margin:0px auto;z-index:99} 18 | #bodyex {position: absolute;left:0;top:0px;margin:0} 19 | 20 | 21 | /*===插件分离层===*/ 22 | 23 | .pdv_class{ 24 | position:relative; 25 | border:0px; 26 | height: auto; 27 | } 28 | 29 | 30 | /* ==常用== */ 31 | 32 | div,li,td,p,select,input,textarea,a,button,input{ 33 | font:12px Verdana, Arial, Helvetica, sans-serif; 34 | color:#505050; 35 | text-decoration: none; 36 | overflow: visible; 37 | top: 0px; 38 | } 39 | ul{margin:0px;padding:0px;} 40 | a:link,a:visited,a:active{color:#505050;text-decoration: none;} 41 | a.nomal:link,a.nomal:visited,a.nomal:active{color:#505050;text-decoration: underline;} 42 | a:hover{color:#ff0000;text-decoration: underline;} 43 | 44 | /* ============表单============== */ 45 | form{margin:0;padding:0} 46 | .input{border:1px #ddd solid;height:20px;line-height:20px;padding:0px 3px;color:#555;background:#f7f7f7} 47 | .textarea{border:1px #ddd solid;font-size:12px;padding:3px;background:#f7f7f7} 48 | .button{border:1px #c0c0c0 solid;height:22px;line-height:20px;padding:0px 3px;background:#e8e8e8;} 49 | .submit{border:1px #c0c0c0 solid;height:22px;line-height:20px;padding:0px 3px;background:#e8e8e8;} 50 | .mustfill{color:#ff0000} 51 | select{font:12px Verdana, Arial, Helvetica, sans-serif;color:#505050;} 52 | 53 | 54 | /* ==提示样式== */ 55 | 56 | .msgdiv {color:#336699;padding-left:53px;background:url(../images/chk_msg.gif) 30px no-repeat;} 57 | .errdiv {color:#FF0000;padding-left:53px;background:url(../images/chk_error.gif) 30px no-repeat;} 58 | .rightdiv {color:#505050;padding-left:53px;background:url(../images/chk_right.gif) 30px no-repeat;} 59 | .noticediv{display:none;border:1px #fc5959 solid;background:#FFFDF4 url(../images/chk_error.gif) 10px no-repeat;padding-left:33px;line-height:25px;margin:3px 0px} 60 | .okdiv{display:none;border:1px #fc5959 solid;background:#FFFDF4 url(../images/chk_right.gif) 10px no-repeat;padding-left:33px;line-height:25px;margin:3px 0px} 61 | .securenotice{line-height:100px;color:#FF0000;text-align:center;} 62 | 63 | 64 | /* ============提示信息窗口============== */ 65 | div#alert {display:none;cursor:default;} 66 | div#alert .border{border:1px #97A0AA solid;} 67 | div#alert .ntc{padding:30px;text-align:left;background:#fff;font: 14px/1.6 Verdana, Arial, Helvetica, sans-serif;} 68 | div#alert .buttonzone{padding:15px;text-align:center;background:#f7f7f7;} 69 | div#alert .topBar{height:20px;line-height:20px;background:#cbddef;text-align:left;padding:0px 0px 5px 5px ;font-size:12px;} 70 | div#alert .topBar .pwClose{position: absolute;top:0px;right:8px;width:45px;height:18px;background:url(../images/pwin3.gif) no-repeat;cursor:pointer} 71 | div#alert .button{border:1px #97A0AA solid;height:22px;line-height:20px;padding:0px 5px;background:#eee} 72 | 73 | 74 | /* ============弹出frame/或大窗口层============== */ 75 | #frmWindow {display:none;cursor:default;} 76 | #frmWindow .border{border:1px #97A0AA solid;} 77 | #frmWindow .ntc{padding:30px;text-align:left;background:#fff;font: 12px/1.6 Verdana, Arial, Helvetica, sans-serif;} 78 | #frmWindow .buttonzone{padding:15px;text-align:center;padding-top:10px;background:#f7f7f7;} 79 | #frmWindow .Frm{width:100%;height:500px;border:0} 80 | #frmWindow .windowcontent{width:100%;height:380px;overflow:auto;background:#fff;border:0} 81 | #frmWindow .topBar{height:20px;line-height:20px;background:#cbddef;text-align:left;padding:0px 0px 5px 5px ;font-size:12px;} 82 | #frmWindow .topBar .pwClose{position: absolute;top:0px;right:8px;width:45px;height:18px;background:url(../images/pwin3.gif) no-repeat;cursor:pointer} 83 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/datepicker.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/datepicker.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/dingcanall.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/dingcanall.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/dingcanche.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/dingcanche.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/dingcantimeinfo.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/dingcantimeinfo.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/dingcanweekmenu.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/dingcanweekmenu.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/dingcanweekmenu28.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/dingcanweekmenu28.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/feedbackform.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/feedbackform.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/guestbookform.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/guestbookform.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/guestbookquery.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/guestbookquery.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/memberlogin_c.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/memberlogin_c.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/membernotice.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/membernotice.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/nav.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/nav.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/navpath.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/navpath.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/newslist.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/newslist.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/newslist_time2.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/newslist_time2.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/order.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/order.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/ordersearchform.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/ordersearchform.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/pagecontent.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/pagecontent.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/pagetitlemenu_b2.css: -------------------------------------------------------------------------------- 1 | div.titlemenu_b2{ 2 | margin:0; 3 | padding:0; 4 | } 5 | 6 | div.titlemenu_b2 a.titlemenu_b2:link,div.titlemenu_b2 a.titlemenu_b2:visited,div.titlemenu_b2 a.titlemenu_b2:active{ 7 | display:block; 8 | color: #505050; 9 | text-decoration: none; 10 | font:14px/30px 'Microsoft YaHei','SimSun',Arial,Sans-Serif; 11 | text-align:center; 12 | background:#fbe5ce; 13 | margin-bottom:3px; 14 | border:1px #fecf9b solid; 15 | } 16 | 17 | div.titlemenu_b2 a.titlemenu_b2:hover{ 18 | display:block; 19 | color: #ffffff; 20 | text-decoration: none; 21 | font:14px/32px 'Microsoft YaHei','SimSun',Arial,Sans-Serif; 22 | text-align:center; 23 | background:#f59d5e; 24 | margin-bottom:3px; 25 | border:0px #fecf9b solid; 26 | } -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/reg.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/reg.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/skin.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/skin.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/startorder.css: -------------------------------------------------------------------------------- 1 | table.startorder{ 2 | border:1px #def solid; 3 | } 4 | 5 | table.startorder td.cap{ 6 | background:#f7fbfe; 7 | border-bottom:1px #def solid; 8 | } 9 | 10 | td.startordertitle{ 11 | height:27px; 12 | background:url(../images/cartnow1.gif) left center no-repeat; 13 | padding:8px 0px 0px 50px; 14 | font:12px/18px Verdana, Arial, Helvetica, sans-serif; 15 | color:#ffffff; 16 | } 17 | 18 | td.startordersel{ 19 | height:27px; 20 | background:url(../images/cartnow2.gif) left center no-repeat; 21 | padding:8px 0px 0px 50px; 22 | font:12px/18px Verdana, Arial, Helvetica, sans-serif; 23 | color:#ffffff; 24 | } 25 | 26 | div#notLogin{ 27 | display:block; 28 | line-height:26px; 29 | margin-top:10px; 30 | } 31 | 32 | div#isLogin{ 33 | display:block; 34 | line-height:26px; 35 | margin-top:10px; 36 | } 37 | 38 | div#notLogin .loginlink{ 39 | cursor:pointer; 40 | text-decoration: underline 41 | } 42 | 43 | div#isLogin .logoutlink{ 44 | cursor:pointer; 45 | text-decoration: underline 46 | } 47 | 48 | div.orderform{ 49 | border:1px #def solid; 50 | padding:0px; 51 | margin:15px 0px; 52 | } 53 | 54 | div.orderform td.biaoti{ 55 | padding:5px 43px; 56 | font:bold 14px/18px Verdana, Arial, Helvetica, sans-serif; 57 | border-bottom:1px #def solid; 58 | background:#f7fbfe url(../images/78.gif) 25px center no-repeat; 59 | } 60 | 61 | div.orderform td.biaoti1{ 62 | padding:5px 43px; 63 | font:bold 14px/18px Verdana, Arial, Helvetica, sans-serif; 64 | border-bottom:1px #def solid; 65 | border-top:1px #def solid; 66 | background:#f7fbfe url(../images/78.gif) 25px center no-repeat; 67 | } 68 | 69 | #tr_yunmethod,#tr_yunintro,#subzone{ 70 | display:none; 71 | } 72 | 73 | td.yunfeitd{ 74 | 75 | } 76 | 77 | div#yunintro{ 78 | margin:5px 0px; 79 | width:480px; 80 | padding:5px 5px 10px 10px; 81 | border:1px #fdd0a8 solid; 82 | background:#FFFDF4; 83 | } 84 | 85 | div#yunintro_text{ 86 | clear:both; 87 | font:12px/18px Verdana, Arial, Helvetica, sans-serif; 88 | padding:3px 5px; 89 | } 90 | 91 | div#yunintro_t{ 92 | font:bold 12px/18px Verdana, Arial, Helvetica, sans-serif; 93 | height:17px; 94 | background:url(../images/cateitems.gif) 5px center no-repeat; 95 | padding:5px 0px 5px 23px; 96 | } 97 | 98 | div#yunintro_close{ 99 | float:right; 100 | cursor:pointer; 101 | width:30px; 102 | height:18px; 103 | background:url(../images/closeme.gif) right top no-repeat; 104 | } 105 | 106 | span#span_tjine,span#span_yunfei,span#span_baofei,span#ordertotal,span#memberaccount,span#allnums{ 107 | color:#ff6600; 108 | font:bold 12px/20px Verdana, Arial, Helvetica, sans-serif; 109 | } 110 | 111 | 112 | div#payintro{ 113 | margin:10px 0px; 114 | width:480px; 115 | padding:5px 5px 10px 10px; 116 | border:1px #fdd0a8 solid; 117 | background:#FFFDF4; 118 | } 119 | 120 | div#payintro_text{ 121 | font:12px/21px Verdana, Arial, Helvetica, sans-serif; 122 | padding:8px 5px 3px 5px; 123 | } 124 | 125 | div#payintro_t{ 126 | font:12px/22px Verdana, Arial, Helvetica, sans-serif; 127 | height:17px; 128 | padding:5px 0px 5px 5px; 129 | } 130 | 131 | 132 | div#payintro_close{ 133 | float:right; 134 | cursor:pointer; 135 | width:30px; 136 | height:18px; 137 | background:url(../images/closeme.gif) right top no-repeat; 138 | } -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/css/topmenu_bk.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/css/topmenu_bk.css -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1253519531.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1253519531.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1253519609.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1253519609.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1256607214.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1256607214.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257395866.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257395866.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257396058.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257396058.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257396517.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257396517.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257396703.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257396703.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257396792.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257396792.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257396864.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257396864.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257397027.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257397027.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257397349.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257397349.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257397703.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257397703.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257398155.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257398155.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257469703.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257469703.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257477260.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257477260.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/1257835997.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/1257835997.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/43.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/43.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/Thumbs.db -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/articleitems.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/articleitems.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/bottommenu_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/bottommenu_bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/canche_submit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/canche_submit.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cart.png -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cartnow1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cartnow1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cartnow2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cartnow2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cateitems.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cateitems.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/chk_error.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/chk_error.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/chk_msg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/chk_msg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cw1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cw1.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cw2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cw2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cw3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cw3.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cw4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cw4.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/cw5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/cw5.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/denglu.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/denglu.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanall.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanall_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanall_bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanall_menu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanall_menu.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanall_menunow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanall_menunow.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanche.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanche.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanche_leftline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanche_leftline.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanche_rightline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanche_rightline.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcantimeinfo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcantimeinfo.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcantimeinfo_leftline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcantimeinfo_leftline.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcantimeinfo_rightline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcantimeinfo_rightline.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanweekmenu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanweekmenu.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanweekmenu_leftline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanweekmenu_leftline.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/dingcanweekmenu_rightline.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/dingcanweekmenu_rightline.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/email.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/email.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/homepage.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/homepage.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/img.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/img.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/img_dinggou.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/img_dinggou.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/ip.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/ip.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/left.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/left.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/li.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/li.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/menu.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/menu.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/menu_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/menu_bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/menu_hover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/menu_hover.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/msn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/msn.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/order.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/order.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/orderquery.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/orderquery.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/orderquery_button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/orderquery_button.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/posttime.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/posttime.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/qq.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/qq.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/qq_offline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/qq_offline.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/qq_online.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/qq_online.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/quxiao2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/quxiao2.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/quxiao3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/quxiao3.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/scat_bg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/scat_bg.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/scat_li.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/scat_li.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/search5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/search5.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/smallcart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/smallcart.png -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/topmenu_bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/topmenu_bg.jpg -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/images/zhuce.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/images/zhuce.gif -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/index_right.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/index_right.jsp -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/config.js: -------------------------------------------------------------------------------- 1 | var langList = 2 | [ 3 | {name:'en', charset:'UTF-8'}, 4 | {name:'zh-cn', charset:'gb2312'}, 5 | {name:'zh-tw', charset:'GBK'} 6 | ]; 7 | 8 | var skinList = 9 | [ 10 | {name:'default', charset:'gb2312'}, 11 | {name:'whyGreen', charset:'gb2312'} 12 | ]; -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/dingcansubmit.js: -------------------------------------------------------------------------------- 1 | 2 | //购物车提交 3 | $(document).ready(function() { 4 | $("div#cartsubmit").click(function(){ 5 | 6 | var nowallnums=$("#allnums").html(); //餐车中的餐品总数量 7 | var nowcpprice=$("#cpprice").html(); //餐车中的餐品总价 8 | 9 | if(nowallnums>0 && nowcpprice>0){ 10 | $.ajax({ 11 | type: "POST", 12 | url:PDV_RP+"dingcan/post.php", 13 | data: "act=cartsubmit", 14 | success: function(msg){ 15 | if(msg=="OK"){ 16 | window.location=PDV_RP+'dingcan/startorder.php'; 17 | }else if(msg=="kongcart"){ 18 | alert("您的购物车中没有餐品"); 19 | }else if(msg=="wrongcart"){ 20 | alert("订单错误"); 21 | }else{ 22 | alert(msg); 23 | } 24 | } 25 | }); 26 | }else{ 27 | alert("对不起,提交失败!请确保您已正确选择了餐品并正确填写了份数!"); 28 | } 29 | 30 | }); 31 | }); 32 | 33 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/feedback.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | //反馈表单提交 5 | $(document).ready(function(){ 6 | $('#feedbackform').submit(function(){ 7 | $('#feedbackform').ajaxSubmit({ 8 | target: 'div#notice', 9 | url: PDV_RP+'feedback/post.php', 10 | success: function(msg) { 11 | if(msg=="OK"){ 12 | $('div#notice').hide(); 13 | $().alertwindow("您的留言已提交,我们会尽快和您联系",""); 14 | }else{ 15 | $('div#notice')[0].className='noticediv'; 16 | $('div#notice').show(); 17 | $().setBg(); 18 | } 19 | } 20 | }); 21 | return false; 22 | 23 | }); 24 | }); 25 | 26 | 27 | //全站反馈表单提交 28 | $(document).ready(function(){ 29 | $('#feedbacksmallform').submit(function(){ 30 | $('#feedbacksmallform').ajaxSubmit({ 31 | target: 'div#notice', 32 | url: PDV_RP+'feedback/post.php', 33 | success: function(msg) { 34 | if(msg=="OK"){ 35 | $('div#notice').hide(); 36 | $().alertwindow("您的留言已提交,我们会尽快和您联系",""); 37 | }else{ 38 | $('div#notice').hide(); 39 | alert(msg); 40 | } 41 | } 42 | }); 43 | return false; 44 | 45 | }); 46 | }); 47 | 48 | 49 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/guestbook.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //企业留言表单提交 4 | $(document).ready(function(){ 5 | $('#guestbookform').submit(function(){ 6 | $('#guestbookform').ajaxSubmit({ 7 | target: 'div#notice', 8 | url: PDV_RP+'guestbook/post.php', 9 | success: function(msg) { 10 | if(msg=="OK"){ 11 | $('div#notice').hide(); 12 | $().alertwindow("您的留言已提交,我们会尽快回复","index.php"); 13 | }else{ 14 | $('div#notice').hide(); 15 | alert(msg); 16 | } 17 | } 18 | }); 19 | return false; 20 | }); 21 | }); 22 | 23 | 24 | //头像选择切换 25 | $(document).ready(function(){ 26 | $('#headpicsel').change(function(){ 27 | var hpic=this.value; 28 | if(hpic!=''){ 29 | $('#headpic')[0].innerHTML=''; 30 | } 31 | }); 32 | }); 33 | 34 | 35 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/order.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //订单查询 4 | $(document).ready(function(){ 5 | 6 | 7 | $("img.paystat").each(function(){ 8 | var oldsrc=$(this)[0].src; 9 | var imgname=oldsrc.substr((oldsrc.length-6),2); 10 | if(imgname=="ok"){ 11 | $(this).css({cursor:"default"}); 12 | } 13 | }); 14 | 15 | $("#showyun").attr("value",$("#nowshowyun")[0].value); 16 | $("#showok").attr("value",$("#nowshowok")[0].value); 17 | 18 | if($("#key")[0].value==""){ 19 | $("#key")[0].value="餐品名称/订单号"; 20 | $("#key").css({color:'#909090'}); 21 | $("#key").click(function(){ 22 | if($("#key")[0].value=="餐品名称/订单号"){ 23 | $("#key")[0].value=""; 24 | $("#key").css({color:'#505050'}); 25 | } 26 | }); 27 | } 28 | 29 | $("#searchbutton").mouseover(function(){ 30 | if($("#key")[0].value=="餐品名称/订单号"){ 31 | $("#key")[0].value=""; 32 | $("#key").css({color:'#505050'}); 33 | } 34 | }); 35 | 36 | }); 37 | 38 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/ordersearch.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | $(document).ready(function(){ 4 | 5 | $("#os_orderlook").click(function(){ 6 | var orderno=$("#os_orderno")[0].value; 7 | var cname=$("#os_sname")[0].value; 8 | 9 | if(orderno=="" || cname==""){ 10 | alert("请输入订单号和订餐人姓名"); 11 | return false; 12 | }else{ 13 | $.ajax({ 14 | type: "POST", 15 | url:PDV_RP+"dingcan/post.php", 16 | data: "act=orderlook&orderno="+orderno+"&cname="+cname, 17 | success: function(msg){ 18 | if(msg.substr(0,2)=="OK"){ 19 | var md=msg.substr(3); 20 | window.location=PDV_RP+'dingcan/orderdetail.php?orderno='+orderno+'&md='+md; 21 | }else if(msg=="1000"){ 22 | alert("订单不存在"); 23 | }else{ 24 | alert(msg); 25 | } 26 | } 27 | }); 28 | } 29 | }); 30 | 31 | }); 32 | 33 | 34 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/js/zh-cn.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/js/zh-cn.js -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/notice.jsp: -------------------------------------------------------------------------------- 1 | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 2 | <%@ page language="java" import="java.util.*,java.text.*" pageEncoding="utf-8"%> 3 | <% 4 | String path = request.getContextPath(); 5 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 6 | %> 7 | 8 | 9 | 10 | 11 | 12 | 13 | 公告通知 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 72 | 73 | 74 | 75 | 76 | 77 | 81 | 82 | 83 |
28 | 29 | 30 | 31 | 32 |
41 | 42 | 43 | 44 | 45 | 50 | 51 | 52 | 56 | 57 | 58 | 64 | 65 |
46 | ${notice.name} 47 |
48 | ${notice.times} 49 |
53 | 54 |
    ${notice.content}


55 |
59 | " target="_self"> 60 | 61 | 返回 62 | 63 |
66 | 67 | 68 | 69 | 70 | 71 |
 
  78 | 79 | 80 |
84 | 85 | 86 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/our.jsp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CodingLink/meal_ordering_system/58877a27bdabeaf2f5e5e6bb23684b5fa6514c98/src/main/webapp/public/qiantai/our.jsp -------------------------------------------------------------------------------- /src/main/webapp/public/qiantai/userLoginFail.jsp: -------------------------------------------------------------------------------- 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> 2 | <% 3 | String path = request.getContextPath(); 4 | String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 5 | %> 6 | 7 | 8 | 9 | 10 | 11 | 登入失败! 12 | ${message} 13 |
14 | 返回 15 | 16 | 17 | --------------------------------------------------------------------------------