| 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/sportyone.com/public_html/admin/ |
Upload File : |
<?php
include_once("../_config.php");
include_once('../fnk/tools.php');
//require_once("../fnk/fnc.php");
?>
<link rel=stylesheet href="css/a_style.css" type="text/css">
<?php
if(isset($_GET["mess"])){echo " <div align=\"center\" style=\"color:#FF0000; font-weight:bold\">".$_GET["mess"]."</div>";}
?>
<table style="border: inset 1px #4a4e74; border-collapse: separate; padding:10px;" align="center" width="100%" bgcolor="#ffffff" class="">
<tr>
<td>
<div align="center" style="border:ridge 1px; padding:13px;">
<a href="?act=assets&media=P">Photo Assets</a> ::
<a href="?act=assets&media=V">Video Assets</a> ::
<a href="?act=assets&media=B">Blog Assets</a> ::
<a href="?act=assets&media=D">Debutante Assets</a> ::
<a href="?act=model">Model</a> ::
<a href="/admin/">BACK TO ADMIN</a>
</div>
<p>
<?php
if(isset($_GET["act"]))
{$act = $_GET["act"];}
elseif(!isset($_GET["act"]))
{$act = "none";}
if($act == "model")
{
$query = "SELECT distinct m2a.model_id, m.model_name ";
$query .= "FROM mod2asset m2a, models m , asset a ";
$query .= " where m.model_id = m2a.model_id and m2a.asset_id = a.asset_id and a.live <> 'n' group by m.model_id ";
$result = mysql_query($query) or die("ERROR: <br>$query<br /> <strong>" . mysql_error()."</strong>");
echo $num_rows = mysql_num_rows($result). " Hot tours<br><br>";
while ($row = mysql_fetch_assoc($result))
{
echo $row['model_name'];
?>
<iframe src="<?php echo "hardcode.php?model_name=".$row['model_name']."&model_id=".$row['model_id']."&t=m"; ?>" width="00" height="0">
</iframe>
<?php
echo "
<br>";
}
}
elseif($act == "assets")
{
$query = "SELECT a.asset_id, a.asset_title ";
$query .= "FROM asset a ";
$query .= " where a.media = '".$_GET['media']."' and live = 'y'";
$result = mysql_query($query) or die("ERROR: <br>$query<br /> <strong>" . mysql_error()."</strong>");
echo $num_rows = mysql_num_rows($result). " assets<br><br>";
while ($row = mysql_fetch_assoc($result))
{
echo $row['asset_title'];
hardcode($row['asset_id'], $type="asset", 'ROOT');
echo "<br>";
}
}
elseif($act == "niche")
{
// $query = "SELECT distinct(n2a.niche_id), n.niche_name ";
//$query .= "FROM niche2asset n2a, niche n , assets a ";
// $query .= "WHERE n2a.niche_id = n.niche_id and n2a.asset_id = a.asset_id and a.hide_photo <> 'y' order by n.niche_name ";
$query = "SELECT distinct n2a.niche_id, n.niche_name ";
$query .= "FROM niche2asset n2a, niche n , assets a ";
$query .= " where n.niche_id = n2a.niche_id and n2a.asset_id = a.asset_id and a.hide_photo <> 'y' group by n2a.niche_id ";
$result = mysql_query($query) or die("ERROR: <br>$query<br /> <strong>" . mysql_error()."</strong>");
echo $num_rows = mysql_num_rows($result). " Hot tours<br><br>";
while ($row = mysql_fetch_assoc($result))
{
echo $row['niche_name'];
?>
<iframe src="<?php echo SITE_URL."/free/tour/build.php?niche_name=".$row['niche_name']."&niche_id=".$row['niche_id']."&t=n"; ?>" width="1100" height="450">
</iframe>
<?php
echo "<br><br>";
}
}
?>
</td>
</tr>
</table>
</body>
</html>