View file main/templates/header/search-usrls.html

File size: 0.98Kb
<div class="search-result--item">
	<a href="<?php echo(un2url($udata['username'])) ?>" class="fluid">
		<div class="avatar">
			<img src="<?php echo(media($udata['avatar'])) ?>" alt="Picture" class="img-circle img-res">
		</div>
		<div class="user-info">
			<h5><?php echo($udata['username']) ?>
			<?php if ($udata['verified'] > 0) { ?>
				<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#00BCD4" class="verified-color feather feather-check-circle"><path d="M23,12L20.56,9.22L20.9,5.54L17.29,4.72L15.4,1.54L12,3L8.6,1.54L6.71,4.72L3.1,5.53L3.44,9.21L1,12L3.44,14.78L3.1,18.47L6.71,19.29L8.6,22.47L12,21L15.4,22.46L17.29,19.28L20.9,18.46L20.56,14.78L23,12M10,17L6,13L7.41,11.59L10,14.17L16.59,7.58L18,9L10,17Z"></path></svg>
			<?php } ?>
			</h5>
			<span>
				<?php if ($udata['fname'] && $udata['lname']) {
					echo $udata['fname'].' '.$udata['lname'] ;
				}else{
					echo $udata['username'];
				} ?>
			</span>
		</div>
	</a>
</div>