Jump to content

php includes


wezze

Recommended Posts

I just started to use the include code i made my index page

 

<!doctype html>
<html lang="en">
<head>
<title>Mc Bevers nl</title>
<meta name="keywords" content=" " />
<meta name="description" content=" " />
<meta charset="utf-8" />
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<!--[if IE]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<!--<link rel="stylesheet" type="text/css" href="css/styles.css" />-->
<!--<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="script.js"></script>-->
<!--lightbox-->
<script type="text/javascript" src="lightbox/js/prototype.js"></script>
<script type="text/javascript" src="lightbox/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="lightbox/js/lightbox.js"></script>
<link rel="stylesheet" href="lightbox/css/lightbox.css" type="text/css" media="screen">
<!--end lightbox-->
</head>
<body>
<div id="wrapper">
<nav>
	<ul class="lang"><?php include("includes/lang_nl.php"); ?></ul>		
        <ul class="menu"><?php include("includes/menu_nl.php"); ?></ul>
</nav>
	<header>
        	<h1><a title="html5 template" href="index_nl.php">Mc Bevers</a></h1>
        </header>
	<section id="main" class="clearfix">
	<section id="content">
		<article>
                <img alt="Logo" src="../images/Logo.jpg" /></a>
            </article>
            <article><?php include("includes/article1_nl.php"); ?></article>
        </section>
            <aside id="sidebar">
                <h3>Links</h3>
                <ul class="clearfix"><?php include("includes/side_menu_nl.php"); ?></ul>
		</aside>
       </section>
<footer>
	<section id="footertop">
            <aside class="footer-column"><?php include("includes/footercolum1_nl_info.php"); ?></aside>
            <aside class="footer-column"><?php include("includes/footercolum2_nl_info.php"); ?></aside>
	</section>
        <!--<section id="copyright"></section>-->
        <section id="banners">
		<ul class="banners"><?php include("includes/sponsor1_nl.php"); ?></ul>
	</section>
<br>
	<section id="templatecopy"><?php include("includes/templatecopy.php"); ?></section>
    </footer>
</div>
</body>
</html>

 

made the include pages but my menu doesnt work if i click it i get <--The requested URL /test/test/leden_nl_p1.php was not found on this server.-->

this is the code of the menu

 

<li><a title="home" href="../index_nl.php">Home</a></li>
<li><a title="Leden" href="../leden_nl_p1.php">Leden</a></li>
<li><a title="Album" href="../album_nl.php">Album</a></li>
<li><a title="Kalender" href="../kalender_nl.php">Kalender</a></li>
<li><a title="Contact" href="../contact_nl.php">Contact</a></li>

 

the include files are in a folder includes and everything is .php

any ideas what im doing wrong here?

 

thx

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.