Hätte mal eine Frage... Scorp hatte mir das design geschickt.... allerdings merkte ich das die Login Box Rechts oben(!!!) -> csx1login.php für 1.0.5 und nicht für die 1.1 geproggt wurde.... ich habe es mal etwas umgeschrieben (kann mich nun ausloggen, regestrieren, profil, message, admin) nur das einloggen geht noch nicht, bitte helft mir!.... -> ich kenn mich nicht sehr gut mit php aus....
Also hier das original:
<table width="516" height="31" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <?php $admin = ''; if ($_SESSION['authright'] <= -1) { $admin = '<a class="box" href="admin.php?sid='.$SID.'"><img src="include/designs/csx1/images/login/lg_admin.jpg" border="0"></a>'; if ( $allgAr['Fpmf'] == 1 ) { $erg = db_query("SELECT COUNT(id) FROM `prefix_pm` WHERE gelesen = 0 AND eid = ".$_SESSION['authid']); $check_pm = db_result($erg,0); $new_messages = '<div class="lg_nmessages">'.$check_pm.'</div>'; } else { $nachrichten = ''; } ?> <table width="516" height="31" background="include/designs/csx1/images/img_02.jpg" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="31" width="10"></td> <td height="31" width="50" background="include/designs/csx1/images/login/lg_hallo.jpg"></td> <td height="31" width="136" valign="middle" align="center" class="lg_hello"><?php echo $_SESSION['authname']; ?></td> <td height="31" width="10"></td> <td height="31" width="100"><a class="box" href="?m=forum&um=privmsg"><img src="include/designs/csx1/images/login/lg_messages.jpg" border="0"></a></td> <td height="31" width="10"></td> <td height="31" width="80"><a class="box" href="?m=user&um=3&do_not_inc=yes"><img src="include/designs/csx1/images/login/lg_logout.jpg" border="0"></a></td> <td height="31" width="10"></td> <td height="31" width="50"><a class="box" href="?m=user&um=8"><img src="include/designs/csx1/images/login/lg_profil.jpg" border="0"></a></td> <td height="31" width="10"></td> <td height="31" width="50"><?php echo $admin; ?></td> <td height="31" width="10"></td> </tr> </table> <?php } else { ?> <table width="516" height="31" border="0" cellspacing="0" cellpadding="0"> <tr> <form name="form1" method="POST" action="index.php?m=user&um=2&do_not_inc=yes"> <td width="10" height="31"></td> <td width="100" height="31" background="include/designs/csx1/images/login/lg_user.jpg"></td> <td width="80" height="31" valign="middle"> <input type="text" name="login_name" size="13"></td> <td width="10" height="31"></td> <td width="100" height="31" background="include/designs/csx1/images/login/lg_pass.jpg"></td> <td width="80" height="31" valign="middle"> <input type="password" name="login_pw" size="13"></td> <td width="10" height="31"></td> <td width="60" height="31" valign="middle"> <input type="hidden" name="wdlink" value="?m=forum"> <input name="Senden" type="submit" id="?m=forum" value="login" width="53" height="15" border="0"></td> <td width="56" height="31"><a href="?m=user&um=regist"><img src="include/designs/csx1/images/login/lg_regist.jpg" border="0"></a></td> <td width="10" height="31"></td> </form> </tr> </table> <?php } ?> </td> </tr> </table>
und hier einmal das, was ich bis eben verändert habe:
<table width="516" height="31" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <?php $admin = ''; if ($_SESSION['authright'] <= -1) { $admin = '<a class="box" href="admin.php?admin"><img src="include/designs/csx1/images/login/lg_admin.jpg" border="0"></a>'; if ( $allgAr['Fpmf'] == 1 ) { $erg = db_query("SELECT COUNT(id) FROM `prefix_pm` WHERE gelesen = 0 AND eid = ".$_SESSION['authid']); $check_pm = db_result($erg,0); $new_messages = '<div class="lg_nmessages">'.$check_pm.'</div>'; } else { $nachrichten = ''; } ?> <table width="516" height="31" background="include/designs/csx1/images/img_02.jpg" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="31" width="10"></td> <td height="31" width="50" background="include/designs/csx1/images/login/lg_hallo.jpg"></td> <td height="31" width="136" valign="middle" align="center" class="lg_hello"><?php echo $_SESSION['authname']; ?></td> <td height="31" width="10"></td> <td height="31" width="100"><a class="box" href="index.php?forum-privmsg"><img src="include/designs/csx1/images/login/lg_messages.jpg" border="0"></a></td> <td height="31" width="10"></td> <td height="31" width="80"><a class="box" href="index.php?user-3"><img src="include/designs/csx1/images/login/lg_logout.jpg" border="0"></a></td> <td height="31" width="10"></td> <td height="31" width="50"><a class="box" href="index.php?user-8"><img src="include/designs/csx1/images/login/lg_profil.jpg" border="0"></a></td> <td height="31" width="10"></td> <td height="31" width="50"><?php echo $admin; ?></td> <td height="31" width="10"></td> </tr> </table> <?php } else { ?> <table width="516" height="31" border="0" cellspacing="0" cellpadding="0"> <tr> <form name="form1" method="POST"> <td width="10" height="31"></td> <td width="100" height="31" background="include/designs/csx1/images/login/lg_user.jpg"></td> <td width="80" height="31" valign="middle"> <input type="text" name="login_name" size="13"></td> <td width="10" height="31"></td> <td width="100" height="31" background="include/designs/csx1/images/login/lg_pass.jpg"></td> <td width="80" height="31" valign="middle"> <input type="password" name="login_pw" size="13"></td> <td width="10" height="31"></td> <td width="60" height="31" valign="middle"> <input type="hidden" name="wdlink" value="?m=forum"> <input name="Senden" type="submit" id="?m=forum" value="login" width="53" height="15" border="0"></td> <td width="56" height="31"><a href="index.php?user-regist"><img src="include/designs/csx1/images/login/lg_regist.jpg" border="0"></a></td> <td width="10" height="31"></td> </form> </tr> </table> <?php } ?> </td> </tr> </table>
betroffene Homepage: externer Link