( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<style type="text/css">
<!--
@charset "utf-8";
/* CSS Document */
.uploadifyQueueItem {
text-align:left;
color:#666;
border: 0px solid #E5E5E5;
padding: 5px;
width:620px;
}.uploadsid {
border:0px solid #E5E5E5;
margin-top: 5px;
padding: 5px;
width:620px;
}
.uploadifyError {
border: 1px solid #FBCBBC !important;
background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {
float: right;
margin-top:16px
}
.uploadifyProgress {
background-image:url(images/uploadifyProgress.png);
background-repeat:no-repeat;
margin-top: 5px;
width:587px;
}
.uploadifyProgressBar {
background-image:url(images/uploadifyProgressBar.png);
background-repeat:no-repeat;
width: 1px;
height: 19px;
}
#fileQueue {
width:100%;
height:auto;
}
.style7 {font-size: 10px}
.style8 {font-size: 11px}
-->
</style><?php
if (empty($page)) {
$page = 0;
}
$db = new NewsSQL($DBName);
$record = "6";
$catanewsresult = $db->ugcgetnewsbycatidgo($page,$record,$channel);
?>
<?php $me = $_GET["newsid"]; ?>
<?php
$resultC = mysqli_query($link,"select count(*) as total from distributions where distribution=$distribute");
while($rowC = mysql_fetch_assoc($resultC))
{
$max = 30;
$icountC = $rowC['total'];
if ($icountC >= $max)
{
?>
<br />
<br />
<br />
<br />
<div id="fileQueue" style="margin-top:10px; margin-bottom:10px"><div style="opacity: 0.852077;" id="uploadifyWJEWYV" class="uploadifyQueueItem">Distribution Limit for <?php echo $title ?> Reached <?php echo $icountC ?>/<?php echo $max ?> (<?php echo int($icountC/$max*100); ?>%) - <a href="?mode=upgrade">Remove Limits</a>
<div class="uploadifyProgress"><div style="width:<?php echo $icountC/$max*100 ?>%;" id="uploadifyWJEWYVProgressBar" class="uploadifyProgressBar"><!--Progress Bar--></div></div></div></div>
<?php }
else
{?>
<?php
if (empty($catanewsresult)) {?>
<?php
$nameinfo2 = $db->getallugccatalogname();
while (list($key,$val)=each($nameinfo2)) {
$tempcatalogid2 = stripslashes($val["catalogid"]);
$catalogname = stripslashes($val["catalogname"]);
$viewnum = stripslashes($val["viewnum"]);
$slugz = stripslashes($val["slug"]);
if ($channel ==$tempcatalogid2){?>
<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="106" valign="middle">
<?php $pichaC=$db->Profile_Pic($channel);
?>
<img src="<?php echo $siteaddress;?>taswira.php?width=100&height=60&cropratio=1.666666666666667:1&image=/v/uploads/gthumbs/<?php echo $pichaC; ?>" alt="edit thumb" title="Published: 2014-03-25" width="100" height="60" style=" margin-left:2px;-moz-border-radius : 3px 3px 3px 3px:-webkit-border-radius : 3px 3px 3px 3px;border-radius : 3px 3px 3px 3px;"/>
</td>
<td width="100%" valign="middle" >
<a class="btn btn-default m-l-lg"> <span class="text"><?php echo $catalogname; ?></span> </a>
</td>
<td width="86" align="left" style="padding-left:2px">
<?php
$checkdistribution = $db->getalldistributions($channel,$distribute,$channel);
if (!empty($checkdistribution)){
while (list($key,$val)=each($checkdistribution)) {?>
<a class="btn btn-success m-r "><i class="icon-check icon-lg text-white"></i> Distributed </a>
<?php }
} else
{
?>
<span class="addGo" id="idGo_<?php echo $channel; ?>"><a id="Video_<?php echo $channel; ?>_<?php echo $distribute; ?>_<?php echo $channel; ?>" class="btn btn-info m-r "><i class="icon-sitemap icon-lg text-white"></i> Distribute </a></span>
<?php
}
?>
</td>
</tr></table>
</li>
<?php }
}
?>
<?php }
?>
<?php
if (!empty($catanewsresult)) {
while ( list($key,$val)=each($catanewsresult) ) {
$title = stripslashes($val["catalogname"]);
$description = stripslashes($val["description"]);
$nnewsid = stripslashes($val["catalogid"]);
$catalogidd = stripslashes($val["parentid"]);
$picture = stripslashes($val["picture"]);
$slug = stripslashes($val["slug"]);?>
<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="106" valign="middle">
<img src="<?php echo $siteaddress;?>taswira.php?width=100&height=60&cropratio=1.666666666666667:1&image=/v/uploads/gthumbs/<?php echo $picture; ?>" alt="edit thumb" title="Published: 2014-03-25" width="100" height="60" style=" margin-left:2px;-moz-border-radius : 3px 3px 3px 3px:-webkit-border-radius : 3px 3px 3px 3px;border-radius : 3px 3px 3px 3px;"/>
</td>
<td width="100%" valign="middle" >
<a class="btn btn-default m-l-lg"> <span class="text"><?php echo $title; ?></span> </a>
</td>
<td width="86" align="left" style="padding-left:2px">
<?php
$checkdistribution = $db->getalldistributions($catalogidd,$distribute,$nnewsid);
if (!empty($checkdistribution)){
while (list($key,$val)=each($checkdistribution)) {?>
<a class="btn btn-success m-r "><i class="icon-check icon-lg text-white"></i> Distributed </a>
<?php }
} else
{
?>
<span class="addGo" id="idGo_<?php echo $channel; ?>"><a id="Video_<?php echo $channel; ?>_<?php echo $distribute; ?>_<?php echo $channel; ?>" class="btn btn-info m-r "><i class="icon-sitemap icon-lg text-white"></i> Distribute </a></span>
<?php
}
?>
</td>
</tr></table>
</li>
<?php
}
}
?>
<?php include("limit.php");?>
<?php }
}
?>
<?php if (!empty($_GET["channel"]) && empty($_GET['email']))
{
$newsidX = $db->base64url_decode($distribute);
?>
<?php }
?>