• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

Bilder Array

Status
Für weitere Antworten geschlossen.

Maxi Ebel

Neues Mitglied
hey ich hab mal eine frage.

dießer code wird unter http://2freeride.de/Bilder.php verwendet.
funktioniert nicht ...

hoffe ihr könnt mir helfen:
HTML:
<?php
$bild = $_GET['id'];
?>
<FONT FACE="Arial"><FONT SIZE=2>
<?php
echo "<img style=\"border: 0px solid ; width: 670px; height: 503px;\" alt=\"\" src=\"http://2freeride.2f.funpic.de/Pics/$bild.png\">";
?>
<br>
<div style="position: absolute; overflow: no; color: rgb(0, 0, 0); height: 40px; width: 60px; top: 520px; left: 0px;">
<?php
$bildback = $bild-1;
echo "<a href=\"http://2freeride.de/Pics/bilder.php?id=$bildback\"><img style=\"border: 0px solid ; width: 60px; height: 40px;\" alt=\"\" src=\"http://2freeride.2f.funpic.de/Bilder/Links.png\"></a>";
?>
</div>
<div style="position: absolute; overflow: no; color: rgb(0, 0, 0); height: 40px; width: 60px; top: 520px; left: 610px;">
<?php
$bildnext = $bild+1;
echo "<a href=\"http://2freeride.de/Pics/bilder.php?id=$bildnext\"><img style=\"border: 0px solid ; width: 60px; height: 40px;\" alt=\"\" src=\"http://2freeride.2f.funpic.de/Bilder/Rechts.png\"></a>";
?>
</div>
<div style="position: absolute; overflow: no; color: rgb(0, 0, 0); height: 100px; width: 670px; top: 580px; left: 0px;">
<?php echo (file_get_contents('komentar$bild.txt'));
?>
</div>

Vielen Dank!
 
Zuletzt bearbeitet:
Sicher, dass da dieser Code drin ist? Weil außer die Navi und die Werbung seh ich gar nix. Auch nicht im Source!
 
hmm

des is voll seltsam...:?
weil der schneidet noch mehr ab da kommt nurmalerweiße noch ein Bachground auf des und der is mit Html und funktioniert auch überall anders kann des was mit zu tun haben dass ich die uhrsprüngliche html datei im *.php umbenannt hab ?

Der komplette Quellcode:
HTML:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html style="direction: ltr;" lang="de-de">
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title>2freeride - Dein Bikemagazin</title>

  <style type="text/css">
body { scrollbar-arrow-color: #000000;
scrollbar-base-color: #000000;
scrollbar-track-color: #C0C0C0;
scrollbar-face-color: #C0C0C0;
scrollbar-highlight-color: #808080;
scrollbar-3dlight-color: #808080;
scrollbar-darkshadow-color: #C0C0C0;
scrollbar-shadow-color: #808080;
} </style>
<link rel="shortcut icon" href="http://2freeride.de/favicon.png" /> 
</head>

<body style="background-color: rgb(142, 142, 142); background-image: url(http://2freeride.2f.funpic.de/Bilder/Hindergrund_4); color: rgb(0, 0, 0);" alink="#000000" link="#000000" vlink="#000000">
<!-- TEXTFELD ANFANG -->
<div style="position: absolute; overflow: no; color: rgb(0, 0, 0); left: 195px; width: 700px; top: 125px; height: 700px;">
     <div style="background-image:url(http://2freeride.2f.funpic.de/Bilder/Bilder01.png); position: absolute; overflow: no; color: rgb(0, 0, 0); left: 0px; height: 1470px; width: 700px; top: 10px;">
         <div style="position: absolute; overflow: no; color: rgb(0, 0, 0); height: 650px; width: 670px; top: 35px; left: 15px;">
            <?php
            $bild = $_GET['id'];
            ?>
            <FONT FACE="Arial"><FONT SIZE=2>
            <?php
            echo "<img style=\"border: 0px solid ; width: 670px; height: 503px;\" alt=\"\" src=\"http://2freeride.2f.funpic.de/Pics/$bild.png\">";
            ?>
            <br>
           <div style="position: absolute; overflow: no; color: rgb(0, 0, 0); height: 40px; width: 60px; top: 520px; left: 0px;">
            <?php
            $bildback = $bild-1;
            echo "<a href=\"http://2freeride.de/Pics/bilder.php?id=$bildback\"><img style=\"border: 0px solid ; width: 60px; height: 40px;\" alt=\"\" src=\"http://2freeride.2f.funpic.de/Bilder/Links.png\"></a>";
            ?>
           </div>
           <div style="position: absolute; overflow: no; color: rgb(0, 0, 0); height: 40px; width: 60px; top: 520px; left: 610px;">
            <?php
            $bildnext = $bild+1;
            echo "<a href=\"http://2freeride.de/Pics/bilder.php?id=$bildnext\"><img style=\"border: 0px solid ; width: 60px; height: 40px;\" alt=\"\" src=\"http://2freeride.2f.funpic.de/Bilder/Rechts.png\"></a>";
            ?>
           </div>
         </div>
     </div>
</div>
<!-- TEXTFELD ENDE -->
<!-- NAVI ANFANG -->
<div style="position: absolute; overflow: auto; color: rgb(0, 0, 0); left: 25px; width: 143px; top: 85px; height: 650px;">
<a href="http://2freeride.de/index.php"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Startseite.png"></a><br>
<a href="http://2freeride.de/team.html"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Team.png"></a><br>
<a href="http://2freeride.de/bilder.php"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Bilder.gif"></a><br>
<a href="http://2freeride.de/videos.html"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Videos.png"></a><br>
<a href="http://2freeride.de/downloads.html"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Downloads.png"></a><br>
<a href="http://2freeride.de/events.html"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Events.png"></a><br>
<a href="http://2freeride.de/burning%20roads.html"><img style="border: 0px solid ; width: 140px; height: 21px;" alt="" src="http://2freeride.2f.funpic.de/Bilder/Burning%20Roads.png"></a><br>
</div>
<!-- NAVI ENDE -->
<!-- WERBUNG ANFANG -->
<div style="position: absolute; overflow: auto; color: rgb(0, 0, 0); height: 695px; width: 121px; top: 120px; left: 920px;">
<script type="text/javascript" src="http://www.sponsorads.de/script.php?s=61402"></script>
</div>
<script type="text/javascript" src="http://www.sponsorads.de/script.php?s=61527"></script>
<!-- WERBUNG ENDE -->
<noframes>
</body></noframes>
</html>
 
Probier mal deine Verlinkungen in allen <a> und <img> relativ statt absolut zu machen. Also überall das
http://2freeride.de/ weglassen.
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben