403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
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/handjobcafe.com/public_html/members/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/handjobcafe.com/public_html/members/calendar.php
<?php
include 'classes/calendar.php';

$month = isset($_GET['m']) ? $_GET['m'] : NULL;
$year  = isset($_GET['y']) ? $_GET['y'] : NULL;

$calendar = Calendar::factory($month, $year);

$config[database] = 'y27qpdhz';
$config[db_host] = 'localhost';
$config[db_user] = 'feswosc1';
$config[db_pass] = 'zvr0!17wvtpn';
mysql_connect($config[db_host], $config[db_user], $config[db_pass]);
mysql_select_db($config[database]);

$today = date("Y-m-d");
$now = $today . " 00:00:00";

if($_GET['m'] AND $_GET['y'])
{
	$m = str_pad($_GET['m'],2,"0",STR_PAD_LEFT);
	$my = $_GET[y] . "-" . $m . "%";
}
else
{
	$my = date("Y") . "-" . date("m") . "%";
}

$sql = mysql_query("SELECT * FROM models WHERE site='handjobcafe.com' AND added LIKE '$my'");
while($r = mysql_fetch_array($sql))
{
	$link = "";
	$mid = $r['id'];
	$msite = $r['site'];
	$mtitle	= strtoupper($r['name']);
	$mthm = $r['thm'];
	$mmodel = $r['model'];
	$madded= $r['added'];
	$mfolder = $r['folder'];
	$shooting_photo = $r['shooting_photo'];
	$shooting_video = $r['shooting_video'];
	$update_day = date("d",strtotime($madded));
	$update_month = date("F",strtotime($madded));
	$update_year = date("Y",strtotime($madded));
	
	if($madded>=$today)
	{
		$link .= '<span class="thmm"><a class="tooltips">' . $mtitle . '<br>NEW MODEL<br>';
		$link .= '<span><img src="/models/' . $mfolder . '/main.jpg"  style="width:295px;"></span></a></span>';
	}
	else
	{
		$link .= '<span class="thmm"><a href="/members/models.php?id=' . $mid . '" class="tooltips">' . $mtitle . '<br>NEW MODEL<br>';
		$link .= '<span><img src="/models/' . $mfolder . '/main.jpg" style="width:295px;"></span></a></span>';
	}
	
	$event = $calendar->event()->condition('timestamp', strtotime($madded))->title($mtitle)->output($link);
	$calendar->attach($event);
}

$sql = mysql_query("SELECT * FROM updates WHERE site='handjobcafe.com' AND added LIKE '$my'");
while($r = mysql_fetch_array($sql))
{
	$link = "";
	$mid = $r['id'];
	$msite = $r['site'];
	$mtitle = strtoupper($r['title']);
	$mthm = $r['thm'];
	$mmodel = $r['model'];
	$madded= $r['added'];
	$mfolder = $r['folder'];
	$shooting_photo = $r['shooting_photo'];
	$shooting_video = $r['shooting_video'];

	$update_day = date("d",strtotime($madded));
	$update_month = date("F",strtotime($madded));
	$update_year = date("Y",strtotime($madded));

	if($madded>=$today)
	{
		$link .= '<span class="thmm"><a class="tooltips">' . $mtitle . '<br>';
		$link .= "MOVIES<br>";
		$link .= '<span><img src="/members/movies/thumbs/' . $mthm . '"  style="width:295px;"></span></a></span>';
	}
	else
	{
		$link .= '<span class="thmm"><a href="/members/movie.php?id=' . $mid . '" class="tooltips">' . $mtitle . '<br>';
		$link .= "MOVIES<br>";
		$link .= '<span><img src="/members/movies/thumbs/' . $mthm . '"  style="width:295px;"></span></a></span>';
	}

	$event = $calendar->event()->condition('timestamp', strtotime($madded))->title($mtitle)->output($link);
	$calendar->attach($event);
}

$sql = mysql_query("SELECT * FROM photos WHERE site='handjobcafe.com' AND added LIKE '$my'");
while($r = mysql_fetch_array($sql))
{
	$link = "";

	$mid = $r['id'];
	$msite = $r['site'];
	$mtitle	= strtoupper($r['name']);
	$mthm = $r['thumb'];
	$mmodel = $r['model'];
	$madded= $r['added'];
	$mfolder = $r['folder'];

	$update_day = date("d",strtotime($madded));
	$update_month = date("F",strtotime($madded));
	$update_year = date("Y",strtotime($madded));

	if($madded>=$today)
	{
		$link .= '<span class="thmm"><a class="tooltips">' . $mtitle . '<br>';
		$link .= "PHOTOS<br>";
		$link .= '<span><img src="/members/movies/thumbs/' . $mthm . '"  style="width:295px;"></span></a></span>';
	}
	else
	{
		$link .= '<span class="thmm"><a href="/members/gallery.php?id=' . $mid . '" class="tooltips">' . $mtitle . '<br>';
		$link .= "PHOTOS<br>";
		$link .= '<span><img src="/members/movies/thumbs/' . $mthm . '"  style="width:295px;"></span></a></span>';
	}

	$event = $calendar->event()->condition('timestamp', strtotime($madded))->title($mtitle)->output($link);
	$calendar->attach($event);
}

$calendar->standard('today')->standard('prev-next')->standard('holidays');
?>

<!DOCTYPE html>

<html class="no-js">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>Welcome to our members area</title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width">
        <link rel="stylesheet" href="/css/style.css">
		<link rel="stylesheet" href="./css/style.css">
		<link rel="stylesheet" type="text/css" href="/./js/shadowbox-3.0.3/shadowbox.css">
		<script type="text/javascript" src="/./js/shadowbox-3.0.3/shadowbox.js"></script>
		<script type="text/javascript">
			Shadowbox.init();
		</script>
    </head>
	
    <body id="videos">
		<div id="container">
			<header></header>
			<?php include("nav.php"); ?>
			<div id="main">
				<table class="calendar">
					<thead>
						<tr class="navigation">
							<th class="prev-month">
								<a href="<?php echo htmlspecialchars($calendar->prev_month_url()) ?>"><?php echo $calendar->prev_month() ?></a>
							</th>
							<th colspan="5" class="current-month">
								<?php echo $calendar->month() ?>
							</th>
							<th class="next-month">
								<a href="<?php echo htmlspecialchars($calendar->next_month_url()) ?>"><?php echo $calendar->next_month() ?></a>
							</th>
						</tr>
						<tr class="weekdays">
							<?php foreach ($calendar->days() as $day): ?>
								<th><?php echo $day ?></th>
							<?php endforeach ?>
						</tr>
					</thead>
					<tbody>
						<?php foreach ($calendar->weeks() as $week): ?>
							<tr>
								<?php foreach ($week as $day): ?>
									<?php
									list($number, $current, $data) = $day;

									$classes = array();
									$output  = '';

									if (is_array($data))
									{
										$classes = $data['classes'];
										$title   = $data['title'];
										$output  = empty($data['output']) ? '' : '<ul class="output"><li>'.implode('</li><li>', $data['output']).'</li></ul>';
									}
									?>
									<td class="day <?php echo implode(' ', $classes) ?>">
										<span class="date" title="<?php echo implode(' / ', $title) ?>"><?php echo $number ?></span>
										<div class="day-content" style="text-align:center;">
											<?php echo $output ?>
										</div>
									</td>
								<?php endforeach ?>
							</tr>
						<?php endforeach ?>
					</tbody>
				</table>
			</div><!-- end main -->
		</div><!-- end container -->
	</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit