// Error handling
if (iADMIN && checkrights("ERRO") && count($_errorHandler) > 0) {
echo "<div class='admin-message'>".str_replace("[ERROR_LOG_URL]", ADMIN."errors.php".$aidlink, $locale['err_101'])."</div>\n";
}
echo "</body>\n</html>\n";
$output = ob_get_contents();
if (ob_get_length() !== FALSE){
ob_end_clean();
}
echo handle_output($output);
if (ob_get_length() !== FALSE){
ob_end_flush();
}
// Error handling
if (iADMIN && checkrights("ERRO") && count($_errorHandler) > 0) {
echo "<div class='admin-message'>".str_replace("[ERROR_LOG_URL]", ADMIN."errors.php".$aidlink, $locale['err_101'])."</div>\n";
}
function render_page($license = false) {
global $settings, $main_style, $locale;
//Header
// Error handling
if (iADMIN && checkrights("ERRO") && count($_errorHandler) > 0) {
echo "<div class='admin-message'>".str_replace("[ERROR_LOG_URL]", ADMIN."errors.php".$aidlink, $locale['err_101'])."</div>\n";
}
echo "<table cellpadding='0' cellspacing='0' align='center' width='90%'>\n<tr>\n";
echo "<td class='full-header'>\n".showbanners()."</td>\n";
//echo "<td align='right' class='sub-header'><img src='".BASEDIR."werbung/lh.gif'></a></td>\n";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' align='center' width='90%'>\n<tr>\n";
echo "<td class='sub-header-left'></td>\n";
echo "<td align='center' class='sub-header'>".showsublinks(" ".THEME_BULLET." ", "white")."</td>\n";
//echo "<td align='right' class='sub-header'>".showsubdate()."</td>\n";
echo "<td class='sub-header-right'></td>\n";
echo "</tr>\n</table>\n";
$error_link = "<a href='".ADMIN."errors.php".$aidlink."'>".$locale['err_101']."</a>";
if (count($_errorHandler) > 0)) {
echo "<script type='text/javascript'>
var html = $error_link;
$('div#error-container').append(html).show();
echo "</script>\n";
}
<body>....
echo "<div id='error-container' style='display:none;'></div>\n";
Category Forum
Content Administration - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions