<hr color="<?php Theme::exec()->borderColor(); ?>" noshade="noshade">

<font size="<?php Theme::exec()->fontSize(); ?>">
<a href="<?php e(HTTP_ACTION); ?>community/event/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['aheadDay']); ?>&amp;basing=<?php e($this->_vars['basing']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Less than 1 day'); ?></a><br>
<a href="<?php e(HTTP_ACTION); ?>community/event/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['aheadWeek']); ?>&amp;basing=<?php e($this->_vars['basing']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Less than 1 week'); ?></a><br>
<a href="<?php e(HTTP_ACTION); ?>community/event/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['aheadMonth']); ?>&amp;basing=<?php e($this->_vars['basing']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Less than 1 month'); ?></a><br>
<a href="<?php e(HTTP_ACTION); ?>community/event/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['aheadMonth']); ?>&amp;basing=<?php e($this->_vars['basing']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Less than 3 months'); ?></a><br></font>

<form method="post" action="<?php e(HTTP_ACTION); ?>community/event/<?php e($this->_vars['page']); ?>/"><?php HTML::requires(); ?>
<table border="0" width="<?php Theme::exec()->mainWidth(); ?>">
<?php if (!empty($this->_vars['r_com_event'])): ?>
	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Region');?>:<br></td></tr>
	<tr><td><select name="ref_region"><option value=""><?php _e('- Select One -'); ?></option><?php HTML::options($this->_vars['reference']['ara_region'], $this->_vars['r_com_event']['ref_region']); ?></select><br></td></tr>
<?php endif; ?>
	<tr><td bgcolor="<?php Theme::exec()->bgColumnColor(); ?>"><?php _e('Keyword');?>:<br></td></tr>
	<tr><td><input type="text" name="keyword" value="<?php e(empty($this->_vars['r_com_event']['keyword'])? '':$this->_vars['r_com_event']['keyword']); ?>" /><br></td></tr>
	<tr><td bgcolor="<?php Theme::exec()->bgColor(); ?>" align="center"><input type="submit" name="search" value="<?php _e('Search');?>"><br></td></tr>
</table>
</form>
