Example #1
0
?>
		</div>

	</div><!-- end #user-info -->

	<br class="clear" />

</div><!-- end #menu -->

<div id="content">

	<?php 
## if Site Admin check for current Echelon Version and if not equal add warning
if ($mem->reqLevel('see_update_msg')) {
    $day_of_week = date('N');
    if ((isSA() || isHome()) && $day_of_week == 1) {
        $latest = getEchVer();
        if (ECH_VER !== $latest && $latest != false) {
            // if current version does not equal latest version show warning message
            set_warning('You are not using the lastest version of Echelon, please check the <a href="http://www.bigbrotherbot.com/forums/" title="Check the B3 Forums">B3 Forums</a> for more information.');
        }
    }
}
errors();
// echo out all errors/success/warnings
if ($query_normal) {
    // if this is a normal query page and there is a db error show message
    if ($db->error) {
        dbErrorShow($db->error_msg);
    }
    // show db error
Example #2
0
    echo '</span>';
}
?>
		</div>

	</div><!-- end #user-info -->

	<br class="clear" />

</div><!-- end #menu -->

<div id="content">

	<?php 
## if Site Admin check for current Echelon Version and if not equal add warning
if ($mem->reqLevel('see_update_msg') && (isSA() || isHome())) {
    $latest = getEchVer();
    if (date('N') == 1 && ECH_VER !== $latest && $latest != false) {
        // if current version does not equal latest version show warning message
        set_warning('You are not using the lastest version of Echelon (' . $latest . '), please check the <a href="http://www.bigbrotherbot.com/forums/" title="Check the B3 Forums">B3 Forums</a> for more information.');
    }
}
errors();
// echo out all errors/success/warnings
if ($query_normal) {
    // if this is a normal query page and there is a db error show message
    if ($db->error) {
        dbErrorShow($db->error_msg);
    }
    // show db error
}