| 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/kortneykane.com/public_html/free2/admin/ |
Upload File : |
<?php
//include($_SERVER['DOCUMENT_ROOT']."/_config.php");
require($_SERVER['DOCUMENT_ROOT']."/free2/fnc/thumbfnc.php");
if($_GET['media'] =='V')
{
$image_type = 2;
$images_folder = $_GET['dir'];
$thumbs_folder = $_GET['dir'];
$max_x = '266';
$max_y = '150';
$to_name = 'topgraphic_sm.jpg';
$from_name = 'topgraphic.jpg';
echo "<br />resizing<br />";
include("thumb.php");
}
else {
$asset_id = $_GET["asset_id"];
$image_type = 2;
// apparently this is the dimensions for the hogal thumbs
$images_folder = $_GET['dir']."hogal/";
$thumbs_folder = $_GET['dir']."hogal/";
$max_x = '320';
$max_y = '500';
// build the hogal zip
include("build_zip2.php");
if (is_dir($images_folder)) {
if ($dh = opendir($images_folder)) {
while (($file = readdir($dh)) !== false) {
if($file <>'.' && $file <>'..' && $file <> 'hogal.zip' && $file <> 'photoupdate.zip' && $file <> 'hogal' && $file <> 'p.zip' && $file <> 'featured.jpg') {
$to_name = "sm_".$file;
$from_name = $file;
// echo "resizing $from_name ..........$to_name<br />";
include("thumb.php");
}
}
closedir($dh);
}
}
$images_folder = $_GET['dir'];
$thumbs_folder = $_GET['dir'];
$max_x = '240';
$max_y = '250';
if (is_dir($images_folder))
{
if ($dh = opendir($images_folder))
{
while (($file = readdir($dh)) !== false)
{
if($file <>'.' && $file <>'..' && $file <> 'hogal.zip' && $file <> 'photoupdate.zip' && $file <> 'hogal' && $file <> 'p.zip')
{
if($file == 'featured.jpg')
{
$max_x = '320';
$max_y = '900';
}
else
{
$max_x = '240';
$max_y = '250';
}
$to_name = "sm_".$file;
$from_name = $file;
// echo "resizing $from_name ..........$to_name<br />";
include("thumb.php");
}
}
closedir($dh);
}
}
} // end if not media = V
?>
<html>
<body>
<br />
DONE!
<br />
<br />
<br />
<div align="center" class="style2" style="border-top:none; background-color:#CCCCCC">
<a href="javascript:window.close()">Close Me</a></div>
</body>
</html>