Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/index.php
Назад
<?php include("Connecter/dataconn.php"); ?> <!doctype html> <html> <head> <?php include("head.php"); ?> <link rel="stylesheet" href="ann/photogallery.css"> <script type="text/javascript" src="ann/photogallery.js"> /*********************************************** * Photo Gallery Script v2.0- © Dynamic Drive (www.dynamicdrive.com) * This notice must stay intact for legal use. * Visit http://www.dynamicdrive.com/ for full source code ***********************************************/ </script> <style type="text/css"> #thumbs { width: 100%; margin-top:90px; margin-left: auto; margin-right: auto; text-align: justify; -ms-text-justify: distribute-all-lines; text-justify: distribute-all-lines; } #thumbs a { vertical-align: top; display: inline-block; *display: inline; zoom: 1; } .stretch { width: 100%; display: inline-block; font-size: 0; line-height: 0 } </style> </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 for this page begins here--> <div class="polaroid" style=""> <div class="righ"> <div class="maintitle2"><a href="#">Welcome »</a></div> <div class="maintext2" style="font-size:14px;"> <?php $id=1; $query_dio=sprintf("select * from thecontent where sn = %s", mysql_real_escape_string($id)); $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); ?> <?php $res1=$row_dio['contenter']; echo (stripslashes($res1)); ?> </div> <div style="padding:7px 0px 0px 7px; margin-top:-15px;"> <!-- Split button --> <div class="btn-group dropup"> <a class="btn btn-danger" href="viewcontent3.php?tab=2">Who are We?</a> <button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <span class="caret"></span> <span class="sr-only">Toggle Dropdown</span> </button> <ul class="dropdown-menu"> <li><a href="viewcontent3.php?tab=3">Diocesan Overview</a></li> <li><a href="viewcontent3.php?tab=2">Brief History</a></li> <li><a href="viewcontent3.php?tab=20">About the Cathedral</a></li> <li role="separator" class="divider"></li> <li><a href="viewcontent3.php?tab=5">Diocesan Curia</a></li> <li><a href="viewcontent3.php?tab=7">Presbyteral Council Members</a></li> <li><a href="viewcontent3.php?tab=9">Diocesan Commissions / Committees</a></li> <li><a href="viewcontent3.php?tab=10">Diocesan Departments</a></li> <li role="separator" class="divider"></li> <li><a href="deanaries.php">Deanaries and Deans</a></li> </ul> </div> </div> </div> <div class="lef" style="background: transparent url(du3.jpg) no-repeat top center;"> </div> </div> <div> </div> <div style="width:100%; text-align: center;"> <div class="polaroid1"> <div class="imnew1"> <a href="issues.php"><img src="op1.jpg" /></a> </div> <div class="container62"> <?php $query_dio = "SELECT sn,who,titler,contenter,date_format(dater, '%d %b %Y') as ddate,category FROM reflections2 order by dater desc, sn desc limit 0,2"; $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); ?> <?php if ($totalRows_dio>0) { ?><div class="nic"><a href="issues.php">View More »</a></div><?php } ?> <div class="maintitle" style="border-bottom:1px solid #222;">Doctrines & Morals</div> <div class="maintext"> <?php if ($totalRows_dio>0) { $gv=1; ?> <?php do { ?> <div class="headingnormal" style="margin-bottom:0px;"><span style="color:#000;"><?php echo $row_dio['titler']; ?></span></div> <?php $aa=$row_dio['who']; $query_dio44 = "SELECT * FROM members2 where sn=$aa"; $dio44 = mysql_query($query_dio44, $csn) or die(mysql_error()); $row_dio44 = mysql_fetch_assoc($dio44); ?> <div style="padding-left:30px; color:#777; font-weight:bold;">By <?php echo $row_dio44['namer']; ?> <span style="font-weight:normal;">Category:</span> <?php echo $row_dio['category']; ?></div> <div><?php echo substr(strip_tags($row_dio['contenter']),0,55); ?>…</div> <div style="text-align:right; padding-bottom:10px;"><a href="issuedetail.php?tab=<?php echo $row_dio['sn']; ?>&tab2=<?php echo $row_dio['category']; ?>"><img src="rm1.png" /></a></div> <?php $gv++; } while ($row_dio = mysql_fetch_assoc($dio)); ?> <?php } else { echo ("None Yet!"); } ?> </div> </div> </div> <div class="polaroid1"> <div class="imnew1"> <a href="reflections.php"><img src="op2.jpg" /></a> </div> <div class="container62"> <?php $query_dio = "SELECT sn,who,titler,contenter,date_format(dater, '%a, %d %b %Y') as ddate FROM reflections order by dater desc, sn desc limit 0,2"; $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); ?> <?php if ($totalRows_dio>0) { ?><div class="nic"><a href="reflections.php">View More »</a></div><?php } ?> <div class="maintitle" style="border-bottom:1px solid #222;">Reflections & Homilies</div> <div class="maintext"> <?php if ($totalRows_dio>0) { $gv=1; ?> <?php do { ?> <div class="headingnormal" style="margin-bottom:0px;"><span style="color:#000;"><?php echo $row_dio['titler']; ?></span></div> <?php $aa=$row_dio['who']; $query_dio44 = "SELECT * FROM members where sn=$aa"; $dio44 = mysql_query($query_dio44, $csn) or die(mysql_error()); $row_dio44 = mysql_fetch_assoc($dio44); ?> <div style="padding-left:30px; color:#777; font-weight:bold;">By <?php echo $row_dio44['namer']; ?> <?php echo $row_dio['ddate']; ?></div> <div><?php echo substr(strip_tags($row_dio['contenter']),0,55); ?>…</div> <div style="text-align:right; padding-bottom:10px;"><a href="reflectiondetail.php?tab=<?php echo $row_dio['sn']; ?>"><img src="rm1.png" /></a></div> <?php $gv++; } while ($row_dio = mysql_fetch_assoc($dio)); ?> <?php } else { echo ("None Yet!"); } ?> </div> </div> </div> </div> <div style="clear:both;"> </div> <div class="vin"> <div class="headingbiggest" style="border-bottom:none;">Publications</div> <?php $query_dio1 = "SELECT * FROM publications where archived <> 'Yes' order by dater desc limit 0,2"; $dio1 = mysql_query($query_dio1, $csn) or die(mysql_error()); $row_dio1 = mysql_fetch_assoc($dio1); $totalRows_dio1 = mysql_num_rows($dio1); ?> <?php if ($totalRows_dio1>0) { $gv=1; ?><div style="padding-left:30px;"> <?php do { ?> <div class="trou3"><a href="<?php echo $row_dio1['specs']; ?>" target="_blank"><?php echo $row_dio1['titler']; ?></a></div> <?php $gv++; } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> </div> <div style="text-align:right;"><a href="articles.php">» See More Publications</a></div> <?php } else { echo ("<div style='color:#fff'>None Found!</div>"); } ?> <hr> <div class="headingbiggest" style="border-bottom:none;">Articles</div> <?php $query_dio = "SELECT * FROM articles where archived <> 'Yes' order by dater desc limit 0,2"; $dio = mysql_query($query_dio, $csn) or die(mysql_error()); $row_dio = mysql_fetch_assoc($dio); $totalRows_dio = mysql_num_rows($dio); ?> <?php if ($totalRows_dio>0) { ?> <div style="padding-left:30px;"> <?php do { ?> <div class="trou4"><a href="articledetail.php?tab=<?php echo $row_dio['sn']; ?>"><?php echo $row_dio['titler']; ?></a></div> <?php } while ($row_dio = mysql_fetch_assoc($dio)); ?> </div> <div style="text-align:right;"><a href="articles.php">» See More Articles</a></div> <?php } else { echo ("<div>None Found!</div>"); } ?> <hr> <div class="headingbiggest" style="border-bottom:none;">Bishop's Blogs</div> <?php $query_dio1 = "SELECT * FROM msg order by dater desc limit 0,2"; $dio1 = mysql_query($query_dio1, $csn) or die(mysql_error()); $row_dio1 = mysql_fetch_assoc($dio1); $totalRows_dio1 = mysql_num_rows($dio1); ?> <?php if ($totalRows_dio1>0) { $gv=1; ?> <div style="padding-left:30px;"> <?php do { ?> <div class="trou"><a href="msg.php?tab=<?php echo $row_dio1['sn']; ?>"><?php echo $row_dio1['titler']; ?></a></div> <?php $gv++; } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> <div style="text-align:right;"><a href="msgs.php">» See More Blogs</a></div> </div> <?php } else { echo ("<div style='color:#fff'>None Found!</div>"); } ?> </div> <div class="vin2"> <div class="headingbiggest">Photo Splash</div> <?php require("photogallery2.php") ; ?> </div> <div style="clear:both;"> </div> <div id="thumbs"> <a href="https://www.vaticannews.va/en/newsletter-registration.html" target="_blank"><img src="vatican1.png" style="width:320px;" ></a> <a href="http://www.osservatoreromano.va/en/pages/subscription" target="_blank"><img src="vatican3.png" style="width:320px;" ></a> <a href="http://press.vatican.va/content/salastampa/en/bollettino.html" target="_blank"><img src="vatican2.png" style="width:320px;" ></a> <span class="stretch"></span> </div> <div style="clear:both;"> </div> <!--Content for this page 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.03 |
proxy
|
phpinfo
|
Настройка