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/cms.classicscash.com/public_html/cms_admin/phptemplate_bak/voderic/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/cms.classicscash.com/public_html/cms_admin/phptemplate_bak/voderic/search.tpl
<?php /*

PLEASE BACK UP FILE BEFORE EDITING!!!

TEXT EDITING NOTE:
All text can be edited inside the admin panel to preserve  multi-language site functionality. All tags prefixed with "$templatefields" can be edited inside the CMS admin panel.

*/

$title = $templatefields["titletxtsearch"];

// Header
LoadTemplate("header.tpl", ["pagename" => "search", "title" => $title]);
?>


<?php if (isset($sets))
	{ ?>

<!--Title-->
<div class="title_bar"><?php echo $templatefields["txtsearchresultsfor"] ?>

<?php if ($search_query)
		{ ?>
  "<?php echo $search_query ?>"
<?php } elseif ($search_all)
		{ ?>
  "<?php echo $search_all ?>"
<?php } elseif ($search_any)
		{ ?>
  "<?php echo $search_any ?>"
<?php } elseif ($search_phrase)
		{ ?>
  "<?php echo $search_phrase ?>"
<?php } elseif (sizeof($search_categories))
	{

		$clist = [];

		foreach ($search_categories as $cata)
		{
			if ($all_categories[$cata])
			{
				$clist[] = $all_categories[$cata]["Title"];
			}
		}

		echo join(", ", $clist);


	} elseif (sizeof($search_sites))
	{

		$clist = array();

		foreach
		($sites as $site)
		{
			if (in_array($site["Id"], $search_sites))
			{
				$clist[] = $site["Name"];
			}
		}

		echo join(", ", $clist);


	} ?>


<?php if ($search_query && sizeof($search_categories))
	{

		echo $templatefields["txtin"] . " ";

		$clist = [];

		foreach ($search_categories as $cata)
		{
			if ($all_categories[$cata])
			{
				$clist[] = $all_categories[$cata]["Title"];
			}
		}

		echo join(", ", $clist);

	} ?>

</div>


<br />

	<!-- Page Navigation Numbers -->
	<?php LoadTemplate("globals/pagenav.tpl"); ?>
	
	
<?php if (sizeof($models)) { ?>
	<!-- Model Search -->

	<br clear="all">
	
	<!--Title-->
	<div class="title_bar"><?php echo $templatefields["titletxtmodelindex"] ?></div>
	
	<br />

	<!-- This Includes The Template To Show Each Model -->
	<div class="category_listing_block">
		<?php foreach
	($models as $model)
		{ ?>
		<div class="category_listing_wrapper_models">
			<?php LoadTemplate("template_sections/models_page_listing.tpl", ["model" => $model]); ?>
		</div>
		<?php } ?>
		<?php if (!sizeof($models))
		{ ?>
	
		<?php echo $templatefields["txtnolistings"] ?>
	
		<?php } ?>
	</div>

<?php } ?>	


<?php if (sizeof($dvds)) { ?>
	<!-- DVD Search -->

	

	<!--Title Bar-->
	<div class="title_bar"><?php echo $templatefields["txtdvds"]; ?></div>
	
	<br />

	<div class="dvd_block">
		<!-- Start Code for each DVD box/title listing -->
		<?php foreach ($dvds as $dvd) { ?>
	
		<div class="dvd_wrapper">
			<div class="update_details dvd">
	
				<!-- Title -->
				<a href="<?php echo DVDS_URL(["id" => $dvd["Id"], "dvd" => $dvd]); ?>"><?php echo $dvd["ModelName"] ?></a>
	
				<br />
	
				<!--DVD Boxcover-->
				<a href="<?php echo DVDS_URL(["id" => $dvd["Id"], "dvd" => $dvd]); ?>"><?php LoadTemplate("globals/dvd.tpl", ["dvd" => $dvd, "priority" => 16]); ?></a>
	
				<span class="update_date">
					<!--Date-->
					<?php echo $templatefields["txtadded"] ?> <?php echo $dvd["date"] ?>
				</span>
	
				<br />
	
				<!-- DVD Rating-->
				<?php LoadTemplate("globals/votefrm.tpl", ["type" => "dvd", "object" => $dvd]) ?>
			</div>
		</div>
	
		<?php } ?>
	</div>
	
	<br clear="all">

<?php } ?>




	<!--Title Bar-->
	<div class="title_bar"><?php echo $templatefields["txtupdates"]; ?></div>
	
	<br />


<div class="category_listing_block">

	<?php if (sizeof($sets) == 0)
		{ ?>
	<br />
	<?php echo $templatefields["txtnosearchresults"] ?>
	<?php } ?>

	<?php foreach ($sets as $set)
	{


		if (!isset($usepriority))
		{
			$usepriority = 10;
		}

		$movie_length = $set["info"]["movie_length"];
		$hType = (isset($set["info"]["totals"]["types"]["highres"])) ? 1 : 0;
		$vType = (isset($set["info"]["totals"]["types"]["vids"])) ? 1 : 0;
		$numP  = (isset($set["info"]["totals"]["types"]["highres"])) ? $set["info"]["totals"]["types"]["highres"]["count"] : 0;

		$usetype = "";

		if ($vType)
		{
			$usetype = "vids";
		}
		elseif
		($hType)
		{
			$usetype = "highres";
		}
		elseif (sizeof($set["info"]["totals"]["types"]))
		{
			$usetype = each($set["info"]["totals"]["types"]);
			$usetype = $usetype["key"];
		}




?>



	<div class="category_listing_wrapper_updates">
		<?php LoadTemplate("template_sections/update_table.tpl", ["set" => $set]) ?>
	</div>

	<?php } ?>

</div>

<!-- Page Navigation Numbers -->
<?php LoadTemplate("globals/pagenav.tpl"); ?>

<?php } else
	{ ?>
<div align="center"><?php echo $templatefields["txtnosearchresults"] ?></div>
<?php } ?>

</div>

<!--Footer-->
<?php include "footer.tpl"; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit