I did have a
post from
earlier about
something like,
but please
reply to this
post with in 2
hours of this
post.
Ok my problem
is that i want
to use tables
in my website
to hold the
navigation bar
login for etc.
but when you
click on a link
to login or
register it
just reloads
the home page
and changes the
part of the
table the holds
the navbar into
the register
page.
If you don't
know what i
mean click Here to view what
i have done on
the home page.
this not like
my old website
where i wanted
to put the user
system in after
the website is
done i have a
site that got
me a good user
system but i
want to know
how to make my
links target
_self, and if
you think it
just
Code:
target="_
self"
It's not i
tried it and it
doesn't work.
the navbar uses
the switch
command so that
i have links
like
nameofsite.com/
index.php?actio
n=games or
something like
that. basically
like forum
software
have
heres my code
for the index
page don't
worry about the
other errors
shown on the
page i got the
other guys
helping me for
that
index.php
Code:
<html>
<head>
<title>Pl
asma Steel
Games |
Home</title&
gt;
</head>
<body
BGcolor="#
262626"
text="#FFF
FFF"
LINK="#FF0
000"
VLINK="#FF
0000"
ALINK="#FF
0000"><
br />
<table
border="0&
quot;>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<div
id="header
"
align="cen
ter">
<object
classid="c
lsid:d27cdb6e-a
e6d-11cf-96b8-4
44553540000&quo
t;
codebase="
http://download
.macromedia.com
/pub/shockwave/
cabs/flash/swfl
ash.cab#version
=8,0,0,0"
width="100
0"
height="20
2"
id="LOGO_F
"
align="mid
dle">
<param
name="allo
wScriptAccess&q
uot;
value="sam
eDomain"
/>
<param
name="allo
wFullScreen&quo
t;
value="fal
se"
/>
<param
name="movi
e"
value="htt
p://plasmasteel
games.zxq.net/h
eader/LOGO_F.sw
f"
/><param
name="qual
ity"
value="hig
h"
/><param
name="bgco
lor"
value="#00
0000"
/> <embed
src="http:
//plasmasteelga
mes.zxq.net/hea
der/LOGO_F.swf&
quot;
quality="h
igh"
bgcolor="#
000000"
width="100
0"
height="20
2"
name="LOGO
_F"
align="mid
dle"
allowScriptAcce
ss="sameDo
main"
allowFullScreen
="false&qu
ot;
type="appl
ication/x-shock
wave-flash"
;
pluginspage=&qu
ot;http://www.m
acromedia.com/g
o/getflashplaye
r"
/>
</object>
;
<br>
</div>
</td>
</tr>
</table><
br />
<table
border="1&
quot;>
<tr>
<td>
<div
align="lef
t">
<b>Login&
lt;/b>
<br>
<form
method="po
st"
action="in
dex.php?action=
login">
<b>Usern
ame:</b>&
lt;input
type="text
"
name="user
name">&
lt;br />
<br>
<b>Passw
ord:</b>&
lt;input
type="pass
word"
name="pass
word">&
lt;br />
<input
type="subm
it"
name="logi
n"
value="Log
in">
</form>
</td>
</tr>
</table><
br />
<br>
<table
border="1&
quot;
width="228
">
<tr>
<td>
<?php
/*
iSuS -
iScripting.net
User System
v1.0 made by
Panzer
http://www.iScr
ipting.net
Copyright must
stay intact
*/
// Get the
configuration
file
include
('config.php');
//Set the
navigation up,
secure it's
input.
$nav =
$_GET['action']
;
secure($nav);
//Use a switch
statement to go
through the
URLS.
switch($nav)
{
case
"login&quo
t;:
include('log
in.php');
break;
case
"logout&qu
ot;:
include
('logout.php');
break;
case
"editprofi
le":
include
('editprofile.p
hp');
break;
case
"memberlis
t":
include
('memberlist.ph
p');
break;
case
"register&
quot;:
include
('register.php'
);
break;
default:
echo
"Welcome
to $sitename
$uName <br
/><br
/>";
if($uId) {
echo
"<b>
Site
Links</b>
<br
/><br
/>";
if($userCan['vi
ewprofile'])
echo
"<a
href='$siteurl/
index.php?actio
n=memberlist'&g
t;View
Memberlist</
a><br
/><br
/><br
/>";
echo
"<b>
User
Links</b>
<br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=home'>Home
</a><b
r
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=downloads'>
;Downloads</
a><br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=music'>Mus
ic</a><
;br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=videos'>Vi
deos</a>&
lt;br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=animations'&g
t;Animations<
;/a><br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=polls'>Pol
ls</a><
;br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=contact'>C
ontact
Us</a><
;br
/>";
echo
"<a
href='$siteurl/
index.php?actio
n=logout'>Lo
gout</a>&
lt;br
/>";
if($userCan['ed
itprofile'])
echo
"<a
href='$siteurl/
index.php?actio
n=editprofile'&
gt;Edit
Profile</a&g
t;<br
/>";
} else {
echo
" <a
href='$siteurl/
index.php?actio
n=login'>Log
in</a><
;br />
<a
href='$siteurl/
index.php?actio
n=register'>
Register</a&
gt;<br />
";
break;
}
}
?>
</td>
</tr>
</table><
br />
<br>
<table
border="1&
quot;
width="228
">
<tr>
<td>
<a
href="http
://www.website-
hit-counters.co
m"
target="_b
lank"><
br />
<img
src="http:
//www.website-h
it-counters.com
/cgi-bin/image.
pl?URL=55882-16
47"
alt="login
page"
border="0&
quot; >
</a>
</td>
</tr>
<tr>
<td
align="cen
ter">
<font
style="fon
t-family:
Geneva, Arial,
Helvetica,
sans-serif;
font-size: 9px;
color: #330006;
text-decoration
:
none;">
<a
href="http
://www.website-
hit-counters.co
m"
target="_b
lank"
style="fon
t-family:
Geneva, Arial,
Helvetica,
sans-serif;
font-size: 9px;
color: #555556;
text-decoration
: none;"
title="fre
e web page hit
counter"&g
t;free web page
hit counter
</a>
</font>
</td>
</tr>
</table><
br />
</body>
</html>
div>
It me it me |