Şuanki Dizin: /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/swamipolytechnic.org/library-gallery.php |
<?php require_once("78enc22_main7sqww_8d9/lib/functions.php"); $db = new login_function(); ?> <?php require_once("header.php"); ?> <html> <head> <!-- Custom --> <link href="css/styles.css" type="text/css" media="all" rel="stylesheet" /> <script src="js/app.js"></script> </head> <div style="background-color:#C80032;"> <div class="department-main-section"> <br /> <center><h2 class="head-title">Library</h2> <?php require_once("facility-left-menu.php"); ?> <div style="display:inline-table; margin-bottom:20px;"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <div class="container" style="height:400px;width:865px;"> <div id="myCarousel" class="carousel slide" data-ride="carousel"> <!-- Wrapper for slides --> <div class="carousel-inner"> <?php $slider_img = $db->get_all_library_slider(); if(!empty($slider_img)) { $counter = 0; foreach($slider_img as $record) { $id = $slider_img[$counter][0]; $images = $slider_img[$counter][1]; ?> <div class="item <?php if($counter==0){ ?>active<?php } ?>"> <img src="slider_images/<?php echo $images;?>" alt="SWAMI POLYTECHNIC" style="width:100%;border:1px solid #FFFFFF;"> <div class="carousel-caption"> </div> </div> <?php $counter ++; } }else { ?> <td colspan="4">No Data Found...</td> <?php } ?> </div> <!-- Left and right controls --> <a class="left carousel-control" href="#myCarousel" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left" style="margin-top:0px;"></span> <span class="sr-only">Previous</span> </a> <a class="right carousel-control" href="#myCarousel" data-slide="next"> <span class="glyphicon glyphicon-chevron-right" style="margin-top:0px;"></span> <span class="sr-only">Next</span> </a> </div> </div> <br /><br /> <div class="parent_data_contnr" > <?php require_once("library-left-panel.php"); ?> <br /><br /> <?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="display:inline-table;margin:5px;"> <a href="/gallery/<?php echo $images; ?>" target="_blank"><img src="/gallery/<?php echo $images; ?>" class="img-data"></a> <p class="image_caption"><center><?php echo $description;?> </p></center> </div> <?php $counter++; } } ?> </div> </div> </div> </div> <?php require_once("footer.php"); ?> </html>
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