( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php
$VideoPath = "uploads/live/";
$live_img = 'uploads/images/';
$newsid = $db->base64url_decode($newsid);
$result = $db->getdistributionbyany($newsid);
$catalogid = $result[0]["catalogid"];
$title = $result[0]["title"];
$content = $result[0]["content"];
$viewnum = $result[0]["viewnum"];
$rating = $result[0]["rating"];
$picture = $result[0]["picture"];
$ratenum = $result[0]["ratenum"];
$episodeid = $result[0]["episodeid"];
$slug = $result[0]["slug"];
$keywords = $result[0]["keywords"];
$isdisplay = $result[0]["isdisplay"];
$description = $result[0]["description"];
$picture = $result[0]["picture"];
$summary = $result[0]["summary"];
$video = $result[0]["video"];
$thumb= $result[0]["thumb"];
$newsid= $result[0]["newsid"];
$pictureme=$db->Profile_Pic($catalogid);
?>
<form action="indexAlone.php?mode=submitted&min=yes" name="myform" id="myform" method="POST" >
<table width="100%" border="0">
<tr>
<td width="62%" valign="top"> <h2 style="margin-top:0px" class="post-title"><?php echo $title ?></h2>
<div class="feed_title2"><strong>Description: </strong><?php echo $content ?> </div>
</td>
<td width="38%" align="right" valign="top">
<a href="indexAlone.php?mode=submitted&min=yes" class="btn btn-white "><i class="icon-chevron-left"></i>Back</a>
<?php /*?> <a href="indexAlone.php?mode=submitted&newsid3=<?php print "$newsid3"; ?>&catid=<?php print "$catid"; ?>&delnews3=yes" class="btn btn-danger "><i class="icon-remove icon-lg text-white"></i> decline </a> <?php */?> </td>
</td>
</tr>
</table>
<br />
<br /><img src="<?php echo $siteaddress;?>taswira.php?width=600&cropratio=1.666666666666667:1&image=/v/uploads/distribution/<?php echo $picture ?>" alt="edit thumb" title="Published: 2014-03-24" style=" width:100%">
<br />
<li class="list-group-item<?php if ($isdisplay ==3 ){ ?> bg-light dker <?php } ?><?php if ($isdisplay ==5 ){ ?> bg-light lter <?php } ?><?php if ($isdisplay ==4 ){ ?> <?php } ?>">
<table cellspacing="0" cellpadding="0" style="font-size:20px">
<tr >
<td width="64" valign="middle">
<img src="<?php echo $siteaddress;?>taswira.php?width=100&height=60&cropratio=1.666666666666667:1&image=/v/uploads/gthumbs/<?php echo $pictureme ?>" alt="edit thumb" title="Published: 2014-03-24" style=" margin-left:2px;-moz-border-radius : 3px 3px 3px 3px:-webkit-border-radius : 3px 3px 3px 3px;border-radius : 3px 3px 3px 3px;" height="60" width="100">
</td>
<td width="100%" valign="middle" >
<a class="btn btn-default m-l-lg"> <span class="text"><?php print text_limit($title,8); ?>
<?php
$nameinfoC = $db->getallcategoriesC($newsidC);
if (!empty($nameinfoC)){
while (list($key,$val)=each($nameinfoC)) {
$tempcatalogid2 = stripslashes($val["catalogid"]);
$catalogname = stripslashes($val["catalogname"]);
$slug = stripslashes($val["slug"]);
?>
<span style="color:#fff;"> ( <?php print "$catalogname"; ?> )</span>
<?php
}
}
?> </span> </a>
</td>
<td width="18">
</td>
</tr></table>
</li>
<?php
echo $admin ; $post_id = $db->base64url_decode($newsid3);
$queryX = mysqli_query($link,"select * FROM distributions where id=$post_id");
while($dataX = mysql_fetch_assoc($queryX)){?>
<?php include("rate.php");?>
<input type="hidden" name="id" value="<?php print $dataX['id']; ?>">
<article style=" padding:9px; margin-bottom:0px;" class="chat-item" id="chat-form">
<?php if(!empty($pichaC)) { ?>
<a href="#" class="pull-left thumb-sm avatar"><img class="img-circle" src="<?php echo $siteaddress3 ?>taswira.php?quality=70<?php /*?>&nocache=1<?php */?>&width=100&height=100&cropratio=1:1&image=/v/uploads/gthumbs/<?php echo $pichaC;?>" /> </a> <?php } else {?>
<a href="#" class="pull-left thumb-sm avatar"><img class="img-circle" src="<?php echo $siteaddress3 ?>taswira.php?quality=70<?php /*?>&nocache=1<?php */?>&width=100&height=100&cropratio=1:1&image=/images/user.png" /> </a>
<?php } ?>
<section class="chat-body" style=" text-align:left">
<div class="input-group">
<input class="form-control" name="comments" id="comments" style="width:100%; min-width:380px" placeholder="Your comments" <?php if (!empty($dataX['comments'])){?>value="<?php echo $dataX['comments'] ?>"<?php }?> type="text">
<span class="input-group-btn">
<input name="editnewsr2" value="Share " type="submit" class="btn btn-warning" style=" " >
</span> </div>
</section>
</article>
<?php } ?>
</form>