Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/news.php
Назад
<?php include("Connecter/dataconn.php"); ?> <?php $query_dio = "SELECT * FROM news where archived <> 'Yes' order by dater desc, sn desc"; $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">News & Events…</div><hr /> <?php if ($totalRows_dio>0) { $gv=1; ?> <?php do { ?> <div class="headingnormal"> <?php echo $gv; ?>. <?php echo $row_dio['titler']; ?> </div> <div> <?php $aa=strip_tags($row_dio['contenter']); $cc=substr($aa,0,250); echo $cc; ?>... <br /><a href="newsdetail.php?tab=<?php echo $row_dio['sn']; ?>"><img src="but.png" style="padding-top:5px; padding-left:30px; padding-bottom:25px;" /></a> </div> <?php $gv++; } while ($row_dio = mysql_fetch_assoc($dio)); ?> <?php } else { echo ("None Found!"); } ?> <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
|
Настройка