Menu in index

Overzicht Reageren

Sponsored by: Vacatures door Monsterboard

04/01/2005 11:46:00
Quote Anchor link
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
<?php
session_start();
error_reporting(E_ALL &~E_NOTICE);
if (isset($_SESSION["id"])) {
    include("config.php");
    include("Functies/functies.php");
    keepuseronline($_SESSION["username"]);

    ?>
<html>
<head>
<meta http-equiv = "Content-Type" content = "text/html; charset=iso-8859-1">
<title>>>Gang-War<<</title>
<style type = "text/css">
<!--
body,td,th {
color: #5388E4;
}
.style1 {color: #000000}
.style6 {
color: #000000;
font-weight: bold;
font-size: 36px;
}
-->
</style>
</head>
<body bgcolor = "#880000" topmargin = 0 bottommargin = 0 rightmargin = 0 leftmargin = 0>
<table border = "0" cellpadding = "0" cellspacing = "0" width = "1020" height = "546">
<!-- MSTableType="layout" -->
<tr>
<td valign = "top" background = "Pictures/schuinerandboven.JPG">
<!-- MSCellType="ContentHead" -->
<div align="center"><br>
&nbsp;
<br>
<span class="style6">
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
<?php echo gmdate('G:i', time());


    ?>
</span><br>
<br>
</div></td>
<td valign = "top" background = "ban.bmp">
<!-- MSCellType="ContentHead" -->
&nbsp;</td>

<td valign = "top" background = "ban.bmp" width = "51">
<!-- MSCellType="ContentHead" -->
<img border="0" src="" width="64" height="11"></td>

<td valign = "top" height = "115" width = "55" background = "">
<!-- MSCellType="ContentHead" -->
&nbsp;</td>
</tr>
<tr>
<td msopnltype = "NavBody" background = "">
<!-- MSCellType="NavBody" -->
<span class = "style1">&nbsp;<script type = "text/javascript" src = "Menu/fsmenu.js"></script> </span>
<link rel = "stylesheet" type = "text/css" href = "Menu/fsmenu.css"/>
<ul class = "menulist" id = "listMenuRoot"><br>
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
<?php include_once("menu.php");

    ?>
<script type = "text/javascript">
var listMenu = new FSMenu('listMenu', true, 'display', 'block', 'none');
listMenu.cssLitClass = 'highlighted';
var fsmOL = window.onload;
window.onload = function()
{
if (fsmOL)
fsmOL();
activateMenu("listMenu", "listMenuRoot");
}
function activateMenu(objName, id)
{
if (!isDOM)
return;
var a, ul, mRoot = getRef(id), nodes, count = 1;
var items = mRoot.getElementsByTagName('li');
for (var i = 0; i < items.length; i++)
{
nodes = items.childNodes;
if (!nodes)
continue;

a = ul = null;
if (nodes)
for (var n = 0; n < nodes.length; n++)
{
if (!nodes[n].nodeName || (nodes[n].nodeType != 1))
continue;

if (nodes[n].nodeName == 'A')
a = nodes[n];

if (nodes[n].nodeName == 'UL')
ul = nodes[n];
if (a && ul)
{
var menuID = objName + '-id-' + count++,
mOver = new Function(objName + '.show("' + menuID + '", this)'),
mOut = new Function(objName + '.hide("' + menuID + '")');
ul.setAttribute('id', menuID);

if (a.addEventListener)
{
a.addEventListener('mouseover', mOver, false);
a.addEventListener('mouseout', mOut, false);
}
else
{
a.onmouseover = mOver;
a.onmouseout = mOut;
}

var subI = document.createElement ? document.createElement('span') : 0;
if (subI)
{
subI.className = 'subind';
a.insertBefore(subI, a.firstChild);
}
}
}
}
}
</script>

<br><br></span></td>
<td valign = "top" height = "410" colspan = "3">
<!-- MSCellType="ContentBody" -->
&nbsp;
<iframe id="ifrm" width="650" height="500" name="ifrm" src="
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php if ($_GET["page"] == "zoeken") {
        echo "signup.php";
    }
elseif ($_GET["page"] == "nieuws") {
        echo "Admin/nieuws.php";
    }
elseif ($_GET["page"] == "online") {
        echo "Leden/online.php";
    }
elseif ($_GET["page"] == "crew") {
        echo "Crews/crew.php";
    }
elseif ($_GET["page"] == "crewmembers") {
        echo "Crews/crewmembers.php";
    }
elseif ($_GET["page"] == "inbox") {
        echo "Communicatie/inbox.php";
    }
elseif ($_GET["page"] == "mainforum") {
        echo "Communicatie/Mainforum/forumindex.php";
    }
elseif ($_GET["page"] == "ocforum") {
        echo "Communicatie/Ocforum/forumindex.php";
    }
elseif ($_GET["page"] == "send") {
        echo "Communicatie/sendmessage.php";
    }
elseif ($_GET["page"] == "home") {
        echo "Home/home.php";
    }
elseif ($_GET["page"] == "offtopicforum") {
        echo "Communicatie/Offtopicforum/forumindex.php";
    }
elseif ($_GET["page"] == "editmyprofile") {
        echo "Persoonlijk/myprofile.php";
    }
elseif ($_GET["page"] == "opgeslagen") {
        echo "Communicatie/savedinbox.php";
    }
elseif ($_GET["page"] == "regels") {
        echo "Home/regels.php";
    }
elseif ($_GET["page"] == "editfriends") {
        echo "Persoonlijk/editfriends.php";
    }
elseif ($_GET["page"] == "adminregels") {
        echo "Admin/regels.php";
    }
elseif ($_GET["page"] == "adminfaq") {
        echo "Admin/faq.php";
    }
elseif ($_GET["page"] == "faq") {
        echo "Home/faq.php";
    }
elseif ($_GET["page"] == "adminmainforum") {
        echo "Admin/Mainforum/forumindex.php";
    }
else {
        echo "ERROR/underconstruction.php";
    } ;


    ?>
"
scrolling="yes" width="780" height="400" frameborder="0"
frameborder = "0">
Uw browser support geen frames
</iframe>
</td>
</tr>
<tr>
<td msopnltype = "NavBody" width = "176" background = "Pictures/bannerrandonder.gif">
<!-- MSCellType="NavBody" -->
&nbsp;</td>

<td valign = "top" width = "618" background = "Pictures/bannerrandonder.gif">&nbsp;</td>
<td valign = "top" height = "21" background = "Pictures/schuinerandonder.JPG" colspan = "2">
<br>
<br>

&nbsp;</td>
</tr>
</table>
</body>
</html>
Code (php)
PHP script in nieuw venster Selecteer het PHP script
1
2
3
4
5
6
<?php
} else {
    header("location: index.php");
}


?>


Kunnen jullie hier nakijken ik moet aan de linker kant een menu hebben aan dat lukt mij niet
:(

Jesper
 
PHP hulp

PHP hulp

28/12/2024 06:02:06
 
Sjefke

sjefke

04/01/2005 14:59:00
Quote Anchor link
ik weet niet precies wat je bedoelt maja ik probeer het ff.
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr>
<td width=15%>dit is het linkse gedeelte</td>
<td width=70%>Dit is de content/middelstuk</td>
<td width=15%>rechter gedeelte</td>
</tr>
</table>

ik heb namelijk geen zin in heel die code na te kijken dus je knipt en plakt zelf dan maar ff:p
 



Overzicht Reageren

 
 

Om de gebruiksvriendelijkheid van onze website en diensten te optimaliseren maken wij gebruik van cookies. Deze cookies gebruiken wij voor functionaliteiten, analytische gegevens en marketing doeleinden. U vindt meer informatie in onze privacy statement.