Jump to content

[SOLVED] Pages not loading


TGWSE_GY

Recommended Posts

Ok I have my index.php file

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="view.css" media="all">

</head>

<body>
<table id="content" align="center" width="750" height="100%" cellspacing="0" cellpadding="0">
<tr valign="top">
    	<td align="left" width="200" bgcolor="#FFFFFF">
        <br />
        <br />
        <br />
    		<a href="index.php?section=home">Edit Home</a><br /><hr />
            <a href="index.php?section=locations">Edit Locations</a><br /><hr />
            <a href="index.php?section=accommodations">Edit Accommodations</a><br /><hr />
            <a href="index.php?section=reservations">Edit Reservations</a><br /><hr />
            <a href="index.php?section=restaurant">Edit Restaurant</a><br /><hr />
            <a href="index.php?section=201">Edit Room 201</a><br /><hr />
            <a href="index.php?section=202">Edit Room 202</a><br /><hr />
            <a href="index.php?section=203">Edit Room 203</a><br /><hr />
            <a href="index.php?section=204">Edit Room 204</a><br /><hr />
            <a href="index.php?section=205">Edit Room 205</a><br /><hr />
            <a href="index.php?section=206">Edit Room 206</a><br /><hr />
            <a href="index.php?section=207">Edit Room 207</a><br /><hr />
            <a href="index.php?section=301">Edit Room 301</a><br /><hr />
            <a href="index.php?section=302">Edit Room 302</a><br /><hr />
            <a href="index.php?section=303">Edit Room 303</a><br /><hr />
            <a href="index.php?section=304">Edit Room 304</a><br /><hr />
            <a href="index.php?section=305">Edit Room 305</a>
            
      </td>
        <td align="center">
        	<?php include('contcond.php'); ?>
        </td>
   	</tr>
</table>
</body>
</html>

 

Then I have contcond.php

 

<?php

$section = "1"; 
if (isset($_GET['section'])) {
$section = $_GET['section'];
}

if($section="home"){
	include('home.php');
}elseif($section="locations"){
	include('locations.php');
}elseif($section="accommodations"){
	include('accommodations.php');
}elseif($section="reservations"){
	include('reservations.php');
}elseif($section="restaurant"){
	include('restaurant.php');
}elseif($section="201"){
	include('rooms.php');
}elseif($section="202"){
	include('rooms.php');
}elseif($section="203"){
	include('rooms.php');
}elseif($section="204"){
	include('rooms.php');
}elseif($section="205"){
	include('rooms.php');
}elseif($section="206"){
	include('rooms.php');
}elseif($section="207"){
	include('rooms.php');
}elseif($section="301"){
	include('rooms.php');
}elseif($section="302"){
	include('rooms.php');
}elseif($section="303"){
	include('rooms.php');
}elseif($section="304"){
	include('rooms.php');
}elseif($section="305"){
	include('rooms.php');
}else{
	include('welcome.php');
}

?>

 

Here is a link to it

http://www.innonmainmanasquan.com/admin/index.php

 

Its not reloading the pages based off of the section it is just going to home.php no matter what. This is driving me absolutly nuts because I have done this 100's of times before and it has never not worked. Can someone point me in the right direction to what the issue could be.

 

Thanks

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.