blob: cf851e8aaeba0bbe0c827a2417d8bf8171f2f5b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
<?
include("include.php");
if(empty($_GET["task"])){
$videoID = start($yt);
include("print_index.php");
} else {
switch($_GET["task"]){
case("youtube"):
include("youtube.php");
break;
case("puush"):
include("puush.php");
break;
case("about"):
include("about.php");
break;
case("random"):
$array = array("youtube.php", "puush.php", "about.php", "lolrndm.php");
$site = mt_rand(0, count($array)-1);
include($array[$site]);
break;
default:
include("lolrndm.php");
break;
}
}
|