($max_file_size["$uphost"] * 1048576)) html_error(lang(66)); require_once(HOST_DIR . "upload/$uphost.php"); } else html_error(lang(67)); echo ''; if (!empty($download_link) || !empty($delete_link) || !empty($stat_link) || !empty($adm_link)) { echo "\n"; echo (!empty($download_link) ? '' : ''); echo (!empty($delete_link) ? '' : ''); echo (!empty($stat_link) ? '' : ''); echo (!empty($adm_link) ? '': ''); echo (!empty($user_id) ? '': ''); echo (!empty($ftp_uplink) ? '': ''); echo (!empty($access_pass) ? '': ''); echo "
' . lang(68) . ':
' . lang(69) . ':
' . lang(70) . ':
' . lang(71) . ':
' . lang(72) . ':
' . lang(73) . ':
' . lang(74) . ':
\n"; if (!$options['upload_html_disable'] && !isset($_GET['auul']) && !file_exists("$lfile.upload.html")) { $upload_html = '' . lang(75) . '' . sprintf(lang(76), htmlspecialchars($lname), bytesToKbOrMbOrGb($fsize)) . '
' . htmlspecialchars($uphost) . ' - ' . date("Y-m-d H:i:s") . '
'; file_put_contents("$lfile.upload.html", $upload_html); } } if (empty($not_done)) { echo '

' . lang(77) . '
'; if (isset($_GET['auul'])) { printf('', $_GET['auul']); // Write links to a file if (!$options['myuploads_disable']) { if (empty($_GET['save_style']) || $_GET['save_style'] == lang(51)) $_GET['save_style'] = base64_encode('{name}\n' . str_repeat('=', 80) . '\n{link}\n'); $save_style = str_ireplace(array('{link}', '{name}', '\n', '{size}', '{sizeb}'), array($download_link, $lname, "\r\n", bytesToKbOrMbOrGb($fsize), $fsize), base64_decode($_GET['save_style'])); file_put_contents(DOWNLOAD_DIR . 'myuploads.txt', "$save_style\r\n", FILE_APPEND | LOCK_EX); // Obviously it was a mistake not making it a variable earlier } } } include(TEMPLATE_DIR . '/footer.php');