Complete Java + spring backstage management system

Main technical frameworks: spring, springmvc, springboot, mybatis, jquery, templates, bootstart JS # tomcat, maven, interceptor, etc

Main functions:

Main functions of the front end:

Cinema home page, rotating picture display, movie viewing, popular cinemas, popular movies, popular information, cinema viewing, movie information viewing, movie information details viewing, viewing sessions, movie seat selection and ticket purchase, movie comments, order payment, viewing order information, help instructions, personal center, my movie reviews, my account balance, etc

Main functions of the background:

View the big data information in the tree view of the background home page, and make statistics on the individual data of the cinema. The main statistics include the statistical display of data such as, admission to the cinema, number of sessions, registered users, order information, number of screenings, recharge, box office, etc.

The specific business modules are:

System setting, menu management, user management, role management, log management, regional information management, film management, evaluation management, cinema management, film making management, information management, information classification management, user management, order management, payment management, etc

Main screenshots:

Front desk cinema home page:

The project starts to enter the movie home page, mainly to view the movie rotation information, popular movies, popular cinemas and information. Users can log in and register, and view personal information, orders, help center and other specific function operations after logging in.

Movie information:

Click movie information to view the movie information that is currently being or will be released, you can view the list, and click to view the details

Movie details:

The movie details module is mainly used to view movie details, online voting function or view and evaluate movie information

Film evaluation:

Users can view the specific seat selection information and evaluate the movie

Seat selection function:

Users click seat selection and ticket purchase to enter the ticket purchase page, select the number of sessions, seat selection, payment and submit orders

Main front end code design of seat selection:

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=990, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit">
    <title>Ticket Eye movie_Movie online seat selection and ticket purchase platform</title>
    <meta name="keywords" content="Cat's eye movie ticket,Cat's eye movie ticket network,Cat's eye cinema,Cat eye shadow ticket,Cat's eye movie,Movie ticket"/>
    <meta name="description" content="Cat's eye movie ticket network is the largest online seat selection platform for cat's eye movie tickets. At the same time, cat's eye movie ticket network also provides film scheduling, cinema information query, cat's eye local film industry information and other services. See a movie, come to the cat's eye ticket"/>
    <#include "../common/head-css.ftl"/>
    <link href="/home/css/jquery.jPages.css" rel="stylesheet" />
</head>
<body>
	<#include "../common/header.ftl"/> 
<div id="body" class="main">
<div class="wrapper-film-chooseseat">
    <div class="tip-nav-choosseeat">
        <ul>
            <li class="wd1">1.Select movie sessions</li>
            <li class="wd2 act">2.Online seat selection</li>
            <li class="wd3">3.Confirm order payment</li>
            <li class="wd4">4.Cinema tickets</li>
        </ul>
    </div>
    <div class="fiml-chooseseat fn-clear">
        <div class="film-choose-seat">
            <div class="bg_screen clearfix"><span>Screen</span></div>
            <div class="seat-description fn-acenter">
                <p class="fn-clear">
                    <img src="/home/images/seat_able.png" /><span>Optional</span>
                    <img class="pl10" src="/home/images/seat_seled.png" /><span>Selected</span>
                    <img class="pl10" src="/home/images/seat_unable.png" /><span>Sold </span>
                    <img class="pl10" src="/home/images/seat_love.png" />
                    <img src="/home/images/seat_love.png" /><span>Lovers seat</span>
                    </p>
            </div>
            <div class="box-seat-des">
                <div id="seatcontainer">
                	<table id="seattable" class="seatdt">
                		<tbody>
                			<#list cinemaHallSeatList as cinemaHallSeat>
		                      <#if cinemaHallSeat.x == 1>
		                      <tr>
		                      </#if>
                				<td class="show-seat" style="width:38px;position:relative;cursor:pointer;padding-bottom:5px;" seatcol="${cinemaHallSeat.x}" seatrow="${cinemaHallSeat.y}" seatno="${cinemaHallSeat.id}" status="${cinemaHallSeat.status}" type="${cinemaHallSeat.type}" onclick="seatClick(this)">
                					<div class="seatno" style="width:38px;top:6px;"><#if cinemaHallSeat.status == 1 && cinemaHallSeat.type == 1>${cinemaHallSeat.x}</#if></div>
                					<#if cinemaHallSeat.status == 1>
                					<#if cinemaHallSeat.type == 2>
                					<img style="z-index:120;" width="38px" height="30px" src="/home/images/seat_love.png">
                					<#else>
                					<img style="z-index:120;" width="38px" height="30px" src="/home/images/seat_able.png">
                					</#if>
                					<#else>
                					<img style="z-index:120;" width="38px" height="30px" src="/home/images/seat_unable.png">
                					</#if>
                				</td>
                			  <#if cinemaHallSeat.x == cinemaHallSession.cinemaHall.maxX>
		                      </tr>
		                      </#if>
		                    </#list>
                		</tbody>
                	</table>
                </div>
            </div>
            <table id="indextable" class="seatdt">
            	<tbody>
            		<#list 1..cinemaHallSession.cinemaHall.maxY as y>
            		<tr style="height:35px;">
            			<td align="center" valign="middle">${y}</td>
            		</tr>
            		</#list>
            	</tbody>
            </table>
        </div>
        <div class="box-film-info">
            <div class="film-info">
                <h2>${cinemaHallSession.movie.name}</h2>
                <p>Film length: ${cinemaHallSession.movie.time}minute</p>
                <p>Language: ${cinemaHallSession.movie.language.getName()}</p>
                <span class="pic"><img src="/photo/view?filename=${cinemaHallSession.movie.mainPic}" width="72" height="100" /></span>
            </div>
            <div class="film-detail">
                <p><span class="cor999">cinema:</span><span>${cinemaHallSession.cinema.name}</span></p>
                <p><span class="cor999">Cinema:</span><span>${cinemaHallSession.cinemaHall.name}</span></p>
                <p><span class="cor999">Ticket Price:</span><span>${cinemaHallSession.newPrice} element/Zhang</span></p>
                <div class="screen-info fn-clear">
                    <span class="cor999">Sessions:</span>
                    <span class="red">${cinemaHallSession.startTime}</span>
                    <span class="change-showtime"></span>
                    <div class="box-screen-today">
                    </div>
                </div>
                <div class="box-seatchoose">
                    <div id="seatchoose" class="fn-clear">
                        <div id="lblmsg" class="cor999">Please choose a seat</div>
                    </div>
                    <p class="tip">Selected<em>0</em>Seats. Click the seat again to cancel</p>
                    <span class="tg cor999">Seats:</span>
                </div>
                
            </div>
            <div class="choose-result">
                <p class="total"><span class="cor999">total:</span><strong>0</strong><em class="fn-bold">element</em></p>
                <p><a class="btn" id="btnconfirm" href="javascript:void(0)">Buy tickets now</a></p>
            </div>
        </div>
    </div>
    <div class="tip-description-choosseeat">
        <h3><span class="titb">instructions</span></h3>
        <p>
            1.Select the seat you want to reserve and click repeatedly to cancel the selected seat.<br />
            2.Up to 4 movie tickets can be purchased for each order, and lovers' seats are not only sold.<br />
            3.When choosing seats, please try to choose adjacent seats. Please do not leave a single seat.<br />
            4.Please complete the payment within 15 minutes after placing the order, and the seat will not be reserved in the overtime system.<br />
            5.After the movie ticket is sold, it is not supported to return and exchange temporarily.<br />
            6.For all inquiries arising from the ticket purchase process, please call the customer's telephone number 400-660-5335. 
        </p>
    </div>
