34 lines
709 B
PHP
Executable File
34 lines
709 B
PHP
Executable File
<?php
|
|
#################################################################################
|
|
# #
|
|
# written by benjamin ramey #
|
|
# bsr@rameydesign.net #
|
|
# #
|
|
# This file contains: #
|
|
# HTML to display error messages #
|
|
# #
|
|
#################################################################################
|
|
|
|
global $E_PUB_ERR;
|
|
|
|
if(!empty($E_PUB_ERR))
|
|
{
|
|
print "
|
|
<!--ERRORS-->
|
|
<div id='errors'>
|
|
ERROR(S):<br />
|
|
";
|
|
|
|
$err_counter = 0;
|
|
foreach($E_PUB_ERR as $error)
|
|
{
|
|
$err_counter++;
|
|
print "$err_counter: $error<br />";
|
|
}
|
|
|
|
print "
|
|
</div>
|
|
<!--END ERRORS-->";
|
|
}
|
|
|
|
?>
|