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/showthumb.tpl
<?php /*

PLEASE BACK UP FILE BEFORE EDITING!!!

WARNING - EDITING THIS FILE IS NOT RECOMMENDED.

*/ ?>

<?php




$thumbSet_w = "";
$thumbSet_h = "";

$thumb_w = "";
$thumb_h = "";

foreach
($photo as $k => $tmp)
{

	if ( stripos($k, "thumb:") !== FALSE )
	{

		$thumb = $tmp["file"];
		$thumb_w = $tmp["width"];
		$thumb_h = $tmp["height"];

		if ($tmp["sourcetype"] == $settype)
		{
			$thumbSet = $tmp["file"];
			$thumbSet_w = $tmp["width"];
			$thumbSet_h = $tmp["height"];
		}
	}
}


$md = $media[$settype];
reset($md);
$firstphoto = current($md);
$firstphoto = current($firstphoto)["id"];

$id = $photo;
$id = current($photo)["id"];



?>


<?php /* get the mediatype attribute */ ?>

<?php if (isset($mediatype_attr))
	{ ?>
	<?php $mt = $mediatype_attr; ?>
<?php } else
{
	// Basically try and get the first matching watermark that exists for this set

	$mt = "";
	$wname = 0;
?>

	<?php foreach
	($watermarks as $watermark)
		{ ?>

		<?php if (($watermark["Wtype"] == "watermark") && ($wname == 0) && ($watermark["sourceType"] == $settype))
			{ ?>

			<?php if (isset($set['info']['totals']['watermarks'][$watermark["Name"]]['count']))
				{ ?>
				<?php $wname = 1; ?>
				<?php $mt = $watermark["Name"]; ?>
			<?php } ?>
		<?php } ?>
	<?php } ?>
<?php } ?>




<article class="scene">
<?php if (current($photo)["show"] == "0")
	{ ?>
	<figure>
    <img class="thumbs"
	<?php if ($thumb_w)
		{ ?>width= "<?php echo $thumb_w ?>"<?php } ?>
	<?php if ($thumb_h)
		{ ?>height="<?php echo $thumb_h ?>"<?php } ?>
	src="<?= cdn_hook($GLOBALS["contentdir"] . "/upload/" . $set["Directory"] . "/" . $thumb) ?>" />
    </figure>
	<br />
	<?php echo $templatefields["txtcoming"] ?> <?php echo current($photo)["date"] ?>

<?php } else
	{ ?>
	<a
		<?php if ($trial)
		{ ?>
			<?php if (in_array($onpage, $trial["clickpages"]) || $trial["clickpages"][0] == 0 || in_array($set["Id"], $trial["allowrecent"])) { ?>
				href="javascript:loadslide('<?php echo $n ?>')">
			<?php } else { ?>
				href="<?php echo $trial["photourl"] ?>" >
			<?php } ?>
		<?php } else
		{ ?>
				href="javascript:loadslide('<?php echo $n ?>')">
		<?php } ?>

		<?php if (isset($thumbSet))
		{ ?>
        <figure>
			<img class="thumbs"
			<?php if ($thumbSet_w)
			{ ?>width= "<?php echo $thumbSet_w ?>"<?php } ?>
			<?php if ($thumbSet_h)
			{ ?>height="<?php echo $thumbSet_h ?>"<?php } ?>
				src="<?= cdn_hook($GLOBALS["contentdir"] . "/upload/" . $set["Directory"] . "/" . $thumbSet) ?>" />
         </figure>       
		<?php } else
		{ ?>
        <figure>
			<img class="thumbs"
			<?php if ($thumb_w)
			{ ?>width= "<?php echo $thumb_w ?>"<?php } ?>
			<?php if ($thumb_h)
			{ ?>height="<?php echo $thumb_h ?>"<?php } ?>
			src="<?= cdn_hook($GLOBALS["contentdir"] . "/upload/" . $set["Directory"] . "/" . $thumb) ?>" />
             </figure> 
		<?php } ?>
	</a>

<?php } ?>
</article>

Youez - 2016 - github.com/yon3zu
LinuXploit