</div>
</div>
<#include "../common/footer-js.ftl"/> 
<script src="/home/js/jquery.jPages.min.js" type="text/javascript"></script>
<#include "../common/footer.ftl"/> 
<#include "../common/login-dialog.ftl"/>
<script type="text/javascript">
$(document).ready(function(){
	 //place order
	 $("#btnconfirm").click(function(){
	 	if(selectedSeats == null || selectedSeats == 'undefined'){
	 		alert('Please select at least one seat!');
	 		return;
	 	}
	 	var data = {};
	 	data.cinema_hall_session_id = ${cinemaHallSession.id};
	 	data.cinema_hall_seat_ids = JSON.stringify(selectedSeats);
	 	ajaxRequest('/home/order/generate_order','post',data,function(rst){
	 		//Order submitted successfully, jump to payment page
	 		window.location.href = '/home/order/order_pay?order_sn=' + rst.data;
	 	});
	 });
	 //Traverse all seats and change their status according to the values in the order
	 $(".show-seat").each(function(i,e){
	 	if(orderSeats.includes(parseInt($(e).attr('seatno')))){
	 		$(e).attr('status',0);
	 		$(e).children("img").attr('src','/home/images/seat_unable.png');
	 		$(e).children(".seatno").text('');
	 	}
	 });
});
var NormalPrice = parseFloat("${cinemaHallSession.newPrice}");
var selectedSeatMax = ${selectedSeatMax};
var selectedSeats;
var orderSeats = ${orderSeatList!"[]"};
function seatClick(e){
	if($(e).attr('status') == 1){
		if($(e).attr('selected') != 'selected'){
			if($('td[selected="selected"]').length >= selectedSeatMax){
				alert('You can select at most' + selectedSeatMax + 'Seats!')
				return;
			}
			$(e).children("img").attr('src','/home/images/seat_seled.png');
			$(e).attr('selected','selected');
		}else{
			if($(e).attr('type') == '2'){
				$(e).children("img").attr('src','/home/images/seat_love.png');
				$(e).removeAttr('selected');
			}else{
				$(e).children("img").attr('src','/home/images/seat_able.png');
				$(e).removeAttr('selected');
			}
		}
		setSeat();
	}
}
function setSeat() {
    var html = '';
    selectedSeats = new Array();
    $('td[selected="selected"]').each(function(i,e){
	    var seatno = $(e).attr('seatno');
	    var seatrow = $(e).attr('seatrow');
	    var seatcol = $(e).attr('seatcol');
	    html += '<div id="' + seatno + '" class="seatinfo">' + seatrow + "Row" + seatcol + "Seat" + '</div>';
    	selectedSeats.push({id:seatno});
    });
    $("#seatchoose div.seatinfo").remove();
    $("#seatchoose").append(html);
    var selectedNum = $('td[selected="selected"]').length;
    if(selectedNum <= 0){
    	$("#lblmsg").show();
    }else{
    	$("#lblmsg").hide();
    }
    $(".choose-result .total strong").text(NormalPrice * selectedNum);
    $(".tip em").text(selectedNum);
}
</script>
</body>
</html>

 

Submit order:

Submit order simulation payment to complete ticket purchase

Movie order details / ticket collection:

In my personal center, check the ticket information, order details, my comments, balance management and other specific operations. The whole process is very perfect

Cinema Information:

Cinema details:

Click to view cinema details, film arrangement, cinema introduction, cinema review and other functions

Information:

Users can view some information published by administrators

My personal Center:

Main function design of background:

The main functions of the background administrator login page and the background include menu management, user management, role management, log management, regional information management, film management, evaluation management, cinema management, film management, information management, information classification management, user management, order management, payment management, etc. there are too many, so I won't take screenshots one by one

 

Background system home page:

Make statistics on the cinema data. The main statistics include, check-in cinema, number of sessions, registered users, order information, screening sessions, recharge, box office and other data statistics and display.

System settings:

Menu management:

Click menu management to view the background menu information. The administrator can add, modify and delete the menu.

User management:

Film management:

Add movie information:

Add movie front end code:

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=990, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta charset="utf-8" />
    <meta name="renderer" content="webkit">
    <title>Cat's eye movie ticket network_Movie online seat selection and ticket purchase platform</title>
    <meta name="keywords" content="Cat's eye movie ticket,Cat's eye movie ticket network,Cat's eye cinema,Cat eye shadow ticket,Cat's eye movie,Movie ticket"/>
    <meta name="description" content="Cat's eye movie ticket network is the largest online seat selection platform for cat's eye movie tickets. At the same time, cat's eye movie ticket network also provides film scheduling, cinema information query, cat's eye local film industry information and other services. See a movie, come to the cat's eye ticket"/>
    <#include "../common/head-css.ftl"/>
    <link href="/home/css/jquery.jPages.css" rel="stylesheet" />
