Changeset 23 for download-addon.php


Ignore:
Timestamp:
Oct 5, 2008, 5:48:01 PM (16 years ago)
Author:
maron
Message:

Oprava odkazů

File:
1 edited

Legend:

Unmodified
Added
Removed
  • download-addon.php

    r14 r23  
    33  include('includes/global.php');
    44
    5   $exe_http_filename = 'http://wow.zdechov.net:81/Instalace-CZWoW-1.0.exe';
    6   $exe_torrent_filename = 'http://wow.zdechov.net:6969/file?info_hash=%ED%F31d%DC%FE%84%04F%91K%FC%00%D7%1E%F6m%D0%3F%A6';
    7   $zip_http_filename = 'http://wow.zdechov.net:81/CzWoW-1.0.zip';
    8   $zip_torrent_filename = 'http://wow.zdechov.net:6969/file?info_hash=1%D3%288%5B%F7%D3%9C%E7%C5%96i%40%CC%17%F8%B5%8A_%B5';
     5  $exe_http_filename = 'http://wow.zdechov.net:81/Instalace-CzWoW-1.1.exe';
     6  $exe_torrent_filename = 'http://wow.zdechov.net:6969/file?info_hash=%1Fs%93%C2%96QR%A2%5E%C7%20%8F%B8%F5%5Bl%22%8E%E5%E2';
     7  $zip_http_filename = 'http://wow.zdechov.net:81/CzWoW-1.1.zip';
     8  $zip_torrent_filename = 'http://wow.zdechov.net:6969/file?info_hash=%CA%8BawD%A7k%3F%ECt%40%A8r%D7W%98%D8Y%9B%08';
    99
    10   if (array_key_exists('zip', $_POST)) {
     10  if (array_key_exists('zip', $_GET)) {
    1111      echo '
    1212        <script type="text/javascript" language="JavaScript" charset="iso-8859-2">
    1313            setTimeout("parent.location.href=\''.$zip_http_filename.'\'",1000)
    1414        </script>';
     15        echo 'Stahování souboru zip';
    1516  } else {
     17    if (array_key_exists('torrent', $_GET)) {
     18      echo '
     19        <script type="text/javascript" language="JavaScript" charset="iso-8859-2">
     20            setTimeout("parent.location.href=\''.$exe_torrent_filename.'\'",1000)
     21        </script>';
     22        echo 'Stahování souboru torret';
     23    } else {
    1624      echo '
    1725        <script type="text/javascript" language="JavaScript" charset="iso-8859-2">
    1826            setTimeout("parent.location.href=\''.$exe_http_filename.'\'",1000)
    1927        </script>';
     28        echo 'Stahování souboru exe';
     29    }
    2030  }
    2131 
Note: See TracChangeset for help on using the changeset viewer.