<!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>
<link rel="stylesheet" href="/css/bootstrap.min.css?v=7">
<link rel="stylesheet" href="/css/styles3.css?v=6">
<link rel="shortcut icon" type="image/x-icon" href="/img/favicon.ico">
<link rel="stylesheet" href="/css/mobile.css" media="handheld">
<script type="text/javascript" src="/js/jquery-1.7.1.min.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1"> <title>Team 3 Star | Party Tool</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css">
<script type="text/javascript" src="js/partytoolv.js?v=1"></script>
</head>
<body>
<nav id="top-nav" class="topnav">
<div class="logo"><img src="/img/logo.png" alt="" style="height: auto;width: auto;padding: 5px;" class="img-logo"></div>
<div class="topnav-selection">
<a href="unset.php"><div id="btn-logout" class="topnav-btn">Sign Out</div></a>
<div class="yr nav-seperate"></div>
<a href="usercp.php"><div id="btn-profile" class="topnav-btn">Profile</div></a>
<div class="yr nav-seperate">
</div>
</div>
</nav>
<nav class="sidenav" style="height: 1121px;">
<div class="sidenav-list">
<div class="xr"></div>
<a href="index.php"><div id="btn-dash" class="sidenav-btn">Dashboard</div></a>
<div class="xr"></div>
<a href="authorize.php"><div id="btn-auth" class="sidenav-btn">Authorize</div></a>
<div class="xr"></div>
<a href="partytool.php"><div id="btn-party" class="sidenav-btn">Party Tool</div></a><div class="xr"></div><a href="upgrade.php"><div id="btn-upgrade" class="sidenav-btn">Upgrade</div></a><div class="xr"></div> <a href="https://discord.gg/KNqAb82" target="_blank"><div id="btn-discord" class="sidenav-btn">Discord</div></a>
<div class="xr"></div>
</div>
</nav>
<script>
$(document).ready(function(){
setSidenavHeight();
setInterval(setSidenavHeight, 1000);
});
window.onresize = setSidenavHeight;
function setSidenavHeight(){
var heightBody = $('html').height() - 5;
var heightTopnav = document.getElementById('top-nav').clientHeight;
var windowHeight = $(window).height();
var heightSidenav = windowHeight - heightTopnav - 5;
if(heightBody > heightSidenav){
document.getElementsByClassName("sidenav")[0].style.cssText = "height: "+ heightBody +"px;";
} else {
document.getElementsByClassName("sidenav")[0].style.cssText = "height: "+ heightSidenav +"px;";
}
}
</script> <div class="body-wrapper">
<div id="form-container" class="hub-container">
<div class="site-main-box well">
<h2>Party Tool</h2>
<div class="zr"></div>
<form method="post" id="hub-form" class="hub-box well">
<h2>My Party</h2>
<div class="zr"></div>
<h6 id="sub1">The table below will show your party if you are in one.<br>The lock icon will open or close the party, if you are in one, when clicked.</h6>
<hr>
<div id="table-container">
<table id="partyTable" class="table kickTable">
<tr>
<th colspan="4">
<i style="float:left" class="fa fa-lock" onclick="" title="Close Party" id="statusButton"></i>
<i style="float:right" class="fa fa-refresh" onclick="getPartyByUser()" id="refreshButton"></i>
Party Status: <i id="statusText">None Found</i>
</th>
</tr>
</table>
<h6 id="statusAlert" style="margin-bottom:0"></h6>
</div>
</form>
<form method="post" id="hub-form" class="hub-box well">
<h2>Search For A Party</h2>
<div class="zr"></div>
<h6 id="sub1">The table below will show the party of anyone you have searched.</h6>
<hr>
<div class="form-group">
<input id="gamertagSearch" type="text" name="tag" placeholder="Gamertag" class="form-control">
</div>
<div style="margin-bottom: 15px;" class="form-buttons">
<button type="button" id="gamertagButton" class="btn">Get Party</button>
</div>
<div id="table-container">
<table id="partyTableSearch" class="table kickTable">
<tr>
<th colspan="4">
<i style="float:right" class="fa fa-refresh" id="refreshButtonSearch"></i>
Party Status: <i id="statusTextSearch">None Found</i>
</th>
</tr>
</table>
<h6 id="statusAlertOther" style="margin-bottom:0"></h6>
</div>
</form>
</div>
</div>
<div id="form-container" class="hub-container">
<div class="site-main-box well">
<h2>Other Tools</h2>
<div class="zr"></div>
<form method="post" id="hub-form" class="hub-box form-horizontal well">
<h2>Geo IP</h2>
<div class="zr"></div>
<h6 id="sub1">The Geolocation of an IP address will show here when you click the IP to copy it.</h6>
<hr>
<div class="form-group">
<label class="control-label col-sm-3">Gamertag</label>
<div class="col-sm-9">
<input id="geoGamertag" type="text" name="gamertag" class="form-control">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">IP Address</label>
<div class="col-sm-9">
<input id="geoIP" type="text" name="ip" class="form-control">
</div>
</div>
<hr>
<div class="form-group">
<label class="control-label col-sm-3">City</label>
<div class="col-sm-9">
<input id="geoCity" type="text" name="city" class="form-control">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">Region</label>
<div class="col-sm-9">
<input id="geoRegion" type="text" name="region" class="form-control">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">Country</label>
<div class="col-sm-9">
<input id="geoCountry" type="text" name="country" class="form-control">
</div>
</div>
<hr>
<div class="form-group">
<label class="control-label col-sm-3">ISP</label>
<div class="col-sm-9">
<input id="geoISP" type="text" name="ISP" class="form-control">
</div>
</div>
<div class="form-group">
<label class="control-label col-sm-3">Org</label>
<div class="col-sm-9">
<input id="geoOrg" type="text" name="org" class="form-control">
</div>
</div>
</form>
<form method="post" id="hub-form" class="hub-box well">
<h2>Friends in a Party</h2>
<div class="zr"></div>
<h6 id="sub1">The table below will show all of your friends that are in a party. Click Get Party to show the party in the table above.</h6>
<hr>
<div id="table-container">
<table id="friendsTable" class="table friendsTable">
<tr>
<th>
Gamertag
</th>
<th>
Status
</th>
<th>
Get Party
<i style="float:right" class="fa fa-refresh" onclick="getFriends()" id="refreshButtonFriends"></i>
</th>
</tr>
</table>
</div>
</form>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
</script>
</body>
</html>