Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/articles.php
Назад
<?php include("Connecter/dataconn.php"); ?> <?php $query_dio = "SELECT * FROM articles where archived <> 'Yes' order by dater desc"; $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); $query_dio1 = "SELECT * FROM publications where archived <> 'Yes' order by dater desc"; $dio1 = mysql_query($query_dio1, $csn) or die(mysql_error()); $row_dio1 = mysql_fetch_assoc($dio1); $totalRows_dio1 = mysql_num_rows($dio1); ?> <!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--> <table border="0" width="100%" cellpadding="0" cellspacing="0"> <tr valign="top"> <td style="padding-left:10px;"> <div class="headingbiggest" style="padding-top:10px;"><img src="arrowstop.gif" width="16" height="16" /> Articles »</div> <?php if ($totalRows_dio>0) { $gv=1; ?> <?php do { ?> <div class="headingnormal"> <?php echo $gv; ?>. <?php echo $row_dio['titler']; ?> </div> <?php $aa=strip_tags($row_dio['contenter']); $cc=substr($aa,0,250); echo $cc; ?>... <br /><a href="articledetail.php?tab=<?php echo $row_dio['sn']; ?>"><img src="rm3.png" style="padding-top:7px;" /></a> <p> </p><hr style="border:thin solid transparent; border-bottom:thin solid #888888" /> <?php $gv++; } while ($row_dio = mysql_fetch_assoc($dio)); ?> <?php } else { echo ("None Found!"); } ?> </td> <td style="padding-right:20px;"> </td> <td style="padding-right:10px;" width="250px"> <div class="headingbiggest" style="padding-top:10px;"><img src="arrowstop.gif" width="16" height="16" /> Publications »</div> <?php if ($totalRows_dio1>0) { $gv=1; ?> <?php do { ?> <div class="headingnormal"> <?php echo $gv; ?>. <a href="<?php echo $row_dio1['specs']; ?>" target="_blank"><?php echo $row_dio1['titler']; ?></a> </div> <hr style="border:thin solid transparent; border-bottom:thin solid #888888" /> <?php $gv++; } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> <?php } else { echo ("None Found!"); } ?> </td> </tr> </table> <!--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
|
Настройка