| 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 : |
<?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>
<?
}
?>
<table align="center" border="0" cellspacing="6" cellpadding="0">
<?
$step_count = 0;
$total_count = 0;
unset($row);
while ($row = mysql_fetch_array($grab_sql)) {
if ($step_count == 0) { echo "<tr>"; }
$icon = $photosetsweb.$row['content_id']."/icon.jpg";
if ($row['rate'] == "") { $rate = "0.00"; } else { $rate = $row['rate']; }
$rate = round($rate,2);
$models = "";
$get_models = @mysql_query("SELECT `cms_models`.`model_id`, `cms_models`.`name`
FROM `cms_content_models`
INNER JOIN `cms_models` ON `cms_models`.`model_id` = `cms_content_models`.`model_id`
WHERE `cms_content_models`.`content_id` = '".$row['content_id']."' AND `cms_models`.`releasedate` <= '".$today."' ORDER BY `cms_models`.`name` ASC");
while ($mod = mysql_fetch_array($get_models)) {
$models .= " <a href=\"model.php?id=".$mod['model_id']."\">".stripslashes($mod['name'])."</a>,";
}
$models = rtrim($models, ',')
?>
<td valign="top" width="104">
<table width="104" border="0" align="center" cellpadding="0" cellspacing="0" class="tnbdr">
<tr><td valign="top">
<div align="center"><a href="acct_content_dl.php?ct=<?=$content_type?>&id=<?=$row['content_id']?>"><img src="<?=$icon?>" border="0" class="tn" /></a><br />
<strong><?=stripslashes($row['name'])?></strong><br />
<?=$models?><br />
rating: <?=$rate?><br />
<a href="photoset.php?id=<?=$row['content_id']?>">view full set</a>
</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\"> </td>";
}
}
?>
</tr>
</table>