Core Components

Chuzhuoli_branch
Lin 2 months ago
parent e3889aa4d2
commit e997aee47f

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" id="WebApp_ID" version="4.0">
<display-name>air_ticket_book</display-name>
<servlet>
<servlet-name>login_check</servlet-name>
<servlet-class>servlet.check</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>login_check</servlet-name>
<url-pattern>/login</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>backstage_frame</servlet-name>
<servlet-class>servlet.frame</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>backstage_frame</servlet-name>
<url-pattern>/frame</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>check_user_login_reg</servlet-name>
<servlet-class>servlet.check_login_reg</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>check_user_login_reg</servlet-name>
<url-pattern>/login_reg</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>common_user_center</servlet-name>
<servlet-class>servlet.userCenter</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>common_user_center</servlet-name>
<url-pattern>/user_center</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>up_img</servlet-name>
<servlet-class>servlet.upload_file</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>up_img</servlet-name>
<url-pattern>/upload_img</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>deal_message_board</servlet-name>
<servlet-class>servlet.deal_message</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>deal_message_board</servlet-name>
<url-pattern>/messageBoard</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>nav_search</servlet-name>
<servlet-class>servlet.search_fly</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>nav_search</servlet-name>
<url-pattern>/search</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>delete_message</servlet-name>
<servlet-class>servlet.del_user_message</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>delete_message</servlet-name>
<url-pattern>/del_message</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>add_flight_info</servlet-name>
<servlet-class>servlet.addFlight</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>add_flight_info</servlet-name>
<url-pattern>/add_flight</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>order_add</servlet-name>
<servlet-class>servlet.deal_order</servlet-class>
<load-on-startup>5</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>order_add</servlet-name>
<url-pattern>/add_order</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>

File diff suppressed because one or more lines are too long

@ -0,0 +1,202 @@
@charset "utf-8";
/*颜色*/
.gray{ color:#CCC}
.gray-999{ color:#999}
.gray-666 { color:#656667;}
.black{ color:#000;}
.white{ color:#FFF}
.green{ color:#6DD900}
.green-middle{ color:#42AC24;}
.orange{ color:#F90}
.orange-ea{ color:#ea8010}
.orange-f60{ color:#ff6600;}
.red{ color:#F30}
.red-930{ color:#930}
.yellow{ color:#FFD24C}
.blue{ color:#39F}
.blue-0093dd{ color:#0093dd;}
/*背景颜色*/
.bg-green{ background-color:#6DD900}
.bg-yellow{ background-color:#FFD24C}
.bg-yellow-fcf { background-color: #fcf8e3; }
.bg-red{ background-color:#F30}
.bg-red-930{ background-color:#930}
.bg-black{ background-color:#333}
.bg-white{ background-color:#fff}
.bg-gray{ background-color:#CCC}
.bg-gray-eee { background-color:#eee;}
.bg-gray-f5{ background: #F5F5F5; } /*最浅的灰色背景,常用*/
.bg-blue-f9fbff{ background-color:#f9fbff;}
/*字体大小*/
.font10 { font-size: 10px; }
.font11 { font-size: 11px; }
.font12 { font-size: 12px; }
.font13 { font-size: 13px; }
.font14 { font-size: 14px; }
.font16 { font-size: 16px; }
.font18 { font-size: 18px; }
.font20{ font-size:20px}
.font24{ font-size:24px}
.font30 { font-size: 30px; }
.font36{ font-size:36px}
.font48{ font-size:48px}
.font60{ font-size:60px}
/*文本行高设置*/
.lh1 { line-height: 1px; }
.lh10 { line-height: 10px; }
.lh15 { line-height: 15px; }
.lh18 { line-height: 18px; }
.lh20 { line-height: 20px; }
.lh25 { line-height: 25px; }
.lh30 { line-height: 30px; }
.lh35 { line-height: 35px; }
.lh40 { line-height: 40px; }
/*宽度*/
.w50{ width:50px;}
.w60{ width:60px;}
.w70{ width:70px;}
.w80{ width:80px;}
.w90{ width:90px;}
.w100{ width:100px;}
.w110{ width:110px;}
.w120{ width:120px;}
.w150{ width:150px;}
.w200{ width:200px;}
.w300{ width:300px;}
.w400{ width:400px;}
.w500{ width:500px;}
.w600{ width:600px;}
.w700{ width:700px;}
.w800{ width:800px;}
.w-percentage-10 { width:10%;}
.w-percentage-13 { width:13%;}
.w-percentage-15 { width:15%;}
.w-percentage-18 { width:18%;}
.w-percentage-20 { width:20%;}
.w-percentage-25 { width:25%;}
.w-percentage-30 { width:30%;}
.w-percentage-35 { width:35%;}
.w-percentage-40 { width:40%;}
.w-percentage-100 { width:100%;}
/* 高度 */
.h1 { height: 1px; }
.h5 { height: 5px; }
.h8 { height: 8px; }
.h10 { height: 10px; }
.h15 { height: 15px; }
.h20 { height: 20px; }
.h25 { height: 25px; }
.h30 { height: 30px; }
.h35 { height: 35px; }
.h40 { height: 40px; }
.h45 { height: 45px; }
.h50 { height: 50px; }
.h55 { height: 55px; }
.h60 { height: 60px; }
.h70 { height: 70px; }
.h80 { height: 80px; }
.h90 { height: 90px; }
.h100 { height: 100px; }
/*内边距*/
.pad-10 { padding:10px;}
.pad-15 { padding:15px;}
.pad-20 { padding:20px;}
.pad-top-10{ padding-top:10px;}
.pad-top-20{ padding-top:20px;}
.pad-top-30{ padding-top:30px;}
.pad-bottom-10{ padding-bottom:10px;}
.pad-bottom-20{ padding-bottom:20px;}
.pad-bottom-30{ padding-bottom:30px;}
.pad-bottom-40{ padding-bottom:40px;}
.pad-bottom-50{ padding-bottom:50px;}
.pad-bottom-60{ padding-bottom:60px;}
.pad-left-5{ padding-left:5px;}
.pad-left-10{ padding-left:10px;}
.pad-left-20{ padding-left:20px;}
.pad-left-30{ padding-left:30px;}
.pad-left-40{ padding-left:40px;}
.pad-left-50{ padding-left:50px;}
.pad-left-100{ padding-left:100px;}
.pad-right-10{ padding-right:10px;}
.pad-right-20{ padding-right:20px;}
.pad-right-30{ padding-right:30px;}
.pad-right-40{ padding-right:40px;}
.pad-right-50{ padding-right:50px;}
/*外边距*/
.mar-10 { margin:10px; }
.mar-15 { margin:15px; }
.mar-20 { margin:20px; }
.mar-25 { margin:25px; }
.mar-30 { margin:30px; }
.mar-40 { margin:40px; }
.mar-50 { margin:50px; }
.mar-top-5{ margin-top:5px;}
.mar-top-10{ margin-top:10px;}
.mar-top-15 { margin-top:15px;}
.mar-top-20 { margin-top:20px;}
.mar-top-30 { margin-top:30px;}
.mar-top-40 { margin-top:40px;}
.mar-top-50 { margin-top:50px;}
.mar-top-60 { margin-top:60px;}
.mar-top-70 { margin-top:70px;}
.mar-top-80 { margin-top:80px;}
.mar-top-90 { margin-top:90px;}
.mar-top-100 { margin-top:100px;}
.mar-top-125 { margin-top:125px;}
.mar-top-140 { margin-top:140px;}
.mar-right-5{ margin-right:5px;}
.mar-right-10{ margin-right:10px;}
.mar-right-20{ margin-right:20px;}
.mar-right-30{ margin-right:30px;}
.mar-left-5{ margin-left:5px;}
.mar-left-10{ margin-left:10px;}
.mar-left-20{ margin-left:20px;}
.mar-left-30{ margin-left:30px;}
.mar-left-40{ margin-left:30px;}
.mar-left-50{ margin-left:50px;}
.mar-left-100{ margin-left:100px;}
.mar-left-150{ margin-left:150px;}
.mar-left-200{ margin-left:200px;}
.mar-bottom-10{ margin-bottom:10px;}
.mar-bottom-15{ margin-bottom:15px;}
.mar-bottom-20{ margin-bottom:20px;}
.mar-bottom-30{ margin-bottom:30px;}
.mar-bottom-40{ margin-bottom:40px;}
.mar-bottom-50{ margin-bottom:50px;}
.mar-bottom-60{ margin-bottom:60px;}
/*边框*/
.bor-solid-1 { border:1px solid #EBEBEB;}
.bor-solid-3 { border:3px solid #EBEBEB;}
.bor-solid-5 { border:5px solid #EBEBEB;}
.bor-solid-blue-2 { border:2px solid #0093dd;}
.bor-right-dashed-1{ border-right:1px dashed #EBEBEB; }
.bor-bottom-dashed-1{ border-bottom:1px dashed #EBEBEB;}
.bor-top-solid-1{ border-top:1px solid #EBEBEB;}
.bor-bottom-solid-1{ border-bottom:1px solid #EBEBEB;}
.bor-right-solid-1{ border-right:1px solid #EBEBEB;}
.bor-bottom-solid-d8-1{ border-bottom:1px solid #D8D8D8;}
/*对齐*/
.v-align-middle{ vertical-align:middle;}
.v-align-bottom{ vertical-align:bottom;}
.v-align-top{ vertical-align:top;}
/*不换行超出省略*/
.Nobreak{word-break:keep-all;word-wrap:normal; white-space:nowrap;}
/*文字添加删除线*/
.text-del { text-decoration:line-through;}
/* 阴影 */
.box-shadow{ -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .3); -moz-box-shadow:0 0 10px rgba(0, 0, 0, .3); box-shadow:0 0 10px rgba(0, 0, 0, .3);
}

@ -0,0 +1,225 @@
@charset "utf-8";
/* CSS Document */
/*
* @description:
* @author: SXL
*/
body { background-color:#F9F9F9; font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif; color: #000; line-height: 22px; font-size: 14px; }
body {font-family: "Microsoft YaHei","iconfont" !important;}
.checkbox { vertical-align:middle; }
ul, ol, li { list-style: none outside none; margin:0; padding:0; }
/* 登录页样式 */
.banner-login { margin:0 0 15px; height:360px; position:relative; }
.login-box { width:360px; height:360px; padding:8px 20px; color:#FFF; position:absolute; top:0; left:10px; background: rgba(0, 0, 0, 0.5); z-index:999; }
.login-box a { color:#FFF; text-decoration:none; }
.login-box a:hover { color: #0CF; text-decoration: underline; }
/*.login-box input { vertical-align:sub; }*/
.input-account { width:100%; height:40px; line-height:40px; padding-left:45px; margin-bottom:20px; font-size: 14px; line-height: 1.42857143; color: #555; border: none; background: #fff url(../img/login-ico1.png) no-repeat 0px 0px; }
.input-password { width:100%; height:40px; line-height:40px; padding-left:45px; margin-bottom:20px; font-size: 14px; line-height: 1.42857143; color: #555; border: none; background: #fff url(../img/login-ico2.png) no-repeat 0px 0px; }
.input-code { width:185px; height:40px; line-height:40px; padding-left:45px; margin-bottom:5px; font-size: 14px; line-height: 1.42857143; color: #555; border: none; background: #fff url(../img/login-ico3.png) no-repeat 0px 0px; }
/* 轮播图样式 */
#full-screen-slider { width:100%; height:360px; float:left; position:relative; }
#slides { display:block; width:100%; height:360px; list-style:none; padding:0; margin:0; position:relative }
#slides li { display:block; width:100%; height:100%; list-style:none; padding:0; margin:0; position:absolute; }
#slides li a { display:block; width:100%; height:100%; text-indent:-9999px }
#pagination { display:block; list-style:none; position:absolute; left:50%; top:340px; z-index:9900; padding:5px 15px 5px 0; margin:0 }
#pagination li { display:block; list-style:none; width:10px; height:10px; float:left; margin-left:15px; border-radius:5px; background:#FFF }
#pagination li a { display:block; width:100%; height:100%; padding:0; margin:0; text-indent:-9999px; }
#pagination li.current { background:#0092CE; }
/* 登录页介绍图标 */
/*.ico-1 { width:140px; height:140px; line-height:140px; text-align:center; border-radius: 100px; font-size:75px; color:#FFF; margin:0 auto;}*/
.ico-1 { width:110px; height:110px; line-height:110px; text-align:center; border-radius: 100px; font-size:60px; color:#FFF; margin:0 auto; }
.bg-cc99cc { background-color:#CC99CC; }
.bg-9999CC { background-color:#9999CC; }
.bg-669999 { background-color:#669999; }
.bg-cc9999 { background-color:#CC9999; }
.bg-cc9966 { background-color:#CC9966; }
.bg-cccc99 { background-color:#CCCC99; }
/* 登录页底部 */
.footer { background-color:#232728; padding-top:20px; padding-bottom:20px; color:#ACADB0; }
.footer a { color:#ACADB0; text-decoration:none; }
.footer a:hover { color: #0CF; text-decoration: underline; }
.footer ul { margin:0; padding: 0; list-style-type: none; }
.orange-fcab53 { color:#FCAB53; }
.gray-bbb { color:#BBB; }
.gray-696969 { color:#696969; }
/* 登录页底部简化版 */
.footer-2 { background-color:#232728; padding-top:15px; padding-bottom:15px; color:#ACADB0; }
.footer-2 a { color:#ACADB0; text-decoration:none; }
.footer-2 a:hover { color: #0CF; text-decoration: underline; }
.footer-2 ul { margin:0; padding: 0; list-style-type: none; }
/* 导航 */
.nav-menu-2 { float:right; }
.nav-menu-2 ul { padding:0; margin:0; }
.nav-menu-2 ul li { float:left; }
.nav-menu-2 a { display: block; float:left; width:90px; padding-top: 5px; padding-bottom: 5px; font: 14px/34px "microsoft yahei"; text-align: center; color:#737383; text-decoration:none; }
.nav-menu-2 a:hover { color:#0093dd; }
.nav-menu-2 a.active { color:#0093dd; }
.nav-menu-2 a i { display: block; width: 32px; height: 32px; margin: 0 auto; }
/* 差旅管理 */
.nav-menu { width:135px; float:left; position:absolute; top:0; left:0; }
.nav-menu ul { padding:0; margin:0; }
/*.nav-menu a { display: block; width: 100%; padding-top: 15px; padding-bottom: 15px; font: 14px/34px "microsoft yahei"; text-align: center; color:#737383; text-decoration:none; }*/
.nav-menu a { display:block; width:135px; padding-top: 5px; padding-bottom: 5px; padding-right:15px; font: 14px/34px "microsoft yahei"; text-align: right; color:#737383; text-decoration:none; }
.nav-menu a:hover { color:#FFF; background-color:#737383; }
.nav-menu a.active { color:#FFF; background-color:#414582; }
/*.nav-menu a i { display: block; width: 32px; height: 32px; margin: 0 auto; }
.rightCon { margin-left: 135px; background-color: #fff; padding:15px; min-height:570px; }*/
.rightCon { background-color: #fff; padding:15px; min-height:570px; }
.rightCon-left { width:245px; float:left; border-right:1px solid #EBEBEB; min-height:485px; }
.rightCon-right { margin-left:260px; }
/*.rightCon-right table th { border-top:none!important;}*/
.chakan { padding:20px; font-size:14px; }
.chakan dt { line-height:35px; width:80px; }
.chakan dd { line-height:35px; margin-left:100px; }
/* 代客下单 */
.daike-zimu ul { margin-left:-7px; }
.daike-zimu li { float:left; margin-right:5px; margin-bottom:5px; }
.daike-zimu li a { display:inline-block; width:35px; }
.daike label { margin-right:10px; width: 158px; overflow:hidden; word-break:keep-all; word-wrap:normal; white-space:nowrap; }
.title-blue { padding: 7px 14px; background-color: #E8F8FF; color: #0080C0; border-left: 3px solid #0080C0; margin: 30px 0 10px; }
/* 总概数字样式 */
.fontTimes { font-family: Times; font-weight: bold; }
/* 账务中心信息列表 */
.zhangwu { line-height:30px; margin-bottom:30px; }
.zhangwu ul li { float:left; margin-right:25px; }
/* 账户管理 */
.bank-block-list .header { color: #0096de; background: #fbfbfb; padding-left: 15px; margin-top: 10px; line-height: 36px; border-left: 2px solid #0096de; }
.line-bottom { border-bottom:#D5D5D5 1px dotted; }
.bank-block-list { padding:10px; padding-top:0px; padding-bottom:0px; overflow:hidden; }
.bank-block-list ul { margin-bottom:20px; margin-top:20px; }
.bank-block-list ul li { float:left; cursor:pointer; width:265px; margin-right:30px; margin-bottom:20px; border:#DBDBDB 1px dotted; padding:6px; line-height:25px; position:relative; }
.bank-block-list ul li .ico-bank-change { width:29px; height:29px; background:url(../img/wallet/ico-bank-change.png) no-repeat; position:absolute; bottom:0; right:0; display:block; }
.bank-block-list ul li .title { font-size:18px; color:#3a87ad; line-height:35px; margin-bottom:5px; border-bottom:#DBDBDB 1px dotted; }
.bank-block-list ul p a { float:left; border:#0096de 1px dotted; height:160px; text-align:center; line-height:160px; font-size:20px; display:block; width:265px; }
.bank-block-list ul p a:hover { background:#21bbf4; color:#fff; }
.bank-block-list .header { color:#0096de; background:#fbfbfb; padding-left:15px; margin-top:10px; line-height:36px; border-left:2px solid #0096de; }
.bank-block-list2 { padding:10px; padding-left:0; padding-top:0px; padding-bottom:0px; overflow:hidden; }
.bank-block-list2 ul { width:105%; }
.bank-block-list2 ul li { float:left; cursor:pointer; width:150px; margin-right:15px; margin-bottom:15px; border:#DBDBDB 1px dotted; padding:8px 12px 10px; text-align:center; line-height:25px; position:relative; }
.bank-block-list2 ul li .ico-bank-change { width:20px; height:20px; background:url(../img/wallet/ico-bank-change2.png) no-repeat left top; position:absolute; bottom:0; right:0; display:block; }
/* 搜索列表 */
.huan { width: 18px; color: #fff; text-align: center; font-size: 12px; line-height: 18px; font-family: simsum; }
.huan:hover { color: #fff; background-color: #F90; text-decoration: none; }
/*.arrow-left { display:block!important; width:40px; height:67px; line-height:67px; background:#ebebeb url(../img/arrow_left.gif) no-repeat 50% 50%; float:left; cursor:pointer; }
.arrow-right { display:block!important; width:40px; height:67px; line-height:67px; background:#ebebeb url(../img/arrow_right.gif) no-repeat 50% 50%; float:right; cursor:pointer; }*/
.arrow-left { display:block!important; width:40px; height:62px; line-height:62px; background:#ebebeb url(../img/arrow_left.gif) no-repeat 50% 50%; float:left; cursor:pointer; }
.arrow-right { display:block!important; width:40px; height:62px; line-height:62px; background:#ebebeb url(../img/arrow_right.gif) no-repeat 50% 50%; float:right; cursor:pointer; }
.rmb { font-style: normal; font-family: arial; }
.time { font-size: 20px; line-height: 20px; font-family: Tahoma, Arial, sans-serif; }
.hangbanlist { padding:10px; background-color:#FFF; border:1px solid #EBEBEB; }
.hangbanlist ul { margin:0; padding:10px; position:relative; }
.hangbanlist ul:hover { background-color:#EBEBEB; cursor:pointer; }
.hangbanlist-body ul { margin:0; padding:0 15px; position:relative; border-bottom: 1px solid #EBEBEB; }
.hangbanlist-body ul:hover { background-color:#EBEBEB; cursor:pointer; }
.hangbanlist-body li { line-height:40px; }
/* 政策选择 */
.table-air-td-lh25 td, th { line-height:25px!important; }
.table-air-td-lh30 td, th { line-height:30px!important; }
.tip-ico { display: inline-block; width: 14px; height: 14px; line-height: 14px; text-align: center; color: #FFF; background-color: #0099E3; font-style: normal; border-radius: 7px; }
.bubbleinfo { position: relative; }
.bubbleinfo a:hover { text-decoration: none }
.trigger { }
/* Bubble pop-up */
.popup { position: absolute; display: none; z-index: 50; border-collapse: collapse; border: 3px #bbdfff solid; /* width: 300px;*/ background-color: #FFF; box-shadow: 0 1px 3px #bbdfff; }
.popup h2 { font-size: 14px; line-height: 30px; border-bottom: 1px #bbdfff solid; background-color: #eef7ff; padding-left: 10px; margin: 0px; text-align: left; }
.popup h2 i { width: 12px; height: 5px; position: absolute; right: 50px; top: -8px; background: url(../img/sprite.png) no-repeat 0px -499px; }
.popup p { padding: 10px; line-height: 20px; margin: 0px; text-align: left; }
.popup p b { font-size: 12px; }
.passenger-info { }
.passenger-info li { padding:15px 0; border-bottom:1px dotted #CCCCCC; height:25px; }
.passenger-info input { line-height:22px; height:22px; border:#CCC 1px solid; vertical-align:top; font-family:"微软雅黑"; padding:2px 3px }
.passenger-info .name { width:290px; float:left; padding-left:10px; }
.passenger-info .credential { width:320px; float:left; }
.passenger-info .insurance { width:340px; float:left; text-align:right }
.passenger-info .insurance-info { float:right; background-color:#FFFFEC; border:#FFDC73 1px solid; padding:10px; margin:10px 0 0 0; }
/* 机票标签 */
.data-price { width: 60px; border: #F60 1px solid; margin: 0px auto; font-family: "微软雅黑"; line-height: 18px; font-size: 12px; }
.data-price dt { background-color: #F60; text-align: center; color: #FFF; font-weight: bold; }
.data-price dd { padding:0; height: 18px; margin:0; text-align: center; color: #F60; background-color: #FFF; }
/* 支付 */
.tishibox { width:600px; padding:10px; margin:30px auto; position:relative; }
.tishibox p { line-height:30px; text-indent:100px; }
.tishibox a { margin-right:15px; }
.tishibox .title { font-size:16px; font-weight:bold; }
.img_fudong { position:absolute; top:13px; left:30px; }
/* 销售规则选择用户 */
.yonghu-box { border:1px solid #EBEBEB; padding:10px; overflow-x:hidden; width:100%; height:415px; margin-top:15px;}
.yonghu-box ul { margin:0; padding:0; }
.yonghu-box li { line-height:25px; cursor:pointer;}
.yonghu-box li:hover { color:#0093dd;}
.yonghu-box .active { color:#F00; text-decoration:none; }
/* 黑屏样式 */
.mrbianma { color: lime; background-color: black; height: 280px; width:99%; margin-top: 2px; font-size: 12px; padding-left: 1%; }
/* 右侧浮动菜单 */
.float-menu-right { position: fixed; top:0; right:0; color:#FFF; background-color:#000; z-index:999999; width:35px; height:100%; visibility:visible; }
.float-menu-right-box { position:absolute; top:50%; right:0; margin-top:-100px; }
.mui-mbar { width:35px; height:35px; display:block; line-height:35px; margin:10px 0; cursor:pointer; position:relative;text-align:center; padding-top:3px; padding-bottom:3px; }
.mui-mbar:hover { color:#FFF; background-color:#1876BB; }
.mui-mbar a { color:#FFF;}
.mui-mbar a:hover { text-decoration:none;}
.mui-mbar-menu-up { position:absolute; bottom:0; right:0;}
.r-company-box { display: none; position: absolute; right: 35px; top: 0; text-align:left; padding:10px; color: #fff; background-color: #494949;-webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); -moz-box-shadow: 0 0 5px rgba(0,0,0,.2); box-shadow: 0 0 5px rgba(0,0,0,.2); }
.r-company-box dt { overflow:hidden; word-break:keep-all;word-wrap:normal; white-space:nowrap;}
.r-company-box dd { overflow:hidden; word-break:keep-all;word-wrap:normal; white-space:nowrap;}
.r-tel-box { display: none; position: absolute; right: 35px; top: 0; width:175px; text-align: center; color: #fff; background-color: #494949; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); -moz-box-shadow: 0 0 5px rgba(0,0,0,.2); box-shadow: 0 0 5px rgba(0,0,0,.2); }
.r-qq-box { display: none; position: absolute; right: 35px; top: 0; width:175px; text-align: center; color: #fff; background-color: #494949; -webkit-box-shadow: 0 0 5px rgba(0,0,0,.2); -moz-box-shadow: 0 0 5px rgba(0,0,0,.2); box-shadow: 0 0 5px rgba(0,0,0,.2); }
/* IE11 滚动条问题解决 */
html, body { -ms-overflow-style: scrollbar; }
/* 保险下拉菜单美化 */
.nice-select{
padding: 0 3px;
height: 26px;
border: 1px solid #ccc;
position: relative;
background: #fff ;
display:inline-block;
}
.nice-select input{display: block;width: 90%;height: 24px;line-height: 24px ;border: 0;outline: 0;background: none; }
.nice-select ul{
width:260px;
text-align:left;
display: none;
position: absolute;
left: -1px;
top: 0;
overflow: hidden;
background-color: #fff;
max-height: 200px;
overflow-y: auto;
border: 1px solid #ccc;
border-top: 0;
box-shadow: 0 1px 3px #ccc;
z-index: 9999;
}
.nice-select ul li{line-height: 30px;overflow: hidden;padding: 0 6px;cursor: pointer; border-bottom:1px dashed #ccc; }
.nice-select ul li div{ line-height:20px; padding:10px 0;}
.nice-select ul li.on{background-color: #e0e0e0;}
.nice-select ul li.last{ border:none}

@ -0,0 +1,45 @@
@charset "utf-8";
/* CSS Document */
/* 企业端头部 */
.navbar-nav .active>a { color: #414582!important; background-color: #FFF!important; } /*改Bootstarp*/
.icon-nav-block { display:block; text-align:center; margin-bottom:5px; }
.title-left { display: inline-block; text-indent: 8px; border-left: 2px solid #88B7E0; margin-right: 8px; }
/*.bg-body { background: url(../img/bg-body.jpg) no-repeat fixed center top; }*/
.nav-top-small>li>a { padding:5px 15px!important; }
/* 在线预订首页 */
.index-wall { margin:110px 0 15px; padding:15px; position:relative; background-color:#414582;}
.seach-menu { width:120px; float:left; position:absolute; top:0; left:0; }
.seach-menu ul { padding:0; margin:0; }
.seach-menu a { display: block; width: 100%; padding-top: 13px; padding-bottom: 13px; font: 14px/34px "microsoft yahei"; text-align: center; color:#fff; text-decoration:none; }
.seach-menu a:hover { color:#FFF; background-color:#14639C; }
.seach-menu a.active { color:#1876BB; background-color:#FFF; }
.seach-menu a i { display: inline-block; width: 32px; height: 32px; margin: 0 auto; }
.search-tab-bd { width:750px; height:372px; padding:15px; margin-left:105px; background-color:#FFF; float:left;}
.tab-index { position:relative;}
.tab-index ul { padding:0; margin-left:35px; }
.tab-index li { float:left; margin-right:45px; font-size:18px; line-height:35px; font-weight:500; color:#B2B2B2; }
.tab-index li:hover { color:#999; cursor: pointer; }
.tab-index li.active { color:#000; cursor: pointer; }
.seach-body { background-color:#F4FBFC; padding:15px; margin:10px; padding-right:30px; height:288px;}
.icon-transit { display: inline-block; height: 50px; width: 12px; border: 1px solid #ddd; border-left: none; position: absolute; top: 15px; left: 50%; margin-left:-13px; }
.icon-transit a { position: absolute; z-index: 1; width: 18px; left: 3px; top: 15px; background-color: #0093dd; color: #fff; text-align: center; font-size: 12px; line-height: 18px; font-family: simsum; }
.icon-transit a:hover { background-color: #F90; text-decoration: none; }
.user-wrap { float:right; width:270px; }
.tab-user-hd ul { width:100%; padding:0; }
.tab-user-hd li { float:left; font-size:18px; line-height:35px; font-weight:500; color:#8EBBDE; width:50%; display:inline-block; text-align:center; padding-bottom:10px; border-bottom:1px solid #8EBBDE; }
.tab-user-hd li:hover { color: #7BAED9; cursor: pointer; }
.tab-user-hd li.active { color:#FFF; cursor: pointer; border-bottom:1px solid #FFF; }
.type-box { position: absolute; top: 0px; right: 10px; }
.type-box ul { padding:0; margin:0; }
.type-box ul li { float:left; margin-right:20px; font-size:14px; line-height:35px; font-weight:500; color:#B2B2B2; }
.user-portrait { padding: 50px 0 35px; text-align: center; color: #FFF; font-size: 16px; }
.user-portrait .link-myctrip { display: inline-block; color: #FFF; }
.user-portrait img { width: 90px; height: 90px; margin-bottom:20px; border: 3px solid #FFF; border-radius: 50px; box-shadow: 0 0 2px #333; }
.user-portrait a:hover { text-decoration:none; color:#FF0;}

@ -0,0 +1,191 @@
@font-face {font-family: "iconfont";
src: url('../fonts/iconfont.eot'); /* IE9*/
src: url('../fonts/iconfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('../fonts/iconfont.woff') format('woff'), /* chrome, firefox */
url('../fonts/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('../fonts/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family:"iconfont" !important;
font-style:normal;
-webkit-font-smoothing: antialiased;
-webkit-text-stroke-width: 0.2px;
-moz-osx-font-smoothing: grayscale;
}
.iconfont{-webkit-font-smoothing: antialiased;}
.icon-lvxing:before { content: "\e600"; }
.icon-lengyin:before { content: "\e633"; }
.icon-shouyinji:before { content: "\e634"; }
.icon-zhaoxiangji:before { content: "\e635"; }
.icon-shezhi:before { content: "\e6ab"; }
.icon-xiajiang:before { content: "\e601"; }
.icon-muma:before { content: "\e636"; }
.icon-kefuyouxian:before { content: "\e602"; }
.icon-qushixiajiang:before { content: "\e6a8"; }
.icon-weixin:before { content: "\e637"; }
.icon-piaojialishi:before { content: "\e603"; }
.icon-zizhuzhiji:before { content: "\e638"; }
.icon-jipiao:before { content: "\e604"; }
.icon-dujia:before { content: "\e605"; }
.icon-qichepiao:before { content: "\e606"; }
.icon-hangkonggongsi:before { content: "\e607"; }
.icon-menpiao:before { content: "\e608"; }
.icon-huochepiao:before { content: "\e609"; }
.icon-jiudian:before { content: "\e60a"; }
.icon-zuche:before { content: "\e60b"; }
.icon-weixin1:before { content: "\e639"; }
.icon-dianshiji:before { content: "\e63a"; }
.icon-zizhuyou:before { content: "\e60c"; }
.icon-shezhichilun:before { content: "\e6ac"; }
.icon-lvxingpiaowu:before { content: "\e60d"; }
.icon-download:before { content: "\e63b"; }
.icon-lvxing1:before { content: "\e60e"; }
.icon-shouye:before { content: "\e60f"; }
.icon-mima:before { content: "\e610"; }
.icon-tuding:before { content: "\e63c"; }
.icon-youxiji:before { content: "\e63d"; }
.icon-qq:before { content: "\e63e"; }
.icon-anzhuo:before { content: "\e611"; }
.icon-bumen:before { content: "\e612"; }
.icon-renyuanguanli:before { content: "\e613"; }
.icon-richangguanli:before { content: "\e614"; }
.icon-fabiaojidi:before { content: "\e615"; }
.icon-shineiyouyongguan:before { content: "\e63f"; }
.icon-naozhong:before { content: "\e640"; }
.icon-lengyin1:before { content: "\e641"; }
.icon-huiyi:before { content: "\e642"; }
.icon-yen:before { content: "\e616"; }
.icon-jinqihuiyi:before { content: "\e643"; }
.icon-qq1:before { content: "\e644"; }
.icon-zhihuijihover:before { content: "\e645"; }
.icon-gongzhang:before { content: "\e646"; }
.icon-zuoji:before { content: "\e647"; }
.icon-22yongcheshenqing:before { content: "\e648"; }
.icon-youyong4:before { content: "\e649"; }
.icon-24xiaoshireshui:before { content: "\e64a"; }
.icon-tingchechang:before { content: "\e64b"; }
.icon-youyongchi:before { content: "\e64c"; }
.icon-tuding1:before { content: "\e64d"; }
.icon-guzhongtixing:before { content: "\e64e"; }
.icon-zongbaobiao:before { content: "\e64f"; }
.icon-clock:before { content: "\e650"; }
.icon-safe:before { content: "\e651"; }
.icon-weixin2:before { content: "\e652"; }
.icon-04yiyaobaoxianpbm:before { content: "\e653"; }
.icon-kafei:before { content: "\e654"; }
.icon-phone:before { content: "\e655"; }
.icon-wifi:before { content: "\e656"; }
.icon-wifi1:before { content: "\e657"; }
.icon-huilvhuiyishi:before { content: "\e658"; }
.icon-huilvjianshenfang:before { content: "\e659"; }
.icon-gerenzhongxin:before { content: "\e65a"; }
.icon-children:before { content: "\e65b"; }
.icon-iconfontjxmc:before { content: "\e65c"; }
.icon-kafei1:before { content: "\e65d"; }
.icon-zuojitianchong:before { content: "\e65e"; }
.icon-iconfonttaishiji:before { content: "\e65f"; }
.icon-icon03:before { content: "\e660"; }
.icon-yongche:before { content: "\e661"; }
.icon-weibiaoti1:before { content: "\e662"; }
.icon-servant:before { content: "\e617"; }
.icon-apple:before { content: "\e618"; }
.icon-shebeiguanli:before { content: "\e619"; }
.icon-xiyusangna:before { content: "\e663"; }
.icon-ertongfang:before { content: "\e664"; }
.icon-qq2:before { content: "\e665"; }
.icon-jianshen:before { content: "\e666"; }
.icon-tongjibaobiao:before { content: "\e667"; }
.icon-iconfontweixiubaoyangdian:before { content: "\e668"; }
.icon-nv:before { content: "\e6aa"; }
.icon-644jianshen:before { content: "\e669"; }
.icon-bumenjiagouline:before { content: "\e61a"; }
.icon-xiangmushuju:before { content: "\e61b"; }
.icon-iconfonticon:before { content: "\e61c"; }
.icon-zhengce:before { content: "\e66a"; }
.icon-yinshuiji:before { content: "\e66b"; }
.icon-jiesong:before { content: "\e66c"; }
.icon-lengyin2:before { content: "\e66d"; }
.icon-24xiaoshireshui1:before { content: "\e66e"; }
.icon-jiejifuwu:before { content: "\e66f"; }
.icon-spa:before { content: "\e670"; }
.icon-wifi2:before { content: "\e671"; }
.icon-doujiangji:before { content: "\e672"; }
.icon-31pinpai:before { content: "\e61d"; }
.icon-clock1:before { content: "\e673"; }
.icon-baoxianjisuan:before { content: "\e674"; }
.icon-kefuzhongxin:before { content: "\e675"; }
.icon-shezhichilun1:before { content: "\e6ad"; }
.icon-zhushijieshi:before { content: "\e61e"; }
.icon-tingchechang1:before { content: "\e676"; }
.icon-kuandaitianchong:before { content: "\e677"; }
.icon-yingxiaoguanli:before { content: "\e61f"; }
.icon-tuding2:before { content: "\e678"; }
.icon-bangzhuzhongxin:before { content: "\e679"; }
.icon-xiangbao0101:before { content: "\e620"; }
.icon-anquan:before { content: "\e621"; }
.icon-weixin3:before { content: "\e67a"; }
.icon-xiazai:before { content: "\e67b"; }
.icon-yanzhengma:before { content: "\e622"; }
.icon-tubiao04:before { content: "\e6a9"; }
.icon-anquanzhongxin:before { content: "\e67c"; }
.icon-quanxianguanli:before { content: "\e67d"; }
.icon-qiyeguanli:before { content: "\e67e"; }
.icon-bell:before { content: "\e67f"; }
.icon-lengyin3:before { content: "\e680"; }
.icon-yongcan:before { content: "\e681"; }
.icon-huiyiziliao:before { content: "\e682"; }
.icon-gerenzhongxin1:before { content: "\e683"; }
.icon-shujutanshuju:before { content: "\e623"; }
.icon-kafei2:before { content: "\e684"; }
.icon-hekriconshebeidoujiangji:before { content: "\e685"; }
.icon-hekriconshebeikafeiji:before { content: "\e686"; }
.icon-hekriconshebeixiwanji:before { content: "\e687"; }
.icon-iconfontkuandai:before { content: "\e688"; }
.icon-cheliangguanli:before { content: "\e689"; }
.icon-weibiaoti1psd:before { content: "\e68a"; }
.icon-zijinzhanghu:before { content: "\e624"; }
.icon-5:before { content: "\e68b"; }
.icon-baoxian:before { content: "\e68c"; }
.icon-baoxian1:before { content: "\e68d"; }
.icon-shenfenzhengyishangchuan:before { content: "\e68e"; }
.icon-guanli:before { content: "\e625"; }
.icon-dashuju:before { content: "\e626"; }
.icon-huiyuanzhongxin:before { content: "\e68f"; }
.icon-wifi3:before { content: "\e690"; }
.icon-daojishizhong:before { content: "\e691"; }
.icon-shenfenzheng:before { content: "\e692"; }
.icon-touxiang:before { content: "\e627"; }
.icon-wd:before { content: "\e693"; }
.icon-yuangongzhanghao:before { content: "\e628"; }
.icon-jianshen1:before { content: "\e694"; }
.icon-mes:before { content: "\e695"; }
.icon-touxiang1:before { content: "\e629"; }
.icon-lvxing2:before { content: "\e62a"; }
.icon-jisuanji:before { content: "\e696"; }
.icon-printer:before { content: "\e697"; }
.icon-spa1:before { content: "\e698"; }
.icon-pool:before { content: "\e699"; }
.icon-zhengcefagui:before { content: "\e69a"; }
.icon-kefurexian:before { content: "\e62b"; }
.icon-dayin-copy:before { content: "\e69b"; }
.icon-dayin:before { content: "\e69c"; }
.icon-dianshiji1:before { content: "\e69d"; }
.icon-shexiangji:before { content: "\e69e"; }
.icon-cuxiaoguanli:before { content: "\e62c"; }
.icon-qipai1:before { content: "\e69f"; }
.icon-102360:before { content: "\e6a0"; }
.icon-64656:before { content: "\e62d"; }
.icon-xiyiji:before { content: "\e6a1"; }
.icon-icon4:before { content: "\e6a2"; }
.icon-ertongpiao:before { content: "\e6a3"; }
.icon-yunpingtai:before { content: "\e62e"; }
.icon-ispa:before { content: "\e6a4"; }
.icon-lvxingqianzhengjigou:before { content: "\e62f"; }
.icon-shangwuzhongxinfuwu:before { content: "\e6a5"; }
.icon-huiyixuanzhong:before { content: "\e6a6"; }
.icon-xiazai1:before { content: "\e6a7"; }
.icon-shuju2:before { content: "\e630"; }
.icon-peisongicon:before { content: "\e631"; }
.icon-wangluotuoputu:before { content: "\e632"; }

File diff suppressed because it is too large Load Diff

@ -0,0 +1,33 @@
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
//添加URL session ,作为用户登录后跳转回来的依据,登录servlet中已经写了判断程序如果有url_cookie就跳转到url_cookie如果没有就跳转到用户中心
session.setAttribute("url", request.getRequestURI());
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>机票预订系统</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/corptravel.css" rel="stylesheet">
<link href="css/enterprise.css" rel="stylesheet">
<link href="css/iconfont.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<%! String user_name,seat;
String todaydate="2019-12-01";%>
<!--今日日期,为方便测试此处设定为固定值-->
</head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<div><h3>出错了,机票不够</h3></div>
</body>
</html>

@ -0,0 +1,34 @@
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
//添加URL session ,作为用户登录后跳转回来的依据,登录servlet中已经写了判断程序如果有url_cookie就跳转到url_cookie如果没有就跳转到用户中心
session.setAttribute("url", request.getRequestURI());
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>机票预订系统</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/corptravel.css" rel="stylesheet">
<link href="css/enterprise.css" rel="stylesheet">
<link href="css/iconfont.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<%! String user_name,seat;
String todaydate="2019-12-01";%>
<!--今日日期,为方便测试此处设定为固定值-->
</head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<div >
<h3><label>请先登录再订购机票!</label></h3>
</div>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 434 KiB

@ -0,0 +1,214 @@
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page contentType="text/html; charset=UTF-8" import="java.util.Date"%>
<%@page contentType="text/html; charset=UTF-8" import="java.text.SimpleDateFormat"%>
<%
//添加URL session ,作为用户登录后跳转回来的依据,登录servlet中已经写了判断程序如果有url_cookie就跳转到url_cookie如果没有就跳转到用户中心
session.setAttribute("url", request.getRequestURI());
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- <meta name="viewport" content="width=device-width, initial-scale=1"> -->
<link rel="icon" href="./images/airplane.ico">
<title>机票预订系统</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/corptravel.css" rel="stylesheet">
<link href="css/enterprise.css" rel="stylesheet">
<link href="css/iconfont.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<%! String user_name,seat;
/*Date date = new Date();
//设置要获取到什么样的时间
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
//获取String类型的时间
String todaydate = sdf.format(date);*/
//也可以用这个
// String datetime = tempDate.format(new Date(System.currentTimeMillis()));
String todaydate="2019-12-01";
//注意原本的设定是每天的机票都是不同的,因此数据库中要有每天不同的机票,这里为了方便,就设置了一个固定的时间
%>
</head>
<body class="bg-body">
<!-- header -->
<nav class="navbar navbar-default navbar-fixed-top bg-white">
<nav class="navbar navbar-default"
style="min-height: 30px; line-height: 30px; margin-bottom: 0px; border-radius: 0;">
<div class="container font12">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<ul class="nav navbar-nav nav-top-small" style="margin-left: -15px;">
<li class="dropdown">
<% if(session.getAttribute("user_id")!=null){
db_conn conn=new db_conn();
String sql="select * from p_inf where p_tel='"+session.getAttribute("user_id")+"'";
ResultSet res=conn.executeQuery(sql);
if(res.next())
user_name=res.getString(2);
%>
<a href="javacript:none" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
您好,<%= user_name %>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="logout.jsp">退出</a></li>
</ul>
<%}else{ %>
<a href="../user_center" class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">
点击此处登录(登录后可以订购机票)
</a>
<%} %>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
<a class=" " href="index.jsp"><img src="images/newlogo.png"
width="350" height="70" alt="系统LOGO" class="pull-left mar-right-30"
style="margin-left: -15px;"></a>
</div>
<div class="collapse navbar-collapse"
id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="javascript:none"><i
class="icon iconfont icon-nav-block font24">&#xe620;</i> 首页</a></li>
<li><a href="/air_ticket_book/user_center"><i
class="icon iconfont icon-nav-block font24">&#xe61c;</i> 用户中心</a></li>
</ul>
</div>
</div>
</nav>
<!-- header end -->
<!-- 搜索 -->
<div class="index-wall white " style="">
<div class="container"
style="position: relative; margin-left: 650px; width: auto;">
<form class="form-inline" action="/air_ticket_book/search" method="post">
<!-- <div class="form-group mar-left-10" >
<label for="" >购买机票时间:<%=todaydate %></label>
</div> -->
<div class="form-group mar-left-10" >
<label for="" >出发城市</label>
<input name="departure" type="text" class="form-control"
style="width: 85px;" value="" placeholder="出发城市">
</div>
<div class="form-group">
<label for=""> &nbsp;&nbsp;&nbsp;&nbsp;到达城市</label> <input name="destination" type="text" class="form-control"
style="width: 85px;" value="" placeholder="到达城市">
</div>
<button type="submit" class="btn btn-warning mar-left-10"
style= "font-size:18px; border:#FFFFFF; color:#414582; background-color:#FFFFFF;">搜索</button>
</form>
</div>
</div>
<!-- 搜索结束 -->
<!-- 列表开始 -->
<div class="container mar-bottom-30 ">
<div class="hangbanlist">
<div>
<%
db_conn conn=new db_conn();
String sql="select * from flight";
ResultSet res=conn.executeQuery(sql);
while(res.next()){
String f_i=res.getString(1);
String s_p=res.getString(2);
String a_p=res.getString(3);
String s_a=res.getString(4);
String a_a=res.getString(5);
String s_t=res.getString(6);
String a_t=res.getString(7);
String f_p=res.getString(8);
String sql2="select sum(t_b) from ticket where f_n='"+f_i+"' and t_d='"+todaydate+"'";
db_conn conn2=new db_conn();
ResultSet res2=conn2.executeQuery(sql2);
if(res2.next()) seat=res2.getString(1);
if(seat=="null") seat="0";
%>
<!-- 表头 -->
<ul class="list-inline bor-bottom-solid-1 ">
<li class="w-percentage-25" style="font-size:26px;color:#414582;"> <strong><%=f_i %></strong></li>
<li class="w20 time " ><strong><%=s_p %></strong> </li>
<li class="text-right" style= "color:#414582;"><%=s_a %></li>
<li class="">—</li>
<li class="w20 time " ><strong><%=a_p %></strong> </li>
<li class="w150" style= "color:#414582;"><%=a_a %></li>
<li class="time w100"><strong><%=s_t %></strong></li>
<li class="">—</li>
<li class="time w80"><strong><%=a_t %></strong></li>
<%if(session.getAttribute("user_id")!=null){ %>
<li class="pull-right "><button type="button" style= "border:#000000;color:#FFFFFF;background-color:#414582;"
class="btn btn-danger btn-sm" onClick="window.location.href ='order.jsp?flight_id=<%=f_i %>';">订票</button></li><%}
if(session.getAttribute("user_id")==null){ %>
<li class="pull-right "><button type="button" style= "border:#000000;color:#FFFFFF;background-color:#414582;"
class="btn btn-danger btn-sm" onClick="window.location.href ='error_login.jsp?flight_id=<%=f_i %>';">订票</button></li><%} %>
</ul>
<!-- 表头结束 -->
<!-- 表BODY -->
<div class="collapse" id="collapseExample" style="display: block;">
<div class="hangbanlist-body " style="background-color: #f4f6f7;">
<ul class="list-inline">
<li class="w-percentage-25">今日剩余座位数:<%=seat %></li>
<li class="w-percentage-25">价格:<span class="rmb">¥<%=f_p %></span></li>
</ul>
</div>
</div>
<!-- 表BODY 结束 -->
<%
}
%>
</div>
<div class="clearfix"></div>
</div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -0,0 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
session.setAttribute("user_id", null);
response.sendRedirect("index.jsp");
%>

@ -0,0 +1,245 @@
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<jsp:useBean id="img_url" class="javabean.get_img" scope="session" />
<jsp:setProperty property="user_id" name="img_url" value="<%=session.getAttribute(\"user_id\") %>"/>
<%
//添加URL session ,作为用户登录后跳转回来的依据,登录servlet中已经写了判断程序如果有url_cookie就跳转到url_cookie如果没有就跳转到用户中心
session.setAttribute("url", request.getRequestURI());
session.setAttribute("p_tel",session.getAttribute("user_id"));
session.setAttribute("f",request.getParameter("flight_id"));
%>
<%!
String user_name;
String flight_id=null;
String grade=null;
String grade_character=null;
String s_p=null;//起飞地点
String e_p=null;//到达地点
String s_a=null;//起飞机场
String e_a=null;//目的机场
String t_t=null;//起飞时间
String l_t=null;//到达时间
%>
<%
flight_id=request.getParameter("flight_id");
if(flight_id==null){
flight_id="SU2312";
}
%>
<%
db_conn conn=new db_conn();
String sql="select * from flight where f_n='"+flight_id+"'";
ResultSet res=conn.executeQuery(sql);
if(res.next()){
s_p=res.getString(2);
e_p=res.getString(3);
s_a=res.getString(4);
e_a=res.getString(5);
t_t=res.getString(6);
l_t=res.getString(7);
}
%>
<%@ include file="verify_login.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>订单</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/corptravel.css" rel="stylesheet">
<link href="css/enterprise.css" rel="stylesheet">
<link href="css/iconfont.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body class="bg-body">
<!-- header -->
<nav class="navbar navbar-default navbar-fixed-top bg-white">
<nav class="navbar navbar-default"
style="min-height: 30px; line-height: 30px; margin-bottom: 0px; border-radius: 0;">
<div class="container font12">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
</div>
<ul class="nav navbar-nav nav-top-small" style="margin-left: -15px;">
<li class="dropdown">
<% if(session.getAttribute("user_id")!=null){
String sql2="select * from p_inf where p_tel='"+session.getAttribute("user_id")+"'";
ResultSet res2=conn.executeQuery(sql2);
if(res2.next())
user_name=res2.getString(2);
%>
<a href="javacript:none" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
您好,<%= user_name %>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="logout.jsp">退出</a></li>
</ul>
<%}else{ %>
<a href="../user_center" class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">
请登录!
</a>
<%} %>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
<a class=" " href="index.jsp"><img src="images/newlogo.png"
width="350" height="70" alt="系统LOGO" class="pull-left mar-right-30"
style="margin-left: -15px;"></a>
</div>
<div class="collapse navbar-collapse"
id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="index.jsp"><i
class="icon iconfont icon-nav-block font24">&#xe620;</i>首页</a></li>
<li><a href="/air_ticket_book/user_center"><i
class="icon iconfont icon-nav-block font24">&#xe61c;</i> 用户中心</a></li>
</ul>
</div>
</div>
</nav>
<!-- header end -->
<!-- 订购栏 content start -->
<form action="../add_order" method="post" >
<%-- <input type="hidden" name="flight_id" value="<%=flight_id %>"> --%>
<div class="container box-shadow mar-bottom-30 "
style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 200px;">
<div class="col-sm-7 container bg-white pad-bottom-20"
style="margin-top: 30px; margin-bottom: 30px;">
<div style="overflow: hidden;">
<h4 class="mar-bottom-90" style="display: block; float: left;margin-top: 20px;">订票日期:</h4>
</div>
<div class="mar-top-10">
<input name="date" type="text"
class="ydc-form-control" value="例2017-03-06" autocomplete="off">
</div>
<div style="overflow: hidden;">
<h4 class="mar-bottom-90" style="display: block; float: left; margin-top: 40px;">本人及关联旅客信息:</h4>
</div>
<div class="container bg-white-eee mar-bottom-250"
style=" padding-left: 0px; padding-right:600px;margin-top: 10px; ">
<table
class="table table-hover table-striped ">
<tr>
<th style="width:3%;">姓名</th>
<th style="width:5%;">身份证号</th>
<th style="width:3%;">电话</th>
<th style="width:3%;">是否订购</th>
</tr>
<%
int i=0;
db_conn conn2=new db_conn();
String user_id=session.getAttribute("user_id").toString();
String sql2="select * from p_inf where p_id in "+
"(select p_id2 from ptp where p_id in "+
"(select p_id from p_inf where p_tel='"+user_id+"'))";
ResultSet res2=conn2.executeQuery(sql2);
while(res2.next()){
%>
<tr>
<td><%=res2.getString(2) %></td>
<td><%=res2.getString(1) %></td>
<td><%=res2.getString(3) %></td>
<td><input type="checkbox" name="choose" id="choose" value="1" /></td>
</tr>
<%}
%>
</table>
</div>
<!-- 航班信息 -->
</div>
<div class="col-sm-5 " >
<div style="margin-left: -15px;margin-top: 110px; ">
<h3 style="overflow: hidden; margin-left: 0px;">
<span style="display: block; float: left;"></span>
<span style="display: block; float: left; margin-left: 190px;"><%=s_p %>-<%=e_p %></span>
<span
style="display: block; float: right; color: #999; font-size: 14px; margin-right: 5px;"></span>
</h3>
</div>
<div style=" margin-bottom: 15px; ">
<div class="flight-from " style="float:left;">
<span class="time text-center"><%=t_t %></span><br /> <span
class="text-center"><%=s_a %></span>
</div>
<div class="flight-info " style="float: left; margin-left: 70px;">
<img src="images/a.png"> <span class="font12 gray-999">------</span>
<img src="images/b.png"><br /> <img src="images/c.png" class="mar-left-30 "> <span
class="text-center font12 ">乘坐<%=flight_id %></span><br /> <span
class="airline-direct"></span> <span class="arrow "></span>
</div>
<div class="flight-to" style="float: right;">
<span class="time text-center"><%=l_t %></span><br /> <span
class="text-center"><%=e_a %></span>
</div>
</div>
</div>
</div>
<div class="text-center mar-top-10" style="margin-bottom: 20px;">
<input type="submit" value="提交订单" class="btn btn-default btn-lg">
</div>
</form>
</body>
</html>

@ -0,0 +1,143 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
//添加URL session ,作为用户登录后跳转回来的依据,登录servlet中已经写了判断程序如果有url_cookie就跳转到url_cookie如果没有就跳转到用户中心
session.setAttribute("url", request.getRequestURI());
%>
<%@ include file="verify_login.jsp" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>订单列表</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/corptravel.css" rel="stylesheet">
<link href="css/enterprise.css" rel="stylesheet">
<link href="css/iconfont.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body class="bg-body">
<!-- header -->
<nav class="navbar navbar-default navbar-fixed-top bg-white">
<nav class="navbar navbar-default"
style="min-height: 30px; line-height: 30px; margin-bottom: 0px; border-radius: 0;">
<div class="container font12">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
</div>
<ul class="nav navbar-nav nav-top-small" style="margin-left: -15px;">
<li class="dropdown">
<% if(session.getAttribute("user_id")!=null){ %>
<a href="javacript:none" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
您好,<%=session.getAttribute("user_id").toString() %>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="logout.jsp">退出</a></li>
</ul>
<%}else{ %>
<a href="../user_center" class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">
请登录!
</a>
<%} %>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
<a class=" " href="index.jsp"><img src="images/logo.png"
width="210" height="70" alt="系统LOGO" class="pull-left mar-right-30"
style="margin-left: -15px;"></a>
</div>
<div class="collapse navbar-collapse"
id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="index.jsp"><i
class="icon iconfont icon-nav-block font24">&#xe620;</i>首页</a></li>
<li><a href="/air_ticket_book/user_center"><i
class="icon iconfont icon-nav-block font24">&#xe61c;</i> 用户中心</a></li>
</ul>
</div>
</div>
</nav>
<!-- header end -->
<!-- list start -->
<div class="container bg-gray-eee box-shadow mar-bottom-30"
style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 120px;">
<table
class="table table-hover table-striped font12 table-bordered v-align-top">
<tr>
<th style="width:10%;">航班号</th>
<th style="width:15%;">乘机人</th>
<th style="width:18%;">乘机日期</th>
<th style="width:10%;">舱位</th>
<th style="width:17%;">乘客证件</th>
<th style="width:15%;">联系人</th>
<th style="width:15%;">联系电话</th>
</tr>
<%
db_conn conn=new db_conn();
String user_id=session.getAttribute("user_id").toString();
String sql="select * from t_order where order_user='"+user_id+"'";
ResultSet res=conn.executeQuery(sql);
while(res.next()){
%>
<tr>
<td>
<%=res.getString(3) %>
</td>
<td><p><%=res.getString(4) %></p></td>
<td><%=res.getString(5) %></td>
<td><%=res.getString(6) %></td>
<td><%=res.getString(7) %></td>
<td><%=res.getString(8) %></td>
<td><%=res.getString(9) %></td>
</tr>
<%
}
%>
</table>
</div>
<!-- list end -->
</body>
</html>

@ -0,0 +1,192 @@
<%@page import="javabean.flight"%>
<%@page import="java.util.ArrayList"%>
<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>机票预订系统</title>
<link href="/air_ticket_book/default/css/bootstrap.min.css" rel="stylesheet">
<link href="/air_ticket_book/default/css/common.css" rel="stylesheet">
<link href="/air_ticket_book/default/css/corptravel.css" rel="stylesheet">
<link href="/air_ticket_book/default/css/enterprise.css" rel="stylesheet">
<link href="/air_ticket_book/default/css/iconfont.css" rel="stylesheet">
<script type="/air_ticket_book/default/text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="/air_ticket_book/default/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<%! db_conn conn2=new db_conn();
String seat;
String user_name;
String todaydate="2019-12-01";%>
</head>
<body class="bg-body">
<!-- header -->
<nav class="navbar navbar-default navbar-fixed-top bg-white">
<nav class="navbar navbar-default"
style="min-height: 30px; line-height: 30px; margin-bottom: 0px; border-radius: 0;">
<div class="container font12">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
</div>
<ul class="nav navbar-nav nav-top-small" style="margin-left: -15px;">
<li class="dropdown">
<%
String todaydate="2019-12-01";
if(session.getAttribute("user_id")!=null){
db_conn conn2=new db_conn();
String sql2="select * from p_inf where p_tel='"+session.getAttribute("user_id")+"'";
ResultSet res2=conn2.executeQuery(sql2);
if(res2.next())
user_name=res2.getString(2);
%>
<a href="javacript:none" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
您好,<%=user_name%>
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="/air_ticket_book/default/logout.jsp">退出</a></li>
</ul>
<%}else{ %>
<a href="/air_ticket_book/user_center" class="dropdown-toggle" role="button" aria-haspopup="true" aria-expanded="false">
请登录!
</a>
<%} %>
</li>
</ul>
</div>
</nav>
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
aria-expanded="false">
<span class="sr-only">Toggle navigation</span> <span
class="icon-bar"></span> <span class="icon-bar"></span> <span
class="icon-bar"></span>
</button>
<a class=" " href="/air_ticket_book/default/index.jsp"><img src="/air_ticket_book/default/images/newlogo.png"
width="350" height="70" alt="系统LOGO" class="pull-left mar-right-30"
style="margin-left: -15px;"></a>
</div>
<div class="collapse navbar-collapse"
id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="/air_ticket_book/default/index.jsp"><i
class="icon iconfont icon-nav-block font24">&#xe620;</i> 首页</a></li>
<li><a href="/air_ticket_book/user_center"><i
class="icon iconfont icon-nav-block font24">&#xe61c;</i> 用户中心</a></li>
</ul>
</div>
</div>
</nav>
<!-- header end -->
<!-- 搜索 -->
<div class="index-wall white " style="">
<div class="container"
style="position: relative; margin-left: 650px; width: auto;">
<form class="form-inline" action="/air_ticket_book/search" method="post">
<div class="form-group mar-left-1410" >
<label for="" >今日日期:<%=todaydate%></label>
</div>
<div class="form-group mar-left-10" >
<label for="" >出发城市</label> <input name="departure" type="text" class="form-control"
style="width: 85px;" id="" value="" placeholder="出发城市">
</div>
<div class="form-group">
<label for="">到达城市</label> <input name="destination" type="text" class="form-control"
style="width: 85px;" id="" value="" placeholder="到达城市">
</div>
<button type="submit" class="btn btn-warning mar-left-10"
style= "font-size:18px; border:#FFFFFF; color:#414582; background-color:#FFFFFF;">搜索</button>
</form>
</div>
</div>
<!-- 搜索结束 -->
<!-- 列表开始 -->
<div class="container mar-bottom-30 ">
<div class="hangbanlist">
<div>
<%
ArrayList flightlist=(ArrayList)request.getAttribute("flightlist");
if(flightlist.size()==0){
out.println("对不起,未找到您需要的航班,请重新查找");
}else{
for(int i=0;i<flightlist.size();i++){
flight flight_info=(flight)flightlist.get(i);
double f_p_i=Double.parseDouble(flight_info.getF_p());
String f_i=flight_info.getF_n();
String sql2="select sum(t_b) from ticket where f_n='"+flight_info.getF_n()+"' and t_d='"+todaydate+"'";
db_conn conn2=new db_conn();
ResultSet res2=conn2.executeQuery(sql2);
if(res2.next()) seat=res2.getString(1);
%>
<!-- 表头 -->
<ul class="list-inline bor-bottom-solid-1 ">
<li class="w-percentage-25" style="font-size:26px;color:#414582;"><strong><%=flight_info.getF_n()%></strong></li>
<li class="w20 time "><strong><%=flight_info.getF_s_p()%></strong> </li>
<li class="text-right" style= "color:#414582;"><%=flight_info.getF_s_a() %></li>
<li class="">—</li>
<li class="w20 time "><strong><%=flight_info.getF_a_p() %></strong> </li>
<li class="w150" style= "color:#414582;"><%=flight_info.getF_a_a() %></li>
<li class="time w100"><strong><%=flight_info.getF_s_t() %></strong></li>
<li class="">—</li>
<li class="time w80"><strong><%=flight_info.getF_a_t() %></strong></li>
<%if(session.getAttribute("user_id")!=null){ %>
<li class="pull-right "><button type="button" style= "border:#000000;color:#FFFFFF;background-color:#414582;"
class="btn btn-danger btn-sm" onClick="window.location.href ='default/order.jsp?flight_id=<%=f_i%>';">订票</button></li><%} %>
<%if(session.getAttribute("user_id")==null){ %>
<li class="pull-right "><button type="button" style= "border:#000000;color:#FFFFFF;background-color:#414582;"
class="btn btn-danger btn-sm" onClick="window.location.href ='default/error_login.jsp?flight_id=<%=f_i%>';">订票</button></li><%} %>
</ul>
<!-- 表头结束 -->
<!-- 表BODY -->
<div class="collapse" id="collapseExample" style="display: block;">
<div class="hangbanlist-body " style="background-color: #f4f6f7;">
<ul class="list-inline">
<li class="w-percentage-25">今日剩余座位数:<%=seat %></li>
<li class="w-percentage-25">价格:<span class="rmb">¥<%=flight_info.getF_p() %></span></li>
</ul>
</div>
</div>
<!-- 表BODY 结束 -->
<%
}
}
%>
</div>
<div class="clearfix"></div>
</div>
</div>
</body>
</html>

@ -0,0 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
if(session.getAttribute("user_id")==null){
response.sendRedirect("/air_ticket_book/index/login_reg.jsp");
//写成绝对路径,防范错误发生
}
%>

@ -0,0 +1,4 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
response.sendRedirect("/air_ticket_book/default/index.jsp");
%>

@ -0,0 +1,342 @@
/*
* author: YDC
* core.css
* http://www.yidianc.com/
*/
::-webkit-scrollbar {
display: none;
}
::-moz-placeholder {
color: #aaa;
}
::-webkit-input-placeholder {
color: #aaa;
}
:-ms-input-placeholder {
color: #aaa;
}
::selection {
background: #111;
color: #fff;
font-weight: bold
}
html {
color: #333;
}
body {
min-width: 1200px;
}
html,body {
margin: 0;
height: 100%;
background-color: #fff;
font-size: 14px;
color: #444;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
font-family: 'PingFangSC','helvetica neue','hiragino sans gb','arial','microsoft yahei ui','microsoft yahei','simsun','sans-serif'!important;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
a {
text-decoration: none;
color: #000;
}
hr {
height: 1px;
background: #ccc;
width: 100%;
border: none;
margin: 0;
padding: 0;
margin-top: 10px;
}
img {
border: 0;
}
body {
background: #fff;
color: #666;
}
html, body, div, dl, dt, dd, ol, ul, li, h1, h2, h3, h4, h5, h6, p, blockquote, pre, button, fieldset, form, input, legend, textarea, th, td {
margin: 0;
padding: 0;
}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary {
display: block;
margin: 0;
padding: 0;
}
audio,canvas,progress,video {
display: inline-block;
vertical-align: baseline;
}
a {
text-decoration: none;
color: #08acee;
}
a:active,a:hover {
outline: 0;
}
button {
outline: 0;
}
mark {
color: #000;
background: #ff0;
}
small {
font-size: 80%;
}
img {
border: 0;
}
button,input,optgroup,select,textarea {
margin: 0;
font: inherit;
color: inherit;
outline: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
table {
width: 100%;
border-radius: 4px;
}
li {
list-style: none;
}
i {
font-style: normal;
}
a {
color: #666;
text-decoration: none;
-webkit-transition: color .3s;
transition: color .3s;
}
a:hover {
color: #eee;
}
em {
font-style: normal;
}
h2, h3 {
font-weight: 100;
}
.ydc-flex{
margin-left: -10px;
margin-right: -10px;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-ms-flex-flow: row wrap;
-webkit-flex-flow: row wrap;
flex-flow: row wrap;
}
.ydc-user-info-func a:not(:first-child):before{
content: " ";
border-left: 1px solid #707070;
height: 10px;
display: inline-block;
vertical-align: middle;
margin: 0 8px;
}
.fl{
float:left;
}
.fr{
float:right;
}
textarea{
outline:none;
}
textarea:focus{
background:none;
outline:none;
}
input:focus, textarea:focus {
outline: none;
}
input:focus,textarea:focus {
outline: none;
border: 1px
solid #ff5f5f;
}
.btn{
position: relative;
text-align: center;
line-height: 1;
cursor: pointer;
-webkit-appearance: none;
-webkit-transition: all .2s ease-out;
transition: all .2s ease-out;
border: 1px solid transparent;
margin: 0;
background-color: #f2f2f2;
border-color: #d7dde4;
color: #324050;
outline: 0;
}
.btn, .btn:active, .btn:focus {
outline: 0;
}
.ydc-right-head-info dl+dl:before {
content: " ";
float: left;
width: 1px;
height: 50px;
margin-top: 8px;
border-left: 1px solid #ddd;
}
.clearfix::after {
clear: both;
content: ".";
display: block;
height: 0;
visibility: hidden;
}
.clearfix {
}
/* xu */
.rdolist, .chklist {
display: none;
}
.rdobox, .chkbox {
display: inline-block;
padding: 10px;
height: 86px;
line-height: 16px;
/* background: #eee; */
border-radius: 3px;
width: 100%;
color: #666;
}
.check-image {
display: inline-block;
width: 26px;
height: 26px;
margin-top: 46px;
background-image: url("/admin/images/icon/input-unchecked.png");
vertical-align: middle;
background-size: cover;
background-position:center;
background-repeat:no-repeat;
margin-left: 70px;
}
.unchecked {
/* background: #ECF0F1; */
color: #666;
transition-property: background;
transition-delay: 0s;
transition-duration: .1s;
transition-timing-function: linear;
}
.checked {
color: #fff;
}
.ydc-reg-form-button .btn-border{
background-color:#fff;
color:#ff6980;
margin-right:20px;
}
.foldpanel {
width: 100%;
border-bottom: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
border-bottom: 1px dashed #ddd;
}
.foldpanel dt,.foldpanel dd {
border-top: 1px dashed #ddd;
margin: 0px;
}
.foldpanel dt {
cursor: pointer;
padding: 16px 17px 16px 40px;
font-size: 15px;
color: #333;
position:relative;
}
.foldpanel dd {
padding: 12px 70px;
}
.foldpanel dt:before{
position: absolute;
top: 23px;
left: 18px;
content: "";
width: 6px;
height: 6px;
border-radius: 6px;
background-color: #000;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

@ -0,0 +1,84 @@
.ydc-icon{
width: 18px;
height: 18px;
display: block;
border: none;
background-repeat: no-repeat;
background-position: center;
background-size: 18px;
}
.ydc-icon-mail{
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAADjUlEQVRoQ+2ZTahNURTHf8tnJE+KFMXAwETp9aSU0vOZRz1CTOUVgydlZIIyNUJJBgZ4ikTJV3j5piTJyMxAyoyXfGtpvfau845z7j33dPa59913zvCeffdev/Vfa+219xHG2CNjjJcKuN0VrxSuFG4zD1Qh3WaC/odTKVwp3GYeqEI6LqiqTgUOAPuBmS0q+A/ggdkoIu9q2VhXYVW9CvS2KGjcrDcisiQ3sKrOBj6NElhv5lwR+Zhmc02FVbULeDnKgLtE5FUF7DyQV+FfwEVgFTCv5Aj4ANwHdgKTEtYOonC/iJxU1enAPWBpSdCWXqtFZEhV+4HjZQHvE5ETtpiqTgPuAMsDQxtst4h8deuWCmyL2uLDBU1VpwAPAyodhzXnmpPN2fEnSEjbInHoDuAxsLhgpZ8B6yLKrgRuAubkpCcYsIc2Y8woU9o6safAooKgnwBrReS7m99gbwOTa8wfFNjWNWOskHjoWcCjAqBtPpvXw64BrteBNXuCA6dBm8ELcyqdBHsDmJhhvlKAk6DnuJxuFDoO2wNYP58FtjSFvePj4W3QL4D5GZSxIUmw14AJGf9fOnCS0taJPc/QkdnxbkMkZzcDlxqEbQqwh14mIm9ddV3gwjutDTXY9SLy0423ltX22fENKOuHlpbDUduswPSKyB//o6oa9IWEjuwc0OdhHbA1FIM5G5nSgUfAquoMEfnsQMa5m5MVwHtgwHdr7n10bF7oUoHjsJaHZ11uDu/TaY+q7gDOuK7K7+l5+vTSgJNgL7s8HFG949Cq2gechuHPtzbWipflte/T7USW9XBSCnAc1tQ6Hys6Q8AuEbkSyWsrSkeBgzEnWPGyIpYHOjhwEuyAUyspgm1ftpD9BmwE0i7d8kIHBbYOaLu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PAEOurkNEL0kp1dCe0zwB67o+gYhdJZITQoi7qgmkUTq6rv+NiB2z/ojonJRyHnn5ZXgOkaksSyn9TiEbhcnXj6ZptycSiTllJBFdk1LOOyOLAatuLF+q4gzf9EE8N4B4SKu713gOz4yKmLRi0pqZD/E63ExEHbN0zNL/jceYpWOWjlm6mfh5JpaYpWOWDmFpXded0ouqZq+0BgYGluTz+VzZZMsJIVKRzrQ8jm5VeXm/lPK35pvBNw4sHgYAdWlQ2n4SQsx79ui3Do+VH2QT0fetra3de/fu/avZQHPO1WXZjrK4DgghXo6UYV3XBxHxLQ9g0+r6BRHVE4dmaeplwkPlwTiOsyuTyXwYCXBfX98dhUJBASs9qm0WgKFxENGF9vb2RyJdiM9a45yvVi/W/V7YhXq9eQJTtm2vHhkZOecVQuCjFk3TnkgkEl8CwPKbF390z0R0njG2OeiBTegrHpfys+4r2Tuju2+cJBH9of6dmJycNEZHRwP5JRRwadic804AeBAAPB+SNg7ijKdisajA/ZrNZq9F9V0R4KhGm1nulgP8LzrWkYJXjW5sAAAAAElFTkSuQmCC');
}
.active .ydc-icon-find{
margin-right: 8px;
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAEdElEQVRoQ+2baehnUxjHP1/bC97IHl7YRbIka4kwmjJTYl4okZKlUArNyNgnS0mpkaIQoiEk+24kjELKkhlkiSyTLSIvPHrq/qYz53+Xc3//e8+9/Oe8/N3nec75nOecc8+55/sTc6xojvGyAfj/nvHkDJuZ2+4DHAXsDewIbAds1FMn/Q4slvRhU3wzOxQ4E9gV+Bp4SNKLZX6NwAXoIuAGYPemyjt+/iWwm6R/quKa2SXAjcDGkc0ySVfEfrXAZrYVsAI4vmOQNuF2kPR9mYOZLSkSURVvkaRHwoeVwGa2JfAesEub1nVs+4WPqrIMJ8B6Ux6VdEojcDGMnwVOqAHwXl8NVA63WcL/BiyR9FEcJxHW3d6XdGAKsM/Zh0sa/A5wE/CqpB9nCTSVewt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kQ6XtKTDzwfAriEiPa3Wq2BWq32rXtR0s5w17AOSmv9OBE94gJWjTEqK+CuYh2UUmojgGUu4B5jzLlZAHcdO5nh14ho6ulIRL5j5nPSBvcEm1Vwz7BZBPcUmzVwz7FZAieCzQo4MWwWwIli0wYnjk0TnAo2LXBq2DTAqWKTBqeOTRSstV5DRKuiPoz7Pc9G7e/XTmvd+4eHYrF4uoj8QET5KBPuFTaxDBcKhRWWZTkvpEOPXmITAyultgK4Pkzba2yS4H8AHBMETgKbCHh4eHiBbdvOD/e+R1LYRMBKKQXA+GgPiMhqZn4x7HLv1vme36WVUo8CeKw9YRH5CcAuETHMvCmo+qZbSPc4hwseI6KpH746lQ20g2itB23bPra/v39LuVz+vReIOGNqrd8goptdCRhj5mmvVDu9Lt0J4ApXoC3GGN/iljgT6nVb7yeGiOxi5ivdcTuBs/RCPM4aOS/PDwA4wZXhd5n5pjDwWgAPeSINGWPejhM96bZa60VE9L4n7vPGmHsCwVrr64joA3cj52aUz+cvTLuoJWARLaWUUw1wlbuNbdvFarU67VNkxiVdKpX6m82m8914vifAtkajsTjNsqVO4FKplGs2m04p0+2e8/86BbDM/Edghp2TSqllAKaKSFx7YreIrJ2YmNiWVmFaey4DAwN98+bNGwKwCsCl3sUQkeeY+T7v331rLbXWI0QUVMyyX0ScepCelB5GuAc4pcxO+fKMQ0Qatm1fUKvVfokMnnzX+vlkDXKE+JlpMgHg2kqlsrPTjDJfPhxzGX8WkSIzeysJp4bJeoF4JK+I7COiDa1Wa329Xj8Y1CkKuN0/6X8B8Ju3LSK/AXD25zfNZnNHlH8TmEJEWsI51ChOhucE+yh4TqQxAPEf8xwqeYyYkocAAAAASUVORK5CYII=');
}
.ydc-menu-item a:hover .ydc-icon-find{
margin-right: 8px;
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAEdElEQVRoQ+2baehnUxjHP1/bC97IHl7YRbIka4kwmjJTYl4okZKlUArNyNgnS0mpk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jkzAAAAABJRU5ErkJggg==');
}
.ydc-icon-set{
margin-right: 8px;
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAI8UlEQVRoQ+1bfYxcVRU/583bndpV2CoGDWZtG4pQ0hLTAoZKWCAu2eLM3DvLpoDyIfwjQRIVohGrRqMRP8A/gIoJCipfYeyc+2arXeoHm9hCtC2RgiJUCy3UBBPtirZsOzPvmFNmJnfevtl9d3Zn2qTcP9+cr9+755177jlnEE6whScYXngbcJIdV0otBoDPAMAQIp4JAD1J+OaB5ggAPM/Mv0LEu4non64ynXc4l8td5nneLwDgna7K5pl+b6VSuXhsbOxlF7lOgIeHh9PpdPolRBxwUdJB2l1E9GEACJPqcAKstf48ANyZVHiX6G4iovuS6koMeGhoqG/hwoV7EfE9deHM/C8AeBAA/pdU4Rzp3gUANyBiv2XD65OTk4snJiamkshODFgp9RVE/EZE6AVE9HQSRfNFo7W+BAB+a8tj5tuMMYk8LxHg0dHRk8vl8n5E7LPerDHG6PkC4iJHKfUEIg7Znnbo0KEPbtmy5eBschIB1lrfAQBftIRJkDiLiF6aTUEnfs/lcis8z9sVkf01Iop64DT1swLOZrOnplKpVwBggcX9ABHd0AkwSWUqpR5DxHXWLh/s6ek5rVAo/GcmGbMCVkrdjYiSZNRXuVwuL9m0adP+pMZ1gi6TySzxfX83AKQs0N81xtie6LbD+Xz+A8y8x86kmPkuY8ytnQDhKlNr/UMA+LTFN1WtVheXSqXXW8macYeVUj9GxIbrMrO4zUChUPi3q3GdoI/73Jj5HmPMLc6AR0ZGloZhKC7jWczriehbnTC+XZlaa7HndvuTQ8SlxWLxtTiZLXc4Jig4HfDtAnDlGx4ePimdTr+KiCclCaqxgLPZ7MpUKvWsrTwMw5uDINjgalA36LXWtwHA9yxdoed5yzZu3Cjxp2nFAlZKjSHix63o93JPT8+yQqFQ7QYAVx2Dg4MLFi1a9DcAOM2y+XFjTOPYqj+fBjifz5/LzH+0lTLz1caYR10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xEMeX0hETSlaEoVa688BwF0R2v1hGF41U+IBAHLJOCXCdz0R/TSJXpumxZn+VuJhuUBTasnMO4wxjYuEg1L5TJ5GxPOjPHZq6fv+O3zfF5pWqeXviOhSB70NUqXUrkhq25xaCmXc5UE2X96Kq9KRkZFlYRhKoGn78hCG4RmlUimaxMxqSpy3xl4eRFLM9fBFY8zyNoPGpwDgR21MB7R9PZQ0uVwu747EkPjrYe1bnlYAYOZrjTE/n/XVxhBkMpmzfd9/GADOScIvQUry3zkUAKQoL3fwxpqxAFDb5aYSDwC8tm/fvqU7d+4sJzE6SrNq1aqegYGB9cx8OyL6LWRMMfN6Y4wkLc5HkMiUQl5/f/8riHiqpWPmEo8QxhXxZICFiO5tB3CdR85oAFjied5Sz/NOZ+aK53l7pJUzNTW1Z66FPKXUFxDxO7aNiYp4NdeOlmmPyyJ8HVytf73PLsYzc7IybS1iTyvEi0saY749l13uFK/W+psA8GVLvlshvrbL0f7rG7VG2oz9106BaiV3dHT03ZVKRVq3ifrXLXtLLZppdxCR1JiPmxXXv26rmVbb5aZ2KQDM2n/t5pto0b9ur11ai9hxDfENxpibuwmslS6tteTZ11q/z7oh7Yw8VBFxcav+a7dehHQ1UqnUX+z+NTPPbeShFrGnDbUw80PGmGu6BS5Oj1KKEFHVf6tNJ8x9qEUExo0tVavV5aVS6cVjATqbza5OpVKNflHNhvkZWxJhcYNpAFAiotyxAKy1lnt6o+clI5DzOphWi9jTRg/DMFwTBMFT3QRdG19u6mbO++ihAGo1XCpFfPl+ugS6e8OltW/5xBkfrn3LveVyWfqv0zqDXdrhqJpxIrrc5Uo56zkc1VAr30gFsjFAcizAyhzK5OTkRUnnpOs2OgMWxrVr174vnU7LtJu8XSkBdeVPHsz8BgAEiPj4gQMHxicmJiquL7stwK5Kjif6twEfT7vRCVv+D1cKMSr0NMZnAAAAAElFTkSuQmCC');
}
.ydc-icon-customer{
margin-right: 8px;
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA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1Yfiv6t70H2vtc61/KzxogBeR/A1T1R6qJcC+DNTCizxwgCaeYdP264yW4KlEVghILsBvDcwBiSE2UxGKEgmu7udRjUc6AsCsMbpJPuOphsbQ3Uzr5SXlN0uyGtO/pnZC5vJFcZr5m6iHTTXZd2joGiGPtJ+u7z4dLeScv4gvSluy5vICXKYjFChqx16a4ryh6Sv2thEQkZvhaN4QXikO66oOhDwHRnsxCUxWP4griku2OhVIHhC+Ka7oaiHANwcc/J1WA4gwSkuyEoVwA42UGpCsMHJCTdjUWpDsMHJDTdDUHR7YfeAvAQyaddKlhSGad5iIjEpLsu8epmX8HPm3J5sZLLDIIkSnddYnAGissJSyzjArILwPMjv/lPAWiW9STJz0d+raKrdwFJme6ugvFrk1G9rrcPkfyy6ChlbNxGkMTprm7eqL1AEU6SVBQ7OhEYAolJd/8EoPsEKsAxkjos2TEQgSEQ33T3WwDHm55wguRpE/CLwBDIULqrk7cPW0PRRyR1BwA7AiOwFmRDuqs3OOg+rzoUHSf5feBr22k9EdgE0l7d/aTVC04NbY5okQ6PwCYQ3SPp3CYt/Sb8JexMnwgMzkN8KrOy8REwkPgYJq3BQJKGM74yA4mPYdIaDCRpOOMrM5D4GCat4V8eT/mDX5WgOQAAAABJRU5ErkJggg==');
width: 35px;
height: 35px;
margin:0 auto;
display: block;
border: none;
background-repeat: no-repeat;
background-position: center;
background-size: 35px;
margin-bottom:10px;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

@ -0,0 +1 @@
article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}

@ -0,0 +1,50 @@
@CHARSET "UTF-8";
.wrapper .sign-in-htm,
.wrapper .sign-out-htm,
.wrapper .sign-up-htm{
top:0;
left:0;
right:0;
bottom:0;
position:absolute;
-webkit-transform:rotateY(180deg);
-moz-transform:rotateY(180deg);
-ms-transform:rotateY(180deg);
transform:rotateY(180deg);
-webkit-backface-visibility:hidden;
-moz-backface-visibility:hidden;
-ms-backface-visibility:hidden;
backface-visibility:hidden;
-webkit-transition:all .4s linear;
-moz-transition:all .4s linear;
transition:all .4s linear;
}
.wrapper{
min-height:345px;
position:relative;
/*-webkit-perspective:1000px;
perspective:1000px;*/
-webkit-transform-style:preserve-3d;
transform-style:preserve-3d;
}
.sign-in:checked + .sign-up + .sign-out + .wrapper .sign-in-htm{
-webkit-transform:rotate(0);
-moz-transform:rotate(0);
-ms-transform:rotate(0);
transform:rotate(0);
}
.sign-out:checked + .wrapper .sign-out-htm{
-webkit-transform:rotate(0);
-moz-transform:rotate(0);
-ms-transform:rotate(0);
transform:rotate(0);
}
.sign-up:checked + .sign-out + .wrapper .sign-up-htm{
-webkit-transform:rotate(0);
-moz-transform:rotate(0);
-ms-transform:rotate(0);
transform:rotate(0);
}

@ -0,0 +1,5 @@
@charset "UTF-8";/*!
* smallPop 0.1.2 | https://github.com/silvio-r/spop
* Copyright (c) 2015 Sílvio Rosa @silvior_
* MIT license
*/.spop-container{z-index:2000;position:fixed}.spop-container,.spop-container *,.spop-container :after,.spop-container :before{box-sizing:border-box}.spop--top-left{top:0;left:0}.spop--top-left .spop{-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0}.spop--top-center{top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.spop--top-center .spop{-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0}.spop--top-right{top:0;right:0}.spop--top-right .spop{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.spop--center{top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.spop--center .spop{-webkit-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0}.spop--bottom-left{bottom:0;left:0}.spop--bottom-left .spop{-webkit-transform-origin:0 100%;-ms-transform-origin:0 100%;transform-origin:0 100%}.spop--bottom-center{bottom:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.spop--bottom-center .spop{-webkit-transform-origin:50% 100%;-ms-transform-origin:50% 100%;transform-origin:50% 100%}.spop--bottom-right{bottom:0;right:0}.spop--bottom-right .spop{-webkit-transform-origin:100% 100%;-ms-transform-origin:100% 100%;transform-origin:100% 100%}@media screen and (max-width:30em){.spop--bottom-center,.spop--bottom-left,.spop--bottom-right,.spop--top-center,.spop--top-left,.spop--top-right{top:auto;bottom:0;left:0;right:0;margin-left:0;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.spop--bottom-center .spop,.spop--bottom-left .spop,.spop--bottom-right .spop,.spop--top-center .spop,.spop--top-left .spop,.spop--top-right .spop{-webkit-transform-origin:50% 100%;-ms-transform-origin:50% 100%;transform-origin:50% 100%}.spop{border-bottom:1px solid rgba(0,0,0,.15)}}.spop{position:relative;min-height:56px;line-height:1.25;font-size:14px;-webkit-transform:translateZ(0);transform:translateZ(0)}@media screen and (min-width:30em){.spop{border-radius:2px;width:320px;margin:.7em}}.spop--error,.spop--info,.spop--success,.spop--warning{color:#fff;background-color:#454A56}@-webkit-keyframes spopIn{0%{-webkit-transform:scale(.2,.2);transform:scale(.2,.2)}95%{-webkit-transform:scale(1.1,1.1);transform:scale(1.1,1.1)}100%{-webkit-transform:scale(1,1);transform:scale(1,1)}}@keyframes spopIn{0%{-webkit-transform:scale(.2,.2);transform:scale(.2,.2)}95%{-webkit-transform:scale(1.1,1.1);transform:scale(1.1,1.1)}100%{-webkit-transform:scale(1,1);transform:scale(1,1)}}@-webkit-keyframes spopOut{0%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1)}20%{-webkit-transform:scale(1.1,1.1);transform:scale(1.1,1.1)}100%{opacity:0;-webkit-transform:scale(0,0);transform:scale(0,0)}}@keyframes spopOut{0%{opacity:1;-webkit-transform:scale(1,1);transform:scale(1,1)}20%{-webkit-transform:scale(1.1,1.1);transform:scale(1.1,1.1)}100%{opacity:0;-webkit-transform:scale(0,0);transform:scale(0,0)}}.spop--out{-webkit-animation:spopOut .4s ease-in-out;animation:spopOut .4s ease-in-out}.spop--in{-webkit-animation:spopIn .4s ease-in-out;animation:spopIn .4s ease-in-out}.spop-body{padding:1.4em}.spop-body p{margin:0}.spop-body a{color:#fff;text-decoration:underline}.spop-body a:hover{color:rgba(255,255,255,.8);text-decoration:none}.spop-title{margin-top:0;margin-bottom:.25em;color:#fff}.spop-close{position:absolute;right:0;top:0;height:32px;width:32px;padding-top:7px;padding-right:7px;font-size:22px;font-weight:700;text-align:right;line-height:.6;color:#fff;opacity:.5}.spop-close:hover{opacity:.7;cursor:pointer}.spop-icon{position:absolute;top:13px;left:16px;width:30px;height:30px;border-radius:50%;-webkit-animation:spopIn .4s .4s ease-in-out;animation:spopIn .4s .4s ease-in-out}.spop-icon:after,.spop-icon:before{content:"";position:absolute;display:block}.spop-icon+.spop-body{padding-left:4.2em}.spop-icon--error,.spop-icon--info{border:2px solid #3a95ed}.spop-icon--error:before,.spop-icon--info:before{top:5px;left:11px;width:4px;height:4px;background-color:#3a95ed}.spop-icon--error:after,.spop-icon--info:after{top:12px;left:11px;width:4px;height:9px;background-color:#3a95ed}.spop-icon--error{border-color:#ff5656}.spop-icon--error:before{top:16px;background-color:#ff5656}.spop-icon--error:after{top:5px;background-color:#ff5656}.spop-icon--success{border:2px solid #2ecc54}.spop-icon--success:before{top:7px;left:7px;width:13px;height:8px;border-bottom:3px solid #2ecc54;border-left:3px solid #2ecc54;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.spop-icon--warning{border:2px solid #fcd000}.spop-icon--warning:before{top:7px;left:7px;width:0;height:0;border-style:solid;border-color:transparent transparent #fcd000;border-width:0 6px 10px}

@ -0,0 +1,93 @@
@CHARSET "UTF-8";
.pt {
position: absolute;
text-align:left;
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #CFCFCF;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.1);
z-index: 2209;
width: auto;
height:auto;
display:none;
}
.pt .cont {
height: auto;
overflow-y: auto;
background-color: #FFFFFF;
padding: 10px;
}
.pt .out, .pt .in {
display: block;
font-family: simsun;
font-size: 0;
height: 0;
overflow: visible;
position: absolute;
width: 0;
}
/*************up*******************/
.pt-up .out, .pt-up .in{
border-style: dashed dashed solid;
}
.pt-up .out {
border-color: transparent transparent #CFCFCF;
border-width: 0 7px 8px;
left: 28px;
top: -8px;
}
.pt-up .in {
border-color: transparent transparent #FFFFFF;
border-width: 0 6px 7px;
left: 29px;
top: -7px;
}
/*************right****************/
.pt-right .out, .pt-right .in {
border-style: dashed dashed dashed solid;
}
.pt-right .out {
border-color: transparent transparent transparent #CFCFCF;
border-width: 8px 0 7px 7px;
right: -7px;
top: 28px;
}
.pt-right .in {
border-color: transparent transparent transparent #FFFFFF;
border-width: 7px 0 6px 6px;
right: -6px;
top: 29px;
}
/*************down*****************/
.pt-down .out, .pt-down .in {
border-style: solid dashed dashed;
}
.pt-down .out {
border-color: #CFCFCF transparent transparent;
border-width: 8px 7px 0;
bottom: -8px;
left: 28px;
top: auto;
}
.pt-down .in {
border-color: #FFFFFF transparent transparent;
border-width: 7px 6px 0;
bottom: -7px;
left: 29px;
top: auto;
}
/*************left*****************/
.pt-left .out, .pt-left .in {
border-style: dashed solid dashed dashed;
}
.pt-left .out {
border-color: transparent #CFCFCF transparent transparent;
border-width: 7px 8px 7px 0;
left: -8px;
top: 28px;
}
.pt-left .in {
border-color: transparent #FFFFFF transparent transparent;
border-width: 6px 7px 6px 0;
left: -7px;
top: 29px;
}

@ -0,0 +1,74 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆的代码--%>
<!DOCTYPE html>
<html>
<title>修改用户信息</title>
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-content-slide ydc-body">
<div class="ydc-flex">
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">帐号设置</li>
</ul>
</div>
<div class="ydc-panes">
<form action="../upload_img" enctype="multipart/form-data" method="post">
<div class="ydc-reg-form-class ydc-reg-form-reg"
style="margin-top: 40px;">
<div class="ydc-reg-form-group clearfix">
<label>姓名:</label>
<div class="ydc-reg-form-input">
<input type="text" id="user4"
class="ydc-form-control" autocomplete="off">
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>电话:</label>
<div class="ydc-reg-form-input">
<input type="text" id="user4"
class="ydc-form-control" autocomplete="off">
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>工作单位:</label>
<div class="ydc-reg-form-input">
<input type="text" id="user4"
class="ydc-form-control" autocomplete="off">
</div>
</div>
</div>
</div>
<div class="ydc-reg-form-group clearfix"
style="margin-top: 40px;">
<div class="ydc-reg-form-button" style="margin-left: 255px;">
<a class="btn fl" >保存</a>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

File diff suppressed because it is too large Load Diff

After

Width:  |  Height:  |  Size: 434 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

File diff suppressed because one or more lines are too long

@ -0,0 +1,171 @@
/**
* jQuery带箭头提示框插件
* email: tianshaojie@msn.com
* date: 2013-01-15
* version: 1.0.0
*/
(function($) {
var max = Math.max,
min = Math.min;
$.pt = $.pureToolTips = function(options) {
var opts = $.extend({
target : null, //目标元素,不能为空
position : 't', //提示框相对目标元素位置 t=top,b=bottom,r=right,l=left
align : 'c', //提示框与目标元素的对齐方式自动调节箭头显示位置指向目标元素中间位置c=center, t=top, b=bottom, l=left, r=right [postion=t|b时align=l|r有效][position=t|b时align=t|d有效]
arrow : true, //是否显示箭头
content : '', //内容
width : 200, //宽度
height : 'auto', //高度
autoClose : true, //是否自动关闭
time : 2000, //自动关闭延时时长
leaveClose : false, //提示框失去焦点后关闭
close : null //关闭回调函数
}, options || {}),
$ao, $ai, w, h,
$pt = $('.pt'),
$target = $(opts.target),
top = $target.offset().top,
left = $target.offset().left,
width = $target.outerWidth(),
height = $target.outerHeight(),
position = opts.position,
align = opts.align,
arrow = opts.arrow,
constant = {b:'pt-up', t:'pt-down', r:'pt-left', l:'pt-right'}, //相对位置正好和箭头方向相反
arrowClass = constant[position] || constant.t;
//初始化元素,事件
function init() {
if(!opts.target) {
return;
}
if(!$pt.length) {
$pt = $('<div class="pt pt-down"><div class="cont"></div><b class="out"></b><b class="in"></b></div>').appendTo(document.body);
}
$pt.removeClass().addClass('pt ' + (arrow ? arrowClass : '')).find('.cont').html(opts.content).css({width:opts.width, height:opts.height});
$ao = $pt.find('.out').toggle(arrow);
$ai = $pt.find('.in').toggle(arrow);
w = $pt.outerWidth();
h = $pt.outerHeight();
arrow && autoAdjust(); //设置箭头自动居中
$pt.css(setPos()).show(); //设置显示框位置和自动隐藏事件
opts.leaveClose && leaveClose();//离开关闭
opts.autoClose && !opts.leaveClose && autoClose(opts.timeout); //默认自动关闭,优先离开关闭
return $pt;
}
//计算提示框应该出现在目标元素位置
function setPos() {
var btw = arrow ? parseInt($ao.css('border-top-width'), 10) : 3,
brw = arrow ? parseInt($ao.css('border-right-width'), 10) : 3,
result = {};
switch(align) {
case 'c': break;
case 't': result.top = top; break;
case 'b': result.top = top + height - h; break;
case 'l': result.left = left; break;
case 'r': result.left = left + width - w; break;
}
switch(position) {
case 't': result.top = top - h - brw; break;
case 'b': result.top = top + height + brw; break;
case 'l': result.left = left - w - btw; break;
case 'r': result.left = left + width + btw; break;
}
result.top || (result.top = top + height/2 - h/2);
result.left || (result.left = left + width/2 - w/2);
return result;
}
//设置箭头自动居中
function autoAdjust() {
var aop, aip, bw, auto='auto';
switch(position) {
case't':
bw = parseInt($ao.css('border-top-width'), 10);
aop = {bottom:-bw, left:w/2-bw, top:auto, right:auto};
alignLR();
aip = {top:auto, left:aop.left+1, bottom:aop.bottom+1, right:auto};
break;
case'b':
bw = parseInt($ao.css('border-bottom-width'), 10);
aop = {top:-bw, left:w/2 - bw, right:auto, bottom:auto};
alignLR();
aip = {top:aop.top+1, left:aop.left+1, bottom:auto, right:auto};
break;
case'l':
bw = parseInt($ao.css('border-left-width'), 10);
aop = {top:h/2 - bw, right:-bw, left:auto, bottom:auto};
alignTB();
aip = {top:aop.top+1, right:aop.right+1, left:auto, bottom:auto};
break;
case'r':
bw = parseInt($ao.css('border-right-width'), 10);
aop = {top:h/2 - bw, left:-bw, right:auto, bottom:auto};
alignTB();
aip = {top:aop.top+1, left:aop.left+1, right:auto, bottom:auto};
break;
}
//上下侧,左右对齐
function alignLR() {
if(align === 'l' && width/2 > bw && width/2 < w-bw) {
aop.left = width/2-bw/2;
} else if(align === 'r' && width/2 > bw && width/2 < w-bw) {
aop.left = w-width/2-bw/2;
}
}
//左右侧,上下对齐
function alignTB() {
if(align === 't' && height/2 > bw && height/2 < h-bw) {
aop.top = height/2 - bw;
} else if(align === 'b' && height/2 > bw && height/2 < h-bw) {
aop.top = h - height/2 - bw;
}
}
$ao.css(aop);
$ai.css(aip);
}
//设置提示框自动关闭
function autoClose() {
window.ptt && clearTimeout(ptt);
window.pta && clearTimeout(pta);
window.pta = setTimeout(function() {
$pt.hide();
$.isFunction(opts.close) && opts.close();
}, opts.time);
}
//设置提示框失去焦点关闭
function leaveClose() {
//先解绑再绑定,不然会形成事件链
$pt.unbind('mouseleave').mouseleave(function(e) {
$pt.hide();
$.isFunction(opts.close) && opts.close();
}).unbind('mouseenter').mouseenter(function() {
window.ptt && clearTimeout(ptt);
});
}
return init();
};
//扩展到包装集上
$.fn.pt = $.fn.pureToolTips = function(options) {
var opts = $.extend({
leaveClose:true
}, options || {});
return this.each(function() {
$(this).mouseenter(function() {
window.ptt && clearTimeout(ptt);
window.pta && clearTimeout(pta);
opts.target = this;
$.pt(opts);
}).mouseleave(function() {
window.ptt = setTimeout(function() {
$('.pt').hide();
$.isFunction(opts.close) && opts.close();
}, 500);
});
});
};
})(jQuery);

@ -0,0 +1,12 @@
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
</body>
</html>

File diff suppressed because one or more lines are too long

@ -0,0 +1,6 @@
/*!
* smallPop 0.1.2 | https://github.com/silvio-r/spop
* Copyright (c) 2015 Sílvio Rosa @silvior_
* MIT license
*/
!function(){"use strict";function t(t,o){return"string"==typeof t?(o||document).getElementById(t):t||null}function o(t,o){t.classList?t.classList.remove(o):t.className=t.className.replace(new RegExp("(^|\\b)"+o.split(" ").join("|")+"(\\b|$)","gi")," ")}function e(t,o){for(var e in o)o.hasOwnProperty(e)&&(t[e]=o[e]);return t}var s,i,p,n,r,c,l,h,a=390,u=function(o,p){if(this.defaults={template:null,style:"info",autoclose:!1,position:"top-right",icon:!0,group:!1,onOpen:!1,onClose:!1},i=e(this.defaults,spop.defaults),"string"==typeof o||"string"==typeof p)s={template:o,style:p||i.style};else{if("object"!=typeof o)return console.error("Invalid arguments."),!1;s=o}this.opt=e(i,s),t("spop--"+this.opt.group)&&this.remove(t("spop--"+this.opt.group)),this.open()};u.prototype.create=function(o){p=t(this.getPosition("spop--",this.opt.position)),n=this.opt.icon?'<i class="spop-icon '+this.getStyle("spop-icon--",this.opt.style)+'"></i>':"",r='<div class="spop-close" data-spop="close" aria-label="Close">&times;</div>'+n+'<div class="spop-body">'+o+"</div>",p||(this.popContainer=document.createElement("div"),this.popContainer.setAttribute("class","spop-container "+this.getPosition("spop--",this.opt.position)),this.popContainer.setAttribute("id",this.getPosition("spop--",this.opt.position)),document.body.appendChild(this.popContainer),p=t(this.getPosition("spop--",this.opt.position))),this.pop=document.createElement("div"),this.pop.setAttribute("class","spop spop--out spop--in "+this.getStyle("spop--",this.opt.style)),this.opt.group&&"string"==typeof this.opt.group&&this.pop.setAttribute("id","spop--"+this.opt.group),this.pop.setAttribute("role","alert"),this.pop.innerHTML=r,p.appendChild(this.pop)},u.prototype.getStyle=function(t,o){return c={success:"success",error:"error",warning:"warning"},t+(c[o]||"info")},u.prototype.getPosition=function(t,o){return l={"top-left":"top-left","top-center":"top-center","top-right":"top-right","bottom-left":"bottom-left","bottom-center":"bottom-center","bottom-right":"bottom-right"},t+(l[o]||"top-right")},u.prototype.open=function(){this.create(this.opt.template),this.opt.onOpen&&this.opt.onOpen(),this.close()},u.prototype.close=function(){this.opt.autoclose&&"number"==typeof this.opt.autoclose&&(this.autocloseTimer=setTimeout(this.remove.bind(this,this.pop),this.opt.autoclose)),this.pop.addEventListener("click",this.addListeners.bind(this),!1)},u.prototype.addListeners=function(t){h=t.target.getAttribute("data-spop"),"close"===h&&(this.autocloseTimer&&clearTimeout(this.autocloseTimer),this.remove(this.pop))},u.prototype.remove=function(t){this.opt.onClose&&this.opt.onClose(),o(t,"spop--in"),setTimeout(function(){document.body.contains(t)&&t.parentNode.removeChild(t)},a)},window.spop=function(t,o){return t&&window.addEventListener?new u(t,o):!1},spop.defaults={}}();

@ -0,0 +1,361 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>注册登录</title>
<link rel="stylesheet" type="text/css" href="css/normalize.css">
<link rel="stylesheet" type="text/css" href="css/login.css">
<link rel="stylesheet" type="text/css" href="css/sign-up-login.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/inputEffect.css" />
<link rel="stylesheet" type="text/css" href="css/tooltips.css" />
<link rel="stylesheet" type="text/css" href="css/spop.min.css" />
<script src="js/jquery.min.js"></script>
<script src="js/snow.js"></script>
<script src="js/jquery.pure.tooltips.js"></script>
<script src="js/spop.min.js"></script>
<script>
(function() {
// trim polyfill : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim
if (!String.prototype.trim) {
(function() {
// Make sure we trim BOM and NBSP
var rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
String.prototype.trim = function() {
return this.replace(rtrim, '');
};
})();
}
[].slice.call( document.querySelectorAll( 'input.input__field' ) ).forEach( function( inputEl ) {
// in case the input is already filled..
if( inputEl.value.trim() !== '' ) {
classie.add( inputEl.parentNode, 'input--filled' );
}
// events:
inputEl.addEventListener( 'focus', onInputFocus );
inputEl.addEventListener( 'blur', onInputBlur );
} );
function onInputFocus( ev ) {
classie.add( ev.target.parentNode, 'input--filled' );
}
function onInputBlur( ev ) {
if( ev.target.value.trim() === '' ) {
classie.remove( ev.target.parentNode, 'input--filled' );
}
}
})();
$(function() {
$('#login #login-password').focus(function() {
$('.login-owl').addClass('password');
}).blur(function() {
$('.login-owl').removeClass('password');
});
$('#login #register-password').focus(function() {
$('.register-owl').addClass('password');
}).blur(function() {
$('.register-owl').removeClass('password');
});
$('#login #register-repassword').focus(function() {
$('.register-owl').addClass('password');
}).blur(function() {
$('.register-owl').removeClass('password');
});
$('#login #forget-password').focus(function() {
$('.forget-owl').addClass('password');
}).blur(function() {
$('.forget-owl').removeClass('password');
});
});
function goto_register(){
$("#register-username").val("");
$("#register-password").val("");
$("#register-repassword").val("");
$("#register-code").val("");
$("#tab-2").prop("checked",true);
}
function goto_login(){
$("#login-username").val("");
$("#login-password").val("");
$("#tab-1").prop("checked",true);
}
function login(){//登录
var username = $("#login-username").val(),
password = $("#login-password").val(),
validatecode = null,
flag = false;
//判断用户名密码是否为空
if(username == ""){
$.pt({
target: $("#login-username"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"手机号不能为空"
});
flag = true;
}
if(password == ""){
$.pt({
target: $("#login-password"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"密码不能为空"
});
flag = true;
}
//用户名只能是15位以下的字母或数字
var regExp = new RegExp("^[a-zA-Z0-9_]{1,15}$");
if(!regExp.test(username)){
$.pt({
target: $("#login-username"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"手机号不能为空"
});
flag = true;
}
if(flag){
return false;
}else{
return true;
}
}
//注册
function register(){
var username = $("#register-username").val(),
password = $("#register-password").val(),
repassword = $("#register-repassword").val(),
code = $("#register-code").val(),
flag = false,
validatecode = null;
//判断用户名密码是否为空
if(username == ""){
$.pt({
target: $("#register-username"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"用户名不能为空"
});
flag = true;
}
if(password == ""){
$.pt({
target: $("#register-password"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"密码不能为空"
});
flag = true;
}else{
if(password != repassword){
$.pt({
target: $("#register-repassword"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"两次输入的密码不一致"
});
flag = true;
}
}
//用户名只能是15位以下的字母或数字
var regExp = new RegExp("^[a-zA-Z0-9_]{1,15}$");
if(!regExp.test(username)){
$.pt({
target: $("#register-username"),
position: 'r',
align: 't',
width: 'auto',
height: 'auto',
content:"用户名必须为15位以下的字母或数字"
});
flag = true;
}
//检查用户名是否已经存在
//调后台代码检查用户名是否已经被注册
if(flag){
return false;
}else{//注册
return true;
}
}
</script>
<style type="text/css">
html{width: 100%; height: 100%;}
body {
background: url(images/mylogo.jpg) no-repeat center 0px;
background-position: center 0;
background-size: cover;
}
.snow-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100001; }
</style>
</head>
<body>
<div class=""></div>
<!-- 登录控件 -->
<div id="login">
<input id="tab-1" type="radio" name="tab" class="sign-in hidden" checked />
<input id="tab-2" type="radio" name="tab" class="sign-up hidden" />
<input id="tab-3" type="radio" name="tab" class="sign-out hidden" />
<div class="wrapper">
<!-- 登录页面 -->
<div class="login sign-in-htm">
<form action="../login_reg" onSubmit="return login(this);" method="post" class="container offset1 loginform">
<div>
<div class="hand"></div>
<div class="hand hand-r"></div>
<div class="arms">
<div class="arm"></div>
<div class="arm arm-r"></div>
</div>
</div>
<div class="pad input-container">
<section class="content">
<span class="input input--hideo">
<input name="log_name" class="input__field input__field--hideo" type="text" id="login-username"
autocomplete="off" placeholder="请输入手机号" tabindex="1" maxlength="15" />
<label class="input__label input__label--hideo" for="login-username">
<i class="fa fa-fw fa-user icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="log_pwd" class="input__field input__field--hideo" type="password" id="login-password" placeholder="请输入密码" tabindex="2" maxlength="15"/>
<label class="input__label input__label--hideo" for="login-password">
<i class="fa fa-fw fa-lock icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
</section>
</div>
<div class="form-actions">
<a tabindex="5" class="btn btn-link text-muted" onClick="goto_register()">注册</a>
<input class="btn btn-primary" type="submit" tabindex="3" value="登录"
style="color:white;"/>
</div>
</form>
</div>
<!-- 注册页面 -->
<div class="login sign-up-htm">
<form action="../login_reg" onSubmit="return register(this)" method="post" class="container offset1 loginform">
<div >
<div class="hand"></div>
<div class="hand hand-r"></div>
<div class="arms">
<div class="arm"></div>
<div class="arm arm-r"></div>
</div>
</div>
<div class="pad input-container">
<section class="content">
<span class="input input--hideo">
<input name="reg_name" class="input__field input__field--hideo" type="text" id="register-username"
autocomplete="off" placeholder="请输入手机号" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-username">
<i class="fa fa-fw fa-user icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="reg_p_id" class="input__field input__field--hideo" type="text" id="register-username"
autocomplete="off" placeholder="请输入身份证号" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-username">
<i class="fa fa-fw fa-user icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="reg_p_name" class="input__field input__field--hideo" type="text" id="register-username"
autocomplete="off" placeholder="请输入姓名" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-username">
<i class="fa fa-fw fa-user icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="reg_p_sex" class="input__field input__field--hideo" type="text" id="register-username"
autocomplete="off" placeholder="请输入性别" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-username">
<i class="fa fa-fw fa-user icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="reg_p_work" class="input__field input__field--hideo" type="text" id="register-username"
autocomplete="off" placeholder="请输入工作单位" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-username">
<i class="fa fa-fw fa-user icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="reg_pwd1" class="input__field input__field--hideo" type="password" id="register-password" placeholder="请输入密码" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-password">
<i class="fa fa-fw fa-lock icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
<span class="input input--hideo">
<input name="reg_pwd2" class="input__field input__field--hideo" type="password" id="register-repassword" placeholder="请确认密码" maxlength="15"/>
<label class="input__label input__label--hideo" for="register-repassword">
<i class="fa fa-fw fa-lock icon icon--hideo"></i>
<span class="input__label-content input__label-content--hideo"></span>
</label>
</span>
</section>
</div>
<div class="form-actions">
<a class="btn pull-left btn-link text-muted" onClick="goto_login()">返回登录</a>
<input class="btn btn-primary" type="submit" value="注册"
style="color:white;"/>
</div>
</form>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
session.setAttribute("user_id", null);
response.sendRedirect("/air_ticket_book/index/login_reg.jsp");
%>

@ -0,0 +1,125 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>机票列表</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">机票列表</li>
</ul>
</div>
<h4><div class="container" style=" margin-top: 40px;">本人机票</div></h4>
<div class="container bg-gray-eee box-shadow mar-bottom-30"
style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 20px;">
<table border="0" cellspacing="0" cellpadding="0"
class="table table-hover table-striped font12 table-bordered v-align-top">
<tr>
<th style="width:8%;">机票号</th>
<th style="width:8%;">航班号</th>
<th style="width:6%;">座位号</th>
<th style="width:6%;">乘机人</th>
<th style="width:10%;">起飞日期</th>
<th style="width:13%;">飞行时间</th>
<th style="width:23%;">飞行地点</th>
<th style="width:6%;">价格</th>
<th style="width:8%;">是否付款</th>
</tr>
<%
db_conn conn=new db_conn();
String user_id=session.getAttribute("user_id").toString();
String sql="select * from ticket_view where p_tel='"+user_id+"'";
ResultSet res=conn.executeQuery(sql);
while(res.next()){
%>
<tr>
<td><%=res.getString(1) %></td>
<td><%=res.getString(2) %></td>
<td><%=res.getString(6) %></td>
<td><%=res.getString(14) %></td>
<td><%=res.getString(3) %></td>
<td><%=res.getString(11) %>-<%=res.getString(12) %></td>
<td><%=res.getString(7) %>(<%=res.getString(9) %>)-<%=res.getString(8) %>(<%=res.getString(10) %>)</td>
<td><%=res.getString(13) %></td>
<td><%if(res.getString(18).equals("0")) {out.println("未付款"); }
else {out.println("已付款");} %></td>
</tr>
<%
}
%>
</table>
</div>
<h4><div class="container" style=" margin-top: 90px;">为他人订购的机票</div></h4>
<div class="container bg-gray-eee box-shadow mar-bottom-30"
style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 30px;">
<table border="0" cellspacing="0" cellpadding="0"
class="table table-hover table-striped font12 table-bordered v-align-top">
<tr>
<th style="width:8%;">机票号</th>
<th style="width:8%;">航班号</th>
<th style="width:6%;">座位号</th>
<th style="width:6%;">乘机人</th>
<th style="width:10%;">起飞日期</th>
<th style="width:13%;">飞行时间</th>
<th style="width:23%;">飞行地点</th>
<th style="width:6%;">价格</th>
<th style="width:8%;">是否付款</th>
</tr>
<%
conn=new db_conn();
user_id=session.getAttribute("user_id").toString();
String sql2="select * from ticket_view where p_id2 in "+
"(select p_id from p_inf where p_tel='"+user_id+"') and p_id != p_id2 ";
ResultSet res2=conn.executeQuery(sql2);
while(res2.next()){
%>
<tr>
<td><%=res2.getString(1) %></td>
<td><%=res2.getString(2) %></td>
<td><%=res2.getString(6) %></td>
<td><%=res2.getString(14) %></td>
<td><%=res2.getString(3) %></td>
<td><%=res2.getString(11) %>-<%=res2.getString(12) %></td>
<td><%=res2.getString(7) %>(<%=res2.getString(9) %>)-<%=res2.getString(8) %>(<%=res2.getString(10) %>)</td>
<td><%=res2.getString(13) %></td>
<td><%if(res2.getString(18).equals("0")) {out.println("未付款"); }
else {out.println("已付款");} %></td>
</tr>
<%
}
%>
</table>
</div>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,54 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>机票付款</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">付款</li>
</ul>
</div>
<div class="ydc-reg-form-group clearfix" style="margin-top: 30px;">
<label>请输入机票号:</label>
<div class="ydc-reg-form-input">
<input type="t_id" id="user4"
class="ydc-form-control" autocomplete="off">
</div>
</div>
</div>
<form action="/air_ticket_book/index/order_pay_success.jsp" enctype="multipart/form-data" method="post">
<div class="ydc-reg-form-group">
<div class="ydc-reg-form-button" style="margin-left: 255px;">
<input type="submit" value="点击付款">
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,35 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>成功支付界面</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">提示</li>
</ul>
</div>
<h4><div style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 50px; margin-left: 50px;">
支付成功!
</div> </h4>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,120 @@
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<jsp:useBean id="img_url" class="javabean.get_img" scope="session" />
<jsp:setProperty property="user_id" name="img_url" value="<%=session.getAttribute(\"user_id\") %>"/>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
<title>机票打印</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/common.css" rel="stylesheet">
<link href="css/corptravel.css" rel="stylesheet">
<link href="css/enterprise.css" rel="stylesheet">
<link href="css/iconfont.css" rel="stylesheet">
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</head>
<body>
<div class="ydc-content-slide ydc-body">
<div class="ydc-flex">
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">机票打印</li>
</ul>
</div>
<%
db_conn conn=new db_conn();
String user_id=session.getAttribute("user_id").toString();
String t_id="10001323991";//之后修改成读取到的机票号
String sql="select * from ticket_view where t_id='"+t_id+"'";
ResultSet res=conn.executeQuery(sql);
while(res.next()){
if(res.getString(18).equals("0")) //未付款
{%><h3><div style="margin-left:30px; margin-top:30px;">该机票尚未付款,请付款后再来打印</div></h3>
<% break;}
String flight_id=res.getString(2);
String t_d=res.getString(3);//起飞日期
String p_id=res.getString(4);//身份证号
String t_s=res.getString(6);//座位号
String s_p=res.getString(7);
String e_p=res.getString(8);
String s_a=res.getString(9);
String e_a=res.getString(10);
String t_t=res.getString(11);//起飞时间
String l_t=res.getString(12);//到达时间
String p_name=res.getString(14);//持票人
%>
<div class="container bg-gray-eee box-shadow mar-bottom-30"
style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 20px;">
<div class="col-sm-7 container bg-gray-eee pad-bottom-20"
style="margin-top: 30px; margin-bottom: 30px;">
</div>
<div class="col-sm-5 bg-gray-eee">
<div style="margin-left: -15px;margin-top: 110px;">
<h3 style="overflow: hidden; margin-left: 30px;">
<span style="display: block; float: left; margin-left:20px;">机票号<br><%=t_id%></span>
<span style="display: block; float: left; margin-left:60px;">起飞日期<br><%=t_d%></span>
<span style="display: block; float: left; margin-left:80px;">持票人<br><%=p_name%></span>
<span style="display: block; float: left; margin-left:-212px;"><br><br><br>机型<br><%=flight_id%></span>
<span style="display: block; float: left; margin-left:-50px;"><br><br><br>座位号<br><%=t_s%></span>
</h3>
</div>
</div>
<h1>
<span style="display: block; float: left; margin-left: 540px; margin-top:-100px;"><%=s_p+" "%>——<%=" "+e_p %></span>
<span style="display: block; float: right; color: #999; font-size: 20px; margin-right: 5px;"></span>
</h1>
<div class="flight-from" style="margin-top:0px;margin-left: 460px; float: left ">
<span class="time text-center"><%=t_t %></span><br />
<span class="text-center"><%=s_a %></span>
</div>
<div class="flight-info" style="float: left; margin-bottom: 290px; margin-left: 30px;">
<img src="../default/images/a.png"> <span class="font12 gray-999">2h35m</span>
<img src="../default/images/b.png"><br /> <img src="../default/images/c.png" class="mar-left-30;"> <span
class="text-center font12 gray-999">乘坐<%=flight_id %></span><br /> <span
class="airline-direct"></span> <span class="arrow"></span>
</div>
<div class="flight-to" style="margin-top: 0px; margin-right: 110px;float: right">
<span class="time text-center"><%=l_t %></span><br /> <span
class="text-center"><%=e_a %></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<% } %>
</body>
</html>

@ -0,0 +1,54 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>机票打印</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">机票打印</li>
</ul>
</div>
<div class="ydc-reg-form-group clearfix" style="margin-top: 30px;">
<label>请输入机票号:</label>
<div class="ydc-reg-form-input">
<input type="t_id" id="user4"
class="ydc-form-control" autocomplete="off">
</div>
</div>
</div>
<form action="/air_ticket_book/index/order_print.jsp" enctype="multipart/form-data" method="post">
<div class="ydc-reg-form-group">
<div class="ydc-reg-form-button" style="margin-left: 255px;">
<input type="submit" value="点击打印">
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,74 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆的代码--%>
<jsp:useBean id="img_url" class="javabean.get_img" scope="session" />
<%session.setAttribute("url", request.getRequestURI());
session.setAttribute("p_tel",session.getAttribute("user_id"));
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>修改关联旅客</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-content-slide ydc-body">
<div class="ydc-flex">
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">增添关联旅客</li>
</ul>
</div>
<div class="ydc-panes">
<form method="post" action="/air_ticket_book/ptp">
<div class="ydc-reg-form-class ydc-reg-form-reg"
style="margin-top: 40px;">
<div class="ydc-reg-form-group clearfix">
<label>姓名:</label>
<div class="ydc-reg-form-input">
<input name="name" type="text"
class="ydc-form-control" autocomplete="off">
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>电话:</label>
<div class="ydc-reg-form-input">
<input name="tel" type="text"
class="ydc-form-control" autocomplete="off">
</div>
</div>
</div>
<div class="ydc-reg-form-group clearfix" style="margin-top: 40px;color:#414582;">
<div class="ydc-reg-form-button" style="margin-left: 350px;color:#414582;">
<button class="btn fl" style="color:#414582;" type="submit" value="提交">确认增添</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,35 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>成功修改界面</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">提示</li>
</ul>
</div>
<div style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 50px; margin-left: 50px;">
<h4>修改关联旅客成功!</h4>
</div>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,81 @@
<%@page import="java.sql.ResultSet"%>
<%@page import="javabean.db_conn"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="../default/css/bootstrap.min.css" rel="stylesheet">
<link href="../default/css/common.css" rel="stylesheet">
<link href="../default/css/corptravel.css" rel="stylesheet">
<title>关联旅客信息</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
</head>
<body>
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">关联旅客</li>
</ul>
</div>
<div class="container bg-gray-eee box-shadow mar-bottom-30"
style="padding-right: 0px; padding-left: 0px; position: relative; margin-top: 50px; margin-left: 50px;">
<table border="0" cellspacing="0" cellpadding="0"
class="table table-hover table-striped font12 table-bordered v-align-top">
<tr>
<th style="width:10%;">姓名</th>
<th style="width:10%;">身份证号</th>
<th style="width:10%;">电话</th>
<th style="width:10%;">性别</th>
<th style="width:10%;">工作单位</th>
<th style="width:10%;">操作</th>
</tr>
<%
db_conn conn=new db_conn();
String user_id=session.getAttribute("user_id").toString();
String sql="select * from p_inf where p_id in "+
"(select p_id2 from ptp where p_id in "+
"(select p_id from p_inf where p_tel='"+user_id+"'))";
ResultSet res=conn.executeQuery(sql);
while(res.next()){
String p_id2=res.getString(1);
%>
<tr>
<td><%=res.getString(2) %></td>
<td><%=p_id2 %></td>
<td><%=res.getString(3) %></td>
<td><%=res.getString(4) %></td>
<td><%=res.getString(5) %></td>
<td><a style="color:#414582;" href="/air_ticket_book/del_ptp?p_id2=<%=p_id2%>">删除</a></td>
</tr>
<%
}
%>
</table>
</div>
<div class="ydc-reg-form-group clearfix" style="margin-top: 40px;">
<div class="ydc-reg-form-button" style="margin-left: 355px;">
<a class="btn fl" href="/air_ticket_book/index/ptp_change.jsp">增添关联旅客</a>
</div>
</div>
</div>
</div>
</body>
</html>

@ -0,0 +1,103 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证用户是否登录的代码 --%>
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<jsp:useBean id="img_url" class="javabean.get_img" scope="session" />
<jsp:setProperty property="user_id" name="img_url" value="<%=session.getAttribute(\"user_id\") %>"/>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>用户中心</title>
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/icon.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
<%!String user_name;%>
</head>
<body>
<%
db_conn conn=new db_conn();
String sql="select * from p_inf where p_tel='"+session.getAttribute("user_id")+"'";
ResultSet res=conn.executeQuery(sql);
if(res.next())
user_name=res.getString(2);
%>
<div class="ydc-entered" style="height:11%;width:100%;">
<div class="ydc-header-content ydc-flex">
<div class="ydc-column">
<div class="ydc-column-user">
<div class="ydc-user-photo">
<a href="javascript:;">
</a>
</div>
<div class="ydc-user-info">
<div class="ydc-user-info-func ydc-flex">
<span class="ydc-mal">
您好,<%=user_name %>
</span>
<span class="ydc-mal"></span> <a
href="/air_ticket_book/index/logout.jsp">退出</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="ydc-content-slide ydc-body" style="height:86%;">
<div class="ydc-flex" style="height:100%;">
<!-- left begin -->
<div class="ydc-column ydc-column-2">
<div class="ydc-menu">
<ul>
<li class="ydc-menu-item"><span class="ydc-menu-sub-title">
<i class="ydc-icon ydc-icon-home fl "></i>首页
</span>
<ul>
<li><a target="frame" href="/air_ticket_book/index/user_info.jsp" >个人资料</a></li>
<li><a target="frame" href="/air_ticket_book/index/edit_info.jsp" >修改信息</a></li>
<li><a target="frame" href="/air_ticket_book/index/ptp_info.jsp" >关联旅客</a></li>
<li><a target="frame" href="/air_ticket_book/index/ptp_change.jsp" >增添关联旅客</a></li>
</ul></li>
<li class="ydc-menu-item">
<span class="ydc-menu-sub-title">
<i class="ydc-icon ydc-icon-record fl"></i>订单
</span>
<ul>
<li><a target="frame" href="/air_ticket_book/index/order_list.jsp" >机票列表</a></li>
<li><a target="frame" href="/air_ticket_book/index/order_pay.jsp" >付款</a></li>
<li><a target="frame" href="/air_ticket_book/index/order_print_check.jsp" >机票打印</a></li>
</ul>
</li>
<li class="ydc-menu-item"><span class="ydc-menu-sub-title">
<i class="ydc-icon ydc-icon-file fl"></i>管理
</span>
<ul>
<li><a href="/air_ticket_book/default/index.jsp" >返回首页</a></li>
</ul></li>
</ul>
</div>
</div>
<!-- left end -->
<!-- right start 用户中心初始状态为显示用户信息 -->
<div style="width:76%;height:100%;">
<iframe name="frame" scrolling="auto" width="100%" height="100%" frameborder="0" src="/air_ticket_book/index/user_info.jsp"></iframe>
</div>
<!-- right end -->
</div>
</div>
</body>
</html>

@ -0,0 +1,98 @@
<%@page import="javabean.db_conn"%>
<%@page import="java.sql.ResultSet"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="verify_login.jsp" %><%--包含验证登陆代码--%>
<jsp:useBean id="img_url" class="javabean.get_img" scope="session" />
<jsp:setProperty property="user_id" name="img_url" value="<%=session.getAttribute(\"user_id\") %>"/>
<!DOCTYPE html>
<html>
<title>用户个人信息</title>
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/core.css">
<link type="text/css" rel="stylesheet" href="/air_ticket_book/index/css/home.css">
<%! String user_name,p_id,p_work,p_sex;%>
</head>
<body>
<%
db_conn conn=new db_conn();
String sql="select * from p_inf where p_tel='"+session.getAttribute("user_id")+"'";
ResultSet res=conn.executeQuery(sql);
if(res.next())
{
user_name=res.getString(2);
p_id=res.getString(1);
p_work=res.getString(5);
p_sex=res.getString(4);
}
%>
<div class="ydc-content-slide ydc-body">
<div class="ydc-flex">
<!-- right begin -->
<div class="ydc-column ydc-column-8">
<div class="ydc-release-content">
<div class="ydc-tabPanel ydc-tabPanel-release">
<div class="ydc-release-tab-head">
<ul>
<li class="hit">个人资料</li>
</ul>
</div>
<div class="ydc-panes">
<div class="ydc-pane ydc-pane-clear" style="display: block;">
<div class="ydc-reg-form-group clearfix">
<label>电话号码</label>
<div class="ydc-reg-form-input">
<label><%=session.getAttribute("user_id") %></label>
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>姓名</label>
<div class="ydc-reg-form-input">
<label><%=user_name %></label>
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>身份证号</label>
<div class="ydc-reg-form-input">
<label><%=p_id %></label>
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>性别</label>
<div class="ydc-reg-form-input">
<label><%=p_sex %></label>
</div>
</div>
<div class="ydc-reg-form-group clearfix">
<label>工作单位</label>
<div class="ydc-reg-form-input">
<label><%=p_work %></label>
</div>
</div>
<div class="ydc-reg-form-group clearfix"
style="margin-top: 40px;">
<div class="ydc-reg-form-button" style="margin-left: 255px;">
<a class="btn fl" href="/air_ticket_book/index/edit_info.jsp">修改</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- right end -->
</div>
</div>
</body>
</html>

@ -0,0 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
if(session.getAttribute("user_id")==null){
response.sendRedirect("/air_ticket_book/user_center");
//写成绝对路径,防范错误发生
}
%>

@ -0,0 +1,93 @@
package javabean;
/********************
*@IDE eclipse
*@jdk 1.8.0_161
*********************/
import java.sql.*;
public class db_conn {
public Connection conn = null;
public ResultSet res = null;
public Statement st = null;
//数据库初始化连接
public db_conn() {
String URL="jdbc:mysql://localhost:3307/fly_ticket?useSSL=false&useUnicode=true&characterEncoding=UTF8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC"; //数据库名3306
String USER="root"; //数据库用户名
String PWD="123456"; //数据库密码
try{
Class.forName("com.mysql.cj.jdbc.Driver");
}catch(ClassNotFoundException e){
System.out.println("加载驱动失败");
System.out.println(e);
}
try{
conn = DriverManager.getConnection(URL,USER,PWD);
// System.out.println("success");
st=conn.createStatement();
}catch(SQLException e){
System.out.println("连接数据库失败");
System.out.println(e);
}
}
//向数据库中添加数据
public int executeInsert(String sql){
int num=0;
try{
num=st.executeUpdate(sql);
}
catch(SQLException e){
System.out.println("添加数据出错信息:"+e.getMessage());
}
return num;
}
//从数据库中查询数据
public ResultSet executeQuery(String sql){
res=null;
try{
res=st.executeQuery(sql);
}
catch(SQLException e){
System.out.print("查询出错信息:"+e.getMessage());
}
return res;
}
//更新数据
public int Update(String sql){
int num=0;
try{
num=st.executeUpdate(sql);
}catch(SQLException ex){
System.out.print("执行修改有错误:"+ex.getMessage());
}
return num;
}
//删除数据
public int executeDelete(String sql){
int num=0;
try{
num=st.executeUpdate(sql);
}
catch(SQLException e){
System.out.print("执行删除有错误:"+e.getMessage());
}
return num;
}
//关闭数据库连接
public void closeDB(){
try{
st.close();
conn.close();
}
catch(Exception e){
System.out.print("执行关闭Connection对象有错误:"+e.getMessage());
}
}
}

@ -0,0 +1,61 @@
package javabean;
public class flight { //航班类
private String f_n=null;//航班号
private String f_s_p=null;//起飞地点
private String f_a_p=null;//飞行终点
private String f_s_a=null;//起飞机场
private String f_a_a=null;//到达机场
private String f_s_t=null;//起飞时间
private String f_a_t=null;//到达时间
private String f_p=null;//票价
public String getF_n() {
return f_n;
}
public void setF_n(String f_n) {
this.f_n = f_n;
}
public String getF_s_p() {
return f_s_p;
}
public void setF_s_p(String f_s_p) {
this.f_s_p = f_s_p;
}
public String getF_a_p() {
return f_a_p;
}
public void setF_a_p(String f_a_p) {
this.f_a_p = f_a_p;
}
public String getF_s_a() {
return f_s_a;
}
public void setF_s_a(String f_s_a) {
this.f_s_a = f_s_a;
}
public String getF_a_a() {
return f_a_a;
}
public void setF_a_a(String f_a_a) {
this.f_a_a = f_a_a;
}
public String getF_s_t() {
return f_s_t;
}
public void setF_s_t(String f_s_t) {
this.f_s_t = f_s_t;
}
public String getF_a_t() {
return f_a_t;
}
public void setF_a_t(String f_a_t) {
this.f_a_t = f_a_t;
}
public String getF_p() {
return f_p;
}
public void setF_p(String f_p) {
this.f_p = f_p;
}
}

@ -0,0 +1,85 @@
package servlet;
import java.io.IOException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import javabean.db_conn;
import javabean.flight;
public class search_fly extends HttpServlet {
private static final long serialVersionUID = 1L;
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
HttpSession session = req.getSession();
String url=null;
if(session.getAttribute("url")!=null) {
url=session.getAttribute("url").toString();
}else {
url="default/index.jsp";
}
resp.sendRedirect(url);
}
protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
req.setCharacterEncoding("utf-8");
String url=null;
url="default/index.jsp";
String departure=null;
String destination=null;
departure=req.getParameter("departure");
destination=req.getParameter("destination");
String sql=null;
if(departure==""&&destination=="") {
//如果始发地和目的地都为空则跳转回原页面
resp.sendRedirect(url);
}else if (departure!=""&&destination=="") {
sql="select * from flight where f_s_p='"+departure+"'";
}else if (departure==""&&destination!="") {
sql="select * from flight where f_a_p='"+destination+"'";
}else if (departure!=""&&destination!="") {
sql="select * from flight where f_s_p='"+departure+"' and f_a_p='"+destination+"'";
}
if(departure==""&&destination=="") {
}else {
db_conn conn=new db_conn();
ArrayList<flight> flightlist = new ArrayList<flight>();
ResultSet res=conn.executeQuery(sql);
try {
while (res.next()) {
flight flight_info=new flight();
flight_info.setF_n(res.getString(1));
flight_info.setF_s_p(res.getString(2));
flight_info.setF_a_p(res.getString(3));
flight_info.setF_s_a(res.getString(4));
flight_info.setF_a_a(res.getString(5));
flight_info.setF_s_t(res.getString(6));
flight_info.setF_a_t(res.getString(7));
flight_info.setF_p(res.getString(8));
flightlist.add(flight_info);
}
req.setAttribute("flightlist", flightlist);
} catch (SQLException e) {
System.out.println("错误信息:"+e);
}finally {
conn.closeDB();
}
req.getRequestDispatcher("default/search.jsp").forward(req, resp);
}
}
}
Loading…
Cancel
Save