Файловый менеджер - Редактировать - /home/umudio/public_html/repo/issuedetail.php.tar
Назад
home/umudio/public_html/OLD/issuedetail.php 0000644 00000006362 14773626032 0014763 0 ustar 00 <?php include("Connecter/dataconn.php"); ?> <?php if (isset($_GET['tab'])) { $cid=$_GET['tab2']; $cdd=$cid; if($cid==1){$cdd="Family Life & Issues";} if($cid==2){$cdd="Health Corner";} if($cid==3){$cdd="Civic Rights & Responsibilities";} if($cid==4){$cdd="Liturgical Corner";} if($cid==5){$cdd="Spirituality Corner";} if($cid==6){$cdd="Scripture Corner";} if($cid==7){$cdd="General Issues";} unset($temp); if(isset($_GET['tab'])){ $_GET['tab']=trim($_GET['tab']); if(preg_match('/^[0-9]/u',$_GET['tab'])){ settype($_GET['tab'], 'int'); $temp=(int)$_GET['tab']; } } if(!isset($temp)){echo "Sorry! Wrong Data!"; exit();} $id=$temp; $query_dio = "SELECT * FROM reflections2 where sn=$id"; $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"><?php echo $cdd ; ?>…</div><hr /> <div class="headingbigger"> <?php echo $row_dio['titler']; ?> </div> <?php if($row_dio['vid']!=""){ ?> <div style="float:left; padding:20px 20px 10px 0px;"> <embed src="<?php echo $row_dio['vid']; ?>" autostart=0 loop=1 align="middle" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/download/default.asp" showcontrols=1 showdisplay=0 showstatusbar=1 filename="<?php echo $row_dio['vid']; ?>" width="400" height="300" displaysize="1" > </embed> </div> <?php } ?> <div class="textnormal"> <?php $query_dio1 = "SELECT * FROM reflectionsphotos where whose=" . $row_dio['sn']; $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) { ?> <?php $nott=1; do { $nottt=$nott%2; if($nottt==0){ ?> <img src="<?php echo $row_dio1['photo']; ?>" style="float:left; padding:10px 15px 10px 0px; clear:left;" /> <?php } else { ?> <img src="<?php echo $row_dio1['photo']; ?>" style="float:left; padding:10px 15px 10px 0px; clear:left;" /> <?php } $nott++; } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> <?php } ?> <div style="text-align:left; padding-top:10px;"> <?php echo $row_dio['contenter']; ?> </div> </div> <p style="clear:both;"> </p> <hr /> <a href="issues.php?theday=<?php echo $cid ; ?>">See Other Issues in <?php echo $cdd ; ?> »</a> <p> </p> <!--Content Ends here--> <?php include("mainbarbottom.php"); ?> <?php include("contentbottom.php"); ?> <?php include("footbar.php"); ?> <?php include("bottom.php"); ?> </body> </html> <?php } else { include("issues.php"); } ?>