Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/photos.php
Назад
<?php include("Connecter/dataconn.php"); ?> <?php $query_dio = "SELECT * FROM photocategory where archived <> 'Yes' order by titler asc"; $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); ?> <!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"); ?> </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 /> <p class="headingnormal">Click on the category you want to view</p> <table border="0" cellpadding="0" cellspacing="3" class="efresh"> <?php $query_dio5="select count(*) from photos where category = 0"; $dio5 = mysql_query($query_dio5, $csn) or die(mysql_error()); $row_dio5 = mysql_fetch_array($dio5); ?> <tr><td>1. Generic -- <?php echo $row_dio5[0]; ?> Photo(s)<div style="height:10px; line-height:10px;"> </div></td><td width="200px"> <?php if($row_dio5[0]>0){ ?> <a href="gallery.php?tab=0&clem=No Category">Simple View</a> | <a href="slideshow.php?tab=0&clem=No Category">Slide Show View</a> <?php } ?> </td></tr> <?php if ($totalRows_dio>0) { $gv=2; ?> <?php do { ?> <?php $query_dio5="select count(*) from photos where category = " . $row_dio['sn']; $dio5 = mysql_query($query_dio5, $csn) or die(mysql_error()); $row_dio5 = mysql_fetch_array($dio5); ?> <tr valign="top"> <td><?php echo $gv; ?>. <?php echo $row_dio['titler']; ?> -- <?php echo $row_dio5[0]; ?> Photo(s)<div style="height:10px; line-height:10px;"> </div></td> <td> <?php if($row_dio5[0]>0){ ?> <a href="gallery.php?tab=<?php echo $row_dio['sn']; ?>&clem=<?php echo $row_dio['titler']; ?>">Simple View</a> | <a href="slideshow.php?tab=<?php echo $row_dio['sn']; ?>&clem=<?php echo $row_dio['titler']; ?>">Slide Show View</a> <?php } ?> </td> </tr> <?php $gv++; } while ($row_dio = mysql_fetch_assoc($dio)); ?> <?php } ?> </table> <p> </p> <!--Content Ends here--> <?php include("mainbarbottom.php"); ?> <?php include("contentbottom.php"); ?> <?php include("footbar.php"); ?> <?php include("bottom.php"); ?> </body> </html>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка