| # |
שם |
שרת |
גודל |
תאריך |
1) { if (is_numeric( strpos($file,$_REQUEST['text'])) == $false) { continue; } }
$i++;
echo '';
echo '| ' . $i . ' | ';
echo '' . $file . ' | ';
echo 'משחקי קלאנים | ';
echo '' . (int)(filesize($path . $file)/1048576) . 'MB' .' | ';
echo '' . date('d/m/Y @ h:ia',filemtime($path . $file)) . ' | ';
}
closedir($dir_handle);
/* $path = getcwd() . "/ClansServer/";
$dir_handle = @opendir($path) or die("Error opening $path");
$i = 0;
while ($file = readdir($dir_handle)) {
$path_parts = pathinfo($file);
if ($path_parts['extension'] != "zip" && $path_parts['extension'] != "rar" && $path_parts['extension'] != "bsp") { continue; }
if (strlen($_REQUEST['text']) > 1) { if (is_numeric( strpos($file,$_REQUEST['text'])) == $false) { continue; } }
$i++;
echo '
';
echo '| ' . $i . ' | ';
echo '' . $file . ' | ';
echo 'שרת קלאנים | ';
echo '' . (int)(filesize($path . $file)/1048576) . 'MB' .' | ';
echo '' . date('d/m/Y @ h:ia',filemtime($path . $file)) . ' | ';
}
closedir($dir_handle);
$path = getcwd() . "/Tournaments/";
$dir_handle = @opendir($path) or die("Error opening $path");
$i = 0;
while ($file = readdir($dir_handle)) {
$path_parts = pathinfo($file);
if ($path_parts['extension'] != "zip" && $path_parts['extension'] != "rar" && $path_parts['extension'] != "bsp") { continue; }
if (strlen($_REQUEST['text']) > 1) { if (is_numeric( strpos($file,$_REQUEST['text'])) == $false) { continue; } }
$i++;
echo '
';
echo '| ' . $i . ' | ';
echo '' . $file . ' | ';
echo 'תחרויות | ';
echo '' . (int)(filesize($path . $file)/1048576) . 'MB' .' | ';
echo '' . date('d/m/Y @ h:ia',filemtime($path . $file)) . ' | ';
}
closedir($dir_handle);
$path = getcwd() . "/Gathers/";
$dir_handle = @opendir($path) or die("Error opening $path");
$i = 0;
while ($file = readdir($dir_handle)) {
$path_parts = pathinfo($file);
if ($path_parts['extension'] != "zip" && $path_parts['extension'] != "rar" && $path_parts['extension'] != "bsp") { continue; }
if (strlen($_REQUEST['text']) > 1) { if (is_numeric( strpos($file,$_REQUEST['text'])) == $false) { continue; } }
$i++;
echo '
';
echo '| ' . $i . ' | ';
echo '' . $file . ' | ';
echo 'גאטרים | ';
echo '' . (int)(filesize($path . $file)/1048576) . 'MB' .' | ';
echo '' . date('d/m/Y @ h:ia',filemtime($path . $file)) . ' | ';
}
closedir($dir_handle); */
?>