PHP Project Code of Travel Agency Management System

This is a PHP Project entitled Travel Agency Management System. This Travel Agency Management System helps the Travel Agency Companies to manage their records, customer transactions, and etc. The Travel Agency Management System program stores the list that is relevant to a travel agency’s records such as the Customers, Vouchers, Payments, and more.
This Travel Agency Management System has 2 sides of the user interface which are the Information Website and the Admin Panel. The Information Website contains some information about the travel agency company and information that might be interesting for the possible customer or applicant. The Information Website is a sort of marketing functional requirement that will help the company to market what their travel agency can do and how do they give service to their customer.
The Admin Panel is the side of the Travel Agency Management System where the company management manages the data/information of the Travel Agency Management System. the admin users are also the ones who are in charge of managing the contents on the information Website side. The Travel Agency Management System is capable also to Generate Reports of the records the does Travel Agency Management System contains.
The Travel Agency Management Travel Agency Management System Project was built for my final year college final project. This was developed using PHP, MySQL Database, HTML, CSS, and Javascript. The Travel Agency Management System source code is free to download. The free source code is for educational purposes only and not for commercial/business use. Continue reading below to know more about this project.
Functional Requirements of Travel Agency Management System
Information Website  Side
- Home Content
- Packages Content
- Services Content
- About Content
- Carrer Applicant Form
- Customer Application Tracer
- Contact Form
Admin Panel Side
- View, insert, delete, update, and search the Employee
- View, insert, delete, update, and search the Customer
- View, insert, delete, update, and search the Customer Ticket
- View, insert, delete, update, and search the Customer Payments
- View, insert, delete, update, and search the Customer Documents
- View, insert, delete, update, and search the Expenses
- Generate Reports
- Customer/Voucher Search
- View, insert, delete, update, and search the Website Content
- View, insert, delete, update, and search the Account
- Create New Admin User
- View Messages (from “Contact Us” form)
Download PHP Project Code of Travel Agency Management System
category.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'> <link href="stylecss.css" rel='stylesheet' type='text/css'/> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <link href="css/style.css" rel="stylesheet" type="text/css" media="all"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!--js--> <script src="js/jquery.min.js"></script> <!--/js--> </head> <body> <?php include('function.php'); ?> <?php include('top.php'); ?> <!--/sticky--> <br> <br> <br> <div style="height:50px"></div> <div style="width:1000px; margin:auto" > <div style="width:200px; float:left"> <table cellpadding="0" cellspacing="0" width="1000px"> <tr><td style="font-size:30px; color:#09F"><b>Category</b></td></tr> <?php $s="select * from category"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; while($data=mysqli_fetch_array($result)) { echo "<tr><td style=' padding:5px;'><b><a href='subcat.php?catid=$data[0]'>$data[1]</a></b></td></tr>"; } mysqli_close($cn); ?> </table> </div> <div style="width:500px; float:left"> <table cellpadding="0px" cellspacing="0" width="1000px"> <tr><td class="headingText">Welcome to Go Travel & Tourism Ltd</td></tr> <tr><td class="paraText" width="900px">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </td><td style="background-image:url(); background-repeat:no-repeat; color:#FFF; font-family:Lucida Sans Unicode, Lucida Grande, sans-serif; font-size:24px; " width="500px" height="150px" >< </div ></td></tr></table> </div> </div> <div style="clear:both"></div> <?php include('bottom.php'); ?> </body> </html> |
detail.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'> <link href="stylecss.css" rel='stylesheet' type='text/css'/> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <link href="css/style.css" rel="stylesheet" type="text/css" media="all"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!--js--> <script src="js/jquery.min.js"></script> <!--/js--> </head> <body> <?php include('function.php'); ?> <?php include('top.php'); ?> <br> <br> <br> <!--/sticky--> <?php include('slider.php'); ?> <div style="height:50px"></div> <div style="width:1000px; margin:auto" > <div style="width:200px; font-size:18px; color:#09F; float:left"> <table cellpadding="0" cellspacing="0" width="1000px" > <tr><td style="font-size:18px" color="#09F">Category</td></tr> <?php $s="select * from category"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; while($data=mysqli_fetch_array($result)) { echo "<tr><td style=' padding:5px;'><a href='subcat.php?catid=$data[0]'>$data[1]</a></td></tr>"; } ?> </table> </div> <div style="width:800px; float:left"> <table cellpadding="0px" cellspacing="0" width="1000px" > <tr><td class="headingText">View Packages</td></tr> <tr><td class="paraText" width="900px"> <table cellpadding="0" cellspacing="0" width="900px" border="0"> <tr> <td> <table border="0" width="600px" height="400px" align="center" > <?php $s="select * from package,category,subcategory where package.category=category.cat_id and package.subcategory=subcategory.subcatid and package.packid='" . $_GET["pid"] ."'"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; $n=0; $data=mysqli_fetch_array($result); mysqli_close($cn); ?> <tr><td colspan="3"><span class="middletext">Pack Name:</span> <?php echo $data[1];?></td></tr> <tr><td class="middletext"><img src="Admin/packimages/<?php echo $data[5];?>" width="200px" height="200px" /></td> <td class="middletext" style="padding-left:15px"><img src="Admin/packimages/<?php echo $data[6];?>" width="200px" height="200px" /></td> <td class="middletext" style="padding-left:15px"><img src="Admin/packimages/<?php echo $data[7];?>" width="200px" height="200px" /></td> </tr> <tr><td colspan="3" height="90px"><span class="middletext">Category:</span> <?php echo $data[10];?> <br/> <span class="middletext">Subcategory:</span> <?php echo $data[12];?> <br/> <span class="middletext">Price:</span> <?php echo $data[4];?> </td></tr> <tr><td colspan="3"><p><?php echo $data[8];?></p></td></tr> <tr><td align="left" colspan="3" height="50px"><a href="enquiry.php?pid=<?php echo $data[0]; ?>"><input type="button" value="Enquiry" name="sbmt" /></a></td></tr> </table> </td> </tr> </table> </td></tr> </table> </div> </div> <div style="clear:both"></div> <?php include('bottom.php'); ?> </body> </html> |
enquiry.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 |
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'> <link href="stylecss.css" rel='stylesheet' type='text/css'/> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <link href="css/style.css" rel="stylesheet" type="text/css" media="all"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!--js--> <script src="js/jquery.min.js"></script> <!--/js--> <body> <?php include('function.php'); ?> <?php if(isset($_POST["sbmt"])) { $cn=makeconnection(); $s="insert into enquiry(Packageid,Name,Gender,Mobileno,Email,NoofDays,Child,Adults,Message,Statusfield) values('" . $_REQUEST["pid"] ."','" . $_POST["t1"] ."','" . $_POST["r1"] ."','" . $_POST["t2"] ."','" . $_POST["t3"] ."','" . $_POST["t4"] ."','" . $_POST["t5"] ."','" . $_POST["t6"] ."','" . $_POST["t7"] ."','Pending')"; mysqli_query($cn,$s); echo "<script>alert('Record Save');</script>"; } ?> <?php include('top.php'); ?> <br> <br> <br> <!--/sticky--> <div style="height:50px"></div> <div style="width:1000px; margin:auto" > <div style="width:200px; font-size:18px; color:#09F; float:left"> <table cellpadding="0" cellspacing="0" width="1000px"> <tr><td style="font-size:18px" color="#09F">Category</td></tr> <?php $s="select * from category"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; while($data=mysqli_fetch_array($result)) { echo "<tr><td style=' padding:5px;'><a href='subcat.php?catid=$data[0]'>$data[1]</a></td></tr>"; } ?> </table> </div> <div style="width:800px; float:left"> <table cellpadding="0px" cellspacing="0" width="1000px"> <tr><td class="headingText">Enquiry</td></tr> <tr><td class="paraText" width="900px"> <table cellpadding="0" cellspacing="0" width="900px"> <td> <table border="0"; width="600px" height="400px" align="center" > <?php $s="select * from package,category,subcategory where package.category=category.cat_id and package.subcategory=subcategory.subcatid and package.packid='" . $_GET["pid"] ."'"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; $n=0; $data=mysqli_fetch_array($result); mysqli_close($cn); ?> <form method="post" enctype="multipart/form-data"> <tr><td colspan="3" class="middletext">Package Id: <?php echo $data[0];?></td></tr> <tr><td colspan="3" class="middletext">Pack Name: <?php echo $data[1];?></td></tr> <tr><td class="lefttxt">Name:</td><td><input type="text" name="t1" required pattern="[a-zA-z1 _]{3,50}" title"Please Enter Only Characters and numbers between 1 to 50 for Name"/></td></tr><br/> <tr><td class="lefttxt">Gender:</td><td><input type="radio" name="r1" value="Male" checked="checked" />Male<input type="radio" name="r1" value="Female"/>Female</td></tr><br/> <tr><td class="lefttxt">Mobile No.</td><td><input type="text" name="t2" required pattern="[0-9]{10,12}" title"Please Enter Only numbers between 10 to 12 for Mobile No"/></td></tr><br/> <tr><td class="lefttxt">Email:</td><td><input type="email" name="t3" required /></td><td><br/> <tr><td class="lefttxt">No.of Days:</td><td><input type="number" name="t4" required pattern="[1 _]{1,20}" title"Please Enter Only numbers between 1 to 20 for No. oF Days"/></td><td><br/> <tr><td class="lefttxt">No.of Children:</td><td><input type="number" name="t5" required pattern="[1 _]{1,10}" title"Please Enter Only numbers between 1 to 10 for Children"/></td><td><br/> <tr><td class="lefttxt">No.of Adults:</td><td><input type="number" name="t6" required pattern="[1 _]{1,20}" title"Please Enter Only numbers between 1 to 20 for No.Of Adults"/></td><td><br/> <tr><td class="lefttxt">Enquiry Message:</td><td><textarea name="t7" required="required"/></textarea></td><td><br/> <tr><td> </td><td ><input type="submit" value="Submit" name="sbmt" /></td></tr> </form></td></tr> </table> </td> </table> </td></tr> </table> </div> </div> <div style="clear:both"></div> <?php include('bottom.php'); ?> </body> </html> |
package.php
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 |
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic' rel='stylesheet' type='text/css'> <link href="stylecss.css" rel='stylesheet' type='text/css'/> <link href="css/bootstrap.css" rel='stylesheet' type='text/css'/> <link href="css/style.css" rel="stylesheet" type="text/css" media="all"/> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="application/x-javascript"> addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> <!--js--> <script src="js/jquery.min.js"></script> <!--/js--> </head> <body> <?php include('function.php'); ?> <?php include('top.php'); ?> <!--/sticky--> <br> <br> <br> <div style="height:50px"></div> <div style="width:1000px; margin:auto" > <div style="width:200px; float:left"> <table cellpadding="0" cellspacing="0" width="1000px"> <tr><td style="font-size:18px" color="#09F">Category</td></tr> <?php $s="select * from category"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; while($data=mysqli_fetch_array($result)) { echo "<tr><td style=' padding:5px;'><a href='subcat.php?catid=$data[0]'>$data[1]</a></td></tr>"; } ?> </table> </div> <div style="width:800px; float:left"> <table cellpadding="0px" cellspacing="0" width="1000px"> <tr><td class="headingText">Packages</td></tr> <tr><td class="paraText" width="900px"> <table cellpadding="0" cellspacing="0" width="900px"> <?php $s="select * from package where package.subcategory='" . $_GET["subcatid"] ."'"; $result=mysqli_query($cn,$s); $r=mysqli_num_rows($result); //echo $r; $n=0; while($data=mysqli_fetch_array($result)) { if($n%3==0) { ?> <tr> <?php }?> <td> <table border="0" width="100px"> <tr><td align="center" style="background-color:#60B0E6; font-size:20px; font-family:Lucida Calligraphy; color:#FFF"><?php echo $data[1]; ?></td></tr> <tr><td class="image"><img src="Admin/packimages/<?php echo $data[5];?>" width="250px" height="250px" /></td></tr> <tr><td align="center" style="background-color:#60B0E6; font-size:20px; font-family:Lucida Calligraphy; color:#09F"><a href="detail.php?pid=<?php echo $data[0]; ?>"><font color="#FFFFFF">View Detail</font></a></td></tr> </table> </td> <?php if($n%3==2) { ?> </tr> <?php } $n=$n+1; } mysqli_close($cn); ?> </table> </td></tr></table> </div> </div> <div style="clear:both"></div> <?php include('bottom.php'); ?> </body> </html> |
Data flow diagram, Class diagram, activity diagram, sequence diagram, UML diagrams, use case diagram, Use case description, scope, hard requirements, abstract, introduction, literature review, non-functional requirements, testing test cases, SRS document, design manual, Component diagram, and other diagrams are needed to draw for this project.
Travel agency management system, tours and travel project in php, online travel agency php script, travel management system project in php free download, open-source travel portal php, travel agency php. travel booking php script, travel management system in php, project report on travel and tourism in php, tour and travel website in php