Parse error: syntax error, unexpected '<' in /home/demo/public_html/mtnx.php on line 50
el codigo es el siguiente:
Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="es">
<head>
<title>MTN By RocketLeech</title>
<link href="templates/plugmod/styles/rl_style_pm.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<?php
define('RAPIDLEECH', 'yes');
error_reporting(0);
//ini_set('display_errors', 1);
set_time_limit(0);
ini_alter("memory_limit", "1024M");
ob_end_clean();
ob_implicit_flush(TRUE);
ignore_user_abort(1);
clearstatcache();
$PHP_SELF = !$PHP_SELF ? $_SERVER["PHP_SELF"] : $PHP_SELF;
define('HOST_DIR', 'hosts/');
define('IMAGE_DIR', 'images/');
define('CLASS_DIR', 'classes/');
define('CONFIG_DIR', 'configs/');
define('RAPIDLEECH', 'yes');
define('ROOT_DIR', realpath("./"));
define('PATH_SPLITTER', (strstr(ROOT_DIR, "\\") ? "\\" : "/"));
require_once("configs/config.php");
if (substr($download_dir,-1) != '/') $download_dir .= '/';
define('DOWNLOAD_DIR', (substr($download_dir, 0, 6) == "ftp://" ? '' : $download_dir));
$nn = "\r\n";
require_once("classes/other.php");
if ($login === true && (!isset($_SERVER['PHP_AUTH_USER']) || ($loggeduser = logged_user($users)) === false))
{
header("WWW-Authenticate: Basic realm=\"RAPIDLEECH PLUGMOD\"");
header("HTTP/1.0 401 Unauthorized");
exit("<html>$nn<head>$nn<title>RAPIDLEECH PLUGMOD</title>$nn<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1251\">$nn</head>$nn<body>$nn<h1>$nn<center>$nn<a href=http://www.rapidleech.com>RapidLeech</a>: Access Denied - Wrong Username or Password$nn</center>$nn</h1>$nn</body>$nn</html>");
}
?>
<?php
$r = $_POST['r'];
$c = $_POST['c'];
$f = $_POST['group2'];
$i = $_POST['info'];
$t = $_POST['time'];
$n = $_POST['group1'];
$m = $_POST['m'];
<?php
$exts=array(".3gp", ".3g2", ".asf", ".avi", ".dat", ".divx", ".dsm", ".evo", ".flv", ".m1v", ".m2ts", ".m2v", ".m4a", ".mj2", ".mjpg", ".mjpeg", ".mkv", ".mov", ".moov", ".mp4", ".mpg", ".mpeg", ".mpv", ".nut", ".ogg", ".ogm", ".qt", ".swf", ".ts", ".vob", ".wmv", ".xvid");
$ext="";
function vidlist($dir)
{
$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;
}
function Output($command) {
$output = array($command);
exec($command.' 2>&1', $output);
return ($output);
}
$files = vidlist("./files");
foreach($files as $file)
{
echo '<option value="'.$file.'">'.$file.'</option>';
}
?>
Capturas tomadas correctamente, Para ver las capturas deberas ir a Archivos Servidor - Mostrar Todos</h2><br><br><a href='mtnx.php'>Tomar otra Captura</a>";
}
else
{
echo nl2br('<div class="box"><h1>Configuracion:</h1><form action="mtnx.php" method="post">Columnas:
<select name="c">
<option value="1">1</option>
<option value="2">2</option>
<option SELECTED value="3">3</option></select><br/>
Filas:
<select name="r">
<option value="1">1</option>
<option value="2">2</option>
<option value="3" SELECTED>3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option></select>
Color del Texto:
<select name="group1">
<option value="000000" >Negro</option>
<option value="FFFFFF">Blanco</option>
<option value="FF0000" selected>Rojo</option>
<option value="0080C0">Azul</option>
</select>
Color del Fondo:
<select name="group2">
<option value="000000" >Negro</option>
<option value="FFFFFF" selected>Blanco</option>
<option value="FF0000" >Rojo</option>
<option value="0080C0">Azul</option>
</select>
Tamaño del Texto:
<select name="m">
<option value="10" SELECTED>10</option>
<option value="11">11</option>
<option value="12">12</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option></select>
<br>
<input type="checkbox" name="info" value="-i" />Quitar información
<input type="checkbox" name="time" value="-t" />Quitar tiempo<br />
<input type="submit" style="font-size:16px; font-weight:bold; cursor:pointer;" name="cap" value="Capturar"/></div></div>');
}
?>
<br><br><a href="index.php">Volver al RocketLeech</a>
<br><br><br>Formatos Aceptados: <br><b>.3gp, .asf, .avi, .f4v, .flv, .mkv,<br> .mov, .mp4, .mpg, .mpeg, .swf, .wmv<br><br></b>
</center></body></html>