Zitat Zitat von eRaaaa Beitrag anzeigen
poste doch mal deine box, damit wir sehen, dass "wer ist online" innerhalb der o.g. if abfrage steht und wir dir auch helfen können, denn ohne code kann man dir nicht mehr sagen, als dass es innerhalb von
PHP-Code:
if ($_SESSION['login'] == 'true') {................} 
stehen muss

Hier ist der Code:
<?if ($_SESSION['uid'] == '353650') {

if ($_POST['aendern'] == 'Jetzt ändern!') {
db_query("UPDATE ".$db_prefix."_admin_status SET status = '".$_POST['status']."' WHERE uid=".$_SESSION['uid']."");
if ($_SESSION['uid'] == '353650') {
$nickname = 'LaSa67';
}
if ($_POST['status'] == '0') {
$status = 'Online';
}
if ($_POST['status'] == '1') {
$status = 'Beschaeftigt';
}
if ($_POST['status'] == '2') {
$status = 'Abwesend';
}
$change .= 'So, dein Status wurde umgestellt!';
}
$adminstat= mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_admin_status WHERE uid=".$_SESSION['uid']." LIMIT 1"));
?>

<?menuehead("Online-Status");?>

<form action="" method="post"><center>
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td>Status:</td>
<td>
<select name="status">
<option value="0" <? if ($adminstat['status'] == '0') echo 'selected';?>>Online</option>
<option value="1" <? if ($adminstat['status'] == '1') echo 'selected';?>>Beschaeftigt</option>
<option value="2" <? if ($adminstat['status'] == '2') echo 'selected';?>>Abwesend</option>
</select>
</td>
</tr>
<tr>
<td align="center" colspan="2"><br>
<input type="submit" name="aendern" value="Jetzt ändern!">
<br>
<?=$change;?>
</td>
</tr>
</table></center>

<?menuefoot();?>
<?}?>


<? if ($_SESSION['login'] == 'true') {?>

<?menuehead("SlotGames");?>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/gigarisk/gigarisk"><b>GigaRisk</b></a><br><img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/army/index"><b>Army Slot</b></a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/lasvegas/index">Las Vegas</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/BlueStar/index">BlueStar</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/moonstar/index">Moon VS Star</a><BR>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/slot_schatzvms_db/index">Schatzslot</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/slot_safarivms_db/index">Safarislot</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/devilsladder/index">Devilsladder</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/winter_slot/index">Winter-Slot</a><br />
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/horrorwheel/index">Horrorwheel</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/feuerwasser">Feuer vs Wasser</a><br />
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/LipSlot/index">LipSlot</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/MimoLite/index">MimoLite</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/gpa_alcapone/index">GPA-Al Capone</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/gpa_tropico/index">GPA Tropico</a><br>
=====================
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/hdf3">Flotter Dreier</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/index.php?content=/fruchtshow/user">Fruchtshow</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/Externe Slots/atomic/slot11.html">Atomic</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/Externe Slots/doener/spielomat.swf">Döner</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/GeisterstundeVMS1/index">Geisterstunde</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/happygarden/index">Happygarden</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/KlammbankingVMS1/index">Klammbanking</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="http://rolfanders.com/vms/?content=/spiele/WinterWonderland/index">WinterWonderland</a><br>
<img src="images/pfeil.gif" border="0" alt="">&nbsp;<a href="?content=/spiele/yingyang/index">Ying Yang</a><br />
=====================
<?php include("http://rolfanders.com/vms/module/witzbox/witzbox.php"); ?>
=====================
<?menuefoot();
}

menuehead("Wer ist online");
include ("lib/weristonline.php");
menuefoot();


$filename = 'lib/texte/box1.txt';
$fp = fopen ($filename, "r");
$inhalt = fread ($fp, filesize ($filename));
fclose ($fp);
$inhalt = str_replace('\\', '', $inhalt);

if ($inhalt != ''){
menuehead("Sponsoren");
echo nl2br($inhalt);
menuefoot();




}
?>
<!-- Diese Seite basiert auf dem VMS1.2 von Designerscripte.net das entfernen dieses Copyrighthinweises ohne Erlaubnis zieht
rechtliche Schritte mit sich
-->
<div align="center"><font size="1">&copy; by <a href="http://www.designerscripte.net">Designerscripte.net</a></font></div>
<!-- Diese Seite basiert auf dem VMS1.2 von Designerscripte.net das entfernen dieses Copyrighthinweises ohne Erlaubnis zieht
rechtliche Schritte mit sich
-->
thx