</head>
<body>
	<#include "../common/header.ftl"/> 
<div id="body" class="main">
<div class="wrap-detail">
    <div class="wrapper-film-infodetail" style="background:url(/home/images/ico_bg_3.jpg) repeat-y center top;">
        <div class="box-film-infodetail">
            <div class="film-info-detail">
                <h1>
                    <span>${movie.name}</span>
                    <em>${movie.rate!"0"}</em>

                </h1>
                <p class="excellent">${movie.abs!"No information"}</p>
                <p>
                    <span>Director:</span>
                    <span>${movie.directedBy}</span>
                </p>
                <p class="actor">
                    <span>to star:</span>
                    <span class="con">${movie.actor}</span>
                </p>
                <p>
                    <span>Language:</span>
                    <span>${movie.language.getName()}</span>
                </p>
                <p>
                    <span>Film length:</span>
                    <span>${movie.time} minute</span>
                </p>
                <p>
                    <span>Release:</span>
                    <span>${movie.showTime}</span>
                </p>
                <p class="intro ovhide">
                    <span>plot:</span>
                    <span class="con" data-t="<#if movie.info?length gt 118>${movie.info?substring(0,118)}...<#else>${movie.info}</#if>">${movie.info}</span>
                </p>
                <span class="img-main"><img src="/photo/view?filename=${movie.mainPic}" width="210" height="285" alt="${movie.name}" /></span>
                <div class="bdsharebuttonbox" data-tag="share_2">
                    <a class="bds_more" data-cmd="more">share</a>
                </div>
                <a href="javascript:void(0);" class="flag">open</a>
            </div>
        </div>
    </div>

    <div class="container fn-clear">
            <div class="film-pics-detail">
                <ul class="fn-clear">
                            <#if movie.video?? && movie.video?length gt 0>
                            <li>
                                <a class="filmVideo">
                                	<img src="/photo/view?filename=${movie.mainPic}" width="150" height="100" /></a>
                                <a href="javascript:void(0)" rel="#verlayVideo" class="video-play"></a>
                            </li>
                            </#if>
                            <#list movie.pictureList as pic>
                                <li>
                                    <a rel="#verlayPics" href="javascript:void(0)" class="filmPics">
                                    	<img data-index="0" src="/photo/view?filename=${pic}" width="150" height="100" />
                                    </a>
                                    <#if pic_index gt 2>
                                    <#break>
                                    </#if>
                                </li>
                            </#list>

                </ul>
                <div class="total">
                    <p class="bd">
                        <span>Stills:</span>
                        <strong>${movie.pictureList?size}</strong>
                    </p>
                    <p>
                        <span>Video:</span>
                        <strong><#if movie.video?? && movie.video?length gt 0>1<#else>0</#if></strong>
                    </p>
                </div>
            </div>
                    <div class="film-schedule-detail pt30">
                <div class="schedule-filte">
                    <div class="title">
                        <span class="pq">Scheduled ticket purchase</span>
                        <span data-rel="#Scrollcomment "name =" scrollcomment "class =" do flim comment "> Movie Reviews</span>
                    </div>
                    <div class="cinema">
                        <ul class="fn-clear">
                            <#if distinctCinemaHallSessionList?size == 0>
                            	No cinema
                            <#else>
                            <#list distinctCinemaHallSessionList as cinemaHallSession>
                            <#if ylrc_area??>
                            <#if ylrc_area.id == cinemaHallSession.cinema.area.cityId>
                            <li data-cid="${cinemaHallSession.cinema.id}" data-address="${cinemaHallSession.cinema.address}" data-name="${cinemaHallSession.cinema.name}">
                                <a href="javascript:void(0);">${cinemaHallSession.cinema.name}</a>
                            </li>
                            </#if>
                            <#else>
                            <li data-cid="${cinemaHallSession.cinema.id}" data-address="${cinemaHallSession.cinema.address}" data-name="${cinemaHallSession.cinema.name}">
                                <a href="javascript:void(0);">${cinemaHallSession.cinema.name}</a>
                            </li>
                            </#if>
                            </#list>
                            </#if>
                        </ul>
                        <span class="tg cor999">cinema:</span>
                    </div>
                    <div class="date">
                        <ul class="fn-clear film-date-list">
                            <#if distinctShowDateCinemaHallSessionList?size == 0>
                            	No scheduling
                            <#else>
                            <#list distinctShowDateCinemaHallSessionList as cinemaHallSession>
                            <#if ylrc_area??>
                            <#if ylrc_area.id == cinemaHallSession.cinema.area.cityId>
                            <li data-index="0" data-cid="${cinemaHallSession.cinema.id}">
                                <a href="javascript:void(0);">${cinemaHallSession.showDate}</a>
                            </li>
                            </#if>
                            <#else>
                            <li data-index="0" data-cid="${cinemaHallSession.cinema.id}">
                                <a href="javascript:void(0);">${cinemaHallSession.showDate}</a>
                            </li>
                            </#if>
                            </#list>
                            </#if>
                        </ul>
                        <span class="tg cor999">Date:</span>
                    </div>
                </div>
                <div class="title pb10 pt30 cinematb">
                    <span class="titb"><a href="" id="focus-cinema"></a></span>
                    <span class="cor999 pl10" id="focus-cinema-address"></span>
                </div>
                <div class="schedule-list" id="focus-schedule-list">

                </div>
            </div>
        <div class="comment-hot-detail pt30 fn-clear">
            <div class="comment">
                <div class="title pb10" id="scrollComment">
                    <span class="titb">User comments</span>
                    <span>common ${commentList?size}Comments</span>
                </div>
                <div class="message-send">
                    <div class="box-send">
                        <div class="do-box-score">
                            <div class="do-score" data-average="0" data-id="doscore"></div>
                            <span class="result">Please rate</span>
                        </div>
                        <div id="recomment" class="do-message" contenteditable="true"></div>
                    </div>
                    <p class="fn-clear pt30">
                        <a href="javascript:void(0)" class="btn fn-right" id="submit-comment">Comment</a>
                    </p>
                    <span class="photo">
                    	<#if ylrc_account??>
                    	<img id="userheader" src="/photo/view?filename=${ylrc_account.headPic}" width="64" height="64" />
                    	<#else>
                    	<img id="userheader" src="/home/images/ico_tb_lg.png" width="64" height="64" />
                    	</#if>
                    </span>
                </div>
                <div class="message-list pt30">
                    <ul id="message-container">
                    	<#list commentList as comment>
                    	<li>
                            <div class="username-score fn-clear">
                                <span class="fn-left">${comment.account.nickname!comment.account.mobile?replace(comment.account.mobile?substring(3,7),"****")}</span>
                                <p class="fn-left ypscore" data-average="${comment.rate}" data-id="${comment.id}">
								</p>
                            </div>
                            <p class="message-con">${comment.content}</p>
                            <p class="time">
                                    <span class="fn-right">${comment.createTime}</span>
                            </p>
                            <span class="photo">
                                    <img src="/photo/view?filename=${comment.account.headPic}" width="64" height="64">
                            </span>
                        </li>
                        </#list>
                    </ul>
                    <#if commentList?? && commentList?size gt 0>
                    <div class="fn-acenter">
		                <div class="jpage"></div>
		            </div>
                    <#else>
                    <p class="error">No comment yet. Grab a sofa~</p>
                    </#if>
                </div>
            </div>
            <div class="film-hot">
                <div class="title pb10">
                    <span class="titb">It's showing</span>
                </div>
                <ul>
                    <#list topMovieList as topMovie>
                    <li>
                        <h3 class="overhide">
                            <a href="detail?id=${topMovie.id}" >
                            	<#if topMovie.name?length gt 25>
                        		${topMovie.name?substring(0,25)}...
                        		<#else>
                        		${topMovie.name}
                        		</#if>
                            </a>
                        </h3>
                        <div class="score" data-average="${topMovie.rate!"0"}" data-id="${topMovie.id}"></div>
                        <p class="info">
                            ${topMovie.abs!"Not yet"}
                        </p>
                        <span class="img">
                        	<a href="detail?id=${topMovie.id}" >
                        		<img src="/photo/view?filename=${topMovie.mainPic}" width="72" height="100" />
                        	</a>
                        </span>
                    </li>
                    </#list>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="verlayPics" id="verlayPics">
    <div id="slider" class="verlay-film-pics">
        <ul class="slides">
                <#list movie.pictureList as pic>
                <li>
                    <img src="/photo/view?filename=${pic}" width="600" height="400" />
                </li>
                </#list>
        </ul>
    </div>
    <div id="carousel" class="verlay-film-thumb">
        <ul class="slides">
                <#list movie.pictureList as pic>
                <li data-i="0">
                    <img src="/photo/view?filename=${pic}" width="120" height="80" />
                </li>
                </#list>
        </ul>
    </div>
