include 'functions.php'; $showid = addslashes($_GET['showid']); $show = new Show($showid, NO_EPISODE_CHECK); } else { include 'header.php'; $showid = addslashes($_GET['showid']); $show = new Show($showid); } if ($_GET['update'] == '1') # Force update $show->updateShow(1); ?> <div class="seriesdetails"> <div class="imagecontainer"> <a href="show.php?showid=<?=$show->getID()?>"><img class="thumbnail" alt="<?=$show->getTitle()?>" src="cache/<?=$show->getID()?>-poster.jpg" /></a> </div> <?=addSubscribeText($show->isSubscribed(), $show->getID(), 1)?> <a href="show.php?showid=<?=$show->getID()?>&update=1" class="updatethis">Force Update</a> <h2><a id="showtitle" href="show.php?showid=<?=$show->getID()?>"><?=$show->getTitle()?></a></h2> <div class="plot"><?=$show->getPlot()?></div> </div> <?php if (!isset($_GET['ajax'])) { ?> <div class="fullcontent"> <div class="contentleft"> <?php $seasonSplit = $show->splitSeasons(); foreach ($seasonSplit[0] as $season) { if (!isset($season[0])) break; // PHP BUG?!?! ?> <div class="contentbox normalbox seasons"> <h3>Season <?php printf("%02d", $season[0]->getSeason())?> <a href="show.php?showid=<?=$season[0]->getShowID()?>" class="subscribe dldmissingeps"><span>Download missing episodes</span></a></h3> <ul> <?php
?> <div class="imagecontainer"> <a href="show.php?showid=<?php echo $randomshows->getID(); ?> "><img class="thumbnail" alt="<?php echo $randomshows->getTitle(); ?> " src="cache/<?php echo $randomshows->getID(); ?> -fanart.jpg" /></a> </div> <div class="details"> <?php echo addSubscribeText($randomshows->isSubscribed(), $randomshows->getID(), 1); ?> <h3><a href="show.php?showid=<?php echo $randomshows->getID(); ?> "><?php echo $randomshows->getTitle(); ?> </a></h3> <span><?php echo cutText($randomshows->getPlot(), 220); ?> </span> </div> </div><?php }
-poster.jpg" /></a> <div class="quality">Quality: <strong><?php echo $quality; ?> </strong></div> <div class="nextair">Next airing: <strong><?php echo $airingtext; ?> </strong></div> <div class="subtitles">Subtitles: <strong><?php echo $subtitlelanguage; ?> </strong></div> </div> <?php echo addSubscribeText(1, $singleshow['id']); ?> <h2><a href="show.php?showid=<?php echo $singleshow['id']; ?> "><?php echo utf8_decode($singleshow['title']); ?> </a></h2> <div class="plot"><?php echo utf8_decode($singleshow['plot']); ?> </div> </div> <?php