<?php
	$path="../../../";
	include("../../../map.php");
	include("fonksiyon".$ver.".php");
	$sqly=mysql_query("select * from genel where ne='yorum' and s1=".$_GET["id"]." and s4=1"); while($rsy=mysql_fetch_array($sqly)){
	$sqlm=mysql_query("select * from t5 where id=".$rsy["s2"].""); $rsm=mysql_fetch_array($sqlm);
	if(mysql_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="v3-row" style="border:solid 1px #ccc; border-radius: 3px;padding: 5px;">
	<div class="v3-col-md-1">
		<i class="fa fa-user-circle-o" style="font-size:45px;"></i>
	</div>
	<div class="v3-col-md-11" 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 for ($i = 1; $i <= $rsy["s3"]; $i++) {?>
		<i class="fa fa-star" aria-hidden="true"></i>
		<?php }?>
		</div>
		<br>
		<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["n1"];?></div>
	</div>
	</div>
	<?php if($rsy["n2"]<>""){?>
	<div class="v3-row" style="border:solid 1px #ccc; border-radius: 3px;padding: 5px;">
	<div class="v3-col-md-1">
		<i class="fa fa-user-circle" style="font-size:45px;"></i>
	</div>
	<div class="v3-col-md-11" 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>