| Server IP : 208.122.213.31 / Your IP : 216.73.216.185 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($_POST['niche']) {
foreach($_POST['niche'] as $i) {
if(is_numeric($i)) {
mysql_query("DELETE FROM rss_feed WHERE record_num = '$i'");
}
}
}
if($_POST[name]) {
$_POST = mysql_real_escape_array($_POST);
mysql_query("INSERT INTO rss_feed (`name`, `top`, `feed`,`bottom`) VALUES ('$_POST[name]', '$_POST[top]', '$_POST[feed]', '$_POST[bottom]')") or die(mysql_error());
$error = 'Saved!';
}
?>
<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>
<span><a href="rss.php">RSS Feeds</a></span>
</div>
</div>
<div id="right_bg">
<h2>Edit<strong>RSS</strong></h2>
<div id="index_left" style='width: 100%;'>
<? if($error) { ?><p><? echo $error; ?></p><? } ?>
<form id="form1" name="form1" method="post" action="" enctype='multipart/form-data'>
<table border="0" align="center" cellpadding="3" cellspacing="0" class='pagetable'>
<thead>
<tr>
<th colspan=2 align='left'>Add Feed</th>
</tr>
</thead>
<tr>
<td width="99" height="25" class="style4">Name</td>
<td width="446" height="25" align="left" class="style4"><input name="name" type="text" class="style4" size="35" maxlength="255" /></td>
</tr>
<tr>
<td height="25" class="style4">Top</td>
<td height="25" align="left" class="style4"><textarea name="top" cols="35" rows="4" class="style4" ></textarea></td>
</tr>
<tr>
<td height="25" class="style4">Loop</td>
<td height="25" align="left" class="style4"><textarea name="feed" cols="35" rows="15" class="style4"></textarea>
<br />
Valid Tags:<br />
{title} {keywords}{description} {url} {thumb_main} {thumb1-9} {pornstars} {categories} {lengthsec} {length}</td>
</tr>
<tr>
<td height="25" class="style4">Bottom</td>
<td height="25" align="left" class="style4"><textarea name="bottom" cols="35" rows="4" class="style4" ></textarea></td>
</tr>
<tr>
<td height="25" colspan="2" align="center" class="style4"><input type="submit" name="Submit2" value="Save" /></td>
</tr>
</table>
<br />
<br />
<table border="0" align="center" cellpadding="3" cellspacing="0" class='pagetable'>
<thead>
<tr>
<th width="89" align='left'>Name</th>
<th width="263" align='left'>URL</th>
<th width="47" align="center">Edit</th>
<th width="52" align="center">Delete</th>
</tr>
</thead>
<?
$bgcolor = '#ffffff';
$result = mysql_query("SELECT * FROM rss_feed ORDER BY name ASC");
while($row = mysql_fetch_array($result)) {
?>
<tr bgcolor = '<? echo $bgcolor; ?>'>
<td valign="top" class="style4"><? echo $row[name]; ?></td>
<td valign="top" class="style4"><? echo $basehttp; ?>/crss/<? echo $row[record_num]; ?>?limit=1000</td>
<td align="center" valign="top"><a href="edit_rss.php?id=<? echo $row[record_num]; ?>">Edit</a></td>
<td align="center" valign="top"><input name="niche[]" type="checkbox" class="style4" value="<? echo $row[record_num]; ?>" /></td>
</tr>
<?
if($bgcolor == '#ffffff') { $bgcolor = "#EBEBEB"; } else { $bgcolor = '#ffffff'; }
}
?>
<tr bgcolor = '<? echo $bgcolor; ?>'>
<td colspan="5" class="style4"><center><br />
<input name="Submit" type="submit" value="Delete Selected" />
</center></td>
</tr>
</table>
</div>
</div>
<div id="right_bottom"></div>
<!-- RIGHT -->
<!-- STATYSTYKI -->
</div>
<!-- STATYSTYKI -->
</div>
</div>
<? require "footer.php"; ?>