<?php if ($this->_vars['base']['account']['id'] == $this->_vars['base']['member']['id']): ?>
					<img src="<?php Theme::Path(); ?>menuTop.png" width="188" height="10" alt="__" align="absbottom" />
					<ul class="sideRow">
						<li><a href="<?php e(HTTP_ACTION); ?>private/personal/photo/"><img src="<?php e(BASE_URL); ?>resource/img/icons/user.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Profile Photo'); ?></a>&nbsp;</li>
<?php foreach ($this->_vars['albums'] as $_row): ?>
						<li><a href="<?php e(HTTP_ACTION); ?>private/attach/list/<?php e(US); ?>ref_album=<?php e($_row['id']); ?>"><img src="<?php e(BASE_URL); ?>resource/img/icons/images.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php e($_row['album']); ?></a>&nbsp;(<?php e($_row['posts']); ?>)</li>
<?php endforeach; ?>
						<li><a href="<?php e(HTTP_ACTION); ?>private/attach/list/<?php e(US); ?>ref_album=0"><img src="<?php e(BASE_URL); ?>resource/img/icons/exclamation.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Unfiled'); ?></a>&nbsp;</li>
						<li><a href="<?php e(HTTP_ACTION); ?>private/attach/album/"><img src="<?php e(BASE_URL); ?>resource/img/icons/images_edit.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Create an Album'); ?></a></li>
						<li><a href="<?php e(HTTP_ACTION); ?>private/attach/upload/"><img src="<?php e(BASE_URL); ?>resource/img/icons/attach.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Upload'); ?></a></li>
					</ul><img src="<?php Theme::Path(); ?>menuBottom.png" width="188" height="10" alt="__" align="top" />
<?php else : ?>
<?php if (!empty($this->_vars['albums'])): ?>
					<img src="<?php Theme::Path(); ?>menuTop.png" width="188" height="10" alt="__" align="absbottom" />
					<ul class="sideRow">
						<li><a href="<?php e(HTTP_ACTION); ?>member/personal/photo/<?php e($this->_vars['base']['member']['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/user.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php _e('Profile Photo'); ?></a>&nbsp;</li>
<?php foreach ($this->_vars['albums'] as $_row): ?>
						<li><a href="<?php e(HTTP_ACTION); ?>member/personal/album/<?php e($this->_vars['base']['member']['id']); ?>/<?php e($_row['id']); ?>/"><img src="<?php e(BASE_URL); ?>resource/img/icons/images.gif" width="16" height="16" align="absmiddle" alt="&gt;" />&nbsp;<?php e($_row['album']); ?></a>&nbsp;(<?php e($_row['posts']); ?>)</li>
<?php endforeach; ?>
					</ul><img src="<?php Theme::Path(); ?>menuBottom.png" width="188" height="10" alt="__" align="top" />
<?php endif; ?>
<?php endif; ?>
