Example #1
0
\t\t\t\t\tcase 'CURL_SUCCESS':
\t\t\t\t\t\t\$('#res').html( '<span style="color: blue;">{$arrLang[$currLang]['now_will_begin_unpacking_package']}</span>' );
\t\t\t\t\t\tsetTimeout('window.location = "install.php?unpack"', 3000);
\t\t\t\t\t\tbreak;
\t\t\t\t}
\t\t\t}
\t\t});
\t});
\t-->
\t</script>
</body>
</html>
HTML;
    print $page;
} elseif (isset($_GET['resl'])) {
    echo inst::curlGetPackage($_POST);
} elseif (isset($_GET['unpack'])) {
    $page = <<<HTML
<html>
<head>
\t<meta charset="UTF-8">
\t<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
</head>
<body>
\t<div style="text-align: center; font-size: 12px; font-weight: bold;">
\t\t&copy; <a href="{$arrLang[$currLang]['sd_group_url']}">{$arrLang[$currLang]['sd_group']}</a>
\t</div>
\t<table style="margin: 10% auto; text-align: center;">
\t\t<tr>
\t\t\t<td>
\t\t\t\t<div id="res">