| 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/store.tiacyrusxxx.com/public_html/dev/xfcadmin/ |
Upload File : |
<?php
include ('adm.config.php');
$msgSystem = '';
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$model_id = $_POST['model_id'];
$privateStatus = $_POST['privateStatus'];
$customStatus = $_POST['customStatus'];
$specialStatus = $_POST['specialStatus'];
mysql_query("UPDATE cms_models SET privateStatus = '".$privateStatus."', customStatus = '".$customStatus."', specialStatus = '".$specialStatus."' WHERE model_id = '".$model_id."' ") or die(mysql_error());
$msgSystem .= msgSystem("Your settings were updated!", "success");
}
include ('adm.header.php');
$get_sql = mysql_query("SELECT * FROM cms_models WHERE model_id = '" . $userDetails -> model_id . "'") or die(mysql_error());
$modelDetails = mysql_fetch_object($get_sql);
?>
<div class="row">
<div class="large-12 columns">
<div class="panel">
<h4>Settings...</h4>
<a href="adm.settings.profile.php">Public Profile</a> -
<a href="adm.settings.custom.php">Custom Settings</a> -
<a href="adm.settings.private.php">Private Settings</a><br /><br /><br />
<form action="" id="mainForm" enctype="multipart/form-data" method="POST">
<table width="800" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td bgcolor="#CCCCCC" colspan="2"><span class="fourbold">Profile Settings:</span></td>
</tr>
<tr>
<td colspan="2">
<?php
if (isset($msgSystem)) {
echo $msgSystem;
}
?></td>
</tr>
<tr>
<td width="115">
<div align="right">
Accept Private Chat Requests:
</div></td>
<td>
<select name="privateStatus" class="grey">
<option value="0" <?php if ($modelDetails->privateStatus == 0) { echo " selected"; } ?>>Disabled</option>
<option value="1" <?php if ($modelDetails->privateStatus == 1) { echo " selected"; } ?>>Enabled</option>
</select>
</td>
</tr>
<tr>
<td width="115">
<div align="right">
Accept Custom Video Requests:
</div></td>
<td>
<select name="customStatus" class="grey">
<option value="0" <?php if ($modelDetails->customStatus == 0) { echo " selected"; } ?>>Disabled</option>
<option value="1" <?php if ($modelDetails->customStatus == 1) { echo " selected"; } ?>>Enabled</option>
</select>
</td>
</tr>
<tr>
<td width="115">
<div align="right">
Accept Special Requests:
</div></td>
<td>
<select name="specialStatus" class="grey">
<option value="0" <?php if ($modelDetails->specialStatus == 0) { echo " selected"; } ?>>Disabled</option>
<option value="1" <?php if ($modelDetails->specialStatus == 1) { echo " selected"; } ?>>Enabled</option>
</select>
</td>
</tr>
<tr>
<td colspan="2">
<div align="center" style="padding: 20px;">
<input name="post" type="submit" value=" Save Settings " class="grey">
</div></td>
</tr>
</table>
<input type="hidden" name="model_id" value="<?php echo $modelDetails -> model_id; ?>">
</form>
</div>
</div>
</div>
<?php
include ('adm.footer.php');
?>