-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathheader.php
More file actions
78 lines (68 loc) · 2.8 KB
/
Copy pathheader.php
File metadata and controls
78 lines (68 loc) · 2.8 KB
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
<?php
include('config.php');
session_start();
date_default_timezone_set('Asia/Kathmandu');
?>
<!DOCTYPE HTML>
<html>
<head>
<title>OTBS</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="all" />
<link rel="stylesheet" href="css/flexslider.css" type="text/css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.dreamtemplate.com/dreamcodes/tabs/css/tsc_tabs.css" />
<link rel="stylesheet" href="css/tsc_tabs.css" type="text/css" media="all" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src='js/jquery.color-RGBa-patch.js'></script>
<script src='js/example.js'></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="header">
<div class="header-top">
<div class="wrap">
<div class="h-logo">
<a href="index.php"><img src="images/t-logo.png" alt="Logo Image Here"/></a>
</div>
<div class="nav-wrap">
<ul class="group" id="example-one" >
<li><a href="index.php" >Home</a></li>
<li><a href="movies_events.php">Movies/Plays</a></li>
<li><a href="events.php">Events</a></li>
<li><a href="https://forms.gle/xNLtMKRuPYLeUbYD6">Movie Review</a></li>
<li><a href="quiz.php">Quizzes</a></li>
<li><?php if(isset($_SESSION['user'])){
$us=mysqli_query($con,"select * from tbl_registration where user_id='".$_SESSION['user']."'");
$user=mysqli_fetch_array($us);?><a href="profile.php"><?php echo $user['name'];?></a><a href="logout.php">Logout</a><?php }else{?><a href="login.php">Login</a> <a href="registration.php">Register</a><?php }?></li>
</ul>
</div>
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<div class="block">
<div class="wrap">
<form action="process_search.php" id="reservation-form" method="post" onsubmit="myFunction()">
<fieldset>
<div class="field" >
<input type="text" placeholder="Enter A Movie Name" style="height:30px;width:300px" required id="search111" name="search">
<input type="submit" value="Search" style="height:34px;padding-top:3px" id="button111">
</div>
</fieldset>
</form>
<div class="clear"></div>
</div>
</div>
<script>
function myFunction() {
if($('#hero-demo').val()=="")
{
alert("Please enter movie name...");
return false;
}
else{
return true;
}
</script>
}