index.php?=contact
Hep hey...Jeg ska bruge, sådan et script som kan gøre dette
index.php?=contact Altså jeg har en side, hvor alle mine links gerne skulle se ud som det... ;)
og jeg har rodet med tidligere scripts her fra eks. Men uden hæld håber i kan fikse for mig 100 point til den hurtigste... ! :D
Vi tager lige udgangs punkt i dette link
<a href="secure.php"><img align=right src="images/sec1.gif" onMouseOver="this.src='images/sec2.gif'; return true;" onMouseOut="this.src='images/sec1.gif'; return true" border=0></a>
som i kan linker jeg bare til secure.php hvor jeg fremover vil linke til href="?side=secure" Hvordan gøres dette..!
her er min INDEX.PHP
-----------------------------
<? ob_start(); ?>
<?php
include("functions/connect.php");
?>
<html>
<head>
<link rel="STYLESHEET" type="text/css" href="style.css">
</head>
<body>
<table cellspacing=0 cellpadding=0 border=0 width=100% height=100% align=center valign=top>
<tr height=100%>
<td align=center valign=top height=100%>
<table align=center valign=top width=756 height=100% cellspacing=0 cellpadding=0 border=0>
<tr width=756>
<td width=756 align=center valign=top background="images/bg1.gif">
<table id="Table_01" width="570" height=100% border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="9">
<img src="images/header.gif" width="570" height="111" alt=""></td>
</tr>
<tr>
<td>
<img src="images/error9_02.gif" width="15" height="13" alt=""></td>
<td>
<img src="images/error9_03.gif" width="136" height="13" alt=""></td>
<td>
<a href="index.php"><img src="images/root1.gif" width="54" height="13" alt="" onMouseOver="this.src='images/root2.gif'; return true;" onMouseOut="this.src='images/root1.gif'; return true" border=0></a></td>
<td>
<a href="portfolio.php"><img src="images/services1.gif" width="70" height="13" alt="" onMouseOver="this.src='images/services2.gif'; return true;" onMouseOut="this.src='images/services1.gif'; return true" border=0></a></td>
<td>
<a href="portfolio.php"><img src="images/portfolio1.gif" width="76" height="13" alt="" onMouseOver="this.src='images/portfolio2.gif'; return true;" onMouseOut="this.src='images/portfolio1.gif'; return true" border=0></a></td>
<td>
<a href="software.php"><img src="images/software1.gif" width="72" height="13" alt="" onMouseOver="this.src='images/software2.gif'; return true;" onMouseOut="this.src='images/software1.gif'; return true" border=0></a></td>
<td>
<a href="profile.php"><img src="images/profile1.gif" width="63" height="13" alt="" onMouseOver="this.src='images/profile2.gif'; return true;" onMouseOut="this.src='images/profile1.gif'; return true" border=0></a></td>
<td>
<a href="contact.php"><img src="images/contact1.gif" width="69" height="13" alt="" onMouseOver="this.src='images/contact2.gif'; return true;" onMouseOut="this.src='images/contact1.gif'; return true" border=0></a></td>
<td>
<img src="images/error9_10.gif" width="15" height="13" alt=""></td>
</tr>
<tr>
<td>
<img src="images/error9_11.gif" width="15" height="154" alt=""></td>
<td colspan="7">
<?php
$billeder = array(
"images/middle.gif",
"images/middle1.gif",
"images/middle2.gif",
"images/middle3.gif"
);
echo '<img src="'. $billeder[array_rand($billeder)] .'" width="540" height="154" alt="error9" />';
?></td>
<td>
<img src="images/error9_13.gif" width="15" height="154" alt=""></td>
</tr>
<tr>
<td>
<img src="images/error9_14.gif" width="15" height="42" alt=""></td>
<td colspan="7" background="images/topgradient.gif" width="540" height="42" valign=top>
<table width=100% height=100% border=0 cellspacing=3 cellpadding=0><tr><td>
<a href="secure.php"><img align=right src="images/sec1.gif" onMouseOver="this.src='images/sec2.gif'; return true;" onMouseOut="this.src='images/sec1.gif'; return true" border=0></a>
</td></tr></table></td>
<td>
<img src="images/error9_16.gif" width="15" height="42" alt=""></td>
</tr>
<tr>
<td background="images/left.gif" width="15" height=100%>
</td>
<td colspan="7" background="images/content.gif" width="540" height=100% valign=top>
<table width="95%" border=0 align="center" cellpadding=0 cellspacing=4>
<tr>
<td>
<table border=0 cellspacing=5 cellpadding=0 width=100% height=100%>
<tr>
<td width=275 valign=top>
<p>Welcome to error9.com<br>
webdesign of the new age </p>
</td>
<td valign=top>
<table id="Table_01" width="250" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="images/featured_01.gif" width="139" height="36" alt=""></td>
<td rowspan="3" background="images/text.gif" width="111" height="150" valign=top>
<table width="100%" height="100%" border=0 cellpadding=0 cellspacing=5>
<tr><td valign="top"><?php
$hent = @mysql_query("SELECT * FROM portfolio order by id DESC LIMIT 1");
while ($vis = @mysql_fetch_array($hent)) {
$portid = $vis['id'];
$genre = $vis['genre'];
$shortname = $vis['shortname'];
$pic = $vis['pic'];
$beskrivelse = $vis['beskrivelse'];
$portname = $vis['portname'];
$short = substr($vis['portname'], 0, 15);
$link = "<a href=\"portfolio-detail.php?id=$portid\">$shortname</a>";
$pic_lille = $vis['pic_lille'];
$sitelink = $vis['link'];
$shortbe = $vis['shortbe'];
?>
<?php echo $link; ?><br>
<?php echo $shortbe; ?>
<?php } ?>
</td>
</tr></table>
</td>
</tr>
<tr>
<td>
<img src="images/featured_03.gif" width="15" height="98" alt=""></td>
<td>
<a href="<?php echo $sitelink; ?>" target="_blank"><IMG src="<?php echo $pic_lille; ?>" border="0" height="98" width="98"></a></td>
<td>
<img src="images/featured_05.gif" width="26" height="98" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="images/featured_06.gif" width="139" height="16" alt=""></td>
</tr>
</table></td>
</tr>
</table><br>
<table id="Table_01" width="500" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="3">
<img src="images/iframe_01.gif" width="500" height="26" alt=""></td>
</tr>
<tr>
<td>
<img src="images/iframe_02.gif" width="12" height="112" alt=""></td>
<td width="476" height="112" valign="top">
<iframe src="updates.php" frameborder=0 width="476" height="112"></iframe></td>
<td>
<img src="images/iframe_04.gif" width="12" height="112" alt=""></td>
</tr>
<tr>
<td colspan="3">
<img src="images/iframe_05.gif" width="500" height="12" alt=""></td>
</tr>
</table>
</td>
</tr></table>
</td>
<td background="images/right.gif" width="15" height=100%>
</td>
</tr>
<tr>
<td>
<img src="images/error9_20.gif" width="15" height="44" alt=""></td>
<td colspan="7">
<img src="images/bottomgradient.gif" width="540" height="44" alt=""></td>
<td>
<img src="images/error9_22.gif" width="15" height="44" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<? ob_end_flush(); ?>
---------------------------------
