Panel/themes/Katiuska/bottom.html
2026-05-02 13:05:52 +00:00

167 lines
No EOL
4.4 KiB
HTML

<div id="bottomWrapper">
<div id="footer">
<div class="footer-one-third user-links">
<p2>User Links</p2>
<ul>
<li>
<a href="home.php?m=dashboard&p=dashboard" shape="rect">Dashboard</a>
</li>
<li>
<a href="home.php?m=gamemanager&p=game_monitor" shape="rect">Game Monitor</a>
</li>
<li>
<a href="home.php?m=ftp" shape="rect">FTP - File Transfer Protocol</a>
</li>
</ul>
</div>
<div class="footer-one-third">
<p2>Open Game Panel</p2>
<ul>
<li>
<a href="http://www.opengamepanel.org" shape="rect" target="_blank">OGP Website</a>
</li>
<li>
<a href="https://sourceforge.net/apps/trac/hldstart/wiki" shape="rect" target="_blank">OGP Wiki</a>
</li>
<li>
<a href="http://www.opengamepanel.org/infusions/pro_download_panel/download.php?catid=0" shape="rect" target="_blank">Downloads</a>
</li>
<li>
<a href="http://www.opengamepanel.org/infusions/chat/index.php" shape="rect" target="_blank">Chat Room</a>
</li>
<li>
<a href="http://sourceforge.net/p/hldstart/code/HEAD/log/" shape="rect" target="_blank">Developer Logs</a>
</li>
</ul>
</div>
<div class="footer-one-third footer-last">
<p2>Fast Discussion Forum</p2>
<ul>
<li>
<a href="http://www.opengamepanel.org/forum" shape="rect" target="_blank">OGP Discussion Forums</a>
</li>
<li>
<a href="http://www.opengamepanel.org/forum/viewforum.php?forum_id=2" shape="rect" target="_blank">Support</a>
</li>
<li>
<a href="http://www.opengamepanel.org/forum/viewforum.php?forum_id=4" shape="rect" target="_blank">Feature Request</a>
</li>
<li>
<a href="http://www.opengamepanel.org/forum/viewforum.php?forum_id=5" shape="rect" target="_blank">Patches/Contributions</a>
</li>
<li>
<a href="http://www.opengamepanel.org/articles.php?article_id=6" shape="rect" target="_blank">Game Config Help (XML files)</a>
</li>
</ul>
</div>
</div>
</div>
<script type="text/javascript">
// Anonymous "self-invoking" function
function GetURLParameter(sParam)
{
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam)
{
return sParameterName[1];
}
}
}
function loadme(){
var pathArray = window.location.pathname.split( '/' );
var currentFile = pathArray[pathArray.length-1];
var urlParams = window.location.search;
var flipStatus = sessionStorage.getItem("flip");
if( (currentFile == 'index.php' || currentFile == '') && urlParams == '')
{
$('#bottomWrapper').prepend('<div id="login-blind">\
<img id="blind-arrow" src="themes/Katiuska/images/flip.png">\
</div>');
if(flipStatus == "off" || flipStatus == 'null')
{
$('#wrapper').show();
$('.menu-bg').show();
$('#blind-arrow').addClass('flip');
}
$('#login-blind').click(function(){
if(sessionStorage.getItem("flip") == "off")
{
$('.menu-bg').slideUp("slow");
$('#wrapper').slideUp("slow");
$('#blind-arrow').removeClass('flip');
sessionStorage.setItem("flip", "on");
}
else
{
$('.menu-bg').slideDown("slow");
$('#wrapper').slideDown("slow");
$('#blind-arrow').addClass('flip');
sessionStorage.setItem("flip", "off");
}
});
}
else
{
$('#wrapper').show();
$('.menu-bg').show();
}
if(currentFile == 'home.php')
{
$('#footer').css('width','920px');
$('.user-links').show();
}
if(currentFile == 'home.php' && GetURLParameter('m') == 'ftp')
{
$('iframe').load(function() {
$('iframe').contents().find("head").append('<link rel="stylesheet" type="text/css" href="../../themes/Katiuska/iframe.css">');
});
}
if(urlParams == '?logout')
{
$('.menu-bg').slideUp(2000);
$('#wrapper').slideUp(2000);
if(flipStatus != 'null')
{
sessionStorage.removeItem("flip");
}
}
}
if(!window.jQuery)
{
// Load the script
var script = document.createElement("SCRIPT");
script.src = 'js/jquery/jquery-1.11.0.min.js';
script.type = 'text/javascript';
document.getElementsByTagName("head")[0].appendChild(script);
// Poll for jQuery to come into existance
var checkReady = function(callback) {
if (window.jQuery) {
callback(jQuery);
}
else {
window.setTimeout(function() { checkReady(callback); }, 100);
}
};
// Start polling...
checkReady(function($) {
loadme();
});
}
else
{
loadme();
}
</script>