| 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/playwithfaye.com/public_html/free2/admin/imageworks/ |
Upload File : |
<?php
$query = "SELECT niche_id, niche_name ";
$query .= "FROM tour_niche ";
$query .= " order by niche_name ";
// echo $query;
$result = mysql_query($query) or die("ERROR: <br>$query<br /> <strong>" . mysql_error()."</strong>");
$num_rows = mysql_num_rows($result);
?>
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
<form action="index.php?act=update" method="post">
<br />
<table width="465" bgcolor="#FFFFFF" border="1" cellpadding="5" cellspacing="2" align="center"
style="border: 1px dashed rgb(74, 78, 116);border-collapse: collapse; text-align:left; padding:10px;"
class="modelnavblacktext">
<tr>
<td align="right">Manage Photos for Niche:
<select name="niche_id" class="select01">
<?php
$query = "SELECT distinct(n.niche_id), n.niche_name ";
$query .= "FROM tour_niche n ";
$query .= "ORDER BY niche_name asc";
$result = mysql_query($query) or die("ERROR: <br>$query<br /> <strong>" . mysql_error()."</strong>");
while($row = mysql_fetch_assoc($result))
{
if($niche_id == $row["niche_id"])
{$checked = "selected=\"selected\"";}
else{$checked = "";}
echo "/n/t";?>
<option value="<?php echo $row["niche_id"] ?>"<?php echo $checked ?>><?php echo $row["niche_name"] ?></option> <?php
}?>
</select>
<input type="submit" name="delete" value="GO!" class="button"/>
</td>
</tr>
</table>
</form>
<br />