cops/resources/epub-loader/app/footer.php
Marsender 35bbf55e19 Epub loader:
Add Cops feed loader
Typo: Change cvs_export to csv_export
Rename config.php file to epub-loader-config.php
Config: Add app_name, admin_email
2013-10-10 05:21:19 +01:00

48 lines
1.2 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">
<?php
if (!empty($gConfig['admin_email'])) {
?>
<script type="text/javascript">
/*<![CDATA[*/
document.write("<n uers=\"znvygb:<?php echo str_rot13($gConfig['admin_email']); ?>\">".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>
<?php
}
?>
</div>
<!-- Footer end -->
</body>
</html>