<form action="{$this->ipsclass->base_url}auth_key=$key" method="post">
<input type="hidden" name="act" value="UserCP" />
<input type="hidden" name="CODE" value="05" />
<table width='100%' cellpadding='0' cellspacing='0'>
	<tr>
		<td class='subtitle' colspan='2'>{$this->ipsclass->lang['settings_time']}</td>
	</tr>
	<tr>
		<td class='row1' style='width: 30%'>
			<strong>{$this->ipsclass->lang['settings_time_txt']}</strong>
		</td>
		<td class='row2'>
			{$this->ipsclass->lang['settings_time_txt2']} $time<br />
			$time_select
		</td>
	</tr>
	<tr>
		<td class='row1'>
			<strong>{$this->ipsclass->lang['dst_correction_title']}</strong>
		</td>
		<td class='row2'>
		<if="$this->ipsclass->input['dsterror'] == 1">
			<div style='color:red;font-weight:bold'>
				 {$this->ipsclass->lang['dst_error']}
			</div>
		</if>
			<input class='checkbox' type="checkbox" id='dst-check' onclick='toggle_dst()' name="DSTCHECK" value="1" $dst_correction /> &nbsp;<strong>{$this->ipsclass->lang['dst_auto']}</strong><br />
			<span class='desc'>{$this->ipsclass->lang['dst_auto2']}</span>
			
			<div id='dst-manual'>
			   <input class='checkbox'  type="checkbox" name="DST" value="1" $dst_check /> &nbsp;<strong>{$this->ipsclass->lang['dst_box']}</strong>
			   <div class='desc'>{$this->ipsclass->lang['dst_box2']}</div>
			</div>
		</td>
	</tr>
</table>
<script type="text/javascript">
//<![CDATA[
function toggle_dst()
{
	if ( document.getElementById( 'dst-check' ).checked )
	{
		document.getElementById( 'dst-manual' ).style.display = 'none';
	}
	else
	{
		document.getElementById( 'dst-manual' ).style.display = 'block';
	}
}
toggle_dst();
//]]>
</script>