cops/resources/epub-loader/app/footer.php
2013-09-25 02:03:52 +01:00

42 lines
1.1 KiB
PHP

</div>
<!-- Content end -->
<?php
if (count($gErrorArray)) {
$str = '';
$str .= ' <!-- Error begin -->' . "\n";
$str .= ' <div class="error">' . "\n";
$title = 'Errors (' . count($gErrorArray) . ')';
$str .= ' <table width="100%">' . "\n";
$str .= ' <tr>' . "\n";
$str .= ' <th colspan="2">' . $title . '</th>' . "\n";
$str .= ' </tr>' . "\n";
foreach ($gErrorArray as $fileName => $error) {
// Display error
$str .= ' <tr>' . "\n";
$str .= ' <td class="col_1">' . $fileName . '</td>' . "\n";
$str .= ' <td class="col_2">' . $error . '</td>' . "\n";
$str .= ' </tr>' . "\n";
}
$str .= ' </table>' . "\n";
$str .= ' </div>' . "\n";
$str .= ' <!-- Error end -->' . "\n";
echo $str;
}
?>
</div>
<!-- Footer begin -->
<div class="footer">
<script type="text/javascript">
/*<![CDATA[*/
document.write("<n uers=\"znvygb:<?php echo str_rot13(DEF_AppAdminMail); ?>\">".replace(/[a-zA-Z]/g, function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));
document.write("Contact<\/a>");
/*]]>*/
</script>
</div>
<!-- Footer end -->
</body>
</html>