-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 053bba3
Showing
2,744 changed files
with
356,566 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Hi, | ||
|
||
This is a dashboard for your hotel or any else business. There you can submit your employer details. Also you can search there. | ||
|
||
Hope you are like this. | ||
|
||
Thank you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Web-Development-Project | ||
There is my web development projects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,140 @@ | ||
<?php require_once("header.php"); ?> | ||
<br> | ||
<br> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12 col-lg-12"> | ||
<h2 class="all-booking-head"><a href="index.php">Home / </a>Add Room</h2> | ||
</div> | ||
</div> | ||
</div> | ||
<section class="new-booking-section"> | ||
<div class="container" > | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12 col-lg-12"> | ||
<div class="new-booking-box"> | ||
<h3 style="margin-top: 10px; margin-left: 20px;" class="table-title">Add Room</h3> | ||
<form class="box" action="php-core/add_room_core.php" method="POST" enctype="multipart/form-data"> | ||
<div class="inputBox" style="margin-right: 15px;"> | ||
<input type="text" name="roomName" required value=""> | ||
<label>Room Name*</label> | ||
</div> | ||
|
||
<div class="inputBox" > | ||
<input type="price" name="roomPrice" required value=""> | ||
<label>Room Price*</label> | ||
</div> | ||
<div class="inputBox" style="margin-right: 15px;"> | ||
<input type="text" name="totalRoom" required value=""> | ||
<label>Total Room*</label> | ||
</div> | ||
<div class="inputBox" style="margin-right: 15px;"> | ||
<label class="checkbox-container"><input type="checkbox" name="freeWifi" value="freewifi" ><span class="checkmark"></span>Free Wifi</label> | ||
</div> | ||
<div class="inputBox"> | ||
<label class="checkbox-container"><input type="checkbox" name="balcony" value="balcony" ><span class="checkmark"></span>Balcony</label> | ||
</div> | ||
<div class="inputBox" style="margin-right: 15px;"> | ||
<label class="checkbox-container"><input type="checkbox" name="tv" value="tv" ><span class="checkmark"></span>Tv</label> | ||
</div> | ||
<div class="inputBox"> | ||
<label class="checkbox-container"><input type="checkbox" name="atachBathroom" value="atachBathroom" ><span class="checkmark"></span>Attach Bathroom</label> | ||
</div> | ||
<div class="inputBox" style="margin-right: 15px;"> | ||
<label class="checkbox-container"><input type="checkbox" name="freeBreakfast" value="freeBreakfast" ><span class="checkmark"></span>Free Breakfast</label> | ||
</div> | ||
<div class="inputBox"> | ||
<label class="checkbox-container"><input type="checkbox" name="freeParking" value="freeParking" ><span class="checkmark"></span>Free Parking</label> | ||
</div> | ||
|
||
<br><br> | ||
<br><br> | ||
<input type="text" hidden="" name="roomAdding" > | ||
<input class="n_booking_s_btn" type="SUBMIT" value="Submit"> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<!-- submite succes code e90600b9e58032d4e84a55d6facaedf0 --> | ||
|
||
</section> | ||
|
||
<?php | ||
if (isset($_REQUEST["e90600b9e58032d4e84a55d6facaedf0"])) { | ||
|
||
?> | ||
|
||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12 col-lg-12"> | ||
<div style="display: block;background: #3333337a;" class="modal " tabindex="-1" role="dialog"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title">Congratulation!</h5> | ||
<a href="new-room.php?trueAddRoom"> | ||
<button type="button" class="close de-colose" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button></a> | ||
</div> | ||
<div class="modal-body"> | ||
<p style="color: green;">Data Succesfully Submited</p> | ||
<p>Prease ok button to continue...</p> | ||
</div> | ||
<div class="modal-footer"> | ||
<a href="all-room.php?trueAllRooms" ><button type="button" class="btn btn-primary" >Download Pdf</button></a> | ||
<a href="add-room.php?trueAddRoom"> | ||
<button type="button" class="btn btn-secondary de-colose" data-dismiss="modal">Close</button> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
||
<?php | ||
|
||
}elseif (isset($_REQUEST["da94b62094880691bb01371e16fd36e3"])) { | ||
|
||
?> | ||
<!-- da94b62094880691bb01371e16fd36e3 --> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12 col-lg-12"> | ||
<div style="display: block;background: #3333337a;" class="modal " tabindex="-1" role="dialog"> | ||
<div class="modal-dialog" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h5 class="modal-title">Opps!</h5> | ||
<a href="new-room.php?trueAddRoom"> | ||
<button type="button" class="close de-colose" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button></a> | ||
</div> | ||
<div class="modal-body"> | ||
<p style="color: red;">Data is not Submited</p> | ||
<p>Prease ok or close button to continue...</p> | ||
</div> | ||
<div class="modal-footer"> | ||
<a href="add-room.php?trueAddRoom"> | ||
<button type="button" class="btn btn-primary ">Ok</button> | ||
</a> | ||
<a href="add-room.php?trueAddRoom"> | ||
<button type="button" class="btn btn-secondary de-colose" data-dismiss="modal">Close</button> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<?php } ?> | ||
|
||
|
||
<?php require_once("footer.php"); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
<?php require_once("header.php"); ?> | ||
|
||
<br> | ||
<br> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12 col-lg-12"> | ||
<h2 class="all-booking-head"><a href="index.php">Home / </a>All Booking</h2> | ||
</div> | ||
</div> | ||
</div> | ||
<section class="all-booking-dtl"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-12 col-md-12 col-lg-12"> | ||
<div class="all-booking-box card"> | ||
<table class="table all-booking-table" cellspacing="0"> | ||
<thead> | ||
<div class="table-query"> | ||
<h3 class="table-title">Booking</h3> | ||
<input type="text" name="search" placeholder="Search.." class="table-search-box"> | ||
<a >Today</a> | ||
<i onclick="trashmoval();" class="fas fa-trash-alt booking-dtl-del table-slected-del"></i> | ||
<div class="table-action"> | ||
<a href="new-booking.php?action=true"><i class="fas fa-plus n-booking"></i></a> | ||
<i class="fas fa-redo-alt table-redo"></i> | ||
</div> | ||
</div> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<th><input type="checkbox" onclick="checkboxToggle(this)" ></th> | ||
<th>Image</th> | ||
<th>Name</th> | ||
<th>Gender</th> | ||
<th>Phone</th> | ||
<th>Email</th> | ||
<th>Arrive</th> | ||
<th>Depart</th> | ||
<th>Status</th> | ||
<th>Room Type</th> | ||
<th>Actions</th> | ||
</tr> | ||
|
||
<?php | ||
require_once("config/configer.php"); | ||
|
||
$shoDataQuery = "SELECT * FROM dashbord"; | ||
$runDataQuery = mysqli_query($connect,$shoDataQuery); | ||
|
||
if ($runDataQuery==true) { | ||
|
||
while ($db_data = mysqli_fetch_array($runDataQuery)) { | ||
|
||
$user_name = $db_data["fName"]." ".$db_data["lName"]; | ||
$user_email = $db_data["email"]; | ||
$user_phone = $db_data["phone"]; | ||
$user_gender = $db_data["gender"]; | ||
$user_addr = $db_data["addr"]; | ||
$user_avater_image_first_person = $db_data["avater_first_person"]; | ||
$user_avater_image_second_person = $db_data["avater_second_person"]; | ||
$user_avater_image_third_person = $db_data["avater_third_person"]; | ||
$user_avater_image_forth_person = $db_data["avater_forth_person"]; | ||
$user_room_type = $db_data["room_type"]; | ||
$user_arrive_date = $db_data["arrive_date"]; | ||
$user_depart_date = $db_data["depart_date"]; | ||
$user_nid_first_avater_fornt_photo = $db_data["nid_first_avater_fornt_photo"]; | ||
$user_nid_first_avater_back_photo = $db_data["nid_first_avater_back_photo"]; | ||
$user_nid_second_avater_fornt_photo = $db_data["nid_second_avater_fornt_photo"]; | ||
$user_nid_second_avater_back_photo = $db_data["nid_second_avater_back_photo"]; | ||
$user_nid_third_avater_fornt_photo = $db_data["nid_third_avater_fornt_photo"]; | ||
$user_nid_third_avater_back_photo = $db_data["nid_third_avater_back_photo"]; | ||
$user_nid_forth_avater_fornt_photo = $db_data["nid_forth_avater_fornt_photo"]; | ||
$user_nid_forth_avater_back_photo = $db_data["nid_forth_avater_back_photo"]; | ||
$user_city = $db_data["city"]; | ||
$user_total_person = $db_data["total_person"]; | ||
$user_paid_unpaid = $db_data["paid_unpaid"]; | ||
$user_token = $db_data["token"]; | ||
$checkout_code = $db_data["check_out_code"] ; | ||
|
||
if ($db_data["display"] == "none" ) { | ||
$trDisplay = "d-none"; | ||
} | ||
?> | ||
|
||
<tr class="emran <?php echo $trDisplay; ?>" > | ||
<td> | ||
<input name="auth" type="hiden" hidden="" value="" data-auth = "<?php echo $user_token; ?>" > | ||
<input onclick='singleSelect(this,"single","<?php echo $user_token; ?>") 'type="checkbox" name="bookingCheckBox" ></td> | ||
<td><img src='<?php echo "avater/$user_avater_image_first_person" ?>' ></td> | ||
<td><a href="edit-booking.php?token=<?php echo $user_token; ?>&editB00kingActive"><?php echo $user_name; ?></a></ad> | ||
<td><?php echo $user_gender; ?></ad> | ||
<td><?php echo $user_phone; ?></td> | ||
<td><?php echo $user_email; ?></td> | ||
<td><?php echo $user_arrive_date; ?></td> | ||
<td><?php echo $user_depart_date; ?></td> | ||
<td> | ||
<?php | ||
if ($user_paid_unpaid == "Paid") { | ||
|
||
?> | ||
<sapn class="paid">Paid</sapn> | ||
<?php | ||
}else { | ||
?> | ||
<span class="unpadi">Unpaid</span></td> | ||
<?php | ||
} | ||
?> | ||
<td><?php echo $user_room_type; ?></td> | ||
<td style="display: none;"><?php echo $checkout_code; ?></td> | ||
<td> | ||
<a href="edit-booking.php?token=<?php echo $user_token; ?>&editB00kingActive"> | ||
<i class="fas fa-pen booking-dtl-edit"></i></a> | ||
<a onclick='deletBooking ("<?php echo $user_token; ?>")' ><i class="fas fa-trash-alt booking-dtl-del"></i></a> | ||
</td> | ||
</tr> | ||
<tr> | ||
|
||
<?php | ||
} | ||
}else { | ||
echo "not found"; | ||
} | ||
?> | ||
|
||
<!-- if (confirm("Ar you sure to delete this person?")) { | ||
window.location.href = "php-core/delete_core.php?token=<?php echo $user_token; ?>&deletBookinActive&Aimage=<?php echo $user_avater_image_first_person; ?>&nidImagefornt=<?php echo $user_nid_first_avater_fornt_photo; ?>&nidImageBack=<?php echo $user_nid_first_avater_back_photo ?>" | ||
} else { | ||
window.location.reload(); | ||
} | ||
--> | ||
</tbody> | ||
</table> | ||
<div class="table-iteam-query d-flex justify-content-end float-left"> | ||
<p>Items per page:</p> | ||
<span class="table-range"><select> | ||
<option>5</option> | ||
<option>25</option> | ||
<option>50</option> | ||
<option>100</option> | ||
</select></span> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
|
||
|
||
<?php require_once("footer.php"); ?> |
Oops, something went wrong.