<?php include "settings.php"; include "functions.php"; header('Content-type: text/plain; charset=ISO-8859-1'); $show_array_id = create_show_array('id', 'active', -1); $show_array_title = create_show_array('title', 'id', -1); update_show_list($show_array_id); update_show_status($show_array_title);
?> "> <label><input type="radio" name="x264" value="both" <?php echo $chked; ?> onclick="changeShow(this);" /> Show x264 and non-x264</label> </div> <hr /> <h3>What is x264?</h3> <p> If an episode is x264, it is High-Definition.<br /> x264 is the open source encoder for HD material.<br /> A normal episode is 350MB, a HD version can be bigger than 1GB. </p> <?php $show_array = create_show_array('id', 'title', 1); // Get Numbers echo "<div class=\"letter\"><h2>#</h2></div>\n"; foreach ($show_array as $key => $value) { $word = trim($value); $id = trim($key); $expr = "/^[0-9]" . $letter . "/"; if (preg_match($expr, strtolower($word))) { $id = (int) $id; if (!empty($_GET["id"])) { if (in_array($id, $url_id)) { $slcted = " selected"; $chked = "checked=\"checked\" "; } else { $slcted = ""; $chked = "";