<?php $servername = "localhost"; $username = "root"; $password = ""; $unam; $umail; $conn = new mysqli($servername, $username, $password); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $sql = "use project"; if ($conn->query($sql) === TRUE) {} else { echo "Error creating database: " . $conn->error; } $sql = "SELECT uname,email FROM login"; $result = $conn->query($sql); if ($result->num_rows > 0) { while($row = $result->fetch_assoc()) { $uname=$row["uname"]; $umail=$row["email"]; } } else { echo "0 results"; } if($uname==="NULL") { header('location: check.php'); } $conn->close(); ?> <html > <head> <title>Theatres</title> <link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> </head> <body> <div id="header"> <h3 id="hello"> Hello <?php echo "$uname"; ?> ! </h3> <div class="shell"> <div id="navigation"> <ul> <li><a href="index1.php" class="active">HOME</a></li> <li><a href="aboutus.php">ABOUT US</a></li> <li><a href="movie.php">MOVIES</a></li> <li><a href="concert.php">CONCERTS</a></li> <li><a href="theatre.php">THEATRES</a></li> <li><a href="fest.php">FESTS</a></li> <li><a href="profile.php"> PROFILE</a></li> <li><a href="up.php">SIGN UP</a></li> <li> <a href="in.php">SIGN IN</a></li> <li> <a href="out.php">SIGN OUT</a></li> </ul> </div> <div class="cl"> </div> </div> </div> <div id="marq"> <marquee behavior="scroll" scrollamount="10" hspace="10px"><a href="kapil.php"><img src="k.jpg"></a><a href="tamasha.php"><img src="tamasha.jpg"></a><a href="skrillex.php"><img src="Skrillex.jpg"></a><a href="bro.php"><img src="b1.jpg"></a><a href="drishyam.php"><img src="dd.jpg"></a><a href="pkp2.php"><img src="8.jpg"></a><a href="talvar.php"><img src="tl.jpg"></a><a href="kapil.php>"<img src="k.jpg"></a></marquee> </div> <div id="main"> <div class="bg-top"> <div class="shell"> <h1> THEATRE</h1><br><br> <table> <tr> <td><a href="cult.php"><img src="kod.jpg"></a></td> <td><b>CULTURE GULLY</b>:Kingdom of Dreams is India's first live entertainment, theatre and leisure destination.The destination consists of two theatres, Nautanki Mahal and the Showshaa Theatre, and a cultural and cuisine area known as Culture Gully</td> <tr> <td><a href="tvf.php"><img src="tvf.jpg"></a></td> <td><b>TVF</b>:The Viral Fever also popularly abbreviated TVF is an online youth entertainment network launched in 2010. The main mode of this entertainment network is distribution of short comical videos that expose the funny side of everyday life which most of us fail to notice..</td> </tr> <tr> <td><a href="zang.php"><img src="z.jpg"></a></td> <td><b>ZANGOORA</b>:Zangoora – The Gypsy Prince is the first Bollywood musical. It was premiered on September 23, 2010 at Nautanki Mahal of Kingdom of Dreams, Gurgaon. </td> </tr> <tr> <td><a href="aib.php"><img src="aib1.jpg"></a></td> <td><b>AIB</b>: All India Bakchod usually abbreviated and referred to as AIB is an Indian comedy group. The group was initially founded by Gursimran Khamba and Tanmay Bhat and was later joined by Rohan Joshi and Ashish Shakya.</td> </tr> </table> </div> </div> </div> <div id="footer"> <div class="shell"> <div class="top"> <div id="twitter"> <h2>COMING SOON</h2> <div class="cl"> </div> <div class="twitter-posts"> <ul> <li> <p><a href="bjr.php">BAJIRAO MASTANI</a> Bajirao Mastani is an Indian historical romance film produced and directed by Sanjay Leela Bhansali</p> </li> <li> <p><a href="airlft.php">AIRLIFT</a> Airlift is an upcoming Indian film directed by Raja Krishna Menon, and starring Akshay Kumar and Nimrat Kaur in lead roles, and is scheduled for release on 22 January 2016.</p> </li> <li> <p><a href="badi.php">World Superseries Finals 2015</a>The 2015 BWF Season is the overall badminton circuit organized by the Badminton World Federation (BWF) for the 2015 badminton season to publish and promote the sport.</p> </li> <li> <p><a href="skrillex.php">Skrillex</a> Sonny John Moore,known professionally as Skrillex, is an American electronic music producer, DJ, singer and songwriter.</a></p> </li> </ul> </div> </div> <div id="flickr"> <div class="cl"> </div> <div class="flickr-pics"> <ul> <li> <a href="ashwin.php"><img src="ashwin.jpg" alt="Ashwin shines as India clinch series with third Test win" ></a> </li> <li> <a href="sun.php"><img src="sun.jpg" alt="Sunburn Festival 2015" ></a> </li> <li class="last"> <a href="rd.php"><img src="rd.jpg" alt="Deepika Padukone, Ranbir Kapoor starrer ‘Tamasha’ earns Rs. 24.04 cr in two days" ></a> </li> <li> <a href="starc.php"><img src="starc.jpg" alt="Injured Starc unsure when he'll bowl again for Australia" ></a> </li> <li> <a href="rs.php"><img src="rs.jpg" alt="Why Is Ranveer Singh Not Worried About ‘Dilwale-Bajirao Mastani’ Clash?" ></a> </li> <li class="last"> <a href="tamasha.php"><img src="tamasha.jpg" alt="Deepika Padukone And Ranbir Kapoor Create More Tamasha At College Festival!" ></a> </li> <li> <a href="sa.php"><img src="sa.jpg" alt="Awesome threesome have made SA batsmen look club class" ></a> </li> <li> <a href="narine.php"><img src="narine.jpg" alt="Sunil Narine suspended from international cricket for illegal bowling action" ></a> </li> <li class="last"> <a href="ns.php"><img src="ns.jpg" alt="Naseeruddin Shah To Be Honoured At Dubai International Film Festival" ></a> </li> </ul> </div> </div> <div class="cl"> </div> </div> </div> </div> </body> </html>