<?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><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 style="font-weight: bold;"><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/article/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['lastHour']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/time.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Last hour'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION); ?>community/article/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['lastHours']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/time.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Last 12 hours'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION); ?>community/article/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['lastDay']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Last day'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION); ?>community/article/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['pastWeek']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Past week'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION); ?>community/article/<?php e($this->_vars['page']); ?>/<?php e(US); ?>publish=<?php e($this->_vars['pastMonth']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/date.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Past month'); ?></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/article/<?php e($this->_vars['page']); ?>/">
					<img src="<?php Theme::Path(); ?>menuTop.png" width="188" height="10" alt="+--+" align="absbottom" />
					<ul class="sideList">
						<li><label><?php _e('Keyword');?>:</label></li>
						<li><input type="text" name="keyword" value="<?php e(empty($this->_vars['r_com_article']['keyword'])? '':$this->_vars['r_com_article']['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>
