Файловый менеджер - Редактировать - /home/umudio/public_html/repo/slideshow2.php.tar
Назад
home/umudio/public_html/OLD/slideshow2.php 0000644 00000005431 14773626156 0014536 0 ustar 00 <?php include("Connecter/dataconn.php"); ?> <?php if (isset($_GET['tab'])) { unset($temp); if(isset($_GET['tab'])){ $_GET['tab']=trim($_GET['tab']); if(preg_match('/^[0-9]/u',$_GET['tab'])){ settype($_GET['tab'], 'int'); $temp=(int)$_GET['tab']; } } if(!isset($temp)){echo "Sorry! Wrong Data!"; exit();} $id=$temp; $query_dio=sprintf("select * from photos where category = %s order by dater desc, titler asc", mysql_real_escape_string($id)); $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); $which=$_GET['clem']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <?php include("head.php"); ?> <style> #galleria{height:550px; width:650px;} </style> <!-- load jQuery --> <script src="ju/jquery.js"></script> <!-- load Galleria --> <script src="ju/galleria/galleria-1.2.7.min.js"></script> <link rel="stylesheet" href="ju/galleria/themes/classic/galleria.classic.css"> <script src="ju/galleria/themes/classic/galleria.classic.min.js"></script> <script type="text/javascript"> Galleria.configure({ imageCrop: true, transition: 'fadeslide', autoplay: 2000, carouselSpeed: 200, imagePan: true, initialTransition: 'fadeslide', transitionSpeed: 1000, lightbox: true, overlayBackground: '#147806', overlayOpacity: 0.85, pauseOnInteraction: false, showCounter: true, debug: false }); </script> </head> <body> <?php include("top.php"); ?> <?php include("titlebar.php"); ?> <?php include("mast.php"); ?> <?php include("navbar.php"); ?> <?php include("contenttop.php"); ?> <?php include("sidebar.php"); ?> <?php include("mainbartop.php"); ?> <!--Content Goes here--> <div class="headingbiggest">Photo Gallery…</div> <hr /> <div class="headingbigger"><?php echo($which); ?></div> <div style="clear:both"> </div> <div align="center" style="width:650px;"> <?php if ($totalRows_dio>0) { ?> <div id="galleria"> <?php do { ?> <a href="<?php echo $row_dio['photo']; ?>"><img src="<?php echo $row_dio['thumb']; ?>" data-title="<?php echo($which); ?>" data-description="<?php echo $row_dio['titler']; ?>"></a> <?php } while ($row_dio = mysql_fetch_assoc($dio)); ?> </div> <script> Galleria.run('#galleria'); </script> <?php } else { echo ("None Found!"); } ?> </div> <div style="clear:both"> </div> <a href="photos.php">Back to Photos »</a> <div> </div> <!--Content Ends here--> <?php include("mainbarbottom.php"); ?> <?php include("contentbottom.php"); ?> <?php include("footbar.php"); ?> <?php include("bottom.php"); ?> </body> </html> <?php } else { include("photos.php"); } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка