beh, a sto punto eliminiamo il banner e fine..
Codice PHP:
<?php
if(!isset($_GET['el'])) {
?>
<form action="?el=1" method="post">
nome link:
<input type="text" name="link_name">
indirizzo link:
<input type="text" name="link_address">
<input type="submit" value="elabora">
</form>
<?php
} else if ($_GET['el'] == 1) {
$header = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Euipagiamento</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Stile1 {
font-size: 24px;
font-weight: bold;
color: #FF0000;
}
.Stile2 {
font-size: No;
color: #000000;
}
}
.Stile3 {
font-size: 22px;
color: #000000;
}
body {
background-image: url([url="http://www.akiraweb.it/sfondi/fantasy/fantasy_2.jpg"]<a href="http://www.akiraweb.it/sfondi/fantasy/fantasy_2.jpg" target="_blank"><a href="http://www.akiraweb.it/sfondi/fantasy/fantasy_2.jpg" target="_blank">[url]http://www.akiraweb.it/sfondi/fantasy/fantasy_2.jpg[/url][/url]</a></a> );
}
-->
</style>
</head>
<body>
<div align="center" class="Stile2">
<p class="Stile1">Equipaggiamento
</p>
</p>
<p align="left" class="Stile3">Per un equipaggiamento come questo andate[url="http://crovaxcarlo.altervista.org"] qui[/url] e contattatemi! </p>
';
$footer =' <p align="left" class="Stile2"></p>
</div>
<div align="right" class="Stile2">
<p class="Stile1">Crovax
</p>
<center><script type="text/javascript">
var counter_style = 12;
</script>
<script type="text/javascript" src="http://www.altervista.org/js_tags/contatore.js"></script>
</center>
<center>[url="http://creativecommons.org/licenses/by-nc-nd/2.5/"][img]http://creativecommons.org/images/public/somerights20.png[/img][/url]
This work is licensed under a [url="http://creativecommons.org/licenses/by-nc-nd/2.5/"]Creative Commons Attribution-NonCommercial-NoDerivs 2.5 License[/url].<!-- <rdf:RDF xmlns="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<Work rdf:about="">
<license rdf:resource="http://creativecommons.org/licenses/by-nc-nd/2.5/" />
</Work>
<License rdf:about="http://creativecommons.org/licenses/by-nc-nd/2.5/"><permits rdf:resource="http://web.resource.org/cc/Reproduction"/><permits rdf:resource="http://web.resource.org/cc/Distribution"/><requires rdf:resource="http://web.resource.org/cc/Notice"/><requires rdf:resource="http://web.resource.org/cc/Attribution"/><prohibits rdf:resource="http://web.resource.org/cc/CommercialUse"/></License></rdf:RDF> --></center>
</body>
</html>';
$codice = "[url='".$_POST[']".$_POST['link_name']."[/url]
";
$text = "";
$text .= $header;
$text .= $codice;
$text .= $footer;
$url = "http://crovaxcarlo.altervista.org/equip/file.html";
if ($fp = fopen ($url, "w") {
fputs ($fp, $text);
fclose ($fp);
}
header ("Location: $url);
?>