rendered paste body<?php
error_reporting(0);
$name_show = $_GET['name_show'];
$newdiv = false;
$headerimg = "anime";
$extplayer = $_GET['extplayer'];
if (@$_GET['link'] && !$extplayer) {
header("Location: {$_GET['link']}");
exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>TVCram - Anime - <?=stripslashes($name_show)?></title>
<link href="/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="sitecontainer">
<script type="text/javascript">
<!--
function doLink(where) {
window.open(where, '_blank', 'menubar=no,location=no,status=0,width=640,height=570,resizable=yes');
return false;
}
//-->
</script>
<?php
include("../_includes/header.php");
?>
<div id="msgdiv">
<?php
include("../_includes/topbanner.php");
?>
<p style="color:#ff0000;"><?php print $_SESSION['message']; $_SESSION['message'] = ""; ?></p>
<?php
// Mod: Do not show name/breadcrumb info on warning page
// By Taner <taner208@gmail.com>, 2007-06-17
if ($extplayer != "ask") {
?>
<h1><?=stripslashes($name_show)?></h1>
<div style="text-align:left;"><a href="/anime/">Anime</a> > <?=stripslashes($name_show)?></div>
<?php
}
?>
</div><span style="clear:both;height:0px;width:990px;background-image:url(../_images/body-background.jpg);background-repeat:repeat-y;"></span>
<div id="listcontainer"><table>
<tr>
<?php
if ($extplayer == "ask") {
$extlink = $_GET['link'];
?>
<td style="width:900px;text-align:center;margin-left:280px;">
<h2 style="color:#000;font-weight:normal;">You are now <b>leaving TVCram!</b></h2><br />
By clicking on "continue to content" you will be redirected to the Video of your choice.<br />
We have to point this out to make sure we can't be held liable for content uploaded by others.<br />
<a href="<?=($extlink ? $extlink : str_replace('/ask', '/', $_SERVER['REQUEST_URI']))?>" class="list">
<h2 style="color:#ff0000; text-decoration: underline;">Click Here To Continue to Content</h2>
</a><br style="clear:both;" />
<?php
}
else {
include("../_includes/connect.php");
$sql = "select * from anime where name_show='$name_show' order by season, number_ep";
$result = mysql_query($sql) or die(mysql_error());
while ($list = mysql_fetch_array($result)) {
$letter = $list['season'];
$name_ep = $list['name_ep'];
$number_ep = $list['number_ep'];
$link = $list['link'];
$link2 = $list['link2'];
$link3 = $list['link3'];
$link4 = $list['link4'];
$link5 = $list['link5'];
$link6 = $list['link6'];
$digest_date = $list['date_added'];
$date_diff = (int) ((time() - strtotime($digest_date)) / 86400);
$update_date = $list['date_mod'];
$date_diff2 = (int) ((time() - strtotime($update_date)) / 86400);
$extplayer = $list['extplayer'];
// temporary:
if ($extplayer == 'yes') $extplayer = 'ask';
if ($extplayer == '') $extplayer = 'no';
if ($list['season'] != $prev_show) {
if ($letter != $prev_row) {
if ($firstdiv != "yes") {
echo "<td>";
}
$firstdiv = "yes";
if ($ismovie == "no") {
$is_season = true;
?>
<div class="letter">
<h2 style="position:relative;right:22px;float:right;">Season <?=$letter?></h2>
</div>
<?php
}
else {
$is_season = false;
?>
<div class="letter">
<h2 style="position:relative;right:22px;float:right;">Movie</h2>
</div>
<?php
}
}
if ($list['id'] != $prev_show && empty($link2)) {
if ($extplayer == "no") {
if ( !isset($is_season) || $is_season === false ) {
?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" class="list" style="float:left;margin:0;"><?php if ($ismovie == "no") { echo "$number_ep - $name_ep"; } else { echo "$name_show"; } ?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?> <br style="clear:both;" />
<?php
} }
else {
?>
<a href="/anime/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank"><?php if ($ismovie == "no") { echo "$number_ep - $name_ep"; } else { echo "$name_show"; } ?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
}
elseif ($list['id'] != $prev_show) {
?>
<p style="float:left;margin:0;"><?php if ($ismovie == "no") { echo "$number_ep - $name_ep"; } else { echo "$name_show"; } ?> (part </p>
<?php if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">1</a>
<?php } else { ?>
<a href="/anime/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">1</a>
<?php }
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link2&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 2</a>
<?php } else { ?>
<a href="/anime/list.php?link=<?=$list['link2']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 2</a>
<?php }
if (empty($link3)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link3&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 3</a>
<?php } else { ?>
<a href="/anime/list.php?link=<?=$list['link3']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 3</a>
<?php }
if (empty($link4)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link4&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 4</a>
<?php } else { ?>
<a href="/anime/list.php?link=<?=$list['link4']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 4</a>
<?php }
if (empty($link5)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link5&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 5</a>
<?php } else { ?>
<a href="/anime/list.php?link=<?=$list['link5']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 5</a>
<?php }
if (empty($link6)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link6&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 6</a>
<?php } else { ?>
<a href="/anime/list.php?link=<?=$list['link6']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 6</a>
<?php }
}
}
}
}
}
if ($list['season'] != $prev_show && ereg("[4-6]", $letter) == true) {
if ($newdiv == true) {
if ($letter != $prev_row) {
?>
<div class="letter">
<h2 style="position:relative;right:22px;float:right;">Season <?=$letter?></h2>
</div>
<?php
}
if ($list['id'] != $prev_show && empty($link2)) {
if ($extplayer == "no") {
?>
<a href="#" onclick="javascript:return doLink('/video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" class="list" style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
else {
?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>&name_show=<?=$name_show?>" class="list" style="float:left;margin:0;" target="_blank"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
}
elseif ($list['id'] != $prev_show) {
?>
<p style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?> (part </p>
<?php if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">1</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">1</a>
<?php }
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link2&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 2</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link2']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 2</a>
<?php }
if (empty($link3)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link3&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 3</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link3']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 3</a>
<?php }
if (empty($link4)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link4&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 4</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link4']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 4</a>
<?php }
if (empty($link5)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link5&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 5</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link5']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 5</a>
<?php }
if (empty($link6)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link6&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 6</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link6']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 6</a>
<?php }
}
}
}
}
} }
else {
?>
</td><td>
<?php
$newdiv = true;
if ($letter != $prev_row) {
?>
<div class="letter">
<h2 style="position:relative;right:22px;float:right;">Season <?=$letter?></h2>
</div>
<?php
}
if ($list['id'] != $prev_show && empty($link2)) {
if ($extplayer == "no") {
?>
<a href="#" onclick="javascript:return doLink('/video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" class="list" style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
else {
?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>&name_show=<?=$name_show?>" class="list" style="float:left;margin:0;" target="_blank"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
}
elseif ($list['id'] != $prev_show) {
?>
<p style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?> (part </p>
<?php if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">1</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">1</a>
<?php }
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link2&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 2</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link2']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 2</a>
<?php }
if (empty($link3)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link3&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 3</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link3']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 3</a>
<?php }
if (empty($link4)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link4&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 4</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link4']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 4</a>
<?php }
if (empty($link5)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link5&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 5</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link5']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 5</a>
<?php }
if (empty($link6)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link6&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 6</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link6']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 6</a>
<?php }
}
}
}
}
}
}
}
if ($list['season'] != $prev_show && ereg("[7-9]", $letter) == true) {
if ($newdiv2 == true) {
if ($letter != $prev_row) {
?>
<div class="letter">
<h2 style="position:relative;right:22px;float:right;">Season <?=$letter?></h2>
</div>
<?php
}
if ($list['id'] != $prev_show && empty($link2)) {
if ($extplayer == "no") {
?>
<a href="#" onclick="javascript:return doLink('/video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" class="list" style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
else {
?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
}
elseif ($list['id'] != $prev_show) {
?>
<p style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?> (part </p>
<?php if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">1</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">1</a>
<?php }
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link2&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 2</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link2']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 2</a>
<?php }
if (empty($link3)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link3&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 3</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link3']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 3</a>
<?php }
if (empty($link4)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link5&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 4</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link4']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 4</a>
<?php }
if (empty($link5)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link5&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 5</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link4']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 5</a>
<?php }
if (empty($link6)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link6&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 6</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link6']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 6</a>
<?php }
}
}
}
}
} }
else {
?>
</td><td>
<?php
$newdiv2 = true;
if ($letter != $prev_row) {
?>
<div class="letter">
<h2 style="position:relative;right:22px;float:right;">Season <?=$letter?></h2>
</div>
<?php
}
if ($list['id'] != $prev_show && empty($link2)) {
?>
<a href="#" onclick="javascript:return doLink('/video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" class="list" style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?></a><?php if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; } elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; } ?><br style="clear:both;" />
<?php
}
elseif ($list['id'] != $prev_show) {
?>
<p style="float:left;margin:0;"><?=$number_ep?> - <?=$name_ep?> (part </p>
<?php if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link1&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">1</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">1</a>
<?php }
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link2&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 2</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link2']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 2</a>
<?php }
if (empty($link3)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link3&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 3</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link3']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 3</a>
<?php }
if (empty($link4)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link4&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 4</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link4']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 4</a>
<?php }
if (empty($link5)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link5&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 5</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link5']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 5</a>
<?php }
if (empty($link6)) {
echo "<p style=\"float:left;margin:0;\">)</p>";
if ($date_diff == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">new</p>"; }
elseif ($date_diff2 == 0) { echo "<p style=\"float:left;margin:0 0 0 10px;color:#ff0000;\">updated</p>"; }
echo "<br style=\"clear:both\" />";
}
else {
if ($extplayer == "no") { ?>
<a href="#" onclick="javascript:return doLink('../video.php?link=link6&id=<?=$list['id']?>&name=<?=$name_show?>&name_ep=<?=addslashes($name_ep)?>');" style="float:left;margin:0;">, 6</a>
<?php } else { ?>
<a href="/list.php?link=<?=$list['link6']?><?=($extplayer=='ask' ? '&extplayer=ask' : '')?>" class="list" style="float:left;margin:0;" target="_blank">, 6</a>
<?php }
}
}
}
}
}
}
} }
$prev_row = $letter;
$prev_show = $list['id'];
}
}
?>
</td></tr></table>
<?php
include("../_includes/bottombanner.php");
?></div>
<?php
include("../_includes/footer.php");
?>
</div>
</body>
</html>