<?php

ini_set('display_errors', 0);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL);
include 'includes/header.php';
echo '<style>' . "\r\n\r\n" . '.dash {' . "\r\n" . '  padding: 5px;' . "\r\n" . '  background-color: tranparent;' . "\r\n" . '  transition: transform .2s;' . "\r\n" . '  width: 100%;' . "\r\n" . '  height: 100%;' . "\r\n" . '  margin: 0 auto;' . "\r\n" . '  ' . "\r\n" . '  //background-image: linear-gradient(to bottom right, #171515, black);' . "\r\n" . '  color: white;' . "\r\n" . '  text-shadow: 2px 2px 4px #000000;' . "\r\n" . '  border: 4px solid transparent;' . "\r\n" . '  padding: 1px;' . "\r\n" . '  border-radius: 15px;' . "\r\n" . '}' . "\r\n\r\n" . '.dash:hover {' . "\r\n" . '  color: white;' . "\r\n" . '  text-shadow: 2px 2px 4px #000000;' . "\r\n" . '  padding: 5px;' . "\r\n" . '  background-image: linear-gradient(to bottom right, #434445, transparent);' . "\r\n" . '  transition: transform .2s;' . "\r\n" . '  width: 100%;' . "\r\n" . '  height: 100%;' . "\r\n" . '  margin: 0 auto;' . "\r\n" . '  ' . "\r\n" . '  padding: 1px; ' . "\r\n" . '  border-radius: 15px;' . "\r\n" . '}' . "\r\n" . '</style' . "\r\n";
echo ' <!-- Begin Page Content -->' . "\n";
echo '        <div class="container-fluid">' . "\n";
echo "\n";

if (isset($_GET['message'])) {
	echo $_GET['message'];
}

echo '          <!-- Content Row -->' . "\n";
echo '          <div class="row">' . "\n";
echo "\n";
echo '            <!-- First Column -->' . "\n";
echo '            <div class="col-lg-12">' . "\n";
echo "\n";
echo '              <!-- Custom codes -->' . "\n";
echo '                <div class="card text-text-primary">' . "\n";
echo '                <div class="card-header bg-primary py-3">' . "\n";
echo '                <center><h4 align="center" class="m-0 text-white">' . "\r\n" . '                ' . "\t\t\t\t" . '    <i class="fas fa-desktop" style="font-size:20px">&nbsp;&nbsp;</i>Dashboard</h4>' . "\r\n" . '                        ' . "\r\n\t\t\t\t\t\t" . '</center>' . "\r\n\n";
echo '            </div>' . "\n";
echo '                <div class="card-body">' . "\n";
echo '<!-- [ Main Content ] start -->' . "\r\n" . '                <div class="row">' . "\r\n\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align:center;">' . "\r\n\t\t\t\t" . '<a href="getapiurl.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fas fa-code" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>GET Api Url Code</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="app.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-home" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p> Main App Settings</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="extra.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-wrench" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>App Extras</p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="announcement.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-bullhorn" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Announcement</p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="all_users.php?online" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-user-plus" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p><span>Connected Users (';
echo $numRows_count;
echo ')</span> </p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="player_settings.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-sliders-h" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Player Settings </p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="language.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-globe" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>App Languages </p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="parental.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-unlock" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Parental Reset </p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="message_send.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-comment" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Send Message </p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="vpn.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-user-shield" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>VPN Manager </p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="widgets.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fas fa-ad" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p> Dash Widgets </p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="ads.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fas fa-ad" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p> ADS Banners</span></p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="img_bg.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-brush" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p> App Backgound</p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\t\t\t\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="theme.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-palette" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p> Theme Change</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\t\t\t\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="intro.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-video" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p> Intro Video</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\t\t\t\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="sports.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-futbol" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Sports Guide</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="appads.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-donate" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>In-app Admob Ads</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="adsPrebid.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-donate" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>In-app Prebid Ads</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="adsVast.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-donate" style="margin-top:20px;font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>In-app VAST Ads</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align:center;">' . "\r\n\t\t\t\t" . '<a href="update.php " style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fas fa-cloud-upload-alt" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Push Update</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align: center;">' . "\r\n\t\t\t\t" . '<a href="profile.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2 ">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-user-circle" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Admin Profile</p>' . "\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\t\t\t\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align:center;">' . "\r\n\t\t\t\t" . '<a href="snoop.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-clock" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Snoops Logs&nbsp;&nbsp;</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n" . '         ' . "\r\n\t\t\t" . '<div class="col-lg-3 col-md-3 py-2" style="text-align:center;">' . "\r\n\t\t\t\t" . '<a href="backup.php" style="text-decoration: none;">' . "\r\n\t\t\t\t" . '<div class="dash card bg-primary  widget-block shadow py-2">' . "\r\n\t\t\t\t\t" . '<div class="card-block">' . "\r\n\t\t\t\t\t\t" . '<i class="fa fa-database" style="margin-top:20px; font-size:20px" aria-hidden="true"></i>' . "\r\n\t\t\t\t\t\t" . '<p>Backup DataBase</p>' . "\r\n\r\n\t\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</div>' . "\r\n\t\t\t\t" . '</a>' . "\r\n\t\t\t" . '</div>' . "\r\n\t\t\t\r\n" . '      </div>' . "\r\n" . '      <p><br></p>' . "\r\n" . '   </div>' . "\r\n" . '                   ' . "\r\n" . '                    <!-- Column -->' . "\r\n" . '                </div>' . "\r\n" . '    </div>' . "\r\n";
echo ' <script> ' . "\n";
echo '    </script>' . "\n";
include 'includes/footer.php';
echo "\r\n" . '</body>';

?>