Fixed some bugs with account activation, especially if you're a half-logged-in vegetable.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
<head>
<title>{PAGE_NAME} • {SITE_NAME}</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="{CDNPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" type="text/css" id="mdgCss" />
{JS_DYNAMIC_VARS}
<!-- This script automatically loads the other 15 JS files -->
<script type="text/javascript" src="{SCRIPTPATH}/includes/clientside/jsres.php"></script>
{ADDITIONAL_HEADERS}
</head>
<body>
<table class="simple-layout" border="0" style="width: 100%; height: 100%;">
<tr>
<td style="width: 10%;"></td>
<td valign="middle">
<table id="enano-main" border="0" cellspacing="0" cellpadding="0" style="margin: 0 auto;">
<tr>
<td id="mdg-tl"></td>
<td id="mdg-top"></td>
<td id="mdg-tr"></td>
</tr>
<tr>
<td id="mdg-l"></td>
<td id="mainhead">
<h1>{PAGE_NAME}</h1>
</td>
<td id="mdg-r"></td>
</tr>
<tr>
<td id="mdg-ml"></td>
<td style="background-color: #FFF;">
<div id="ajaxEditContainer" class="contentDiv">