Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/religiousf.php
Назад
<?php include("Connecter/dataconn.php"); ?> <?php $query_dio = "SELECT * FROM religiouscon where status='Female' order by namer"; $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"><img src="arrowstop.gif" width="22" height="22" /> Female Religious Communities</div> <hr /> <?php if ($totalRows_dio>0) { ?> <?php do { $which=$row_dio['sn']; ?> <div> </div><hr /><div class="headingbigger"><?php echo $row_dio['namer']; ?></div> <?php $query_dio1 = "SELECT * FROM religious where status='$which' order by nameadd"; $dio1 = mysql_query($query_dio1, $csn) or die(mysql_error()); $row_dio1 = mysql_fetch_assoc($dio1); $totalRows_dio1 = mysql_num_rows($dio1); if ($totalRows_dio1>0) { $gv=1; ?> <div class="post"> <?php do { ?> <table width="100%" cellspacing="2" cellpadding="3"> <tr valign="top"> <td width="10px"><div style="color:#990000; font-weight:bold; font-size:18px;"><?php echo $gv; ?>. </div></td><td><?php echo $row_dio1['nameadd']; ?></td> </tr></table> <?php $dsn=$row_dio1['sn']; $sql="select *,date_format(ordination,'%b %d, %Y') as ord from priests where community=$dsn"; $result=mysql_query($sql); $row=mysql_fetch_array($result); $total=mysql_num_rows($result); if($total>0){ ?> <div class="headingnormal">Members</div> <table width="100%" cellspacing="2" cellpadding="3"> <tr valign="top"><td style="background-color:#333333; color:#FFFFFF">Name</td> <td style="background-color:#333333; color:#FFFFFF">Phone</td> <td style="background-color:#333333; color:#FFFFFF">Email</td> <td style="background-color:#333333; color:#FFFFFF">Ordination</td> </tr> <?php do { ?> <tr valign="top"><td bgcolor="#d9d9d9"><?php echo $row['namer']; ?></td><td bgcolor="#d9d9d9"><?php echo $row['phone']; ?></td><td bgcolor="#d9d9d9"><?php echo $row['email']; ?></td><td bgcolor="#d9d9d9"><?php echo $row['ord']; ?></td></tr> <?php } while($row=mysql_fetch_array($result)); ?> </table> <?php } ?> <!-- <table width="100%" cellspacing="2" cellpadding="3"> <tr valign="top"> <td style="background-color:#333333; color:#FFFFFF"><b>Members</b></td> </tr> <tr valign="top"> <td bgcolor="#d9d9d9"><?php echo $row_dio1['members']; ?></td> </tr> </table> --> <hr /> <?php $gv++; } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> <div> </div> </div><div class="post-bot"></div> <?php } else { echo ("None Found!"); } ?> <?php } while ($row_dio = mysql_fetch_assoc($dio)); ?> <?php } else { echo ("None Found!"); } ?> <!--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
|
Настройка