</div>
<div class="verlayVideo" id="verlayVideo">
    <div class="box-video">
        <ul class="slides">
           <#if movie.video?? && movie.video?length gt 0> 
               <li data-thumb="/photo/view?filename=${movie.mainPic}" data-video="/download/download_video?filename=${movie.video}">
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="400">
                        <param name="movie" value="/home/images/flvplayer.swf" />
                        <param name="quality" value="high" />
                        <param name="allowFullScreen" value="true" />
                        <param name="IsAutoPlay" value="1" />
                        <param name="wmode" value="transparent" />
                        <param name="FlashVars" value="vcastr_file=/download/download_video?filename=${movie.video}" />
                        <embed src="/home/images/flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=/download/download_video?filename=${movie.video}" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="400"></embed>
                    </object>
                </li>
           </#if>
        </ul>
    </div>
</div>
</div>
<#include "../common/footer-js.ftl"/> 
<script src="/home/js/jquery.jPages.min.js" type="text/javascript"></script>
<#include "../common/footer.ftl"/> 
<#include "../common/login-dialog.ftl"/>
<script type="text/javascript">
$(document).ready(function(){
	 $("#submit-comment").click(function(){
	 	var content = $("#recomment").html();
	 	var score = $(this).parent().parent().find(".result>em").text();
        if (!score) {
            alert("Please rate!");
            return;
        }
        if(content == ''){
		 	alert("Please fill in the evaluation content!");
		 	return;
        }
        var data = {rate:score,content:content,'movie.id':${movie.id}};
        ajaxRequest('/home/comment/comment_movie','post',data,function(rst){
        	alert('Evaluation successful!');
        	window.location.reload();
        });
	 });
	 
    
    var dataCon;
    if ($(".intro .con").height() > 52) {
        dataCon = $(".intro .con").text();
        $(".intro .con").text($(".intro .con").attr("data-t"));
        $(".film-info-detail .flag").show();
    }
    $(".film-info-detail .flag").toggle(function () {
        $(".intro .con").text(dataCon)
        $(this).css("bottom", "30px").text("Put away");
        $(".intro").removeClass("ovhide").addClass("tag");
    }, function () {
        $(".intro .con").text($(".intro .con").attr("data-t"));
        $(this).css("bottom", "40px").text("open")
        $(".intro").removeClass("tag").addClass("ovhide");
    });
    $(".message-list .jpage").jPages({
        containerID: "message-container",
        perPage: 10,
        delay: 30,
        fallback: 200,
        minHeight: false,
        previous: "previous page",
        next: "next page"
    });
    $(".do-flim-comment").click(function () {
        $("html, body").animate({
            scrollTop: $($(this).attr("data-rel")).offset().top + "px"
        }, {
            duration: 500,
            easing: "swing"
        });
        return false;
    });
    $("#recomment").focus(function () {
        if ("${ylrc_account!"false"}".toLowerCase() == "false") {
            $(".boxLogin").overlay({ api: true }).load();
            return false;
        }
    });
    $(".message-send .do-score").jRating({
        rateMax: 10,
        sendRequest: false,
        rateInfosX: -35,
        rateInfosY: 15,
        canRateAgain: true,
        nbRates: 5,
        bigStarsPath: '/home/images/ico_tb_stars.png',
        onClick: function (e, r) {
            $(".do-box-score .result").html("<em>" + r + "</em>" + "branch");
            if ("${ylrc_account!"false"}".toLowerCase() == "false") {
                $(".boxLogin").overlay({ api: true }).load();
            }
        }
    });
    $('.score').jRating({
        rateMax: 10,
        isDisabled: true,
        bigStarsPath: '/home/images/ico_tb_stars.png'
    });
    $('.ypscore').jRating({
        rateMax: 10,
        isDisabled: true,
        bigStarsPath: '/home/images/ico_tb_stars.png'
    });
    $('.score').each(function () {
        if ($(this).attr("data-average") != "0") {
            var html = "<span class='jscore'>" + $(this).attr("data-average") + "</span>";
            $(this).append(html);
        }
    });	
    $(".schedule-filte .cinema li").live('click', function () {
        $(this).siblings().removeClass("act").end().addClass("act");
        var cid = $(this).attr('data-cid')
        var name = $(this).attr('data-name')
        var address = $(this).attr('data-address')
        $(".film-date-list li").each(function (i,e) {
            if($(e).attr("data-cid") != cid) {
                $(e).addClass("fn-hide");
            }else{
            	$(e).removeClass("fn-hide");
            }
        });
        $("#focus-cinema").text(name);
        $("#focus-cinema").attr('href','/home/cinema/detail?id='+cid);
        $("#focus-cinema-address").text(address);
    });
    $(".film-date-list li").live('click', function () {
        $(this).siblings().removeClass("act").end().addClass("act");
        var mid = ${movie.id};
        var cid = $(".schedule-filte .cinema li[class='act']").attr("data-cid");
        var showDate = $(this).children("a").text();
    	$.get("get_show_session",{mid:mid,cid:cid,showDate:showDate},function(data,status){
	        $("#focus-schedule-list").empty();
	        $("#focus-schedule-list").append(data);
	    });
    });
    $(".schedule-filte .cinema li:first").trigger("click");
    $(".film-date-list li:first").trigger("click");
});
var test;
var $slider;
$(".filmPics").overlay({
    closeOnClick: false,
    top: 'center',
    mask: {
        color: '#333',
        closeSpeed: 700,
        opacity: 0.8
    },
    onBeforeLoad: function () {
        $('body').on('mousewheel', function (e) {
            scrollFunc(e);
        });
    },
    onLoad: function (e) {
        $('#carousel').flexslider({
            animation: "slide",
            controlNav: false,
            directionNav:false,
            animationLoop: false,
            slideshow: false,
            itemWidth: 120,
            startAt: $(e.target).attr("data-index"),
            asNavFor: '#slider'
        });
        $('#slider').flexslider({
            animation: "fade",
            controlNav: false,
            animationLoop: false,
            slideshow: false,
            startAt: $(e.target).attr("data-index"),
            sync: "#carousel",
            after: function () {
                $(".verlay-film-thumb .flex-direction-nav").show();
                var idx = parseInt($("#carousel .slides li.flex-active-slide").attr("data-i"));
                if (((idx + 1) % 5) == 0) {
                    $("#carousel").flexslider("next");
                }
            }
        });
        $(".filmPics").each(function (i) {
            $(this).click(function () {
                $('#carousel').flexslider(i);
                $('#slider').flexslider(i);
            });
        });
    },
    onClose: function () {
        $('body').off('mousewheel');
    }
});
$(".video-play").overlay({
    closeOnClick: false,
    top: 'center',
    mask: {
        color: '#333',
        closeSpeed: 100,
        opacity: 0.8
    },
    onBeforeLoad: function () {
        $('body').on('mousewheel', function (e) {
            scrollFunc(e);
        });
    },
    onBeforeLoad: function (e) {
        $('.box-video').flexslider({
            animation: "fade",
            slideshow: false,
            controlNav: "thumbnails",
            after: function (e) {
                var video = $(".box-video .slides li").eq(e.currentSlide);
                var html = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="600" height="400">';
                html += '<param name="movie" value="/home/images/flvplayer.swf" />';
                html += '<param name="quality" value="high" />';
                html += '<param name="allowFullScreen" value="true" />';
                html += '<param name="wmode" value="transparent"/>';
                html += '<param name="FlashVars" value="vcastr_file=' + video.attr("data-video") + '&&IsAutoPlay=1" />';
                html += '<embed src="/home/images/flvplayer.swf" allowfullscreen="true" flashvars="vcastr_file=' + video.attr("data-video") + '&&IsAutoPlay=1" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="400"></embed>';
                html += '</object>';
                video.siblings().empty();
                video.html(html);
            }
        });
        $("#verlayVideo .flex-control-thumbs li").each(function () {
            $(this).css("backgroundImage", "url('" + $(this).find("img").attr("src") + "')");
            $(this).find("img").attr("src", "/home/images/ico_tb_5.png");
        });

    },
    onClose: function () {
        $('body').off('mousewheel');
    }
});
window._bd_share_config = {
        share: [{
            "tag": "share_2",
            "bdSize": 32
        }]
    }
