					<img src="<?php Theme::Path(); ?>itemTop.png" width="530" height="10" alt="__" align="absbottom" />
					<div class="item">
						<table  align="center" style="width:510px;" cellpadding="4" cellspacing="0">
							<tr>
<?php for ($_row=0; $_row<3; $_row++): ?>
								<td style="text-align: center;">
<?php if (empty($this->_vars['photos'][$_row])):?>
									<img src="<?php e(BASE_URL.NOPHOTO_LARGE); ?>" width="<?php e(PHOTO_LARGE_SIZE); ?>" height="<?php e(PHOTO_LARGE_SIZE); ?>" alt="no photo" />
<?php else: ?>
<?php $_value = $this->_vars['photos'][$_row]; ?>
									<img src="<?php e(BASE_URL.$_value['filename']); ?>" width="<?php e($_value['width']); ?>" height="<?php e($_value['height']); ?>" alt="pict<?php e($_value['subject']); ?>" />
<?php endif; ?>
								</td>
<?php endfor; ?>
							</tr>
							<tr>
<?php for ($_row=0; $_row<3; $_row++): ?>
								<td style="text-align: center;">
<?php if (empty($this->_vars['photos'][$_row])):?>
									&nbsp;
<?php else: ?>
<?php $_value = $this->_vars['photos'][$_row]; ?>
									[&nbsp;<img src="<?php e(BASE_URL); ?>resource/img/icons/cross.gif" width="16" height="16" align="absmiddle" alt="X" />&nbsp;
									<a href="<?php e(HTTP_ACTION); ?>private/personal/photo/<?php e($_value['id']); ?>/delete/<?php e(US); ?>_mpnnc=<?php e($this->_vars['base']['nonce']); ?>"><?php _e('Delete'); ?></a>&nbsp;
<?php if ($_value['status'] == 0): ?>
									|&nbsp;<img src="<?php e(BASE_URL); ?>resource/img/icons/accept.gif" width="16" height="16" align="absmiddle" alt="O" />&nbsp;
									<a href="<?php e(HTTP_ACTION); ?>private/personal/photo/<?php e($_value['id']); ?>/main/<?php e(US); ?>_mpnnc=<?php e($this->_vars['base']['nonce']); ?>"><?php _e('Main'); ?></a>
<?php endif; ?>]
<?php endif; ?>
								</td>
<?php endfor; ?>
							</tr>
						</table>
						<br />
						<form name="edit" method="post" enctype="multipart/form-data" action="<?php e(HTTP_ACTION); ?>private/personal/photo/">
							<?php HTML::requires(); ?>
							<table align="center" style="width:510px;" cellpadding="4" cellspacing="0">
<?php if ($this->_vars['maxrow'] < 3): ?>
								<tr>
									<td><?php if (!empty($alert_orver)): ?><span class="alert"><?php _e('Photography is the largest of 3 to register.'); ?></span><br /><?php endif; ?> 
										<input type="file" name="photo" size="40" style="width:280px;" />
										<input type="submit" name="manip" value="<?php _e('To upload photos'); ?>" style="width:190px;" />
									</td>
								</tr>
<?php endif; ?>
								<tr>
									<td>
										<ul>
											<li><?php _e('Photography is the largest of 3 to register.'); ?></li>
											<li><?php _e('400 KB: JPEG, GIF, PNG only uploaded.'); ?></li>
											<li><?php _e('Copyright violation of the right to hit portrait photography, violent, obscene photos, and the other is the general feel uncomfortable photo distribution is banned.'); ?>
											<li><?php _e("Running the user's own responsibility."); ?></li>
										</ul>
									</td>
								</tr>
							</table>
						</form>
					</div><img src="<?php Theme::Path(); ?>itemBottom.png" width="530" height="10" alt="__" align="top" />
