OwlCyberSecurity - MANAGER
Edit File: course_search.php
<!DOCTYPE HTML> <html class="no-js"> <title>Course Search</title> <?php include('header.php'); $course = $_GET['id']; ?> <!-- Hero Area --> <div class="hero-area"> <div class="page-banner parallax" style="background-image:url(images/banner/about.jpg);"> <div class="container"> <div class="page-banner-text"> <h1 class="block-title">Course Search</h1> </div> </div> </div> </div> <!-- Main Content --> <br> <br> <div id="main-container"> <div class="content"> <div class="container"> <div class="row"> <div class="col-md-4 col-sm-4"> <div class="row"> <div class="col-md-12" data-appear-animation="bounceInRight"> <h3>FOR ADMISSION QUERIES:</h3> <hr class="sm"> <div class="alert alert-info fade in"> <div class="close"> <p style="padding-top:10px; line-height:30px;"><strong>U.S. Ostwal Group of Colleges</strong><br> <font color="#ef4328">(A unit of U.S. Ostwal Education Society)</font><br> Toll Plaza, Udaipur Road, Mangalwad, <br> Distt.- Chittorgarh (Rajasthan)<br><br> Contact No.: 9929104949, 9829035414<br> E-Mail: ostwalhs1@gmail.com<br> Web.: www.usostwaledu.com </p></div></div> </div> </div> </div> <div class="col-md-8 col-sm-8"> <div class="row"> <style> table { border-collapse: collapse; border-spacing: 0; width: 100%; border: 1px duble #000; } th, td { border: 1px solid #000; text-align: left; padding: 8px; color:#000000; } </style> </head> <body> <h3>Search For :- <?php echo $course; ?></h3> <br> <div style="overflow-x:auto;"> <table> <tr style="background:#005395;color:#ffffff;"> <th style="color:#ffffff;">Course</th> <th style="color:#ffffff;">Eligibility</th> <th style="color:#ffffff;">Duration</th> <th style="color:#ffffff;"style="color:#ffffff;">Total Seats</th> </tr> <?php if ($course == "id" or $course == "Select Course") { ?> <font color = 'red'><b>No Course Details Found..! </b></font> <a href = 'index.php'>Click her for try again</a><br> <?php } else { $hostname = "localhost"; $username = "usostwal_db"; $password = "ostwal4355"; $database = "usostwal_rajdata"; $conn = mysql_connect("$hostname","$username","$password") or die(mysql_error()); mysql_select_db("$database", $conn); $qry="select * from tbl_course where CourseName ='".$course."' "; $rs=mysql_query($qry); while ($row_1 = mysql_fetch_array($rs)) { ?> <tr> <td><?php echo $row_1['CourseName']; ?></td> <td><?php echo $row_1['Eligibility']; ?></td> <td><?php echo $row_1['Duration']; ?></td> <td><?php echo $row_1['TotalSeats']; ?></td> </tr> <?php } }?> </table> </div> </div> <ul> </div> </div> <hr> <div class="spacer-30"></div> </div> </div> </div><br> <!-- Site Footer --> <?php include('footer.php'); ?> </body> <!-- Mirrored from preview.imithemes.com/born-to-give/about.html by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 11 Feb 2016 13:07:44 GMT --> </html>