E
Efchen
Guest
Er lädt die index.php und das Hintergrundbild wechselt.@efchen: Was passiert da bei dir?
Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Er lädt die index.php und das Hintergrundbild wechselt.@efchen: Was passiert da bei dir?
<head>
<title>Testseite</title>
<link rel="STYLESHEET" type="text/css" />
<style type="text/css">
@import url("css/define.css");
BODY {
background-image: url("/bg2.jpg");
background-repeat: no-repeat;
width:1024px;height:683px;
}
</style>
</head>
<body style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">
<div id="main">
<div id="head">
</div>
<div id="menue2">
<p>
<br />
<a href="arbeit.html"> <img style="border: 0pt none ;" src="/Buttons/Arbeit.gif" onmouseover="this.src = '/effekt/Arbeit.gif'" onmouseout="this.src = '/Buttons/Arbeit.gif'" alt="Arbeit" border="0" /></a>
<a href="lebenslauf.html"><img style="border: 0pt none ;" src="/Buttons/Lebenslauf.gif" onmouseover="this.src = '/effekt/Lebenslauf.gif'" onmouseout="this.src = '/Buttons/Lebenslauf.gif'" alt="Lebenslauf" border="0" /></a><br />
<a href="galerie.html"><img style="border: 0pt none ;" src="/Buttons/Galerie.gif" onmouseover="this.src = '/effekt/Galerie.gif'" onmouseout="this.src = '/Buttons/Galerie.gif'" alt="Galerie" border="0" /></a><br />
<a href="kontakt.html"><img style="border: 0pt none ;" src="/Buttons/Kontakt.gif" onmouseover="this.src = '/effekt/Kontakt.gif'" onmouseout="this.src = '/Buttons/Kontakt.gif'" alt="text" border="0" /></a><br />
<a href="gaestebuch.html"><img style="border: 0pt none ;" src="/Buttons/Gaestebuch.gif" onmouseover="this.src = '/effekt/Gaestebuch.gif'" onmouseout="this.src = '/Buttons/Gaestebuch.gif'" alt="text" border="0" /></a></p>
<a href="impressum.html"><img style="border: 0pt none ;" src="/Buttons/Impressum.gif" onmouseover="this.src = '/effekt/Impressum.gif'" onmouseout="this.src = '/Buttons/Impressum.gif'" alt="text" border="0" /></a>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br />
</p>
</div>
<div id="content">
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br />
</p>
<p><?php include('/gb/index.php'); ?>
</p>
</div>
</div>
<script type="text/javascript">
<!--
var a_vars = Array();
var pagename='';
var phpmyvisitesSite = 1;
var phpmyvisitesURL = "http://zaehler.kilian-photoart.net/phpmyvisites.php";
//-->
</script>
<script language="javascript" src="http://zaehler.kilian-photoart.net/phpmyvisites.js" type="text/javascript"></script>
<noscript><p>phpMyVisites : Ein Open Source-Website-Statistikprogramm in PHP/MySQL veröffentlicht unter der GNU/GPL.
<img src="http://zaehler.kilian-photoart.net/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript></a>
<!-- /phpmyvisites -->
</body>
</html>
<?php include('/gb/index.php'); ?>
<a href="/gb/index.php">
<img src="/Buttons/Gaestebuch.gif" alt="" />
</a>
<?php include('/gb/index.php'); ?>
<div id="main">
<?php include("pfad/zum/gaestebuch"); ?>
</div>
Ich glaube es ist nicht zu viel verlangt, sich das durchzulesen, zumal seit dem (bis auf zwei) keine richtigen Antworten sondern nur Zwischenfragen gestellt wurden, die sich darauf bezogen, ich habe nicht gründlich genug geschildert, was mein Anliegen sei...Ich versuche grade für einen Freund eine Webseite zu erstellen. Dort wollte ich in einem CSS-Container ein Gästebuch darstellen(welches ich nicht selber Programmiert habe). Was ja anscheinend mit dem PHP include() funktioniert...
Hier also die index.php:
Zitat:
<head>
<title>Testseite</title>
<link rel="STYLESHEET" type="text/css" />
<style type="text/css">
@import url("css/define.css");
BODY {
background-image: url("/bg2.jpg");
background-repeat: no-repeat;
width:1024px;height:683px;
}
</style>
</head>
<body style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">
<div id="main">
<div id="head">
</div>
<div id="menue2">
<p>
<br />
<a href="arbeit.html"> <img style="border: 0pt none ;" src="/Buttons/Arbeit.gif" onmouseover="this.src = '/effekt/Arbeit.gif'" onmouseout="this.src = '/Buttons/Arbeit.gif'" alt="Arbeit" border="0" /></a>
<a href="lebenslauf.html"><img style="border: 0pt none ;" src="/Buttons/Lebenslauf.gif" onmouseover="this.src = '/effekt/Lebenslauf.gif'" onmouseout="this.src = '/Buttons/Lebenslauf.gif'" alt="Lebenslauf" border="0" /></a><br />
<a href="galerie.html"><img style="border: 0pt none ;" src="/Buttons/Galerie.gif" onmouseover="this.src = '/effekt/Galerie.gif'" onmouseout="this.src = '/Buttons/Galerie.gif'" alt="Galerie" border="0" /></a><br />
<a href="kontakt.html"><img style="border: 0pt none ;" src="/Buttons/Kontakt.gif" onmouseover="this.src = '/effekt/Kontakt.gif'" onmouseout="this.src = '/Buttons/Kontakt.gif'" alt="text" border="0" /></a><br />
<a href="gaestebuch.html"><img style="border: 0pt none ;" src="/Buttons/Gaestebuch.gif" onmouseover="this.src = '/effekt/Gaestebuch.gif'" onmouseout="this.src = '/Buttons/Gaestebuch.gif'" alt="text" border="0" /></a></p>
<a href="impressum.html"><img style="border: 0pt none ;" src="/Buttons/Impressum.gif" onmouseover="this.src = '/effekt/Impressum.gif'" onmouseout="this.src = '/Buttons/Impressum.gif'" alt="text" border="0" /></a>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br />
</p>
</div>
<div id="content">
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p><br />
</p>
<p><?php include('/gb/index.php'); ?>
</p>
</div>
</div>
<script type="text/javascript">
<!--
var a_vars = Array();
var pagename='';
var phpmyvisitesSite = 1;
var phpmyvisitesURL = "http://zaehler.kilian-photoart.net/phpmyvisites.php";
//-->
</script>
<script language="javascript" src="http://zaehler.kilian-photoart.net/phpmyvisites.js" type="text/javascript"></script>
<noscript><p>phpMyVisites : Ein Open Source-Website-Statistikprogramm in PHP/MySQL veröffentlicht unter der GNU/GPL.
<img src="http://zaehler.kilian-photoart.net/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript></a>
<!-- /phpmyvisites -->
</body>
</html>
Als Gästebuch habe ich das von Mathias Possinke benutzt.
<ul>
<li><a href="deinedatei.htm/html/php"> TEXT </a> </li>
<li><a href="deinedatei.htm/html/php"> TEXT </a> </li>
...
</ul>
<?php include('/gb/index.php'); ?>
Nun funktioniert es zwar noch nicht, aber es kommt immerhin eine Fehlermeldung...(siehe Fotoseite von Kilian Kottmeier, Fotograf in Stuttgart)<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="de" xmlns="http://www.w3.org/1999/xhtml" lang="de-de">
<head>
<title>Testseite</title>
<link rel="STYLESHEET" type="text/css" />
<style type="text/css">
@import url("css/define.css");
BODY {
background-image: url("/bg2.jpg");
background-repeat: no-repeat;
width:1024px;height:683px;
}
</style>
</head>
<body style="color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);">
<div id="main">
<?php include('gb/index.php'); ?>
<div id="head">
</div>
<div id="menue2">
<a href="arbeit.html"> <img style="border: 0pt none ;" src="/Buttons/Arbeit.gif" onmouseover="this.src = '/effekt/Arbeit.gif'" onmouseout="this.src = '/Buttons/Arbeit.gif'" alt="Arbeit" border="0" /></a>
<a href="lebenslauf.html"><img style="border: 0pt none ;" src="/Buttons/Lebenslauf.gif" onmouseover="this.src = '/effekt/Lebenslauf.gif'" onmouseout="this.src = '/Buttons/Lebenslauf.gif'" alt="Lebenslauf" border="0" /></a><br />
<a href="galerie.html"><img style="border: 0pt none ;" src="/Buttons/Galerie.gif" onmouseover="this.src = '/effekt/Galerie.gif'" onmouseout="this.src = '/Buttons/Galerie.gif'" alt="Galerie" border="0" /></a><br />
<a href="kontakt.html"><img style="border: 0pt none ;" src="/Buttons/Kontakt.gif" onmouseover="this.src = '/effekt/Kontakt.gif'" onmouseout="this.src = '/Buttons/Kontakt.gif'" alt="text" border="0" /></a><br />
<a href="index.php"><img style="border: 0pt none ;" src="/Buttons/Gaestebuch.gif" onmouseover="this.src = '/effekt/Gaestebuch.gif'" onmouseout="this.src = '/Buttons/Gaestebuch.gif'" alt="text" border="0" /></a></p>
<a href="impressum.html"><img style="border: 0pt none ;" src="/Buttons/Impressum.gif" onmouseover="this.src = '/effekt/Impressum.gif'" onmouseout="this.src = '/Buttons/Impressum.gif'" alt="text" border="0" /></a>
</div>
<div id="content">
</div>
</div>
<script type="text/javascript">
<!--
var a_vars = Array();
var pagename='';
var phpmyvisitesSite = 1;
var phpmyvisitesURL = "http://zaehler.kilian-photoart.net/phpmyvisites.php";
//-->
</script>
<script language="javascript" src="http://zaehler.kilian-photoart.net/phpmyvisites.js" type="text/javascript"></script>
<noscript><p>phpMyVisites : Ein Open Source-Website-Statistikprogramm in PHP/MySQL veröffentlicht unter der GNU/GPL.
<img src="http://zaehler.kilian-photoart.net/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript></a>
<!-- /phpmyvisites -->
</body>
</html>
Indexseite schrieb:<?php include('gb/index.php'); ?>
Fehlermeldung schrieb:Fatal error: Call to undefined function: style() in /homepages/1/d255956502/htdocs/gb/index.php on line 12