Location: PHPKode > projects > rapidshareBot > rapidsharebot/downloadgo1.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Download it.</title>
<link href="style.css" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico">
<link href="feed.php" rel="alternate" type="application/rss+xml" title="Free Downloads - <?php echo $_SERVER['SERVER_NAME']; ?>" />

</head>

<body>
<A href="http://freephpwebscripts.appspot.com/rapidsharebot.html" class='t' style="float:right;color:red;" title="Make money hosting your own download site for free." target="_blank"><blink>Make money.</blink></A>
<br/><center><a href="./"><img src="img/logo.jpg" border="0" alt="free full version downloads <?php echo $_SERVER['SERVER_NAME']; ?>"></a></center>

<script>
function form_validate(formName){
    if( (eval("document."+formName+".q.value") == ""))
    {
        alert("Please enter the some search term/s.");
        return false;
    }
  }
</script>
<table class="lnav" cellpadding="5" cellspacing="0">
<tbody><tr>
<td></a></td>
<td>
<form name="search" id="search" action="search.php" method="get" onsubmit="return form_validate('search');">
<table cellpadding="3" cellspacing="0">
<tbody><tr>
<td>&nbsp;&nbsp;<input name="q" class="input_text" size="26" maxlength="512" value="" style="height:30px;width:500px;font-size:23px"></td>
<td><input id="fj" class="input_submit" value="   Search   " type="submit" style="color:#1558AF;font-size:20px;height:35;width:130;"></td>
<td><!--<a href="/advanced_search?q={{ query }}&amp;l={{ where }}">Advanced Search</a>--></td>
</tr>
<tr valign="top">
<td class="label">&nbsp;&nbsp;&nbsp;&nbsp;<b>What:</b> Your Search Terms.</td>
</tr>
</tbody></table>
</form>
</td>
</tr>
</tbody></table>
<h1>Direct Download links...</h1>
<div style="background: #f3f3f3;padding: 10px;">
<?php
include('functions.inc.php');
if ( !isset($_POST['id']) || $_POST['id'] == ''){
header("Location: index.php");
exit;
}

if ( isset($_POST['id']) ){
$filestube_url = base64_decode( urldecode($_POST['id']));
if( $_SERVER['SERVER_NAME'] == 'localhost.com'){
$filestube_url = 'http://mbit.tk/lab/php-download-script/html/Make-Magazine-Volume-32-2012.html';
//$filestube_url = 'html/sexy-milf-fuck-boy.html';
}
$html = fetch_url($filestube_url, 'http://google.com/');
if($html){
$html = str_get_html($html);
echo "<br/><br/><br/><br/><br/><center>";
$links = $html->find('pre[id=copy_paste_links]', 0);
if($links){
echo nl2br(make_clickable_url($links->innertext, $title = ''));
}else{
echo $html->find('a[class=gobut]', 1)->outertext;
}
echo "</center>";
}else echo "Can't retrieve download links, please try again after some time.";
 }
?>

<br/><br/><br/><br/>
</div>
<h1></h1>
<?php include "footer.html"; ?>
</body>
</html>
Return current item: rapidshareBot