alltube/index.php

65 lines
1.6 KiB
PHP
Raw Normal View History

2014-03-13 19:07:56 +00:00
<?php
/**
* PHP web interface for youtube-dl (http://rg3.github.com/youtube-dl/)
* Index page
*
* PHP Version 5.3.10
*
* @category Youtube-dl
* @package Youtubedl
2015-01-07 09:47:46 +00:00
* @author Pierre Rudloff <contact@rudloff.pro>
2014-03-13 19:07:56 +00:00
* @author Olivier Haquette <contact@olivierhaquette.fr>
* @license GNU General Public License http://www.gnu.org/licenses/gpl.html
* @link http://rudloff.pro
* */
2015-04-10 20:00:47 +00:00
require_once 'config.example.php';
@include_once 'config.php';
2015-01-07 09:42:44 +00:00
require_once 'common.php';
2014-03-13 19:07:56 +00:00
require 'head.php';
?>
<body>
<?php
require 'header.php';
?>
<div class="wrapper">
<div class="main">
<h1><img itemprop="image" class="logo" src="img/logo.png"
alt="AllTube Download" width="328" height="284"></h1>
<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/>
2015-01-07 09:23:48 +00:00
<?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
}
?>
2014-03-13 19:07:56 +00:00
</div>
</form>
<a class="combatiblelink" href="extractors.php">See all supported websites</a>
</div>
</div>
<?php
require 'footer.php';
?>
</body>
</html>