with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion=' + ~(-new Date() / 36e5)];
</script>
</body>
</html>

Evaluation management:

Cinema Management:

Layout management:

Order management:

Database main table design:

User table

CREATE TABLE `NewTable` (
`id`  bigint(20) NOT NULL AUTO_INCREMENT ,
`create_time`  datetime NOT NULL ,
`update_time`  datetime NOT NULL ,
`email`  varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`head_pic`  varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`mobile`  varchar(12) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`password`  varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`sex`  int(11) NULL DEFAULT NULL ,
`status`  int(11) NULL DEFAULT NULL ,
`username`  varchar(18) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`role_id`  bigint(20) NULL DEFAULT NULL ,
PRIMARY KEY (`id`),
FOREIGN KEY (`role_id`) REFERENCES `movie_role` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
UNIQUE INDEX `UK_btsosjytrl4hu7fnm1intcpo8` (`username`) USING BTREE ,
INDEX `FKg09b8o67eu61st68rv6nk8npj` (`role_id`) USING BTREE 
)
ENGINE=InnoDB
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci
AUTO_INCREMENT=6
ROW_FORMAT=COMPACT
;

Movie table:

CREATE TABLE `NewTable` (
`id`  bigint(20) NOT NULL AUTO_INCREMENT ,
`create_time`  datetime NOT NULL ,
`update_time`  datetime NOT NULL ,
`abs`  varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`actor`  varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`area`  int(11) NULL DEFAULT NULL ,
`directed_by`  varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`info`  varchar(1280) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`language`  int(11) NOT NULL ,
`name`  varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`picture`  varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`rate`  decimal(19,2) NULL DEFAULT NULL ,
`show_time`  datetime NULL DEFAULT NULL ,
`time`  int(11) NULL DEFAULT NULL ,
`total_money`  decimal(19,2) NULL DEFAULT NULL ,
`type`  varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`video`  varchar(512) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
`is_show`  bit(1) NULL DEFAULT NULL ,
`rate_count`  int(11) NULL DEFAULT NULL ,
PRIMARY KEY (`id`)
)
ENGINE=InnoDB
DEFAULT CHARACTER SET=utf8 COLLATE=utf8_general_ci
AUTO_INCREMENT=18
ROW_FORMAT=COMPACT
;

This java springboot+mybatis film ticketing website management system foreground + background project has particularly complete functions and is suitable for learning reference and class setting.

Relevant recommendations:

 

"Java boutique design" is based on java ssm springboot+mybatis winery internal management system (source code + sql + paper)

"java boutique design" is based on JAVA springboot+mybatis smart life sharing platform (source code + sql + paper)

"java boutique design" is based on JAVA springboot+VUE front and back-end separated epidemic prevention platform (source code + sql + paper)

  Click to view more java boutique design projects > > >

Well, that's all for today. Let's praise, collect and comment. Let's start three times with one button. See you next time~~

 

Added by Najjar on Wed, 02 Feb 2022 09:54:16 +0200