blob: 9633eb06c835405492c8f0a9cdffed1edc26ed02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
<?php
if (!defined('BASE')) define('BASE','../');
function error($error_msg='There was an error processing the request.', $file='NONE') {
global $style_sheet, $powered_by_lang, $version_lang, $error_title_lang, $error_window_lang, $error_calendar_lang, $error_back_lang, $enable_rss, $this_site_is_lang;
if (!isset($style_sheet)) $style_sheet = 'silver';
if (!isset($powered_by_lang)) $powered_by_lang = 'Powered by';
if (!isset($error_title_lang)) $error_title_lang = 'Error!';
if (!isset($error_window_lang)) $error_window_lang = 'There was an error!';
if (!isset($error_calendar_lang)) $error_calendar_lang = 'The calendar "%s" was being processed when this error occurred.';
if (!isset($error_back_lang)) $error_back_lang = 'Please use the "Back" button to return.';
if (!isset($enable_rss)) $enable_rss = 'no';
if (!isset($this_site_is_lang)) $this_site_is_lang = 'This site is';
$error_calendar = sprintf($error_calendar_lang, $file);
$current_view = 'error';
$display_date = $error_title_lang;
$calendar_name = $error_title_lang;
include (BASE.'includes/header.inc.php');
?>
<center>
<table border="0" width="700" cellspacing="0" cellpadding="0">
<tr>
<td width="520" valign="top" align="center">
<table width="520" border="0" cellspacing="0" cellpadding="0" class="calborder">
<tr>
<td align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
<tr>
<td align="left" valign="top" width="1%" class="sideback"><img src="images/spacer.gif" width="1" height="20" alt=" "></td>
<td align="center" valign="middle" width="98%" class="sideback"><b><?php echo $error_window_lang; ?></b></td>
<td class="sideback" width="1%"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="G10B">
<tr>
<td align="center" valign="top">
<br>
<?php echo $error_msg; ?>
<br>
<br>
<?php echo $error_calendar; ?>
<br>
<br>
<?php echo $error_back_lang; ?>
<br>
<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
<?php
include (BASE.'includes/footer.inc.php');
}
?>
|