-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcommonpag.php
69 lines (64 loc) · 1.88 KB
/
commonpag.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
<html>
<head>
<title>theWTVlist
</title>
<?php
$server=<server_name>;
$user=<username>;
$pass=<password>;
$db=<database>;
$conn=new mysqli($server,$user,$pass,$db) or die("unable to connect");
session_start();
?>
<link rel="stylesheet" type="text/css" href="includes/styleSheet.css">
</head>
<body class="page-common">
<div class="wrapper">
<div class= "header">
<Table width="100%" align="center" border=0>
<tr>
<td align="left">
<a href="/"><img src="includes/logo.png" class="logoName"></img></a> </td>
<td align="right">
<?php
if(isset($_SESSION['uid']))
{
echo "<font color=lightgrey>| </font>";
echo "<b>".$_SESSION['uname']."</b>";
}
else { ?>
<div class="menu-option">
<a class="btn-login" href="/login.php">Login</a>
<a class="btn-signup" href="/signup.php">Sign Up</a>
</div>
<?php } ?>
</td>
</tr>
</table>
<Table width="100%" align="center" border=0 bgcolor="#2e51a2" valign=center>
<tr valign=center>
<td align="left">
<font color="#fff"><b>  Welcome to Archive of Web Television!!!
</b ></font>
</td>
<td align="right" valign=center>
<form action="search.php" mehtod="GET">
<div class="search-select">
<select name="search-select" id="search-select">
<option value="Sname">Name</option>
<option value="director">Director</option>
<option value="producer">Producer</option>
<option value="network">Network</option>
</select>
<input type="text" name="q" placeholder= "Search Series...">
<button type="submit"><b>Search  </b></button>
<a href="/advSearchOptions.php"><font size=1.5px color=lightblue >+Adv  <font></a>
</div>
</form>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>