$mtn_j = $_POST['j']; $mtn_g = $_POST['g']; $mtn_I = $_POST['I']; $mtn_i = $_POST['i']; $mtn_Ts = $_POST['Ts']; $mtn_Tc = $_POST['Tc']; $mtn_f = $_POST['f']; $mtn_t = $_POST['t']; $mtn_tc = $_POST['tc']; $mtn_ts = $_POST['ts']; $mtn_iL = $_POST['iL']; $mtn_tL = $_POST['tL']; } if ($_POST['video'] != "") { if ($_POST['all'] == "true") { $video = vidlist($download_dir); } else { $video = array(); $video[0] = $_POST['video']; } if ($mtn_cs > 0 && $mtn_cs < 6) { $c = $mtn_cs; } else { $c = " 1"; } if ($mtn_rs > 0 && $mtn_rs < 11) { $r = $mtn_rs; } else { $r = " 1"; } foreach ($video as $vdo) {
<td style="text-align: right;">Individual Shots <span class="nav_text" id="individualshots" style="cursor:help">[?]</span> : </td><td><input type="checkbox" id="mtn_individualshots" name="mtn_individualshots" value="1" /></td> </tr> <tr> <td style="text-align: right;">Save Info <span class="nav_text" id="saveinfo" style="cursor:help">[?]</span> : </td><td><input type="checkbox" id="mtn_saveinfo" name="mtn_saveinfo" value="1" /></td> </tr> <tr> <td style="text-align: right;">Video Info : </td><td><input type="checkbox" id="mtn_video_options_enable" name="mtn_video_options[enable]" value="1" /></td> </tr> <tr id="mtn_video_options_0"> <td style="text-align: right;">Available Video Info Setting : </td> <td> Color <input class="color" id="mtn_video_options_txtcolor" name="mtn_video_options[txtcolor]" size="4" value="" /> Font <select id="mtn_video_options_txtfont" name="mtn_video_options[txtfont]"> <?php $exts = array(".ttf", '.otf'); $fonts = array(); $fonts = vidlist($font_dir, $exts); foreach ($fonts as $font) { echo "\t<option value='{$font}'>" . substr($font, 0, -4) . "</option>\r\n"; } ?> </select> Size <select id="mtn_video_options_txtsize" name="mtn_video_options[txtsize]"> <?php for ($i = 8; $i < 16; $i++) { echo "\t<option value='{$i}'>{$i}</option>\r\n"; } ?> </select></td> </tr> <tr> <td style="text-align: right;">Time : </td><td><input type="checkbox" id="mtn_time_enable" name="mtn_time[enable]" value="1" /></td>
<?php if (!defined('RAPIDLEECH')) { require '../index.html'; exit; } if ($_POST['video'] != "") { $w = $_POST['w']; $files = $options['download_dir'] . "{$vdofile}"; if ($_POST['all'] == "true") { $video = vidlist($options['download_dir']); } else { $video = array(); $video[0] = $_POST['video']; } if ($_POST['cs'] > 0 && $_POST['cs'] < 6) { $c = $_POST['cs']; } else { $c = " 1"; } if ($_POST['rs'] > 0 && $_POST['rs'] < 11) { $r = $_POST['rs']; } else { $r = " 1"; } foreach ($video as $vdo) { $cmd = getcwd() . "/mtn/mtn"; if ($_POST['i'] == "") { $cmd .= " -i"; } if ($_POST['t'] == "") {
{ $results = array(); $handler = opendir($dir); while ($file = readdir($handler)) { if (strrchr($file, '.') != "") { $ext = strtolower(strrchr($file, '.')); } if ($file != '.' && $file != '..' && in_array($ext, $GLOBALS["exts"])) { $results[] = $file; } } closedir($handler); sort($results); return $results; } $files = vidlist($options['download_dir']); foreach ($files as $file) { echo '<option value="' . $file . '">' . $file . '</option>'; } ?> </select><input type="checkbox" name="all" value="true" /> Generate all. <tr><td colspan=3> </td> </tr> <tr> <td align="right">Columns : </td><td><select name=cs><option value= > 1 </option> <option value=2> 2 </option> <option value=3 selected> 3 </option> <option value=4> 4 </option> <option value=5> 5 </option></select> x <select name=rs><option value= > 1 </option> <option value=2> 2 </option> <option value=3 selected> 3 </option>
{ $results = array(); $handler = opendir($dir); while ($file = readdir($handler)) { if (strrchr($file, '.') != "") { $ext = strtolower(strrchr($file, '.')); } if ($file != '.' && $file != '..' && in_array($ext, $GLOBALS["exts"])) { $results[] = $file; } } closedir($handler); sort($results); return $results; } $files = vidlist($download_dir); foreach ($files as $file) { echo '<option value="' . $file . '">' . $file . '</option>'; } ?> </select><input type="checkbox" id="all" name="all" value="true" />Generate all.</td> </tr> <?php if ($navi_left["showmtnconfig"]) { ?> <tr> <td align="right">Columns x Rows : </td><td><select id="cs" name="cs"><option value="1"<?php echo $mtn_cs == "1" ? ' selected="selected"' : ''; ?>