Results 11 to 13 of 13
-
4th Aug 2011, 11:58 AM #11OPMember
Hey, guys, i learned a lot of html & css yesterday, but have much problem ^^
here the index.php code :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title> Bypass Megavideo </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" media="screen" type="text/css" title="design" href="design.css" />
</head>
<body>
<form method="post" class="block">
<input type="text" name="url" value="" style="width: 600px" style="height: 100px" class="bar">
<form action="post">
<input type="image" src="play.jpg" class="bouton">
</form>
<br />
<p>
<h3 class="exemple">ex - http://megavideo.com/?v=4R2Y3TWF</h3>
</p>
<br />
<br />
<br />
<?php
// Overridable defines
define('SITE_URL',"http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']).'/');
if(isset($_POST['url']))
{
include('curl.php');
include('megavideo.php');
include('config.php');
$tube = new megavideo();
$tube->init($username, $password);
$download_link = $tube->get($_POST['url']);
if($download_link) {
preg_match('%megavideo\.com/\?v=([A-Z0-9]+)%',$_POST['url'],$match);
//$remoteLink = urldecode($download_link.'video.flv&type=flv');
$streamLink = urlencode(SITE_URL.'stream.php?url='.base64_encode ($download_link).'&type=flv');
$streamDownloadLink = SITE_URL.'stream.php?url='.base64_encode($download _link);
?>
<a class="url" href="<?=$streamDownloadLink;?>"><?=$streamDownloa dLink;?></a>
<br />
<embed class="lecteur" name="player1" id="player1"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
width="500" height="400"
bgcolor="#FFFFFF"
src="player.swf"
allowfullscreen="true"
allowscriptaccess="always"
flashvars="file=<?=urlencode($streamLink);?>&f rontcolor=100000&backcolor=ffffff&fullscre en=true">
</embed>
<?php } else { ?>
Error locating download URL.
<?php }
}
?>
</head>
</body>
</html>
And the CSS ^^
.exemple
{
font-size: 18px; /* la taille d epolice est de 18px */
text-align: center; /* ont aligne le text */
}
body
{
background-image: url("first.jpg"); /* Ont charge le background */
background-position: top; /* Le fond est align? au centre */
background-repeat : no-repeat;
}
.block
{
margin-top: 220px;
margin-right: 100px;
margin-bottom: 15px;
margin-left: 585px;
}
.bar
{
height: 70px;
}
with this code, i cant move play logo"butoon" without move url bar
here a screen on google chrome :
and on firefox :
how i can fix it, i think the <form is the cause, i cant move one without others... thanks
-
4th Aug 2011, 07:32 PM #12OPMember
nobody
?
-
4th Aug 2011, 07:55 PM #13Member
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
html and css help
By tractor3231 in forum Web Development AreaReplies: 7Last Post: 5th Sep 2011, 08:42 AM -
PSD to HTML
By ddlshack in forum Graphics AreaReplies: 1Last Post: 26th May 2011, 11:07 AM -
PSD to PHP/HTML?
By .:Jamie:. in forum Web Development AreaReplies: 8Last Post: 1st Mar 2011, 08:17 AM -
(X)HTML, CSS slicing (6 years experience) | PSD to (X)HTML and CSS | Professional job
By Wamer in forum Completed TransactionsReplies: 8Last Post: 21st Jul 2010, 06:13 PM -
HTML help
By n4pst3r in forum Server ManagementReplies: 5Last Post: 30th Mar 2010, 09:38 AM
themaLeecher - leech and manage...
Version 5.05 released. Open older version (or...