<title>Twitter Background Grabber by Rick35</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<style>
body {
font-family: "Segoe UI", "Segoe UI Web Regular", "Helvetica Neue", "BBAlpha Sans", "S60 Sans", Arial, "sans-serif";
font-size: 100%;
color: #212121;
};
input {
width: 18.544em;
padding: 4px 8px;
font-family: "Segoe UI", "Segoe UI Web Regular", "Helvetica Neue", "BBAlpha Sans", "S60 Sans", Arial, "sans-serif";
font-size: 100%;
color: #212121;
border: 1px solid rgba(0, 0, 0, 0.27);
}
</style>
<?php
/* Twitter Background Grabber */
$kullaniciadi = $_POST["username"];
echo "<center><h2>Kullanıcı adını yazıp enter'a basınız!</h2>";
echo "<form action='grabber.php' name='bgrabber' method='POST'>";
echo "<input type='text' name='username' />";
echo "</form>";
if ($kullaniciadi == "") {
} else {
$tivitirapi = 'http://twitter.com/users/show/' . $kullaniciadi;
$xml = file_get_contents ( $tivitirapi );
$profil = new SimpleXMLElement ( $xml );
$background = $profil->profile_background_image_url;
echo "<style> body {background:url($background) } </style>";
echo "<body>";
echo "<a href='$background'>İndirmek için tıklayın!</a>";
echo "</body><br/><span style='font-size:10px;'>project by rick35</span></center>";
}
?>