[insert_php]
session_start();
include_once ‘/home/wtsave32/public_html/check-gsp.php’;
include_once ‘/home/wtsave32/public_html/dbo.php’;
echo ‘
Network Monitoring
‘;
echo ‘
‘;
echo ‘
Please choose a site to see current network status:
‘;
$uid = $_SESSION[‘user’];
//$res=mysql_query(“SELECT * FROM gspusers WHERE uid=’$uid'”);
//$userRow=mysql_fetch_array($res);
//get uids for properties
$strSQL=”SELECT * FROM gspassocs WHERE usersuid=’$uid'”;
$query = mysqli_query($con, $strSQL);
while($result = mysqli_fetch_array($query))
{
//find props with map fields
$propuid = $result[‘propuid’];
$strSQL2=”SELECT * FROM gspproperties WHERE propuid = ‘$propuid’ AND char_length(propmap) > 5″;
$query2 = mysqli_query($con, $strSQL2);
while($result2 = mysqli_fetch_array($query2))
{
echo ‘
‘;
} //find props with map fields
} //get uids for properties
echo ‘
‘;
echo ‘
‘;
echo ”
Your subscription services expire on “;
echo date(“F d, Y”,strtotime($_SESSION[‘expires’]));
echo “
“;
[/insert_php]
Recent Comments