isAdmin($_SESSION['user_id']); $user_id = $_SESSION['user_id']; $page_user = (isset($_GET['page']) && (int)$_GET['page'] > 0) ? (int)$_GET['page'] : 1; // thanks for Adjokip $limit_user = isset($_GET['limit']) ? $_GET['limit'] : 10; if(hasValue($loggedInUserInfo) && is_array($loggedInUserInfo) && $loggedInUserInfo["users_page_limit"] && !(isset($_GET['limit']) and !empty($_GET['limit']))){ $limit_user = $loggedInUserInfo["users_page_limit"]; } $OnlineServers = ""; $OnlineServersTitle = ""; $query = "SELECT * FROM OGP_DB_PREFIXbilling_orders WHERE user_id='".$user_id."' and end_date = -1"; $result = $db->resultQuery($query); $invoicesDue=0; foreach($result as $res){ $invoicesDue=$invoicesDue + 1; } if( isset($settings['welcome_title']) && $settings['welcome_title'] == "1" ) { if( isset($settings['welcome_title_message']) && !empty($settings['welcome_title_message'] )) { echo "
".get_lang('no_games_to_monitor')."
"; if ( $isAdmin ) $OnlineServers .= "".get_lang_f("add_games_in","".get_lang('game_servers')."")."
"; } else { $player_list = ""; $stats_servers = 0; $stats_servers_online = 0; if(isset($settings['old_dashboard_behavior']) and $settings['old_dashboard_behavior'] == 1) { $_SESSION['player_statistics']['players'] = 0; $_SESSION['player_statistics']['playersmax'] = 0; $OnlineServers .= "| '.$refresh->getdiv($refresh->add("home.php?m=dashboard&p=query_ref&type=cleared&ip=".$server_home['ip']."&port=".$server_home['port']),'width:100%;').' |
| | ";
$OnlineServers .= " $address ";
$OnlineServers .= " |
Invoices Due : '. $invoicesDue . 'Servers expire after 1 month and an invoice will be created after which you have 7 days to renew the server.
The time remaining for each server is at the lower right of each server in the Game Monitor '; $href[4] = 'home.php?m=simple-billing&p=cart'; // Support $title[5] = (isset($settings['support_widget_title']) && $settings['support_widget_title'] != "") ? $settings['support_widget_title'] : get_lang('support'); $content[5] = (isset($settings['support_widget_content']) && $settings['support_widget_content'] != "") ? $settings['support_widget_content'] : '