| 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/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></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['model_id'];
include('mod_fav_check.php'); // output: $favorite
$favorite = "<div id=\"favorite_".$id."\">".$favorite."</div>";
}
// FAVORITES PAGE ONLY
if ($step_count == 0) { echo "<tr>"; }
$icon = $modelsweb.$row['model_id']."_".$col."icon.jpg";
if ($row['rate'] == "") { $rate = "0"; } else { $rate = $row['rate']; }
$rate = round($rate,2);
?>
<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="model.php?id=<?=$row['model_id']?>"><img src="content/models/<?php echo $row['model_id'] . '_portrait.jpg'; ?>" border="0" class="tn" /></a><br />
<strong><?=stripslashes($row['name'])?></strong><br />
<?=$row['total_sets']?> sets • <?=$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\"> </td>";
}
}
?>
</tr>
</table>