<body bgcolor="000000">
<?
session_start();
?>
<? $d = "%d";$b = "%B";$y = "%Y";$h = "%H";$m = "%M";$s = "%S";?>
<? $dato = (strftime("$d $b $y kl. $h:$m:$s"))?>
<?$dato = str_replace("January", "Januar", $dato);$dato = str_replace("February", "Februar", $dato);$dato = str_replace("March", "Marts", $dato);$dato = str_replace("May", "Maj", $dato);$dato = str_replace("June", "Juni", $dato);$dato = str_replace("October", "Oktober", $dato);?>
<?
include("db.php")
?>
<?
$res = mysql_query("SELECT * from brugersystem where brugernavn = '$brugernavn'");
$jir = mysql_fetch_array($res);
?>
<?
//checker bruger og pass
if($jir[brugernavn] == $brugernavn && $jir[kodeord] == $kodeord) {
?>
<?
session_register("brugernavn","kodeord");
?>
<script language = "JavaScript">
window.onunload=new Function("window.open('logud.php','','status=no,width=200,height=100')");
</script>
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<script language="JavaScript"><!--
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// -->
</script>
<style>
A:link {color : 6795A4;text-decoration: none}
A:visited {color : 6795A4;text-decoration: none}
A:active {color : 6795A4;text-decoration: none}
A:hover {color : 6795A4;text-decoration: underline}
.t{font: 11px Verdana, Arial;text-decoration: none}
.nu{font: bold 10px Verdana, Arial;text-decoration: none}
.n{font: 10px/11px Verdana, Arial;text-decoration: none}
a.S{color : #6795A4;text-decoration: none}
A:link.S{color : 6795A4;text-decoration: none}
A:visited.S{color : #6795A4;text-decoration: none}
A:active.S{color : #6795A4;text-decoration: none}
FONT
{
COLOR: #6795A4;
FONT-FAMILY: Arial,Verdana;
FONT-SIZE: 11px
}
</style>
<?
$result4 = mysql_query("SELECT * FROM bestil where brugernavn = '$brugernavn'");
$row4 = mysql_fetch_array($result4);
?>
<?
if($row4[lavet] == "ja") {
?>
<?
$result5 = mysql_query("SELECT * FROM lejligheder where ejer = '$brugernavn'");
$row5 = mysql_fetch_array($result5);
?>
<center>
<table border="0" bordercolor="000000" style="border-collapse: collapse" background="design.gif" width="700" height="400">
<tr>
<td width="50%">
<br><br>
<font face="Verdana" size="1">
<a href="profil.php" target="iframe">Forsiden</a><br>
<a href="nyheder.php" target="iframe">Nyheder</a><br>
<br><br>
<a href=# onClick=parent.main.location.href='chat/frames.php?rum=<? echo $row5[nr]; ?>&felt=1';parent.bottom.location.href='3dchat/skriv.php?rum=<? echo $row5[nr]; ?>'>Chatten</a><br>
<?
} else {
?>
<a href="#" onclick="NewWindow('chat/frames.php?rum=1','BoligKomplekset','650','500','yes');return false;">Chatten</a>
<br>
<a href="online.php" target="iframe">Online</a><br>
<br><br>
<a href="post.php" target="iframe">Indbakke</a>
<br>
<a href="nytbrev.php" target="iframe">Skriv brev</a>
<br><br><br><br>
<a href="soeg.php" target="iframe">Søg efter bruger</a><br>
<a href="statistik.php" target="iframe">Statistik</a><br>
<a href=logaf.php onClick=parent.main.location.href='main.php';parent.bottom.location.href='bottom.php';parent.news.location.href='news.php'>Log Af</a>
<br><br>
<a target="_blank" href="
http://www.chart.dk/ref.asp?id=49352"><img alt="chart.dk" border="0" src="
http://cluster.chart.dk/chart.asp?id=49352&style=7"></a></td>
<td width="50%" align="center">
<iframe name='iframe' src='profil.php' border='0' width="550" height="250"
scrolling="auto" frameborder="0">
[Din browser understøtter ikke frames. Få dig en ny,
eller <a href="fejl.php">klik her.</a>]
</iframe>
</td>
</tr>
<tr>
</tr>
</table>
</div>
<?
} else {
echo "FEJL: De indtastede oplysninger var ikke korrekte!";
}
?>
se det er Ikke hotelchat eller 3dchat.dk...