<?php if (empty($this->_vars['base']['community']['id'])): ?>
					<img src="<?php Theme::Path(); ?>menuTop.png" width="188" height="10" alt="+--+" align="absbottom" />
					<ul class="sideList">
<?php if ($this->_vars['base']['account']['status'] != STATUS_GUEST): ?>
						<li><a href="<?php e(HTTP_ACTION);?>community/setting/community/0/"><img src="<?php e(BASE_URL); ?>resource/img/icons/group_edit.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Create Community'); ?></a></li>
<?php endif; ?>
						<li style="font-size:0.9em;"><a href="<?php e(HTTP_ACTION);?>community/view/<?php e($this->_vars['page']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/group_find.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Search for Community'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION);?>community/forum/<?php e($this->_vars['page']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/bulletin_find.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Search for Topic'); ?></a></li>
						<li style="font-weight: bold;"><a href="<?php e(HTTP_ACTION);?>community/event/<?php e($this->_vars['page']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/event_find.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Search for Event'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION);?>community/article/<?php e($this->_vars['page']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/page_find.gif" width="16" height="16" align="absmiddle" />&nbsp;<?php _e('Search for Article'); ?></a></li>
					</ul><img src="<?php Theme::Path(); ?>menuBottom.png" width="188" height="10" alt="+__+" align="top" />
<?php else : ?>
<?php include VIEW_DIR.'common/menu/community.tpl'; ?>
<?php endif; ?>
					<img src="<?php Theme::Path(); ?>menuTop.png" width="188" height="10" alt="__" align="absbottom" />
					<ul class="sideRow">
						<li><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></li>
						<li><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></li>
						<li><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></li>
						<li><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></li>
					</ul><img src="<?php Theme::Path(); ?>menuBottom.png" width="188" height="10" alt="__" align="top" />

					<form method="post" action="<?php e(HTTP_ACTION); ?>community/event/<?php e($this->_vars['page']); ?>/">
					<img src="<?php Theme::Path(); ?>menuTop.png" width="188" height="10" alt="+--+" align="absbottom" />
					<ul class="sideList">
<?php if (!empty($this->_vars['r_com_event'])): ?>
						<li><label><?php _e('Region');?>:</label></li>
						<li><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></li>
<?php endif; ?>
						<li><label><?php _e('Keyword');?>:</label></li>
						<li><input type="text" name="keyword" value="<?php e(empty($this->_vars['r_com_event']['keyword'])? '':$this->_vars['r_com_event']['keyword']); ?>" /></li>
						<li class="submit"><input type="submit" name="search" value="<?php _e('Search');?>" /></li>
					</ul><img src="<?php Theme::Path(); ?>menuBottom.png" width="188" height="10" alt="+__+" align="top" />
					</form>
