with title
// This code is based on the one from jquery.js (283)
$("a[title]").each(function() {
$(this).tooltip({positionCenter:true,track:true,delay:0,showURL:false,fade:250,extraClass:'op-state-active op-corner-all normalize pad-2-5 bac-50-50'});
});
// Dashboard: Auto-Load the first menu entry
if(site.length >= 16 && site.substr(-16) == "ajxDashboard.php") //ajxDashboard.php
{
document.getElementById("menuItem_1").click();
formerSelectedMenuItem = "menuItem_1";
//AjaxLoad("engine/pages/dashboard_accountSummary.php", "mainContent");
//formerSelectedMenuItem = 'menuItem_1';
}
// menu_products_blockedports
if(site.length >= 15 && site.substr(-15) == "ajxProducts.php") //ajxDashboard.php
{
document.getElementById("menu_products_blockedports").click();
//AjaxLoad("engine/pages/dashboard_accountSummary.php", "mainContent");
formerSelectedMenuItem = 'menu_products_blockedports';
$.getScript(site, function() {
//alert('Load was performed.');
});
}
// General size fix:
$('#w2c').height($('#inner-content').height()+40); //ResizeMainContent();
});
document.getElementById(sender).style.color = "#327E04";
currentPage = sender;
}
function AjaxLoadSite(site, target)
{
$('#main-content').animate({opacity:0.0}, {duration:20,queue:false});
ajaxLoaded = false;
window.setTimeout("AjaxLoad2_Loader()", 500);
document.getElementById(currentPage).style.color = "#3C87CB";
//$("#"+target).load(site);
$.get(site, function(data, textStatus, jqHXR) {
ajaxLoaded = true;
//document.getElementById(target).innerHTML = data;
$("#" + target).load(site);
document.getElementById("main-loader").style.display = "none";
document.getElementById("main-content").style.display = "block";
$('#main-loader').animate({opacity:0.0}, {duration:20,queue:false});
$('#main-content').animate({opacity:1}, {duration:500,queue:false});
// Re-Bind tooltips to each with title
// This code is based on the one from jquery.js (283)
$("a[title]").each(function() {
$(this).tooltip({positionCenter:true,track:true,delay:0,showURL:false,fade:250,extraClass:'op-state-active op-corner-all normalize pad-2-5 bac-50-50'});
});
// Dashboard: Auto-Load the first menu entry
if(site.length >= 16 && site.substr(-16) == "ajxDashboard.php") //ajxDashboard.php
{
alert("do you think so?");
//document.getElementById("menuItem_1").click();
//AjaxLoad("engine/pages/dashboard_accountSummary.php", "mainContent");
}
// General size fix:
$('#w2c').height($('#inner-content').height()+40); //ResizeMainContent();
});
document.getElementById(sender).style.color = "#327E04";
currentPage = sender;
}
function AjaxLoad2_Loader()
{
if(ajaxLoaded == false)
{
document.getElementById("main-loader").style.display = "block";
document.getElementById("main-content").style.display = "none";
$('#main-loader').animate({opacity:1}, {duration:1000,queue:false});
}
}
Fatal error: Uncaught mysqli_sql_exception: Too many connections in /usr/share/nginx/html/www.betamaster.us/engine/core.php:762
Stack trace:
#0 /usr/share/nginx/html/www.betamaster.us/engine/core.php(762): mysqli->__construct('mariadb', 'root', Object(SensitiveParameterValue), 'betamaster_us')
#1 /usr/share/nginx/html/www.betamaster.us/engine/core.php(614): DoQuery('SELECT * FROM a...')
#2 /usr/share/nginx/html/www.betamaster.us/engine/head.php(322): CheckDatabaseConnectivity()
#3 /usr/share/nginx/html/www.betamaster.us/index.php(58): include_once('/usr/share/ngin...')
#4 {main}
thrown in /usr/share/nginx/html/www.betamaster.us/engine/core.php on line 762