347php009 Movie Information website

Source: Internet
Author: User
Tags php class php database

1 Operating Environment:

Client environment: Compatible with the following browsers: IE6, IE7, IE8, Firefox3, opera, etc.

Server-side hardware requirements:
CPU: 2.4Hz or more
Memory: 2G or more
HDD: 20G or more

Server-side Software environment:
Operating system: CENTOS5
Web server: Apache2.2
PHP Processor: PHP5.0
Database server: MySQL5.1

2 Technical architecture and component selection
The system uses the PHP object-oriented MVC three-tier architecture, the system hierarchy diagram is as follows:

Technology and Component selection:
?? php/Object-oriented
?? Mvc
?? Smarty
?? ADOdb
?? GD2
?? PHP DOM
?? Pear/mail
?? Ajax
?? Css/div
?? Javascript

3 Specific Design
 html page: header.html (head)  footer.html (tail) index.html (home)
  register.html (registered users page)
login.html (Landing page)
update.html (User Management page)
 updpwd.html (User Change Password page)
 result.html (Results page)
 listfilm.html (Movie page)
 listcinema.html (Cinema page)
 listnews.html (News headlines page)
  film.html (movie content page)
 news.html (News content page)
 screenbycno.html (Show Schedule page (depending on theatre))
  screenbyfno.html (Show Schedule page (depending on movie))
 scr_plan.html (Specific show Information page)
 selectfilm.html (Query Movie results page)
PHP class:
controller.do.php
(receives controlleraction call UserAction.class.php or FilmAction.class.php or ScreenAction.class.php
UserAction.class.php (the method that receives the action call usermanager.php)
usermanager.php:
 checkuname (query user name exists)
 login (login)
 adduser (registration)
 selectuser (query user information)
 updpwd (change password)
  Confirmregister (Compare confirmation code)
 UPLV (Modify user status)
 sendregisterconfirmmai (send user registration confirmation email) L

FilmAction.class.php (the method that receives the action call filmmanager.php)
filmmanager.php:
Getgood (review: Good)
Getbad (rating: Poor)
Listnews (List of news headlines)
Selectbynno (Query news content)
Listfilms (Movie list)
Selectbyftitle (search by movie name)
SELECTBYFNO (For detailed information about the movie)
AddComment (film review)
Listcomment (browse movie reviews)
GetRecordCount (Paging)

ScreenAction.class.php (the method that receives the action call screenmanager.php)
screenmanager.php:
Listcinema (Cinema list)
Cinema (Cinema information)
Addccomment (published Cinema review)
Ccomment (Cinema review list)
Film (film name)
Cinemas (Cinema screening arrangement)
Getstime (track)
One (show specific information)
Utils.php generate a verification code map and store the verification code in session
db_conf.inc.php Database Connection (reading information from Db_config.xml)

347php009 Movie Information website

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.