( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ
<?php include("../protect.php");?>
<?php
$channel = $catalogid;
if (empty($catalogname))
{
include('../Connections/videoondemand.php');
require("../DbSql.inc.php");
require("../NewsSql.inc.php");
page_protect();
}
$db = new NewsSQL($DBName);
$sortuser = $_SESSION['euserid'];
if (isset($_SESSION['euserid'])) {?>
<?php
include("scripts.php");
?>
<style type="text/css">
<!--
body {
background-color: #F2F2F2;
color:666666;
}
#feedback{position:fixed;left:0;bottom:0;z-index:1000;cursor:pointer}
#csstdgo{
width: 205px;
height:162px;
font-size:13px;
clear: none;
margin-left:20px;
margin-bottom:15px;
float:left;
color:666666;
}
.cartimg{
float:left;
margin:0 0px 0 0;
height:50px;
overflow:hidden;
cursor:move;
position:relative;
}
-->
</style>
<?php
mysql_select_db($DBName,$videoondemand);
if(!array_key_exists('results',$_GET))
{
$sortuser = $_SESSION['euserid'];
echo '<ul class="sort">';
$res = mysqli_query($link,"select * FROM gocart where topicid=$sortuser ORDER BY id DESC");
while($row=mysql_fetch_assoc($res))
{?>
<?php
$getcontent = $db->idtocontent($page,$front_searchresultrecord,$row['address']);
if (!empty($getcontent)) {
while ( list($key,$val)=each($getcontent) ) {
$title = stripslashes($val["title"]);
$slug= stripslashes($val["slug"]);
$description= stripslashes($val["description"]);
$picture= stripslashes($val["picture"]);
$viewnum= stripslashes($val["viewnum"]);
$catalogid= stripslashes($val["catalogid"]);
$newsid = stripslashes($val["newsid"]);
?>
<div id="box<?php echo $row['id']?>">
<li id="<?php echo $row['id']?>" style="height:70px">
<div class="draggable" >
<a href="go?media=<?php print "$slug"; ?>">
<div class="img2">
<img src="v/uploads/images/<?php echo "$picture"; ?>" height="50" />
<div class="dragger"></div>
</div>
</a> <?php
print " <a href=\"$slug\" target=_parent > $title </a> ";
}
}
?>
<?php $nameinfo2 = $db->getallugccatalogname();
while (list($key,$val)=each($nameinfo2)) {
$tempcatalogid2 = stripslashes($val["catalogid"]);
$catalogname = stripslashes($val["catalogname"]);
$slug = stripslashes($val["slug"]);
if ($catalogid==$tempcatalogid2){
echo " $catalogname ";
}
}?>
<div align="right" id="rem">
<a href="#" id="<?php echo $row['id']?>" class="delete"> <img src="goimages/delete.png" alt="remove" /> </a>
</div>
</div>
</li> </div>
<?php } ?>
</ul>
<?php if (!empty($getcontent)) { ?>
<a href="" class="large ezbutton green" style=" margin-top:2px;border:0px; width:140px;" id="submitPoll">Save Playlist </a> <br />
<br />
<? } ?>
<?php
}
?>
<div id="insert_response5" style=" color:#4d90b4;font:Arial, Helvetica, sans-serif; font-size:11px;"></div> <div id="insert_response66" style=" color:#4d90b4;font:Arial, Helvetica, sans-serif; font-size:11px;"></div><br />
<form action="javascript:sorteddata()" id="sform" method="post">
<input name="mode" type="hidden" value="sortdata" size="60" id="mode">
<input name="sortdata" id="sortdata" type="hidden" value="" />
</form>
<? } ?>