- <!-- API KEY FOR http://qfi.im TAKEN FROM https://github.com/terabytest/qfi.im/ -->
- <?php
- function queryRemTime($service)
- {
- $baseUrl = "http://api.rapidgen.net/api/?api_key=t8grS68fvwMnHEEV6c1VPNQ1GLAw14&sub=getbw_remain&filehost=%s";
- if($resultJ['status'] == 'OK')
- return $resultJ['data'];
- else
- return NULL;
- }
- function makeServiceString($service)
- {
- /*$cUrl = curl_init();
- curl_setopt($cUrl, CURLOPT_URL, sprintf($baseUrl, $service));
- curl_setopt($cUrl, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($cUrl, CURLOPT_CONNECTTIMEOUT, 20);
- $result = curl_exec($cUrl);
- curl_close($cUrl);
- $resultJ = json_decode($result, true);*/
- {
- if($useJson != NULL)
- {
- //if($useJson['last']//-time ...
- {
- }
- else
- {
- $remData = queryRemTime($service);
- if($remData != NULL)
- $useJson[$service] = $remData;
- }
- }
- }
- /*if($resultJ['status'] == 'OK')
- {
- $quantity = $resultJ['data'];
- $quantity = $quantity / 1000000000;
- print round($quantity, 2) . "GB left" . "</li>";
- }*/
- }
- ?>
- <!DOCTYPE HTML>
- <html>
- <head>
- <meta charset="utf8">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="description" content="A premium link generator for sites like megaupload. No wait times.">
- <meta name="keywords" content="premium link generator, no wait times, qfi.im, quickfire, premium, fast download, file sharing, megaupload, rapidshare, hotfile, filefactory, depositfiles, uploading, easyshare, fileserve, filesonic, megashares, netload, duckload, oron">
- <title>qfi.im</title>
- <link rel="stylesheet" type="text/css" href="style/main.css" />
- <?php /*
- <style type="text/css">
- <?php
- $digits = array('8', '9', 'A', 'B', 'C', 'D', 'E', 'F');
- $dcolor = "#";
- for($i = 0; $i < 6; $i++ )
- {
- $dcolor = $dcolor . $digits[array_rand($digits)];
- }
- echo ".dominantcol { color:" . $dcolor . "; }\n";
- ?>
- </style>
- */?>
- </head>
- <body id="home">
- <div id="mt_wrapper">
- <div id="mt_container">
- <div id="mt_cblock">
- <div id="mt_block">
- <div id="header">
- <h2 class="title"><span id="title_gen" class="dominantcol">qfi</span>.im</h2>
- <h1 class="titletag">Premium link generator</h1>
- <a class="i_link h_link dominantcol donatelink" id="donate" href="javascript:void(0);">Donate</a>
- <a class="i_link h_link fback" href="javascript:void(0);">Feedback</a>
- <a class="i_link h_link" id="faq" href="javascript:void(0);">FAQ</a>
- <a class="i_link h_link" id="available" href="javascript:void(0);">Available services</a>
- </div>
- <div id="body">
- <form id="link_form">
- <textarea spellcheck="false" class="font_small lighter_text q_text" id="link_text"></textarea>
- <input class="font_small q_sub" type="submit" id="link_sub" value="Submit" />
- </form>
- </div>
- <div id="fbox_container">
- <div class="fbox" id="available_box">
- <div class="stemcontainer">
- <canvas id="bstem1" width="31" height="38"></canvas>
- </div>
- <div class="bubble dominantbg">
- <p>
- <strong>Available Services</strong> <a href="javascript:void(0);" class="closecross" id="closeavailable">x</a><br>
- </p>
- <div class="fleft">
- <ul class="servicelist">
- <?php makeServiceString('rapidshare') ?>
- <?php makeServiceString('megaupload') ?>
- <?php makeServiceString('megavideo') ?>
- <?php makeServiceString('hotfile') ?>
- <?php makeServiceString('filefactory') ?>
- <?php makeServiceString('depositfiles') ?>
- <?php makeServiceString('uploading') ?>
- </ul>
- </div>
- <div class="fright">
- <ul class="servicelist">
- <?php makeServiceString('easyshare') ?>
- <?php makeServiceString('fileserve') ?>
- <?php makeServiceString('filesonic') ?>
- <?php makeServiceString('megashares') ?>
- <?php makeServiceString('netload') ?>
- <?php makeServiceString('duckload') ?>
- <?php makeServiceString('oron') ?>
- </ul>
- </div>
- <div style="clear:both; padding-top:10px;">
- <p>If any of these is unavailable, try again in 24h.</p>
- </div>
- </div>
- </div>
- <div class="fbox" id="faq_box">
- <div class="stemcontainer">
- <canvas id="bstem2" width="31" height="38"></canvas>
- </div>
- <div class="bubble dominantbg">
- <p>
- <strong>FAQ</strong> <a href="javascript:void(0);" class="closecross" id="closefaq">x</a><br>
- <strong>Q: Why in the hell should I use qfi.im?</strong><br>
- A: Because it's free, and will stay free.<br><br>
- <strong>Q: Where's the advantage over other sites?</strong><br>
- A: You don't have to wait to download stuff!<br><br>
- <strong>Q: So... Where's the catch in this thing?</strong><br>
- A: No catch! But donate if you feel kind!<br><br>
- <strong>Q: I get errors when I submit my links.</strong><br>
- A: Check if they work and put http:// in front. Maybe try later.<br><br>
- <strong>Q: I want to tell you how much I love you.</strong><br>
- A: Click on <a class="i_link fback" href="javascript:void(0);">Feedback</a> and drop me a word!<br><br>
- <strong>Q: I want to donate by clicking on your ads.</strong><br>
- A: Don't. If you can't donate, then just spread the word.<br><br>
- </p>
- </div>
- </div>
- <div class="fbox" id="donate_box">
- <div class="stemcontainer">
- <canvas id="bstem3" width="31" height="38"></canvas>
- </div>
- <div class="bubble dominantbg">
- <p>
- <strong>Donate</strong> <a href="javascript:void(0);" class="closecross" id="closedonate">x</a><br>
- If you donate, you will help me keep qfi.im<br>free for you and for everyone who uses it!<br>
- If you use qfi.im a lot, show your support!
- </p>
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
- <input type="hidden" name="cmd" value="_s-xclick">
- <input type="hidden" name="hosted_button_id" value="P8R5VX35E42CJ">
- <input type="submit" name="submit" value="Donate to qfi.im!" class="donatebutton title">
- </form>
- <p>Your donation will make your name appear<br>written in red in the Donators Hall of Fame!</p>
- </div>
- </div>
- </div>
- </div>
- <div id="mt_slres">
- <div id="in_tbox_r">
- </div>
- <div id="in_tbox_l">
-
- </div>
- </div>
- <noscript>
- <div id="mt_nsblock" class="exblock">
- <strong class="dominantcol">Sorry, this website does not work on browsers with JavaScript disabled.<br>You can either enable JavaScript or leave.</strong>
- </div>
- </noscript>
- <div id="mt_rablock" class="exblock">
- <strong class="dominantcol">qfi.im needs your help!</strong> <a href="javascript:void(0);" class="closecross" id="closebar">x</a>
- <p class="tpar">As you may or may not know, qfi.im is <strong>completely</strong> free and runs solely on donations. Even though it's free to you, it still has a pretty high yearly cost. <a href="/thanks" title="Donators Hall of Fame">Many people have already donated</a>, but it's not enough for <strong>qfi.im</strong> to pay for itself.<br>Please, if you have some spare money and use <strong>qfi.im</strong> regularly, consider investing it into keeping qfi.im alive. <br><br><strong>Thank you!</strong><br>
- <!-- DONATE PLEASE *_* -->
- </p>
- <div class="sumcont">
- <div class="sumperc">
- <div class="sumtx">
- 370€
- </div>
- </div>
- <div class="sumtot">
- 500€
- </div>
- </div>
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
- <input type="hidden" name="cmd" value="_s-xclick">
- <input type="hidden" name="hosted_button_id" value="P8R5VX35E42CJ">
- <input type="submit" name="submit" value="Donate to qfi.im!" class="donatebutton title">
- </form>
- </div>
- <div id="mt_fback" class="exblock">
- <strong class="dominantcol">Drop me some Feedback:</strong>
- <div class="errorstring" id="f_errorstring"><strong class="dominantcol">Please fill all fields</strong></div>
- <div class="errorstring" id="f_errorstring2"><strong class="dominantcol">There was an error while sending your message. Please check your data and send again.</strong></div>
- <form id="fback_form">
- <label for="f_email" id="f_email_l" class="f_label">Your e-mail address:</label><input type="text" class="f_tinput font_small dark_text" id="f_email">
- <label for="f_name" id="f_name_l" class="f_label">Your name:</label><input type="text" class="f_tinput font_small dark_text" id="f_name">
- <label for="fback_text" id="fback_l" class="f_label">Your message:</label>
- <textarea class="font_small dark_text f_text" id="fback_text"></textarea>
- <input class="font_small q_sub" type="submit" id="fback_sub" value="Submit" />
- </form>
- </div>
- <div id="mt_ads" class="exblock">
- <a href="http://twitter.com/#!/qfi_dot_im"><strong>qfi.im on twitter:</strong></a>
- <ul id="mt_tweets">
- </ul>
- </div>
- <div id="mt_share" class="exblock">
- <div id="share_left">
- <p class="dominantcol important" >Please share!</p>
- <div id="share_fb">
- <iframe src="http://www.facebook.com/plugins/like.php?app_id=100406850052599&href=http%3A%2F%2Fqfi.im&send=false&layout=box_count&width=55&show_faces=false&action=like&colorscheme=light&font&height=90" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:55px; height:60px;" allowTransparency="true"></iframe>
- </div>
- <div id="share_twit">
- <a href="http://twitter.com/share" class="twitter-share-button" data-url="http://qfi.im/" data-text="Check out #qfi! Removes any wait times from sites like megaupload. And it's free!" data-count="vertical" data-via="qfi_dot_im">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
- </div>
- </div>
- <div id="share_right">
-
- </div>
- </div>
- <div id="mt_copyright">
- <p><a href="/whatthefuck">What The Fuck</a> | <a href="/thanks">Donators Hall of Fame</a>
- <br><br>
- <a href="http://qfi.im">qfi.im</a> © 2010-<?php echo date("Y");?> <a href="http://gabrielecirulli.com">Gabriele Cirulli</a>. All rights reserved.</p>
- </div>
- </div>
- </div>
- </div>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
- <script src="scripts/main.js"></script>
- <script src="scripts/canvas.js"></script>
- </body>
- </html>
API key for QFI.IM
Posted by Anonymous on Fri 1st Jul 2011 11:07
raw | new post
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.