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/store.tiacyrusxxx.com/public_html/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/store.tiacyrusxxx.com/public_html/dev/mod_photographer_output.php
<?php
$grab_sql = @mysql_query($query);
if(@mysql_num_rows($grab_sql) == 0) { // IF NO RECORDS
?>
<table border="0" cellspacing="10" cellpadding="0" align="center">
<tr><td><div align="center">sorry! no results.</div></td></tr>
<?
}
?>
<table align="center" border="0" cellspacing="6" cellpadding="0">
<?
$step_count = 0;
$total_count = 0;
unset($row);
while ($row = mysql_fetch_array($grab_sql)) {

	// FAVORITES PAGE ONLY
	$favorite = "";
	if ($_SERVER['PHP_SELF'] == "/acct_favorites.php") {
		$id = $row['photographer_id'];
		include('mod_fav_check.php'); // output: $favorite
		$favorite = "<div id=\"favorite_".$id."\">".$favorite."</div>";
	}	
	// FAVORITES PAGE ONLY
	
	if ($row['rate'] == "") { $rate = "0.00"; } else { $rate = $row['rate']; }
		
		$rate = round($rate,2);
	
if ($step_count == 0) { echo "<tr>"; }
$ed = explode("-", $row['releasedate']);
$releasedate = date("m-d-Y", mktime(0, 0, 0, $ed[1], $ed[2], $ed[0]));
$icon = $photographersweb.$row['photographer_id']."/icon.jpg";

?>
<td valign="top" width="104"><?=$favorite?>
<table width="104" border="0" align="center" cellpadding="0" cellspacing="0" class="tnbdr">
<tr><td valign="top">
<div align="center"><a href="photographer.php?id=<?=$row['photographer_id']?>"><img src="<?=$icon?>" border="0" class="tn" /></a><br />

<strong><?=stripslashes($row['name'])?></strong><br />
<?=$row['total_sets']?> sets<br />
<?=number_format($row['total_photos'])?> photos<br />
rating: <?=$rate?>
</div>
</td></tr></table>
</td>
<?
$step_count++;
$total_count++;

	if($step_count == $num_columns) {
	$step_count = 0;
	echo "</tr>";
	}

}
if ($total_count < 20) {
for ($i=$step_count;$i<$num_columns;$i++) {
echo "<td valign=\"top\" width=\"104\">&nbsp;</td>";
}
}
?>
</tr>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit