| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/www.superporner.com/porn/admin/ |
Upload File : |
<? require "header.php";
if(!is_numeric($_REQUEST[id])) { exit(); }
if($_POST) {
$_POST = mysql_real_escape_array($_POST);
mysql_query("UPDATE static SET title = '$_POST[title]', body = '$_POST[body]', filename = '$_POST[filename]', metakw = '$_POST[metakw]', metadesc = '$_POST[metadesc]', headertitle = '$_POST[headertitle]' WHERE record_num = '$_POST[id]'");
$insertid = $_POST[id];
$success = true;
$_GET[id] = $_POST[filename];
}
$result = mysql_query("SELECT * FROM static WHERE record_num = '$_GET[id]'");
$row = mysql_fetch_array($result);
?>
<div id="right_column">
<!-- RIGHT -->
<div id="right_top">
<div id="right_home"></div>
<div id="right_right">
<a href="index.php">Admin Home</a>
</div>
</div>
<div id="right_bg">
<h2>Edit<strong>Static</strong></h2>
<div id="index_left" style='width: 100%;'>
<form method='post' action='' enctype='multipart/form-data'>
<input type='hidden' name='id' value='<? echo $_GET[id]; ?>' />
<? if($success) { ?><p align='center'>Save Successful. <a href='static.php'>Click here to go back</a>.</p>
<? } ?>
<table width="750" border="0" align="center" cellpadding="3" cellspacing="0" >
<tr>
<td width="99" height="25" class="style4">Filename</td>
<td width="446" height="25" align="left" class="style4"><input name="filename" type="text" class="style4" id="name" size="35" maxlength="255" value="<? echo $row[filename]; ?>" /></td>
</tr>
<tr>
<td width="99" height="25" class="style4">Title</td>
<td width="446" height="25" align="left" class="style4"><input name="title" type="text" class="style4" id="name" size="35" maxlength="255" value="<? echo $row[title]; ?>" /></td>
</tr>
<tr>
<td width="99" height="25" class="style4">Header Title</td>
<td width="446" height="25" align="left" class="style4"><input name="headertitle" type="text" class="style4" id="name" size="35" maxlength="255" value="<? echo $row[headertitle]; ?>" /></td>
</tr>
<tr>
<td width="99" height="25" class="style4">Meta KW</td>
<td width="446" height="25" align="left" class="style4"><input name="metakw" type="text" class="style4" id="name" size="35" maxlength="255" value="<? echo $row[metakw]; ?>" /></td>
</tr>
<tr>
<td width="99" height="25" class="style4">Meta Desc</td>
<td width="446" height="25" align="left" class="style4"><input name="metadesc" type="text" class="style4" id="name" size="35" maxlength="255" value="<? echo $row[metadesc]; ?>" /></td>
</tr>
<tr>
<td height="25" class="style4">Body</td>
<td height="25" align="left" class="style4"><textarea name="body" cols="35" rows="15" class="style4" id="name4"><? echo $row[body]; ?></textarea></td>
</tr>
<td height="25" colspan="2" align="center" class="style4"><input type="submit" name="Submit2" value="Save" /></td>
</tr>
</table>
</form>
</div>
</div>
<div id="right_bottom"></div>
<!-- RIGHT -->
<!-- STATYSTYKI -->
</div>
<!-- STATYSTYKI -->
</div>
</div>
<? require "footer.php"; ?>