Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/viewcontent3.php
Назад
<?php include("Connecter/dataconn.php"); ?> <?php if (isset($_GET['tab'])) { unset($temp); $theValue = trim($_GET['tab']); if($theValue!=""){ if(preg_match('/^[0-9]/u',$theValue)){ settype($theValue, 'int'); $temp=(int)$theValue; } if(!isset($temp)){echo "Sorry! Wrong Data!"; exit();} } $id=$temp; $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); ?> <!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 $res1=$row_dio['titler']; echo (stripslashes($res1)); ?> </div><hr /> <?php $query_dio1 = "SELECT * FROM contentphotos where whose=$id"; $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>1) { ?> <div style="float:right; width:350px; padding:25px 0px 5px 10px;" align="center"> <div id="whatsnew"> <div style="height:10px"> </div> <div class="jcarousel-skin-tango" id="hpcarousel"> <ul id="mycarousel" class="jcarousel-skin-tango"> <?php $nott=1; do { $nottt=$nott%2; if($nottt==0){ ?> <li><a class="group4" href="l<?php echo $row_dio1['photo']; ?>" title=""><img class="resultsItem" src="<?php echo $row_dio1['photo']; ?>" height="96" alt="" border="0"></a></li> <?php } else { ?> <li><a class="group4" href="l<?php echo $row_dio1['photo']; ?>" title=""><img class="resultsItem" src="<?php echo $row_dio1['photo']; ?>" height="96" alt="" border="0"></a></li> <?php } $nott++; } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> </ul> </div> </div> </div> <?php } ?> <?php if ($totalRows_dio1==1) { ?> <div style="float:right; width:200px;"> <?php do { ?> <a class="group4" href="l<?php echo $row_dio1['photo']; ?>" title=""><img src="<?php echo $row_dio1['photo']; ?>" class="rimg" /></a> <?php } while ($row_dio1 = mysql_fetch_assoc($dio1)); ?> </div> <?php } ?> <div> <?php $res1=$row_dio['contenter']; echo (stripslashes($res1)); ?> </div> <!--Content Ends here--> <?php include("mainbarbottom.php"); ?> <?php include("contentbottom.php"); ?> <?php include("footbar.php"); ?> <?php include("bottom.php"); ?> </body> </html> <?php } else { include("index.php"); } ?>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка