| 
								
							 | 
							
								<? require_once('./templates/overall_header.tpl.php'); ?>
							 | 
						
						
						
							| 
								
							 | 
							
								<script src="templates/scripts/nick.js" type="text/javascript"></script>
							 | 
						
						
						
							| 
								
							 | 
							
									<div id="content">
							 | 
						
						
						
							| 
								
							 | 
							
										<br>
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="forum_table">
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="row">
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="hc1"><?= $this->TPL['user_info']['nick']; ?></div>
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="hc4 hcpost f_hc4">
							 | 
						
						
						
							| 
								
							 | 
							
											<? if ($_GET['id'] == $this->TPL['logged_id']) {?>
							 | 
						
						
						
							| 
								
							 | 
							
											<a href="index.php?mode=editprofile">Edit my profile »</a>
							 | 
						
						
						
							| 
								
							 | 
							
											<? } else { ?>   <? } ?>
							 | 
						
						
						
							| 
								
							 | 
							
											</div>
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
										
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="row">
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="tc1 tc2">
							 | 
						
						
						
							| 
								
							 | 
							
											<?
							 | 
						
						
						
							| 
								
							 | 
							
												if ($this->TPL['user_info']['avatar'] != null)
							 | 
						
						
						
							| 
								
							 | 
							
													echo '<img src="'.$this->TPL['user_info']['avatar'].'" alt="user avatar">';
							 | 
						
						
						
							| 
								
							 | 
							
												else
							 | 
						
						
						
							| 
								
							 | 
							
													echo '<img src="templates/images/no_av.gif" alt="user avatar">';
							 | 
						
						
						
							| 
								
							 | 
							
											?>
							 | 
						
						
						
							| 
								
							 | 
							
											</div>
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="tc4 rc">
							 | 
						
						
						
							| 
								
							 | 
							
												
							 | 
						
						
						
							| 
								
							 | 
							
								Joined: <span style="font-weight: bold"><?= $this->TPL['user_info']['regdate']; ?></span><br>
							 | 
						
						
						
							| 
								
							 | 
							
								Last visit: <span style="font-weight: bold"><?= (($this->TPL['user_info']['lastvisit']!= null) ? $this->TPL['user_info']['lastvisit'] : 'Never') ?></span><br>
							 | 
						
						
						
							| 
								
							 | 
							
								Posts: <span style="font-weight: bold"><?= $this->TPL['user_info']['post_count']; ?></span>; <span style="font-weight: bold"><?= $this->TPL['post_ratio']; ?>%</span> of total.<br>
							 | 
						
						
						
							| 
								
							 | 
							
								Location: <span style="font-weight: bold"><?= $this->TPL['user_info']['location']; ?></span><br>
							 | 
						
						
						
							| 
								
							 | 
							
											</div>
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="row">
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="tc1 lc">
							 | 
						
						
						
							| 
								
							 | 
							
												<a href="mailto:<?= $this->TPL['user_info']['email']; ?>" class="btn_small">Email</a>
							 | 
						
						
						
							| 
								
							 | 
							
											</div>
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="tc4 rc">
							 | 
						
						
						
							| 
								
							 | 
							
												Status: <img src="templates/images/<? echo (($this->TPL['user_info']['user_IP']) ? 'online' : 'offline'); ?>.gif" alt="user status"><br>
							 | 
						
						
						
							| 
								
							 | 
							
												Rank: <span style="font-weight: bold"><?= $this->getRankLevel($this->TPL['user_info']['rank']); ?>
							 | 
						
						
						
							| 
								
							 | 
							
											</div>
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
										
							 | 
						
						
						
							| 
								
							 | 
							
									
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
										<br>
							 | 
						
						
						
							| 
								
							 | 
							
										<? if ($this->TPL['user_info']['signature'] != null) { ?>
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="forum_table">
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="row">
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="hc1 hc4"><?= $this->TPL['user_info']['nick']; ?>'s signature</div>
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
										
							 | 
						
						
						
							| 
								
							 | 
							
										<div class="row">
							 | 
						
						
						
							| 
								
							 | 
							
											<div class="tc1 tc4" style="text-align: left; max-width: 870px">
							 | 
						
						
						
							| 
								
							 | 
							
												<span class="fsmall"><?= BBCode($this->TPL['user_info']['signature']); ?></span>
							 | 
						
						
						
							| 
								
							 | 
							
											</div>
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
										</div>
							 | 
						
						
						
							| 
								
							 | 
							
										<? } ?>
							 | 
						
						
						
							| 
								
							 | 
							
								
							 | 
						
						
						
							| 
								
							 | 
							
										
							 | 
						
						
						
							| 
								
							 | 
							
									
							 | 
						
						
						
							| 
								
							 | 
							
										
							 | 
						
						
						
							| 
								
							 | 
							
									</div>
							 | 
						
						
						
							| 
								
							 | 
							
									
							 | 
						
						
						
							| 
								
							 | 
							
								<? require_once('./templates/overall_footer.tpl.php'); ?>
							 |