Файловый менеджер - Редактировать - /home/umudio/public_html/repo/sidebar_bottom.php.tar
Назад
home/umudio/public_html/OLD/sidebar_bottom.php 0000644 00000010620 14773626376 0015450 0 ustar 00 <div id="sidebar"> <?php include("owner.php"); ?> <?php $ti2 = basename($_SERVER['PHP_SELF']); /* Returns The Current PHP File Name */ if($ti2=='issue.php' || $ti2=='issues.php' || $ti2=='issuedetail.php'){ include("sideissues.php"); } ?> <?php $ti2 = basename($_SERVER['PHP_SELF']); /* Returns The Current PHP File Name */ if($ti2=='reflection.php' || $ti2=='reflections.php' || $ti2=='reflectiondetail.php'){ include("sidereflections.php"); } ?> <div style="line-height:30px; height:30px;"> </div> <div style="line-height:10px; height:10px;"> </div> <a href="http://www.universalis.com/Nigeria/100/mass.htm" target="_blank"> <img src="http://www.universalis.com/Nigeria/100/banner260.gif" alt="Universalis" width="280" height="60" border="0"> </a> <div style="line-height:30px; height:30px;"> </div> <?php $query_dio77 = "SELECT sn, titler, contenter, archived, date_format(dater, '%b %e, %Y') as dte FROM news where archived <> 'Yes' order by dater desc LIMIT 0 , 3"; $dio77 = mysql_query($query_dio77, $csn) or die(mysql_error()); $row_dio77 = mysql_fetch_array($dio77); $totalRows_dio77 = mysql_num_rows($dio77); ?> <div class="boxer3" align="left"> <div class="headingbigger" style="color:#ffff00; text-shadow:2px 2px 2px #111111; font-size:22px;"><a href="news.php" style="color:#ffff00;">News & Events</a></div> <div class="textnormal" style="padding:5px 0px 10px 15px; color:#ffffff;"> <?php if ($totalRows_dio77>0) { ?> <?php do { ?> <div class="trou1"><span class="lilian2"><?php echo $row_dio77['dte']; ?></span> » <a href="newsdetail.php?tab=<?php echo $row_dio77['sn']; ?>"><?php echo $row_dio77['titler']; ?></a></div> <?php } while ($row_dio77 = mysql_fetch_array($dio77)); ?> <?php } else { echo ("No News Added Yet!</div>"); } ?> </div> </div> <div style="line-height:10px; height:10px;"> </div> <div style="height:7px; line-height:7px;"> </div> <div align="center" class="sidebared"><a href="faq.php"><img src="sid1.jpg" alt="" width="280px" class="zxe" /></a></div> <div style="height:25px; line-height:25px;"> </div> <div align="center"> <div class="c3specialheading1">Follow Us:</div> <ul id="orbs" class="bubblewrap" style="color:#000000;"> <li><a href="https://facebook.com/dunigeria/" target="_blank"><img src="facebook.png" alt="Follow Facebook" /></a></li> <li><a href="https://twitter.com/dunigeria" target="_blank"><img src="twitter.png" alt="Follow on Twitter" /></a></li> <li><a href="https://www.youtube.com/channel/UCXo3t3ygwp2TPlYSeq2pbGA" target="_blank"><img src="youtube.png" alt="Follow on YouTube" /></a></li> </ul> </div> <div style="height:15px;"> </div> <div align="center" class="sidebared"><a href="reflections.php"><img src="sid3.jpg" width="280px" class="zxe" /></a></div> <div style="height:7px;"> </div> <div style="height:15px;"> </div> <div align="center" class="sidebared"><a href="activityyearly2.php"><img src="sid1.png" width="280px" /></a></div> <div style="height:7px;"> </div> <div style="height:7px;"> </div> <div align="center" class="sidebared"><a href="issues.php"><img src="sid2b.jpg" width="280px" class="zxe" /></a></div> <div style="height:7px;"> </div> <div class="reminder3"> <div class="headingbiggest" style="background:none; border-bottom:none; text-align:center; margin-top:7px; color:#900; font-size:22px;">Upcoming Events...</div> <?php $query_dio992 = "SELECT sn, activity, archived, fromdate, todate, date_format(fromdate,'%Y, %b %d') as fdate, date_format(todate,'%Y, %b %d') as tdate FROM calend where archived='No' and fromdate>=curdate() order by fromdate asc limit 0 , 2"; $dio992 = mysql_query($query_dio992, $csn) or die(mysql_error()); $row_dio992 = mysql_fetch_assoc($dio992); $totalRows_dio992 = mysql_num_rows($dio992); ?> <div id="news-content"><ul> <?php if ($totalRows_dio992>0) { ?> <?php do { ?> <li><div class="textstyled"> <?php echo $row_dio992['fdate']; ?> <?php if($row_dio992['todate']!=""){ echo(" - "); echo $row_dio992['tdate']; } ?> </div> <div class="news"><div class="titl"><?php echo $row_dio992['activity']; ?></div> </div></li> <?php } while ($row_dio992 = mysql_fetch_assoc($dio992)); ?> <?php } else { echo ("No Upcoming Events Yet!</div>"); } ?> </ul></div> <?php if ($totalRows_dio992>0) { ?> <div style="margin:0px auto; width:240px;"> <a href="upcoming.php" style="color:#900;">More Upcoming Events...</a> </div> <?php } ?> </div> </div>