<?php
$path="../../../";
if(file_exists("".$path."config/map.php" )){$path2="config/"; include("".$path."config/map.php");}else{include("".$path."map.php");}
include("fonksiyon".$ver.".php");
$sqly=mysqli_query($conn, "select * from genel where ne='yorum' and s1=".$_GET["id"]." and s4=1"); while($rsy=mysqli_fetch_assoc($sqly)){
	$sqlm=mysqli_query($conn, "select * from t5 where id=".$rsy["s2"].""); $rsm=mysqli_fetch_assoc($sqlm);
	if(mysqli_num_rows($sqlm)<>0){$user=$rsm["t1"];}elseif($rsy["t4"]<>""){$user=$rsy["t4"];}else{$user=translate("Misafir");}
	?>
	<div style="height:10px; clear:both;"></div>
	<div class="" style="border:solid 1px #ccc; border-radius: 3px; padding: 5px; display: flow-root;">
		<div class="v3-col-md-1 v3-col-xs-2 tac mtac">
			<i class="fa fa-user-circle-o" style="font-size:45px;"></i>
		</div>
		<div class="v3-col-md-11 v3-col-xs-10" style="">
			<div style="font-weight:bold; font-size:12px; float:left;"><?php echo $user?></div>
			<div style="font-size:12px; float:left; margin-left:10px"><?php echo timeAgo($rsy["ts1"]);?></div>
			<div style="float:right;"><?php if($rsy["s3"]<>0 and !empty($rsy["s3"])){?><?php for ($x = 1; $x <= $rsy["s3"]; $x++) {?><div style="width:16px; height:16px; background-image:url('deppo/tools/img/star.png'); float:left;"></div><?php }}?></div>
			<div style="font-size:12px"><?php echo $rsy["t3"];?><br><?php echo $rsy["n1"];?></div>
		</div>
	</div>
	<?php if($rsy["n2"]<>""){?>
		<div class="v3-col-md-1 v3-col-xs-1 tac mtac">
			<i class="fas fa-level-up-alt fa-rotate-90" style="font-size: 30px; margin-top: 15px;"></i>
		</div>
		<div class="v3-col-md-11" style="border:solid 1px #ccc; border-radius: 3px;padding: 5px; margin-top:5px;">
			<div class="v3-col-md-1 v3-col-xs-2 tac mtac">
				<i class="fa fa-user-circle" style="font-size:45px;"></i>
			</div>
			<div class="v3-col-md-11 v3-col-xs-10" style="">
				<div style="font-weight:bold; font-size:12px; float:left;">Editör</div>
				<div style="font-size:12px; float:left; margin-left:10px"><?php echo timeAgo($rsy["ts2"]);?></div><br>
				<div style="font-size:12px"><?php echo $rsy["n2"];?></div>
			</div>
		</div>
	<?php }}?>
	<div style="height:10px; clear:both;"></div>