<?php
if (!defined("BLOCK_FILE")) {
	Header("Location: ../index.php");
	exit;
}
$cdate = (isset($_GET['cdate'])) ? $_GET['cdate'] : date("Ymd");
$content = "";
$content .= '<script language="Javascript" src="http://script.days.ru/calendar.php?advanced=1&bold=1&para=1&dayicon=1&images=1&tipikon=1&encoding=u&hrams=0&hram=0&feofan=1&date='.$cdate.'"></script>';

$content .= '<center><br><span class="titlemsg">Православный календарь</span></center><br><br>

<p align="center"><b><font face="Arial" size="5">
   <script language="Javascript">print_day(); </script></font></b></p>

<p align="center"><span class="holyday"> 
   <script language="Javascript">print_holiday(); </script></span></p>

<p align="center">
<table border="0" cellpadding="5" cellspacing="0" width="100%">
	<tr>
		<td width="50%"><b>
			<script language="Javascript">print_week()</script></b>
		</td>
		<td width="50%" align="right">&nbsp;</td>
	</tr>
</table>

<table border="0" cellpadding="5" cellspacing="0" width="100%">
	<tr>
		<td width="70%" valign="top">
			<script language="Javascript">print_saints(); </script><p> </p>
			<p><b>Евангельские Чтения: </b>
			<script language="Javascript">print_chten(); </script></p>
		</td>
		<td width="30%"><font size="1" face="Arial">
			<script language="Javascript">print_icon(); </script></font>
		</td>
	</tr>
	<tr>
		<td colspan="2" width="100%"><b>Трапеза:</b>
			<script language="Javascript">print_post();</script>
			<i><script language="Javascript">print_trapeza();</script></i>
		</td>
	</tr>
</table>
</p>

<div class="spoil">
   <div class="spoil_title">
		<table border="0" width="100%">
			<tr>
				<td width="10%" align="center"><img src="images/misc/arrow-down-title-on.png"></td>
				<td width="80%"align="center"><b>Святитель Феофан Затворник. Мысли на каждый день года</b></td>
				<td width="10%" align="center"><img src="images/misc/arrow-down-title-on.png"></td>
			</tr>
		</table>
   </div>
   <div class="spoil_body">
		<img src="http://days.pravoslavie.ru/img/feofan.gif" align="left" hspace=10 vspace=10><p align="justify"><script language="Javascript">print_feofan();</script></p></td></tr>
   </div>
</div>';
?>