( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<style type="text/css">
<!--
@charset "utf-8";
/* CSS Document */
.uploadifyQueueItem {
text-align:left;
font: 11px Verdana, Geneva, sans-serif;
color:#666;
border: 0px solid #E5E5E5;
padding: 5px;
width:620px;
}.uploadsid {
font: 10px Verdana, Geneva, sans-serif;
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;
}
#femail,#fname {font-size: 10px; color:#000}
.error {font-size: 12px; padding-left:15px; color:#F60; border:#000 0px solid}
-->
</style><?php
if (empty($page)) {
$page = 0;
}
$db = new NewsSQL($DBName);
$record = "2";
$catanewsresult = $db->mailinglist($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 $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
while ($row_settings = mysql_fetch_array($rs_settings)) {
?>
<form action="javascript:emailContent()" method="POST" name="form2" id="form2">
<li class="list-group-item bg-light dker">
<table cellspacing="0" cellpadding="0" style="font-size:20px">
<tr >
<td width="150" valign="middle"><div align="left" style=" padding-left:10px; color:#FFF; font-size:14px" title="Published: 2014-03-25" >
<input name="fname" id="fname" placeholder="Recipient Name" style=" width:300px; height:32px; font-size:16px;-moz-border-radius : 5px 5px 5px 5px;-webkit-border-radius : 5px 5px 5px 5px;border-radius : 5px 5px 5px 5px;margin:10px; border:solid 1px #CCC; padding:5px; background-color:#fff" class="required " size="30" maxlength="50">
</div></td>
<td width="64" valign="middle" style="color:#FFF; padding-left:10px; font-size:14px"> <div align="left" style=" padding-left:10px; color:#FFF; font-size:14px" title="Published: 2014-03-25" >
<input name="femail" id="femail" placeholder="Recipient Email" class="required email" style=" width:200px; height:32px; font-size:16px;-moz-border-radius : 5px 5px 5px 5px;-webkit-border-radius : 5px 5px 5px 5px;border-radius : 5px 5px 5px 5px;margin:10px; border:solid 1px #CCC; padding:5px; background-color:#fff" size="30" maxlength="50">
</div>
</td>
<td width="100%" valign="middle" >
<input name="who" id="who" type="hidden" value="<?php echo $row_settings['catalogname']; ?>" size="30" maxlength="45">
<input name="distribute" id="distribute" type="hidden" value="<?php echo $distribute; ?>" size="30" maxlength="45">
<input name="name" id="name" class="bigsearch " type="hidden" size="30" value="<?php echo $ca = $row_settings['catalogname']; ?>" maxlength="45">
<input name="email" id="email" type="hidden" value="<?php echo $ca = $row_settings['user_email']; ?>" size="30" maxlength="45">
</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)) {?>
<IMG src="images/status/distribute2success.png" height="40" >
<?php }
} else
{
?>
<span class="emailContent" id="idGo_0">
<button name="addlike" class="btn btn-success m-lr "><i class="icon-check-sign icon-lg text-white"></i> Distribute </button>
</span>
<?php
}
?>
</td>
</tr></table>
</li>
</form>
<?php }
?>
<?php
if (!empty($catanewsresult)) {
while ( list($key,$val)=each($catanewsresult) ) {
$fname = stripslashes($val["fname"]);
$femail = stripslashes($val["femail"]);
$id = stripslashes($val["id"]);
$catalogid = stripslashes($val["catalogid"]);
$parentid = stripslashes($val["parentid"]);
?>
<li class="list-group-item bg-light dker">
<table cellspacing="0" cellpadding="0" style="font-size:20px">
<tr >
<td width="64" valign="middle">
<div style=" width:100px; height:60px; overflow:hidden"><?php
$picture=$db->Profile_Pic($catalogid);
?>
<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-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"> </div></td>
<td width="100%" valign="middle"><div align="left" style=" padding-left:10px; color:#FFF; font-size:14px" title="Published: 2014-03-25" ><?php echo $fname; ?> (<?php echo $femail ?>)
</div></td>
<td width="86" align="left" style="padding-left:2px">
<?php
$checkdistribution = $db->getalldistributions($catalogid,$distribute,$nnewsid);
if (!empty($checkdistribution)){
while (list($key,$val)=each($checkdistribution)) {?>
<IMG src="images/status/distribute2success.png" height="40" >
<?php }
} else
{
?>
<?php
$nameinfo2 = $db->getallugccatalogname();
if (!empty($nameinfo2)){
while (list($key,$val)=each($nameinfo2)) {
$tempcatalogid2 = stripslashes($val["user_email"]);
$catalogname = stripslashes($val["catalogname"]);
$catalogidme = stripslashes($val["catalogid"]);
$slug = stripslashes($val["slug"]);
if ($femail==$tempcatalogid2){?>
<span class="addGo" id="idGo_<?php echo $id; ?>">
<a href="#" onClick="return false;" class="btn btn-success m-lr " id="Video_<?php echo $id; ?>_<?php echo $distribute; ?>_<?php echo $catalogidme; ?>" >
<i class="icon-check-sign icon-lg text-white"></i> Distribute
</a></span>
<?php }
}
}
?>
<?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 }
?>