Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/demo.php |
<?php require_once("78enc22_main7sqww_8d9/lib/functions.php"); $db =new login_function(); $section=""; $department=""; $sectionn=""; $_SESSION['department_session'] = $department; $_SESSION['section_session'] = $section; if(isset($_GET['sec'])& isset($_GET['dept'])) { $sectionn = $_GET['sec']; $department = $_GET['dept']; } ?> <head> <link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet"> <style> .meenu { font-family: 'Roboto Slab', serif; font-size:16px; color:white; } .caption { font-family: 'Roboto Slab', serif; font-size:16px; color:white; width:200px; margin:10px; border:0px solid black; margin-left:-8px; text-align:center; } </style> </head> <?php require_once("header.php"); ?> <section id="service"> <div class="contact-caption clearfix" style="min-height:500px;margin:0px;background-color:#C80032;font-family: 'Roboto Slab', serif; font-size:13px;"> <div class="container" style="text-align:center;"> <div class="row"> <h2 style="font-size:40px; margin:15px; color:#FFFFFF;">Gallery</h2> </div> <div style="width:520px;margin:auto;"> <a href="<?php $_SERVER['PHP_SELF']; ?>?sec=sa&dept=computer" class="meenu">Show All</a> <a href="#" class="meenu">Events</a> <a href="#" class="meenu">Guest Lecture</a> <a href="#" class="meenu">menu</a> <a href="#" class="meenu">Any Other</a> </div> <?php $details = $db->get_all_gallery_images(); if(!empty($details)) { $counter =0; foreach($details as $record) { $id = $details[$counter][0]; $department = $details[$counter][1]; $section = $details[$counter][2]; $images = $details[$counter][3]; $description = $details[$counter][4]; ?> <div class="row" style=""> <div class="col-md-2" style=""> <img src="/gallery/<?php echo $images; ?>" class="img-thumbnail" width="2000px;" height="2000px;"> <div class="caption"> <?php echo $department;?>(<?php echo $section; ?>) </div> </div> </div> <?php $counter++; } } ?> </div> </section><!-- end of service section --> <?php require_once("footer.php"); ?>
Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4