403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.183
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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/model.php
<?php
include('site.config.php');

// FORM DEFAULTS
$request_offer = "100.00";
$request_description = "";

$private_duration = "";
$private_preferredtime = "";
$private_description = "";

$custom_category = 0;
$custom_duration = 0;
$custom_delivery_time = 0;
$custom_description = "";


if(isset($_POST['formType'])) {
	if($memberID == 0) {
		header('Location: login.php');
		die();	
	}
	$postType = $_POST['formType'];
	$model_id = $_POST['model_id'];
	$get = @mysql_query("SELECT * FROM cms_models WHERE modelStatus = '1' AND releasedate <= '" . $today . "' AND model_id = '" . $model_id . "'");
	if (@mysql_num_rows($get) == 0) {
		header('Location: models.php');
		die();
	}
	$row = @mysql_fetch_object($get);

	//
	
	/*
	SKYPE
	CUSTOM
	SPECIAL
	PURCHASE
	*/
	if($postType == "private" && $row->privateStatus == 1) {		

		if (!empty($_POST['private_duration']) && !empty($_POST['private_preferredtime']) && !empty($_POST['private_description'])) {
	
				$private_duration = mysql_real_escape_string($_POST['private_duration']);
				$private_preferredtime = mysql_real_escape_string($_POST['private_preferredtime']);
				$private_description = mysql_real_escape_string($_POST['private_description']);
				$private_skypeusername = mysql_real_escape_string($_POST['private_skypeusername']);
				$private_description = $private_skypeusername . ' - ' . $private_description;
				
				$insert = @mysql_query("INSERT INTO cms_billing_private SET
									memberID = '".$member_id."',
									modelID = '".$row->model_id."',
									duration = '".$private_duration."',
									preferredtime = '".$private_preferredtime."',
									description = '".$private_description."',
									timestamp = '".$timestamp."'");
				
				$privateID = @mysql_insert_id();
				$privatePrice = cartPrivatePrice($row->model_id,$private_duration);
				cartAdd($member_id, $row->model_id, '6', $privateID, $privatePrice);
				header('Location: acct.cart.php');
				exit();
		}
		
	} elseif($postType == "customVideo" && $row->customVideoStatus == 1) {
		if (is_numeric($_POST[$postType . 'Category']) && is_numeric($_POST[$postType . 'Base']) && is_numeric($_POST[$postType . 'Delivery']) && !empty($_POST['customDescription'])) {

				$categoryOption = mysql_real_escape_string($_POST[$postType . 'Category']);
				$baseOption = mysql_real_escape_string($_POST[$postType . 'Base']);
				$deliveryOption = mysql_real_escape_string($_POST[$postType . 'Delivery']);
				$description = mysql_real_escape_string($_POST['customDescription']);
				
				$insert = @mysql_query("INSERT INTO cms_billing_custom SET
									memberID = '".$member_id."',
									modelID = '".$row->model_id."',
									contentType = '2',
									categoryOption = '".$categoryOption."',
									baseOption = '".$baseOption."',
									deliveryOption = '".$deliveryOption."',
									description = '".$description."',
									timestamp = '".$timestamp."'");

									
				$customID = @mysql_insert_id();
				$customPrice = cartCustomPrice($row->model_id,$baseOption,$categoryOption,$deliveryOption);
				$customPrice;
                cartAdd($member_id, $row->model_id, '3', $customID, $customPrice);
		}
		
	} elseif($postType == "customPhotoset" && $row->customPhotosetStatus == 1) {
		if (is_numeric($_POST[$postType . 'Category']) && is_numeric($_POST[$postType . 'Base']) && is_numeric($_POST[$postType . 'Delivery']) && !empty($_POST['customDescription'])) {
				
				$categoryOption = @mysql_real_escape_string($_POST[$postType . 'Category']);
				$baseOption = @mysql_real_escape_string($_POST[$postType . 'Base']);
				$deliveryOption = @mysql_real_escape_string($_POST[$postType . 'Delivery']);
				$description = @mysql_real_escape_string($_POST['customDescription']);
				
				$insert = mysql_query("INSERT INTO cms_billing_custom SET
									memberID = '".$member_id."',
									modelID = '".$row->model_id."',
									contentType = '1',
									categoryOption = '".$categoryOption."',
									baseOption = '".$baseOption."',
									deliveryOption = '".$deliveryOption."',
									description = '".$description."',
									timestamp = '".$timestamp."'") or die(mysql_error());
				
				$customID = mysql_insert_id();
				$customPrice = cartCustomPrice($row->model_id,$baseOption,$categoryOption,$deliveryOption);
				cartAdd($member_id, $row->model_id, '4', $customID, $customPrice);
		}
		
	} elseif($postType == "special" && $row->specialStatus == 1) {
		/*
		if (empty($_POST['request'])) {
			$msgSystem = msgSystem("A Request was not filled out.", "error");
		} elseif (!is_numeric($_POST['price'])) {
			$msgSystem = msgSystem("Price must be a number.", "error");
			$price = "";
		} else {


				$request = mysql_real_escape_string($_POST['request']);
				$price = mysql_real_escape_string($_POST['price']);
				mysql_query("INSERT INTO `cms_model_requests` (`to_id`, `from_id`, `request`, `price`, `timestamp`) VALUES ('" . $model_info->model_id . "', '" . $member_id . "', '" . $request . "', '" . $price . "', '" . $timestamp . "')") or die(mysql_error());
				$request_id = mysql_insert_id();
				*/
	}
	die();	
}

	if (!isset($_GET['id'])) {
		if (isset($_POST['model_id']) && is_numeric($_POST['model_id'])) {
			$_GET['id'] = $_POST['model_id'];
		} else {
			header('Location: models.php');
			exit();
		}
	}

	

	$model_id = @mysql_real_escape_string($_GET['id']);

	$get = @mysql_query("SELECT * FROM cms_models WHERE releasedate <= '" . $today . "' AND model_id = '" . $model_id . "'");
	if (@mysql_num_rows($get) == 0) {
		header('Location: models.php');
		exit();
	} else {
		$row = @mysql_fetch_object($get);
	}

	// AUTOMATE THIS UPDATE LATER
	$row->photoset_count = contentCount($row->model_id,1);
	$row->video_count = contentCount($row->model_id,2);
	
	include('site.header.php');
?>

<div class="col-md-12 boxemout"> 
  
  <!-- Start Model Section -->
  <div class="modeldisp-bg"> 
    
    <!-- large poster image for model -->
    <div class="modeldisp">
      <div class="modeldisp-pic ibox">
        <h1><?php echo $row->name; ?></h1>
        <img src="content/models/<?php echo $row->model_id; ?>_mProfileSmall.jpg" alt="<?php echo $row->name; ?>" />
        <ul class="modelnav">
        <?php if($row->video_count > 0) { ?>
          <li class="switch"><a href="#videos">
            <h4><span class="glyphicon glyphicon-film" aria-hidden="true"></span>Videos</h4>
            </a></li>
         <?php } ?>
         
         <?php if($row->photoset_count > 0) { ?>
          <li class=""><a href="#photos">
            <h4><span class="glyphicon glyphicon-camera" aria-hidden="true"></span>Photos</h4>
            </a></li>
            <?php } ?>
           
          <?php if($row->privateStatus == 1) { ?>
          <li class="switch"><a href="#skypedate">
            <h4><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span>Chat Date</h4>
            </a></li>
          <? } ?>

          <?php if($row->specialStatus == 1) { ?>
          <li class="switch"><a href="#special">
            <h4><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span>SnapChat Premium</h4>
            </a></li>
          <? } ?>
          <?php if($row->customVideoStatus == 1) { ?>
          <li class=""><a href="#customVideos">
            <h4><span class="glyphicon glyphicon-heart" aria-hidden="true"></span>Custom Videos</h4>
            </a></li>
          <? } ?>
          <?php if($row->customPhotosetStatus == 1) { ?>
          <li class=""><a href="#customPhotos">
            <h4><span class="glyphicon glyphicon-heart" aria-hidden="true"></span>Custom Photos</h4>
            </a></li>
          <? } ?>          
          <li class=""><a href="#about">
            <h4><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span>About Me</h4>
            </a></li>
            <?php /*
          <li class="switch">
            <h4><span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span>Online Store</h4>
          </li>
		  <?php */ ?>
          <li class=""></li>
        </ul>
        <div class="social">
          <?php
		if (isset($row->link_twitter) && $row->link_twitter != "") {
			echo '<a href="http://www.twitter.com/' . $row->link_twitter . '" target="_blank"><img src="images/icon_twitter.png" width="30" height="30" alt=""/></a>';
		} 
		if (isset($row->link_instagram) && $row->link_instagram != "") {
			echo '<a href="http://www.instagram.com/' . $row->link_instagram . '" target="_blank"><img src="images/icon_instagram.png" width="30" height="30" alt=""/></a>';
		}
		
		if (isset($row->link_facebook) && $row->link_facebook != "") {
			echo '<a href="' . $row->link_facebook . '" target="_blank"><img src="images/icon_facebook.png" width="30" height="30" alt=""/></a>';
		}
		
		if (isset($row->link_amazon) && $row->link_amazon != "") {
			echo '<a href="http://' . $row->link_amazon . '" target="_blank"><img src="images/icon_amazon.png" width="30" height="30" alt=""/></a>';
		}
		
 		if (isset($row->link_snapchat) && $row->link_snapchat != "") {
			echo '<a href="http://' . $row->link_snapchat . '" target="_blank"><img src="images/icon_snapchat.png" width="30" height="30" alt=""/></a>';
		}       
?>
        </div>
      </div>
      <img alt="<?php echo $row->name; ?>" class="large_bg_image" data-images="[&quot;content/models/<?php echo $row->model_id; ?>_mProfileLarge.jpg&quot;]" src="content/models/<?php echo $row->model_id; ?>_mProfileLarge.jpg" /> 
      <script>
$(document).ready(function(){
	var bgs = $('.large_bg_image').data('images');
	if (bgs) {
		var background = bgs[Math.floor(bgs.length * Math.random())];
		$('.large_bg_image').attr('src',background);		
	}
});
</script> 
      
      <div id="qa" class="bio">
        <h3><?php if($row->about_intro == "") { echo 'I’m '.$row->name.', and welcome to my profile!'; } else { echo stripslashes($row->about_intro); } ?></h3>
       <?php echo nl2br($row->about); ?>
       <?php if($row->mailchimp != "") { ?>
       <br />
 <!-- Begin MailChimp Signup Form -->

<form action="//xfanclubs.us10.list-manage.com/subscribe/post?u=ba78be0b39e33fa982c5887a3&amp;id=<?php echo $row->mailchimp; ?>" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate form-horizontal" target="_blank" novalidate>

<div class="form-group">
<label class="col-lg-3 control-label">Join my mailing list:</label>
<div class="col-lg-4">
	<input type="email" value="<?php if($member_id > 0) { echo $userDetails->email; } ?>" name="EMAIL" class="required email form-control" id="mce-EMAIL">
</div>
<div class="col-lg-2">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button form-control">
</div>
    <div style="position: absolute; left: -5000px;"><input type="text" name="b_ba78be0b39e33fa982c5887a3_79c53e5c4e" tabindex="-1" value=""></div>
</div>
</form>
<!--End mc_embed_signup-->

<?php } ?>
       </div>


     
    </div>


  </div>
  <!-- model header --> 
  
</div>

<br /><br /><br />
<div class="clearfix"></div>
<div class="clearfix"></div>

<div class="clearfix"></div>
<div class="col-md-12 boxemout">

<?php //SPECIAL REQUESTS

if($row->specialStatus == 1) { ?>    
  <div class="content-box">
    <h3 id="special"><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span> PREMIUM SNAPCHAT</h3>
<h5><?php echo nl2br($row->specialText); ?></h5>
<br />
Premium SnapChat is the best way to get up close and personal with me and any model.<br />
You get full access to my naughty home made videos and daily life photos plus so much more!
<br /><br />

                    <br />
            <h4><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span>&nbsp;<a href="JOIN LINK"> Subscribe to My SnapChat Premium</h4>
            </a>
                              
            <h4><span class="glyphicon glyphicon-heart" aria-hidden="true">&nbsp;</span>Lifetime! Only $120</h4><br /><br />
        </ul>
<div class="clearfix"></div>
  </div>
<?php }
// END OF SPECIAL REQUESTS

?>  



   
  <?php //SKYPE DATE
if($row->privateStatus == 1) { ?>
  <div class="content-box">
  <span class="backtotop"><a href="#thetop"><span class="glyphicon glyphicon-arrow-up"></span>TOP</a></span>
    <h3 id="skypedate"><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span> PERSONAL CHAT DATE</h3>
    <?php if($memberID == 0) { ?><h4 class="pink">YOU NEED TO BE A MEMBER! <a href="acct.php">JOIN NOW</a></h4><?php } ?>
    <h5><?php echo nl2br($row->privateText); ?></h5>
    <br />
<?php
$model_call_options_sql = mysql_query("SELECT * FROM cms_model_call_options WHERE model_id = '" . $row->model_id . "'");
if (mysql_num_rows($model_call_options_sql) == 1) {
	$model_call_options = mysql_fetch_object($model_call_options_sql);
?>

<div class="col-lg-6">
<ul id="photoOut-li">    
       <li class="top-level">
        <div class="photoOut-frame">
        <div align="center">
<h4>My Rates</h4>
<br />
<strong>15 Minutes&nbsp;</strong><br />$<?php if($model_call_options->a15min_video > 0) { echo $model_call_options->a15min_video; } else { echo "Not Available!"; }?><br /><br />
<strong>30 Minutes&nbsp;</strong><br />$<?php if($model_call_options->a30min_video > 0) { echo $model_call_options->a30min_video; } else { echo "Not Available!"; }?><br /><br />
<strong>45 Minutes&nbsp;</strong><br />$<?php if($model_call_options->a45min_video > 0) { echo $model_call_options->a45min_video; } else { echo "Not Available!"; }?><br /><br />
<strong>60 Minutes&nbsp;</strong><br />$<?php if($model_call_options->a60min_video > 0) { echo $model_call_options->a60min_video; } else { echo "Not Available!"; }?><br /><br />
</div>
        </div>
    </li>
          <li class="top-level">
        <div class="photoOut-frame">  
        <div align="center">
<h4>My Schedule</h4>
<br />
<?php

$buildFormOptions = "";

for ($x = 1; $x <= 7; $x++) {
	if($x == 1) {
		$day = "Monday";
		$start = $model_call_options->monday_start;
		$stop = $model_call_options->monday_end;
	} elseif ($x == 2) {
		$day = "Tuesday";
		$start = $model_call_options->tuesday_start;
		$stop = $model_call_options->tuesday_end;
	} elseif ($x == 3) {
		$day = "Wednesday";
		$start = $model_call_options->wednesday_start;
		$stop = $model_call_options->wednesday_end;
	} elseif ($x == 4) {
		$day = "Thursday";
		$start = $model_call_options->thursday_start;
		$stop = $model_call_options->thursday_end;
	} elseif ($x == 5) {
		$day = "Friday";
		$start = $model_call_options->friday_start;
		$stop = $model_call_options->friday_end;
	} elseif ($x == 6) {
		$day = "Saturday";
		$start = $model_call_options->saturday_start;
		$stop = $model_call_options->saturday_end;
	} elseif ($x == 7) {
		$day = "Sunday";
		$start = $model_call_options->sunday_start;
		$stop = $model_call_options->sunday_end;
	}
	
	if ($stop > $start && $start > 0) {
		if($start > 12){
			$start = $start - 12;
			$start_ampm = " PM";
		} else {
			$start_ampm = " AM";
		}
		
		if($stop > 12){
			$stop = $stop - 12;
			$stop_ampm = " PM";
		} else {
			$stop_ampm = " AM";
		}
		
		echo '<strong>'.$day.'</strong><br />' . $start . $start_ampm . ' to ' . $stop . $stop_ampm . ' ' . $model_call_options->timezone . '<br />';
		
		for ($y = $start; $y < $stop; $y++) {
			$buildFormOptions .= '<option value="'.$day . ' - ' . $y . ':00 PM">'.$day . ' - ' . $y . ':00 PM</option>';
			//$buildFormOptions .= '<option value="">'.$day . ' - ' . $y . ':15 PM</option>';
			$buildFormOptions .= '<option value="'.$day . ' - ' . $y . ':00 PM">'.$day . ' - ' . $y . ':30 PM</option>';
			//$buildFormOptions .= '<option value="">'.$day . ' - ' . $y . ':45 PM</option>';
		}
	}
} 
?>
</div>
        </div>
    </li>
</ul>
</div>

<div class="col-lg-6">
<h3>Book a Date</h3>

<form action="model.php" method="POST" class="form-horizontal" data-toggle="validator">
  <div class="form-group">
    <label for="request_offer" class="col-lg-2 control-label">Duration:</label>
    <div class="col-lg-10">
      <select name="private_duration" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>>	
				<?php if($model_call_options->a15min_video > 0) { ?> <option value="15">15 Minutes - $<?php echo $model_call_options->a15min_video; ?></option><?php } ?>
				<?php if($model_call_options->a30min_video > 0) { ?> <option value="30">30 Minutes - $<?php echo $model_call_options->a30min_video; ?></option><?php } ?>
				<?php if($model_call_options->a30min_video > 0) { ?> <option value="45">45 Minutes - $<?php echo $model_call_options->a45min_video; ?></option><?php } ?>
				<?php if($model_call_options->a30min_video > 0) { ?> <option value="60">60 Minutes - $<?php echo $model_call_options->a60min_video; ?></option><?php } ?>
	</select>
    </div>
  </div>
  
  
    <div class="form-group">
    <label for="request_offer" class="col-lg-2 control-label">Date/Time:</label>
    <div class="col-lg-10">
      <select name="private_preferredtime" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><option value="Any">Any</option><?php echo $buildFormOptions; ?></select>
    </div>
  </div>
  
    <div class="form-group">
    <label for="request_offer" class="col-lg-2 control-label">Username:</label>
    <div class="col-lg-10">
       <input type="text" class="form-control" id="inputName" name="private_skypeusername"  required <?php if ($member_id == 0) { echo ' disabled'; } ?>>
    </div>
  </div>
    
  
    <div class="form-group">
    <label for="request_offer" class="col-lg-2 control-label">Notes:</label>
    <div class="col-lg-10">
      <textarea name="private_description" cols="70" rows="4" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?> required></textarea>
    </div>
  </div>
  
  <div class="form-group">
    <div class="col-sm-offset-2 col-sm-10">
      <button type="submit" class="btn btn-default" <?php if ($member_id == 0) { echo ' disabled'; } ?>>     Schedule Date     </button>
    </div>
  </div>
  
<input type="hidden" name="formType" value="private" />
<input type="hidden" name="model_id" value="<?php echo $row->model_id; ?>" />

</form>
</div> 
     <div class="clearfix"></div>   
<?php	
}
?>

</div>
<?php
}
// END OF SKYPE DATE
?>




<?php  //CUSTOM VIDEO REQUESTS
$contentType = 2;
if($row->customVideoStatus == 1) {
	$baseSelect = buildCustomSelect($row->model_id,0,$contentType,1);
	$categorySelect = buildCustomSelect($row->model_id,0,$contentType,2);
	$deliverySelect = buildCustomSelect($row->model_id,0,$contentType,3);
?>
  <div class="content-box">
  <span class="backtotop"><a href="#thetop"><span class="glyphicon glyphicon-arrow-up"></span>TOP</a></span>
    <h3 id="custom<?php if($contentType == 2) { echo 'Videos'; } else { echo 'Photos'; } ?>"><span class="glyphicon glyphicon-heart" aria-hidden="true"></span> CUSTOM <?php if($contentType == 2) { echo 'VIDEOS'; } else { echo 'PHOTOS'; } ?></h3>
<?php if($memberID == 0) { ?><h4 class="pink">YOU NEED TO BE A MEMBER! <a href="acct.php">JOIN NOW</a></h4><?php } ?>
<h5><?php if($contentType == 2) { echo nl2br($row->customVideoText); } else { echo nl2br($row->customPhotosetText); } ?></h5>
<br />
<?php
if($categorySelect != '' && $baseSelect != '' && $deliverySelect != '') {
?>          
    <form action="model.php" method="POST" class="form-horizontal" data-toggle="validator">
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Category:</label>
            <div class="col-lg-10">
            	<select name="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Category" id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Category" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><?php echo $categorySelect; ?></select>
            </div>
        </div>
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Duration:</label>
            <div class="col-lg-10">
            	<select name="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Base" id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Base" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><?php echo $baseSelect; ?></select>
            </div>
        </div>
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Delivery Time:</label>
            <div class="col-lg-10">
            	<select name="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Delivery" id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Delivery" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><?php echo $deliverySelect; ?></select>
            </div>
        </div>
        
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Description:</label>
            <div class="col-lg-10">
            	<textarea name="customDescription" id="customDescription" cols="70" rows="7" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?> required></textarea>
            </div>
        </div>
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Price:</label>
            	<div class="col-lg-10">$<span id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Price">0</span>
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
            	<button type="submit" class="btn btn-default" <?php if ($member_id == 0) { echo ' disabled'; } ?>>     Request Custom     </button>
            </div>
        </div>
        
        <input type="hidden" name="formType" value="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>" />
        <input type="hidden" name="model_id" value="<?php echo $row->model_id; ?>" />
        
    </form>
<?php
}
?>
</div>
<?php }
// END OF CUSTOM REQUESTS
?>
<?php  //CUSTOM Photo REQUESTS
$contentType = 1;
if($row->customPhotosetStatus == 1) {
	$baseSelect = buildCustomSelect($row->model_id,0,$contentType,1);
	$categorySelect = buildCustomSelect($row->model_id,0,$contentType,2);
	$deliverySelect = buildCustomSelect($row->model_id,0,$contentType,3);
?>
  <div class="content-box">
  <span class="backtotop"><a href="#thetop"><span class="glyphicon glyphicon-arrow-up"></span>TOP</a></span>
    <h3 id="custom<?php if($contentType == 2) { echo 'Videos'; } else { echo 'Photos'; } ?>"><span class="glyphicon glyphicon-heart" aria-hidden="true"></span> CUSTOM PHONE HOLDER & <?php if($contentType == 2) { echo 'VIDEOS'; } else { echo 'PHOTOS'; } ?></h3>
<?php if($memberID == 0) { ?><h4 class="pink">YOU NEED TO BE A MEMBER! <a href="acct.php">JOIN NOW</a></h4><?php } ?>
<h5><?php if($contentType == 2) { echo nl2br($row->customVideoText); } else { echo nl2br($row->customPhotosetText); } ?></h5>
<br />
<?php
if($categorySelect != '' && $baseSelect != '' && $deliverySelect != '') {
?>          
    <form action="model.php" method="POST" class="form-horizontal" data-toggle="validator">
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Category:</label>
            <div class="col-lg-10">
            	<select name="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Category" id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Category" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><?php echo $categorySelect; ?></select>
            </div>
        </div>
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Minimum Delivered:</label>
            <div class="col-lg-10">
            	<select name="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Base" id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Base" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><?php echo $baseSelect; ?></select>
            </div>
        </div>
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Delivery Time:</label>
            <div class="col-lg-10">
            	<select name="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Delivery" id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Delivery" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?>><?php echo $deliverySelect; ?></select>
            </div>
        </div>
        
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Description:</label>
            <div class="col-lg-10">
            	<textarea name="customDescription" id="customDescription" cols="70" rows="7" class="form-control" <?php if ($member_id == 0) { echo ' disabled'; } ?> required></textarea>
            </div>
        </div>
        
        <div class="form-group">
            <label for="request_offer" class="col-lg-2 control-label">Price:</label>
            	<div class="col-lg-10">$<span id="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>Price">0</span>
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
            	<button type="submit" class="btn btn-default" <?php if ($member_id == 0) { echo ' disabled'; } ?>>     Request Custom     </button>
            </div>
        </div>
        
        <input type="hidden" name="formType" value="custom<?php if($contentType == 2) { echo 'Video'; } else { echo 'Photoset'; } ?>" />
        <input type="hidden" name="model_id" value="<?php echo $row->model_id; ?>" />
        
    </form>
<?php
}
?>
</div>
<?php }
// END OF CUSTOM REQUESTS
?>


<?php
//Store Items

if($userDetails->xfcadmin == 9)
{
 //Echo store
 //Disabled 
 //echoStore(); 
}
?>

<?php if($row->video_count > 0) { ?>
  <div class="content-box">
  <span class="backtotop"><a href="#thetop"><span class="glyphicon glyphicon-arrow-up"></span>TOP</a></span>
    <h3 id="videos"><span class="glyphicon glyphicon-film" aria-hidden="true"></span> MY VIDEOS</h3>
  <?php /*
    <ul class="nav nav-tabs" id="episode_filters">
      <li class="active episode_sort_tab"><a href="#latest" data-sort="latest">Latest</a></li>
      <li class=" episode_sort_tab"><a href="#top_rated" data-sort="top_rated">Top Rated</a></li>
    </ul>
    <div class="pagination pagination-large pagination-centered">
      <ul class="pagination">
        <li class="previous_page disabled"><span>&#8592; Previous</span></li>
        <li class="active"><span>1</span></li>
        <li><a href="/page.js?page=2&amp;sort=latest" data-page="2" data-remote="true" rel="next">2</a></li>
        <li><a href="/page.js?page=3&amp;sort=latest" data-page="3" data-remote="true">3</a></li>
        <li class="disabled"><a>&hellip;</a></li>
        <li><a href="/page.js?page=9&amp;sort=latest" data-page="9" data-remote="true">9</a></li>
        <li><a href="/page.js?page=10&amp;sort=latest" data-page="10" data-remote="true">10</a></li>
        <li><a href="/page.js?page=2&amp;sort=latest" class="next_page" data-page="2" data-remote="true" rel="next">Next &#8594;</a></li>
      </ul>
    </div>
	*/ ?>
<ul id="videoOut-li">
<?php contentGrabModel($row->model_id,2,0); ?>
</ul>
<div class="clearfix"></div>
    </div>
 <?php } ?>
 
 
 <?php if($row->photoset_count > 0) { ?>
  <div class="content-box">
  <span class="backtotop"><a href="#thetop"><span class="glyphicon glyphicon-arrow-up"></span>TOP</a></span>
    <h3 id="photos"><span class="glyphicon glyphicon-camera" aria-hidden="true"></span> MY PHOTOS</h3>
<ul id="photoOut-li">
<?php contentGrabModel($row->model_id,1,0); ?>
</ul>
<div class="clearfix"></div>
    </div>
<?php } ?>    
    
  
  <div class="content-box">
  <span class="backtotop"><a href="#thetop"><span class="glyphicon glyphicon-arrow-up"></span>TOP</a></span>
    <h3 id="about"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> ABOUT ME</h3>
    <div class="col-lg-3">
      <div class="aboutme_stats">
        <ul>
          <?php

/* UGLY */
$icon = '<span class="glyphicon glyphicon glyphicon-info-sign" aria-hidden="true"></span>';
$statsStartAlt = '<li class="switch">'.$icon.'<strong>';
$statsStart = '<li class="">'.$icon.'<strong>';
$statsMid = ': </strong>';
$statsEnd = '</li>';

//echo $statsStart . '' . $statsMid . $row-> . $statsEnd;

$alt = 0;

if (isset($row->birthday) && $row->birthday != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	//$birthday = date("F jS", strtotime($row->birthday));//Edited and commented out by Bill
    $monthName = @date('F', mktime(0, 0, 0, $row->birthmonth, 10));
    $birthday = $monthName . " " . @ltrim(ordinal($row->birthday), "0");
	echo $statsStartTMP . 'Birthday' . $statsMid . $birthday . $statsEnd;
} 

if (isset($row->bodytype) && $row->bodytype != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Body Type' . $statsMid . $row->bodytype . $statsEnd;
}


if (isset($row->bust) && $row->bust != "" && isset($row->cup) && $row->cup != "" && isset($row->waist) && $row->waist != "" && isset($row->hip) && $row->hip != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Measurements' . $statsMid . $row->bust . $row->cup . '-' . $row->waist . '-' . $row->hip . $statsEnd;
}
		
		
if (isset($row->hair) && $row->hair != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Hair' . $statsMid . $row->hair . $statsEnd;
}

if (isset($row->eyes) && $row->eyes != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Eyes' . $statsMid . $row->eyes . $statsEnd;
}
		
if (isset($row->height) && $row->height != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	$feet = floor($row->height / 12);
	$inches = $row->height - ($feet * 12);
	echo $statsStartTMP . 'Height' . $statsMid . $feet . ' \' ' . $inches . '"' . $statsEnd;
}
/*		
if (isset($row->weight) && $row->weight != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Weight' . $statsMid . $row->weight . $statsEnd;
}
*/
if (isset($row->enthinicity) && $row->enthinicity != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Ethnicity' . $statsMid . 	$row->enthinicity . $statsEnd;
}

if (isset($row->hometown) && $row->hometown != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Hometown' . $statsMid . $row->hometown . $statsEnd;
} 

if (isset($row->location) && $row->location != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Location' . $statsMid . $row->location . $statsEnd;
} 
  
if (isset($row->sexualpreference) && $row->sexualpreference != "") {
	if($alt == 0) { $alt = 1; $statsStartTMP = $statsStartAlt; } else { $alt = 0; $statsStartTMP = $statsStart;}
	echo $statsStartTMP . 'Sexual Preference' . $statsMid . $row->sexualpreference . $statsEnd;
} 
?>
          <li class=""></li>
        </ul>
      </div>
    </div>
    <div class="col-lg-9">
      <div class="aboutme_questions">
        <div class="panel panel-default">
          <?php
        if (isset($row->fivethings) && $row->fivethings != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Five things I can\'t live without?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->fivethings . '</div>';
        }
    
        if (isset($row->threewords) && $row->threewords != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Three words that describe me?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->threewords . '</div>';
        }
    
        if (isset($row->favoritemovies) && $row->favoritemovies != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Favorite Movies?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->favoritemovies . '</div>';
        }
    
        if (isset($row->todoforfun) && $row->todoforfun != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">What I like to do for fun?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->todoforfun . '</div>';
        }
    
        if (isset($row->favoritesongs) && $row->favoritesongs != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Favorite Songs?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->favoritesongs . '</div>';
        }
    
        if (isset($row->craziestthing) && $row->craziestthing != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Craziest thing I\'ve ever done?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->craziestthing . '</div>';
        }
    
        if (isset($row->beanywhere) && $row->beanywhere != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">If I could be anywhere right now?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->beanywhere . '</div>';
        }
    
        if (isset($row->hobbies) && $row->hobbies != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Hobbies?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->hobbies . '</div>';
        }
    
        if (isset($row->talents) && $row->talents != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Talents?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->talents . '</div>';
        }
    
        if (isset($row->perfectmate) && $row->perfectmate != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Perfect Mate?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->perfectmate . '</div>';
        }
    
        if (isset($row->perfectdate) && $row->perfectdate != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Perfect Date?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->perfectdate . '</div>';
        }
    
        if (isset($row->favoritefood) && $row->favoritefood != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Favorite Food?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->favoritefood . '</div>';
        }
    
        if (isset($row->turnsmeon) && $row->turnsmeon != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">What turns me on?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->turnsmeon . '</div>';
        }
    
        if (isset($row->kinyattributes) && $row->kinyattributes != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Kinky attributes?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->kinyattributes . '</div>';
        }
    
        if (isset($row->myexpertise) && $row->myexpertise != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">My Expertise?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->myexpertise . '</div>';
        }
    
        if (isset($row->bestreason) && $row->bestreason != "") {
            echo '<div class="panel-heading"><h4 class="panel-title">Best reason to get to know me?</h4></div><div class="panel-body"><strong>Answer:</strong> ' . $row->bestreason . '</div>';
        }
    ?>
        </div>
        <!--- panel ---> 
      </div>
      <!--- about me questions ---> 
    </div>
    <!--- questions 9 col --->
    <div class="clearfix"></div>
  </div>
</div>


<?php
include('site.footer.php');
?>

Youez - 2016 - github.com/yon3zu
LinuXploit