Файловый менеджер - Редактировать - /home/umudio/public_html/OLD/editphotocategory.php
Назад
<?php if (!$_SESSION){ session_start(); } $acc=$_SESSION['acc']; $yto=$_SESSION['yto']; if(isset($acc) && ($acc=="administratoroftheUmuahiasiteDiocese2016Byto")){?> <?php include("Connecter/dataconn.php"); ?> <?php if (isset($_GET['tab'])) { 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=sprintf("select * from photocategory 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">Edit Photo Category</div> <p> </p> <p class="headingbigger"><b>Edit Photo Category</b></p> <form id="form1" name="form1" method="post" action="dadmin.php" enctype="multipart/form-data"> <table width="100%" cellpadding="1" cellspacing="2"> <tr valign="top"> <td style="font-weight:bold; text-align:center">Photo Category</td> <td align="left" ><input name="titler" type="text" size="70" value="<?php echo ($row_dio['titler']); ?>" /></td> </tr> <tr valign="top"> <td style="text-align:right; font-size:10px;" colspan="2"><a href="dadmin.php">Cancel</a> <input name="editphotocategory" type="submit" style="font-size:12px;" id="editphotocategory" value=" Edit Photo Category " /> <input name="sn" type="hidden" value="<?php echo ($row_dio['sn']); ?>" /> </td> </tr> </table> </form> <!--Content Ends here--> <?php include("mainbarbottom.php"); ?> <?php include("contentbottom.php"); ?> <?php include("footbar.php"); ?> <?php include("bottom.php"); ?> </body> </html> <?php } else { include("dadmin.php"); } ?> <?php } else { include("ddadmin.php"); }?>
| ver. 1.4 |
Github
|
.
| PHP 5.6.40 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка