Midland (432) 242-2700 | Odessa (432) 363-5200

My Account

[insert_php]

session_start();
include_once ‘/home/wtsave32/public_html/check-gsp.php’;
include_once ‘/home/wtsave32/public_html/dbo.php’;

$uid = $_SESSION[‘user’];

$res=mysqli_query($con, “SELECT * FROM gspusers WHERE uid=’$uid'”);
$userRow=mysqli_fetch_array($res);

echo ”

Welcome “;
echo $userRow[‘displayname’];
echo “

“;

echo ‘


‘;

echo ”

Please choose an option:

“;

if ($userRow[‘allowbypass’] == ‘y’)
{
echo ‘

Add Guest Bypass

‘;
}

if ($userRow[‘allownetmon’] == ‘y’)
{
echo ‘

Network Monitoring

‘;
}

echo ‘


‘;

echo ‘

Logout

‘;

echo ”

Your subscription services expire on “;
echo date(“F d, Y”,strtotime($userRow[‘expires’]));
echo “

“;

[/insert_php]