{assign var="pgLayout" value="00Null00"}
<html>
<head><title>Calendar</title></head>
<body style="margin:0px;">
{assign var="url_format" value=$blah|cat:"?year=%Y&month=%m&day=%d"|cat:"&pg=`$page.name`"}
year = {$smarty.now|date_format2:"Y"}
month = {$smarty.now|date_format2:"m"}
day = {$smarty.now|date_format2:"j"}

<table width="100%" height="100%">
<tr><td align="center" valign="top">{calendar 
	url_format=$url_format
	year=$smarty.now|date_format2:"Y"
	month=$smarty.now|date_format2:"m" 
	day=$smarty.now|date_format2:"j"}{include file="file:./layouts/calendar.tpl"}</td>
</tr>
</table>
</body>
</html>