Example #1
0
<?php

include 'includes/includes.php';
$showID = $_GET['showid'];
$showName = bd_getShowTitle($showID);
$season = $_GET['season'];
$totalseasons = bd_countSeasonsShow($showID);
$totaleps = bd_countEpisodesShow($showID);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
	"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<title>Subtítols – <?php 
echo "{$showName} - wikisubtitles";
?>
</title>
	<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
	<script type="text/javascript" src="/js/mootools.v1.11.js"></script>
	<script type="text/javascript">
		<?php 
include 'js/quicksearch.php';
?>
	</script>
	<style type="text/css" media="screen">
		@import url(/css/main.css);
	</style>
	<script type="text/javascript">
		function loadShow(show, season)
Example #2
0
     $s3Episodes = bd_countEpisodesShow($s3);
     $s3Seasons = bd_countSeasonsShow($s3);
     if ($letra != $s3Name[0]) {
         $continue = false;
         $letra = $s3Name[0];
         $s3Name = "";
     } else {
         $micuenta++;
     }
 } else {
     $s3Name = "";
 }
 if ($continue && ($row = mysql_fetch_assoc($result))) {
     $s4 = $row['showID'];
     $s4Name = stripslashes($row['title']);
     $s4Episodes = bd_countEpisodesShow($s4);
     $s4Seasons = bd_countSeasonsShow($s4);
     if ($letra != $s4Name[0]) {
         $continue = false;
         $letra = $s4Name[0];
         $s4Name = "";
     } else {
         $micuenta++;
     }
 } else {
     $s4Name = "";
 }
 if ($continue) {
     $row = mysql_fetch_assoc($result);
     $s5 = $row['showID'];
     $s5Name = stripslashes($row['title']);
Example #3
0
<body>
<?php 
include 'header.php';
?>
<span class="titulo"><?php 
echo $wikilang_delete_show;
?>
</span>
<form action="admin_shows_do.php" method="post">
<?php 
$query = "select * from shows order by title";
$result = mysql_query($query);
while ($row = mysql_fetch_assoc($result)) {
    $sID = $row['showID'];
    $titulo = stripslashes($row['title']);
    $seasons = bd_countEpisodesShow($sID);
    echo "&nbsp; <input type=\"checkbox\" name=\"s{$sID}\" value=\"1\" /><img src=\"" . $SCRIPT_PATH . "images/package.png\" />&nbsp;";
    if ($seasons == 0) {
        echo "<b>{$titulo} ({$seasons} {$wikilang_episodes})</b><br />";
    } else {
        echo "{$titulo} ({$seasons} {$wikilang_episodes})<br />";
    }
}
?>
<input type="submit" name="Delete" value="<?php 
echo $wikilang_delete_show;
?>
"/>
</form>
<?php 
include 'footer.php';