This commit is contained in:
Pierre Rudloff 2015-04-11 22:08:24 +02:00
parent eeb506bdf7
commit 0b4e75547a
25 changed files with 276 additions and 331 deletions

View file

@ -12,53 +12,9 @@
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro
* */
require_once 'config.example.php';
@include_once 'config.php';
require_once 'common.php';
require 'head.php';
?>
<body>
<?php
require 'header.php';
?>
<div class="wrapper">
<div class="main">
<div><img itemprop="image" class="logo" src="img/logo.png"
alt="AllTube Download" width="328" height="284"></div>
<form action="api.php">
<label class="labelurl" for="url">
Copy here the URL of your video (Youtube, Dailymotion, etc.)
</label>
<div class="champs">
<span class="URLinput_wrapper">
<input class="URLinput" type="url" name="url" id="url"
required placeholder="http://website.com/video" />
</span>
<input class="downloadBtn" type="submit" value="Download" /><br/>
<?php
if (CONVERT) {
?>
<div class="mp3">
<p><input type="checkbox" id="audio" class="audio" name="audio">
<label for="audio"><span class="ui"></span>
Audio only (MP3)</label></p>
</div>
<?php
}
?>
</div>
</form>
<a class="combatiblelink" href="extractors.php">See all supported websites</a>
</div>
</div>
<?php
require 'footer.php';
?>
</body>
</html>
$smarty->assign('class', 'index');
$smarty->display('head.tpl');
$smarty->display('header.tpl');
$smarty->display('index.tpl');
$smarty->display('footer.tpl');