timer
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context path="/mavenproject1"/>
|
||||
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Context path="/mavenproject1"/>
|
||||
@@ -0,0 +1,49 @@
|
||||
<%--
|
||||
Document : AdminLogin
|
||||
Created on : 08-11-2018, 21:08:22
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="windows-1252"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<title>Admin Login</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="text-center">
|
||||
<button type="button" class="btn btn-info" onclick="GetFrontPage()">Overview</button>
|
||||
<br>
|
||||
<br>
|
||||
<form id="1112" name="Authenticatelogin" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="Authenticatelogin">
|
||||
<div class="container">
|
||||
<label for="uname"><b>Username</b></label>
|
||||
<input type="text" placeholder="Enter Username" name="uname" required>
|
||||
<label for="psw"><b>Password</b></label>
|
||||
<input type="password" placeholder="Enter Password" name="psw" required>
|
||||
<button class="btn btn-primary" onclick="AuthenticateLogin()" >Login</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
function GetFrontPage()
|
||||
{
|
||||
document.getElementById('1111').submit();
|
||||
}
|
||||
function AuthenticateLogin()
|
||||
{
|
||||
document.getElementById('1112').submit();
|
||||
}
|
||||
</SCRIPT>
|
||||
<form id="1111" name="SessionAttributeHandler" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,95 @@
|
||||
<%--
|
||||
Document : AdminPage
|
||||
Created on : 13-11-2018, 22:35:37
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page import="java.util.List"%>
|
||||
<%@page import="java.util.Map"%>
|
||||
<%@page contentType="text/html" pageEncoding="windows-1252"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
||||
<title>Administration Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<div class="text-center">
|
||||
<button type="button" class="btn btn-info" onclick="GetFrontPage();">Overview</button>
|
||||
<br>
|
||||
<br>
|
||||
</div>
|
||||
<div align="center">
|
||||
<button class="btn btn-primary" onclick="CreateAdminFunc();" >Create Admin</button>
|
||||
</div>
|
||||
<form id="1111" name="CreateAdmin" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="CreateAdmin">
|
||||
<div class="container">
|
||||
<label for="name"><b>Username</b></label>
|
||||
<input type="text" placeholder="Enter Username" name="name" required>
|
||||
<label for="psw1"><b>Password</b></label>
|
||||
<input type="password" placeholder="Enter Password" name="psw1" required>
|
||||
<label for="role"><b>Role</b></label>
|
||||
<select name="Role" form="1111">
|
||||
<option value="Tech">Tech</option>
|
||||
<option value="Global Admin">Global Admin</option>
|
||||
<option value="Admin">Admin</option>
|
||||
</select>
|
||||
<br>
|
||||
</div>
|
||||
</form>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<%
|
||||
Map<String, String> map = (Map) session.getAttribute("adminMap");
|
||||
for (Map.Entry<String, String> entry : map.entrySet()) {
|
||||
%>
|
||||
<div align="center">
|
||||
<span href="#" class="fake-link" >
|
||||
<div>
|
||||
<%
|
||||
out.println(entry.getKey());
|
||||
|
||||
%>
|
||||
</div>
|
||||
<div>
|
||||
<% out.println(entry.getValue());
|
||||
%>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
<br>
|
||||
<%
|
||||
}
|
||||
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.fake-link {
|
||||
color: #007bff;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
function CreateAdminFunc()
|
||||
{
|
||||
document.getElementById('1111').submit();
|
||||
}
|
||||
function GetFrontPage()
|
||||
{
|
||||
document.getElementById('1112').submit();
|
||||
}
|
||||
</SCRIPT>
|
||||
<form id="1112" name="SessionAttributeHandler" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,259 @@
|
||||
<%--
|
||||
Document : index
|
||||
Created on : 21-10-2018, 14:28:06
|
||||
Author : install1
|
||||
--%>
|
||||
<%@page import="java.text.DecimalFormat"%>
|
||||
<%@page import="FunctionLayer.RecentTimes"%>
|
||||
<%@page import="java.util.Collections"%>
|
||||
<%@page import="FunctionLayer.UserBanners"%>
|
||||
<%@page import="FunctionLayer.MapBoard"%>
|
||||
<%@page import="FunctionLayer.Users"%>
|
||||
<%@page import="java.util.List"%>
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Maptimers</title>
|
||||
</head>
|
||||
<body>
|
||||
<% String AdminName = (String) session.getAttribute("AdminName");
|
||||
if (AdminName != null) {
|
||||
%>
|
||||
<h1>You are logged in as: <%=AdminName%> </h1>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<button type="button" class="btn btn-warning" onclick="AdminLogin()">Admin login</button>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="text-center">
|
||||
<button type="button" class="btn btn-primary" onclick="DisplayMaps()">Maps</button>
|
||||
<button type="button" class="btn btn-success" onclick="DisplayPlayers()">Players</button>
|
||||
<button type="button" class="btn btn-secondary" onclick="RecentTimes()">Recent Times</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
<div class="text-center">
|
||||
<div id="MapDiv">
|
||||
<%
|
||||
List<MapBoard> AllMapColoumns = (List<MapBoard>) session.getAttribute("MapBoard");
|
||||
if (AllMapColoumns != null) {
|
||||
for (int i = 0; i < AllMapColoumns.size(); i++) {
|
||||
%>
|
||||
<button id="<%=AllMapColoumns.get(i).getMapName()%>" class="list-group-item list-group-item-action" onclick="GetMapPage(this.id);" style="border: none" > <span href="#" class="fake-link" ><%out.print(AllMapColoumns.get(i).getMapName());%></span>
|
||||
</button>
|
||||
<%
|
||||
}
|
||||
} else { %>
|
||||
<li class="list-group-item disabled">No map Entries, call jenz!</li>
|
||||
<% } %>
|
||||
</div>
|
||||
<div id="RecentDiv">
|
||||
<%
|
||||
List<RecentTimes> recentTimes = (List<RecentTimes>) session.getAttribute("RecentTimes");
|
||||
if (recentTimes != null) {
|
||||
for (int i = 0; i < recentTimes.size(); i++) {
|
||||
%>
|
||||
<button class="list-group-item list-group-item-action" id="<%=recentTimes.get(i).getUser().getSteamID()%>" style="border: none" onclick="GetplayerPage(this.id);">
|
||||
<span href="#" class="fake-link" >
|
||||
<div>
|
||||
<%out.print(recentTimes.get(i).getUser().getSteamID());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.print(recentTimes.get(i).getUser().getName());%>
|
||||
</div>
|
||||
<div>
|
||||
<img src="<%out.println(recentTimes.get(i).getUser().getAvatar()); %>">
|
||||
</div>
|
||||
<div>
|
||||
<%out.print(recentTimes.get(i).getMYSQLStage());%>
|
||||
</div>
|
||||
<div>
|
||||
<%
|
||||
float fdefault = recentTimes.get(i).getImprovedTime();
|
||||
int MinuteAdjusterImproved = (int) fdefault;
|
||||
float secondsAdjusterImproved = Float.valueOf(String.format("%.2f", (fdefault - MinuteAdjusterImproved) * 100));
|
||||
out.print("\nImproved by: 0" + MinuteAdjusterImproved + ":"
|
||||
+ secondsAdjusterImproved);
|
||||
%>
|
||||
</div>
|
||||
<div>
|
||||
<%
|
||||
//00:56.4
|
||||
float newAdjustedTime = (((int) recentTimes.get(i).getMYSQLOldTime()) * 60
|
||||
+ ((recentTimes.get(i).getMYSQLOldTime() - (int) recentTimes.get(i).getMYSQLOldTime()) * 100))
|
||||
- (MinuteAdjusterImproved * 60 + secondsAdjusterImproved);
|
||||
int newMinuteTime = (int) newAdjustedTime / 60;
|
||||
float SecondsAdjusterNewTime = Float.valueOf(String.format("%.2f", newAdjustedTime - (newMinuteTime * 60)));
|
||||
out.print("New Time: 0" + newMinuteTime + ":" + SecondsAdjusterNewTime);
|
||||
%>
|
||||
</div>
|
||||
</span>
|
||||
</button>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="PlayerDiv">
|
||||
<% List<UserBanners> UB = (List<UserBanners>) session.getAttribute("UserBanners");
|
||||
List<Users> PlayerLeaderBoard = (List<Users>) session.getAttribute("LeaderBoard");
|
||||
int UBIndex = 0;
|
||||
if (PlayerLeaderBoard != null && UB != null) {
|
||||
// out.println("UB size: " + UB.size());
|
||||
for (int j = 0; j < PlayerLeaderBoard.size(); j++) {
|
||||
%>
|
||||
<button class="list-group-item list-group-item-action" id="<%=PlayerLeaderBoard.get(j).getSteamID()%>" style="border: none" onclick="GetplayerPage(this.id);"><span href="#" class="fake-link" >
|
||||
<div class="container" id="Players">
|
||||
<div class="row d-flex justify-content-between">
|
||||
<div>
|
||||
<%out.print(PlayerLeaderBoard.get(j).getSteamID());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.print(PlayerLeaderBoard.get(j).getName());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.print("Rank: " + PlayerLeaderBoard.get(j).getRank());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.print("Points: " + PlayerLeaderBoard.get(j).getPlayerPoints());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.print("Times: " + PlayerLeaderBoard.get(j).getTimes());%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row d-flex justify-content-between">
|
||||
<div>
|
||||
<div class="d-flex justify-content-between" id="Players">
|
||||
<%
|
||||
String img = "";
|
||||
if (UBIndex < UB.size() && UB.get(UBIndex).getUser().equals(PlayerLeaderBoard.get(j))) {
|
||||
for (int i = 0; i < UB.get(UBIndex).getUrlBanners().size(); i++) {
|
||||
switch (UB.get(UBIndex).getUrlBanners().get(i)) {
|
||||
case 25: {
|
||||
img = "https://unloze.com/images/badges/Event-Manager.png";
|
||||
break;
|
||||
}
|
||||
case 19: {
|
||||
img = "https://unloze.com/images/badges/Discord-Manager.png";
|
||||
break;
|
||||
}
|
||||
case 15: {
|
||||
img = "https://unloze.com/images/badges/Event-Winner.png";
|
||||
break;
|
||||
}
|
||||
case 12: {
|
||||
img = "https://unloze.com/images/badges/VIP.png";
|
||||
break;
|
||||
}
|
||||
case 11: {
|
||||
img = "https://unloze.com/images/badges/Global-Admin.png";
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
img = "https://unloze.com/images/badges/Leader.png";
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
img = "https://unloze.com/images/badges/Tech-Staff.png";
|
||||
break;
|
||||
}
|
||||
case 7: {
|
||||
img = "https://unloze.com/images/badges/Admin.png";
|
||||
break;
|
||||
}
|
||||
case 6: {
|
||||
img = "https://unloze.com/images/badges/Mapper.png";
|
||||
break;
|
||||
}
|
||||
}
|
||||
%>
|
||||
<div >
|
||||
<img src="<%out.println(img); %>">
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
UBIndex++;
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="float-right" >
|
||||
<img src="<%out.println(PlayerLeaderBoard.get(j).getAvatar()); %>">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</span> </button>
|
||||
<% }
|
||||
|
||||
} else {
|
||||
%>
|
||||
<li class="list-group-item disabled">No Player Entries</li>
|
||||
<% }%>
|
||||
</div>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
function GetMapPage(count)
|
||||
{
|
||||
document.getElementById("mapindexes").value = count;
|
||||
document.getElementById('1111').submit();
|
||||
}
|
||||
function GetplayerPage(count)
|
||||
{
|
||||
document.getElementById("playerindex").value = count;
|
||||
document.getElementById('1112').submit();
|
||||
}
|
||||
function AdminLogin()
|
||||
{
|
||||
document.getElementById('1113').submit();
|
||||
}
|
||||
$('#PlayerDiv').hide();
|
||||
function DisplayMaps() {
|
||||
$('#PlayerDiv').hide();
|
||||
$('#RecentDiv').hide();
|
||||
$('#MapDiv').show();
|
||||
}
|
||||
function DisplayPlayers()
|
||||
{
|
||||
$('#PlayerDiv').show();
|
||||
$('#MapDiv').hide();
|
||||
$('#RecentDiv').hide();
|
||||
}
|
||||
function RecentTimes()
|
||||
{
|
||||
$('#PlayerDiv').hide();
|
||||
$('#MapDiv').hide();
|
||||
$('#RecentDiv').show();
|
||||
}
|
||||
|
||||
</SCRIPT>
|
||||
<form id="1111" name="mapfnfo" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="mapfnfo">
|
||||
<input type="hidden" name="mapname" id='mapindexes' value=''>
|
||||
</form>
|
||||
<form id="1112" name="playerinfo" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="playerinfo">
|
||||
<input type="hidden" name="player" id='playerindex' value=''>
|
||||
</form>
|
||||
<form id="1113" name="adminLogin" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="adminLogin">
|
||||
</form>
|
||||
<style>
|
||||
.fake-link {
|
||||
color: #007bff;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,205 @@
|
||||
<%--
|
||||
Document : Mapdetails
|
||||
Created on : 23-10-2018, 14:12:31
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page import="FunctionLayer.UserBanners"%>
|
||||
<%@page import="FunctionLayer.MapBoard"%>
|
||||
<%@page import="java.text.DecimalFormat"%>
|
||||
<%@page import="java.math.BigDecimal"%>
|
||||
<%@page import="java.util.List"%>
|
||||
<%@page import="java.util.List"%>
|
||||
<%@page import="java.util.Iterator"%>
|
||||
<%@page import="java.util.Map"%>
|
||||
<%@page import="FunctionLayer.Users"%>
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>LeaderBoards</title>
|
||||
</head>
|
||||
<body>
|
||||
<% String AdminName = (String) request.getSession().getAttribute("AdminName");
|
||||
if (AdminName != null) {
|
||||
%>
|
||||
<h1>You are logged in as: <%=AdminName%> </h1>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div align="center">
|
||||
<button type="button" class="btn btn-info" onclick="GetFrontPage()">Overview</button>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<%
|
||||
List<UserBanners> UB = (List<UserBanners>) session.getAttribute("UserBanners");
|
||||
List<MapBoard> mapBoard = (List<MapBoard>) session.getAttribute("MapBoard");
|
||||
//might not find mapname as parameter
|
||||
int index = (Integer) request.getAttribute("SpecificMapIndex");
|
||||
String map = (String) request.getParameter("mapname");
|
||||
String VerifyAdmins = session.getAttribute("VerifyAdmin") == null ? "0" : String.valueOf(session.getAttribute("VerifyAdmin"));
|
||||
int VerifyAdmin = Integer.valueOf(VerifyAdmins);
|
||||
DecimalFormat df = new DecimalFormat();
|
||||
df.setMaximumFractionDigits(1);
|
||||
out.println("<H2 align=\"center\">" + map + "</h2>");
|
||||
if (mapBoard != null) {
|
||||
for (int i = 0; i < mapBoard.get(index).getMapvalues().size(); i++) {
|
||||
%>
|
||||
<button id="<%=mapBoard.get(index).getMapvalues().get(i).getUser().getSteamID()%>" style="border: none" onclick="GetplayerPage(this.id);"
|
||||
class="list-group-item list-group-item-action" >
|
||||
<span href="#" class="fake-link" >
|
||||
<div class="row d-flex justify-content-between">
|
||||
<div> <%out.println(mapBoard.get(index).getMapvalues().get(i).getUser().getSteamID());%></div>
|
||||
<div> <%out.println(mapBoard.get(index).getMapvalues().get(i).getUser().getName());%></div>
|
||||
<div><%out.println("Rank: " + mapBoard.get(index).getMapvalues().get(i).getUser().getRank());%></div>
|
||||
<div>
|
||||
<%out.println("Points: " + mapBoard.get(index).getMapvalues().get(i).getUser().getPlayerPoints());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.println("Times: " + mapBoard.get(index).getMapvalues().get(i).getUser().getTimes());%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.println("Map Position: " + (i + 1)); %>
|
||||
</div>
|
||||
<div> <%out.println("Time: " + "0" + (long) (mapBoard.get(index).getMapvalues().get(i).getTime())
|
||||
+ ":" + (df.format((mapBoard.get(index).getMapvalues().get(i).getTime() - (long) (mapBoard.get(index).getMapvalues().get(i).getTime())) * 100)));%>
|
||||
</div>
|
||||
<div>
|
||||
<%out.println("Map Points: " + mapBoard.get(index).getMapvalues().get(i).getMapPoints() + "/100");%>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div align="center">
|
||||
<img src="<%out.println(mapBoard.get(index).getMapvalues().get(i).getUser().getAvatar()); %>">
|
||||
</div>
|
||||
<%
|
||||
String img = ""; //userlist.indexOf(UserCacheTimeAmount1.entrySet().stream().filter(e -> e.getValue().getSteamID().equals(RTSteamID)).findFirst().get().getValue());
|
||||
Users user = mapBoard.get(index).getMapvalues().get(i).getUser();
|
||||
int mbIndex = -1;
|
||||
for (int j = 0; j < UB.size(); j++) {
|
||||
if (UB.get(j).getUser().equals(user)) {
|
||||
mbIndex = j;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (mbIndex > 0) {
|
||||
for (int j = 0; j < UB.get(mbIndex).getUrlBanners().size(); j++) {
|
||||
switch (UB.get(mbIndex).getUrlBanners().get(j)) {
|
||||
case 25: {
|
||||
img = "https://unloze.com/images/badges/Event-Manager.png";
|
||||
break;
|
||||
}
|
||||
case 19: {
|
||||
img = "https://unloze.com/images/badges/Discord-Manager.png";
|
||||
break;
|
||||
}
|
||||
case 15: {
|
||||
img = "https://unloze.com/images/badges/Event-Winner.png";
|
||||
break;
|
||||
}
|
||||
case 12: {
|
||||
img = "https://unloze.com/images/badges/VIP.png";
|
||||
break;
|
||||
}
|
||||
case 11: {
|
||||
img = "https://unloze.com/images/badges/Global-Admin.png";
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
img = "https://unloze.com/images/badges/Leader.png";
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
img = "https://unloze.com/images/badges/Tech-Staff.png";
|
||||
break;
|
||||
}
|
||||
case 7: {
|
||||
img = "https://unloze.com/images/badges/Admin.png";
|
||||
break;
|
||||
}
|
||||
case 6: {
|
||||
img = "https://unloze.com/images/badges/Mapper.png";
|
||||
break;
|
||||
}
|
||||
}
|
||||
%>
|
||||
<div align="center">
|
||||
<div >
|
||||
<img src="<%out.println(img);%>">
|
||||
</div>
|
||||
</div>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
</span> </button>
|
||||
<%
|
||||
if (VerifyAdmin > 0) {
|
||||
%>
|
||||
<div align="center">
|
||||
<button value="<%out.print(mapBoard.get(index).getMapName());%>" id="<%=mapBoard.get(index).getMapvalues().get(i).getUser().getSteamID()%>" style="border: none" onclick="removeentry(this.id, this.value);" >
|
||||
<span href="#" class="fake-link" >
|
||||
<div class="d-flex justify-content-between">
|
||||
<div>
|
||||
<%out.println("Delete Entry");%>
|
||||
</div>
|
||||
</div>
|
||||
</span> </button>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<br>
|
||||
<br>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.fake-link {
|
||||
color: #007bff;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
}
|
||||
</style>
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
function GetplayerPage(count)
|
||||
{
|
||||
document.getElementById("playerindex").value = count;
|
||||
document.getElementById('1111').submit();
|
||||
}
|
||||
function GetFrontPage()
|
||||
{
|
||||
document.getElementById('1112').submit();
|
||||
}
|
||||
function removeentry(steamID, map)
|
||||
{
|
||||
document.getElementById("PlayerRelatedMap").value = map;
|
||||
document.getElementById("SteamID").value = steamID;
|
||||
document.getElementById('1113').submit();
|
||||
}
|
||||
</SCRIPT>
|
||||
<form id="1111" name="playerinfo" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="playerinfo">
|
||||
<input type="hidden" name="player" id='playerindex' value=''>
|
||||
</form>
|
||||
<form id="1112" name="SessionAttributeHandler" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
</form>
|
||||
<form id="1113" name="DeleteEntry" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="DeleteEntry">
|
||||
<input type="hidden" name="DeleteIndexSteamID" id='SteamID' value=''>
|
||||
<input type="hidden" name="PlayerRelatedMap" id='PlayerRelatedMap' value=''>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,329 @@
|
||||
<%--
|
||||
Document : PlayerInfo
|
||||
Created on : 04-11-2018, 20:57:35
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page import="java.util.ArrayList"%>
|
||||
<%@page import="FunctionLayer.RecentTimes"%>
|
||||
<%@page import="FunctionLayer.UserBanners"%>
|
||||
<%@page import="FunctionLayer.MapBoard"%>
|
||||
<%@page import="java.text.DecimalFormat"%>
|
||||
<%@page import="java.util.List"%>
|
||||
<%@page import="FunctionLayer.Users"%>
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>Player Stats</title>
|
||||
</head>
|
||||
<body>
|
||||
<div align="center">
|
||||
<div id="overview" class="btn btn-info overviewclass" >Overview</div>
|
||||
</div>
|
||||
<%
|
||||
DecimalFormat df = new DecimalFormat();
|
||||
List<RecentTimes> recentTimes = (List<RecentTimes>) session.getAttribute("RecentTimes");
|
||||
List<UserBanners> UB = (List<UserBanners>) session.getAttribute("UserBanners");
|
||||
List<MapBoard> DifferentiateMapBoard = (List<MapBoard>) session.getAttribute("MapBoard");
|
||||
String VerifyAdmins = session.getAttribute("VerifyAdmin") == null ? "0" : String.valueOf(session.getAttribute("VerifyAdmin"));
|
||||
int VerifyAdmin = Integer.valueOf(VerifyAdmins);
|
||||
StringBuilder sb = new StringBuilder();
|
||||
String SteamID64 = (String) request.getAttribute("CommunityID");
|
||||
if (SteamID64 != null) {
|
||||
sb.append("https://steamcommunity.com/profiles/").append(SteamID64);
|
||||
} else {
|
||||
sb.append("https://steamcommunity.com/profiles/");
|
||||
}
|
||||
List<Integer> PlayerPositions = (List<Integer>) request.getAttribute("positions");
|
||||
Users user = (Users) request.getAttribute("user");
|
||||
List<MapBoard> PlayerRelatedMapBoard = (List<MapBoard>) request.getAttribute("PlayerRelatedMapBoard");
|
||||
df.setMaximumFractionDigits(1);
|
||||
if (user != null && recentTimes != null) {
|
||||
%>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm">
|
||||
<div align="center" class="fake-2">
|
||||
<br>
|
||||
<br>
|
||||
<a target="_blank" href="<%out.println(sb.toString());%>">
|
||||
<button style="border: none"
|
||||
class="list-group-item list-group-item-action" >
|
||||
<span class="fake-link" >
|
||||
<div> <%out.println(user.getName());%></div>
|
||||
<div> <%out.println(user.getSteamID());%></div>
|
||||
<div>
|
||||
<img src="<%out.println(user.getAvatar()); %>">
|
||||
</div>
|
||||
<div>
|
||||
<% out.print("Rank: " + user.getRank()); %>
|
||||
</div>
|
||||
<div>
|
||||
<% out.print("Points: " + user.getPlayerPoints()); %>
|
||||
</div>
|
||||
<div>
|
||||
<% out.print("Times: " + user.getTimes()); %>
|
||||
</div>
|
||||
<%
|
||||
String img = "";
|
||||
int UBIndex = 0;
|
||||
while (UB.size() > UBIndex) {
|
||||
if (UB.get(UBIndex).getUser().equals(user)) {
|
||||
break;
|
||||
}
|
||||
UBIndex++;
|
||||
}
|
||||
if (UBIndex < UB.size()) {
|
||||
for (int i = 0; i < UB.get(UBIndex).getUrlBanners().size(); i++) {
|
||||
switch (UB.get(UBIndex).getUrlBanners().get(i)) {
|
||||
case 25: {
|
||||
img = "https://unloze.com/images/badges/Event-Manager.png";
|
||||
break;
|
||||
}
|
||||
case 19: {
|
||||
img = "https://unloze.com/images/badges/Discord-Manager.png";
|
||||
break;
|
||||
}
|
||||
case 15: {
|
||||
img = "https://unloze.com/images/badges/Event-Winner.png";
|
||||
break;
|
||||
}
|
||||
case 12: {
|
||||
img = "https://unloze.com/images/badges/VIP.png";
|
||||
break;
|
||||
}
|
||||
case 11: {
|
||||
img = "https://unloze.com/images/badges/Global-Admin.png";
|
||||
break;
|
||||
}
|
||||
case 10: {
|
||||
img = "https://unloze.com/images/badges/Leader.png";
|
||||
break;
|
||||
}
|
||||
case 8: {
|
||||
img = "https://unloze.com/images/badges/Tech-Staff.png";
|
||||
break;
|
||||
}
|
||||
case 7: {
|
||||
img = "https://unloze.com/images/badges/Admin.png";
|
||||
break;
|
||||
}
|
||||
case 6: {
|
||||
img = "https://unloze.com/images/badges/Mapper.png";
|
||||
break;
|
||||
}
|
||||
}
|
||||
%>
|
||||
<div>
|
||||
<img src="<%out.println(img);%>">
|
||||
</div>
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
</span> </button>
|
||||
</a>
|
||||
</div>
|
||||
<%
|
||||
for (int i = 0; i < PlayerRelatedMapBoard.size(); i++) {
|
||||
%>
|
||||
<div align="center" class="group">
|
||||
<div class="element" data-id="<%=PlayerRelatedMapBoard.get(i).getMapName()%>" >
|
||||
<span href="#" class="fake-link" >
|
||||
<%out.println(" Map " + PlayerRelatedMapBoard.get(i).getMapName());%>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="fake-2" >
|
||||
<div align="center">
|
||||
<%out.println("Map Position: " + (PlayerRelatedMapBoard.get(i).getMapvalues().get(PlayerPositions.get(i)).getPosition() + 1)); %>
|
||||
</div>
|
||||
<div align="center"> <%out.println("Time: 0" + (int) Math.floor(PlayerRelatedMapBoard.get(i).getMapvalues().get(PlayerPositions.get(i)).getTime())
|
||||
+ ":" + (df.format((PlayerRelatedMapBoard.get(i).getMapvalues().get(PlayerPositions.get(i)).getTime() - Math.floor(PlayerRelatedMapBoard.get(i).getMapvalues().get(PlayerPositions.get(i)).getTime())) * 100)));%></div>
|
||||
<div align="center"> <%out.println("Map Points: " + PlayerRelatedMapBoard.get(i).getMapvalues().get(PlayerPositions.get(i)).getMapPoints() + "/100"); %></div>
|
||||
</span>
|
||||
<%
|
||||
if (VerifyAdmin > 0) {
|
||||
%>
|
||||
<div align="center">
|
||||
<button value="<%out.print(user.getSteamID());%>" id="<%out.print(PlayerRelatedMapBoard.get(i).getMapName());%>" onclick="DeleteEntryFunc(this.value, this.id)" >
|
||||
<span href="#" class="fake-link" >
|
||||
<%out.println("Delete Entry");%>
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
<br>
|
||||
<br>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="leftH" id="leftHDiv" >
|
||||
<div id="lefth1">
|
||||
<% String AdminName = (String) request.getSession().getAttribute("AdminName");
|
||||
if (AdminName != null) {
|
||||
%>
|
||||
<h1>You are logged in as: <%=AdminName%> </h1>
|
||||
<%
|
||||
} %>
|
||||
<h1>Recently improved times: </h1>
|
||||
</div>
|
||||
<%
|
||||
for (int i = 0; i < recentTimes.size(); i++) {
|
||||
if (recentTimes.get(i).getUser().equals(user)) {
|
||||
%>
|
||||
<div>
|
||||
<%out.print("\n" + recentTimes.get(i).getMYSQLStage()); %>
|
||||
</div>
|
||||
<div>
|
||||
<%
|
||||
float fdefault = recentTimes.get(i).getImprovedTime();
|
||||
int MinuteAdjusterImproved = (int) fdefault;
|
||||
float secondsAdjusterImproved = Float.valueOf(String.format("%.2f", (fdefault - MinuteAdjusterImproved) * 100));
|
||||
out.print("\nImproved by: 0" + MinuteAdjusterImproved + ":"
|
||||
+ secondsAdjusterImproved);
|
||||
%>
|
||||
</div>
|
||||
<br>
|
||||
<%
|
||||
}
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="rightH group1" id="rightHDiv" >
|
||||
<div id="righth1">
|
||||
<h1>Maps with no time yet:</h1>
|
||||
</div>
|
||||
<%
|
||||
List<MapBoard> feex = new ArrayList(PlayerRelatedMapBoard);
|
||||
List<MapBoard> feex1 = new ArrayList(DifferentiateMapBoard);
|
||||
feex1.removeAll(feex);
|
||||
for (int i = 0; i < feex1.size(); i++) {
|
||||
%>
|
||||
<div class="element1" id="<%=feex1.get(i).getMapName()%>" >
|
||||
<span href="#" class="fake-link2" >
|
||||
<%out.print("\n" + feex1.get(i).getMapName()); %>
|
||||
</span>
|
||||
</div>
|
||||
<br>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.fake-link {
|
||||
color: #007bff;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
.fake-link2 {
|
||||
color: #007bff;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
.fake-2{
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
.fake-2 a{
|
||||
display:inline-block;
|
||||
width: 300px;
|
||||
}
|
||||
.overviewclass{
|
||||
position: relative;
|
||||
z-index: 3;
|
||||
}
|
||||
.header {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
top: 0px;
|
||||
}
|
||||
.leftH {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
float: left;
|
||||
top: 0px;
|
||||
}
|
||||
.rightH {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
float: right;
|
||||
top: 0px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
</script>
|
||||
<script>
|
||||
$("#overview").click(function () {
|
||||
document.getElementById('1112').submit();
|
||||
});
|
||||
$('.group1 .element1').click(function () {
|
||||
id1 = $(this).attr('id');
|
||||
document.getElementById("mapindexes1").value = id1;
|
||||
document.getElementById('1114').submit();
|
||||
});
|
||||
$('.group .element').click(function () {
|
||||
id = $(this).attr('data-id');
|
||||
document.getElementById("mapindexes").value = id;
|
||||
document.getElementById('1111').submit();
|
||||
});
|
||||
function DeleteEntryFunc(steamID, map)
|
||||
{
|
||||
document.getElementById("PlayerRelatedMap").value = map;
|
||||
document.getElementById("SteamID").value = steamID;
|
||||
document.getElementById('1113').submit();
|
||||
}
|
||||
$("#leftHDiv").css({
|
||||
position: 'relative',
|
||||
right: '-150px'
|
||||
});
|
||||
$("#lefth1").css({
|
||||
position: 'relative',
|
||||
right: '125px'
|
||||
});
|
||||
$("#rightHDiv").css({
|
||||
position: 'relative',
|
||||
});
|
||||
$("#righth1").css({
|
||||
position: 'relative',
|
||||
});
|
||||
</script>
|
||||
<form id="1111" name="mapfnfo" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="mapfnfo">
|
||||
<input type="hidden" name="mapname" id='mapindexes' value=''>
|
||||
</form>
|
||||
<form id="1112" name="SessionAttributeHandler" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
</form>
|
||||
<form id="1113" name="DeleteEntry" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="DeleteEntry">
|
||||
<input type="hidden" name="DeleteIndexSteamID" id='SteamID' value=''>
|
||||
<input type="hidden" name="PlayerRelatedMap" id='PlayerRelatedMap' value=''>
|
||||
</form>
|
||||
<form id="1114" name="mapfnfo" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="mapfnfo">
|
||||
<input type="hidden" name="mapname" id='mapindexes1' value=''>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
<%--
|
||||
Document : SessionTimeoutRedirect
|
||||
Created on : 08-11-2018, 17:49:13
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="windows-1252"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<title>TimeoutHandling</title>
|
||||
</head>
|
||||
<body>
|
||||
<form name="DisplayContent" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
Loading Avatars, please wait 20-30 seconds...
|
||||
</form>
|
||||
<SCRIPT LANGUAGE="JavaScript">document.forms[0].submit();</SCRIPT>
|
||||
</body>
|
||||
</html>
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
# DEFAULT CACHE REGION
|
||||
jcs.default=DC
|
||||
jcs.default.cacheattributes=org.apache.commons.jcs.engine.CompositeCacheAttributes
|
||||
jcs.default.cacheattributes.MaxObjects=1000
|
||||
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs.engine.memory.lru.LRUMemoryCache
|
||||
jcs.default.cacheattributes.UseMemoryShrinker=false
|
||||
jcs.default.cacheattributes.MaxMemoryIdleTime=3600
|
||||
jcs.default.cacheattributes.ShrinkerInterval=60
|
||||
jcs.default.elementattributes=org.apache.commons.jcs.engine.ElementAttributes
|
||||
jcs.default.elementattributes.IsEternal=false
|
||||
jcs.default.elementattributes.MaxLife=21600
|
||||
jcs.default.elementattributes.IdleTime=1800
|
||||
jcs.default.elementattributes.IsSpool=true
|
||||
jcs.default.elementattributes.IsRemote=true
|
||||
jcs.default.elementattributes.IsLateral=true
|
||||
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
<%--
|
||||
Document : test
|
||||
Created on : 25-10-2018, 15:39:27
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="windows-1252"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<title>JSP Page</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Backup nothingness</h1>
|
||||
<% String error = (String) request.getAttribute("error");
|
||||
if (error != null) {
|
||||
out.println("<H2>Error!!</h2>");
|
||||
out.println(error);
|
||||
} else {
|
||||
%>
|
||||
<form name="DisplayContent" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
<input type="submit" />
|
||||
</form>
|
||||
<SCRIPT LANGUAGE="JavaScript">document.forms[0].submit();</SCRIPT>
|
||||
</body>
|
||||
<% }
|
||||
%>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
<%--
|
||||
Document : dummy
|
||||
Created on : 21-10-2018, 17:07:46
|
||||
Author : install1
|
||||
--%>
|
||||
|
||||
<%@page contentType="text/html" pageEncoding="UTF-8"%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<meta http-equiv="refresh" action="1;FrontController">
|
||||
<title>StartPoint</title>
|
||||
</head>
|
||||
<body>
|
||||
<form name="SessionAttributeHandler" action="FrontController" method="POST">
|
||||
<input type="hidden" name="command" value="SessionAttributeHandler">
|
||||
Loading Avatars, please wait 20-30 seconds...
|
||||
</form>
|
||||
<SCRIPT LANGUAGE="JavaScript">document.forms[0].submit();</SCRIPT>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user