/* ]]> */ </script> </head> <body> <div align="center" class="head_container"> <a href="<?php echo $options['index_file']; ?> " class="tdheadolgo" title="Rapidleech"></a> </div> <br /> <center> <?php //SHOW TIME WORK if ($options["limit_timework"]) { $is_worktime = cek_worktime($options["workstart"], $options["workend"]); $limitmsg = ""; if (!$is_worktime) { if (!empty($limitmsg)) { $limitmsg .= "<br />"; } $limitmsg .= $L->sprintf($L->say['worktime_alert'], $options["workstart"]); echo "<div style=\"padding-top:20px;padding-bottom:20px;\"><div class=\"warn_alert\">{$limitmsg}</div></div>"; if ($options["navi_left"]["server_info"]) { if (@file_exists(CLASS_DIR . "sinfo.php")) { require_once CLASS_DIR . "sinfo.php"; echo "<div style='padding-left:5px;text-align:center;width:auto;margin-top:-5px;'><small>{$server['property']}" . $L->sprintf($L->say["page_load"], $maintimer->stop()) . "</small></div>"; } } else { echo "<hr />"; }
$is_exceed = $is_expired = false; if ($options["limitbytraffic"]) { require_once CLASS_DIR . "limit_traffic.class.php"; $traffic = new traffics(); if ($traffic->is_error != 0) { html_error($traffic->ret_msg, 0); } $traffic->get(); if ($options["day_reset_trafic"] > 0) { $traffic->autoreset(); } $is_exceed = $traffic->total - $traffic->max >= 0; $is_expired = $traffic->is_expired; } // Check working time $is_worktime = $options["limit_timework"] ? cek_worktime($options["workstart"], $options["workend"]) : true; // Check storages $serverfiles = calcUsedSpace(); $storage_exceed = false; if ($options["storage_limit"] > 0) { if ($serverfiles > $options["storage_limit"] * 1024 * 1024) { $storage_exceed = true; } } // Check download limit by ip $FilesDownloadedPerTime = 0; $is_dllimit = false; if ($options['downloadLimitbyIP']) { if ($visitors->is_error != 0) { html_error($visitors->ret_msg); }