<tr>
	<td class="nopad">
		<div class="bar">
			<p class="over"><a href="{$this->ipsclass->base_url}act=calendar&amp;cal_id={$this->ipsclass->input['_cal_id']}&amp;code=newevent&amp;nd={$year}-{$mid}-{$date}&amp;formtype=single">{$this->ipsclass->lang['day_add_event']}</a></p>
			<p><span class="weekday">$wday</span></p>
		</div>
	</td>
</tr>
<tr>
	<td class="nopad">
		<table class='ipbtable' cellspacing="0">
			<tr>
				<td width="5%" class="calweekday">$date</td>
<if="$queued != 0">
<td class="celldateshaded" style='height:auto'>$events</td>
<else />
<td class="row2">$events</td>
</if>
			</tr>
		</table>
	</td>
</tr>