Inlogscherm hulp nodig

Gestart doorTmeiland10 reacties26 weergaven

11 berichten · pagina 1 van 1

Tmeiland

Lid · Topicstarter

Berichten
450
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik heb hulp nodig,
ik heb een ledensysteem gemaakt,
maar ik heb de login scherm op de index en menus ook.
als ik inlog blijft de inlogscherm nog staan want de inlogscherm zit in header.
maar kan ik inplaatst dat als iemand ingelogd heeft dat er dan wet tekst komt en als ze dan weer uitloggen dat ze weer dan de inlogscherm kunnen zien... weet iemand wat ik erbij moet toevoegen..
0
Tgrm

Lid

Berichten
2.133
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Stopkkgroep schreef:
Ik heb hulp nodig,
ik heb een ledensysteem gemaakt,
maar ik heb de login scherm op de index en menus ook.
als ik inlog blijft de inlogscherm nog staan want de inlogscherm zit in header.
maar kan ik inplaatst dat als iemand ingelogd heeft dat er dan wet tekst komt en als ze dan weer uitloggen dat ze weer dan de inlogscherm kunnen zien... weet iemand wat ik erbij moet toevoegen..
Laat code zien smile
0
Tmeiland

Lid · Topicstarter

Berichten
450
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
<form action="login.php" method="post">
        <table>
            <tr>
                <td>                 <input type="text" class="login1" onfocus="if (this.value == Gebruikersnaam) this.value = ;" onblur="if (this.value == ) this.value = Gebruikersnaam;" value="Gebruikersnaam" name="username" onmouseover="tooltip.show(Vul hier Jouw DJ Gebruikersnaam in!);" onmouseout="tooltip.hide();"/>                </td>
            </tr>

            <tr>
            <td>    
<input type="password" class="login2" onfocus="if (this.value == Wachtwoord) this.value = ;" onblur="if (this.value == ) this.value = Wachtwoord;" value="Wachtwoord" name="password" onmouseover="tooltip.show(Vul hier Jouw DJ Wachtwoord in!);" onmouseout="tooltip.hide();"/>             </td>
            </tr>


            <tr align="right">
                <td><input type="checkbox" name="remember" onmouseover="tooltip.show(Als je dit aanklikt blijf je ingelogd.);" onmouseout="tooltip.hide();"/> <input type="submit" name="image" value="Inloggen" onmouseover="tooltip.show(Klik hier om in te loggen na het invullen van de gegevens);" onmouseout="tooltip.hide();"></td>
            
[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR]invalid[COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"true"[/COLOR][COLOR= #007700]){[/COLOR] 
?>
<center>
<font color="#ff0000" size="1"><strong>Waarschuwing:</strong> de Gebruikersnaam of de Wachtwoord is onjuist!</font><br>
</center>
[COLOR= #0000BB]<?php[/COLOR] 
[COLOR= #007700]}[/COLOR]
?>
0
Tmeiland

Lid · Topicstarter

Berichten
450
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kan iemand mij helpen beloning 0,3 punten
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
<form action="login.php" method="post">
        <table>
            <tr>
                <td>                 <input type="text" class="login1" onfocus="if (this.value == Gebruikersnaam) this.value = ;" onblur="if (this.value == ) this.value = Gebruikersnaam;" value="Gebruikersnaam" name="username" onmouseover="tooltip.show(Vul hier Jouw DJ Gebruikersnaam in!);" onmouseout="tooltip.hide();"/>                </td>
            </tr>

            <tr>
            <td>    
<input type="password" class="login2" onfocus="if (this.value == Wachtwoord) this.value = ;" onblur="if (this.value == ) this.value = Wachtwoord;" value="Wachtwoord" name="password" onmouseover="tooltip.show(Vul hier Jouw DJ Wachtwoord in!);" onmouseout="tooltip.hide();"/>             </td>
            </tr>


            <tr align="right">
                <td><input type="checkbox" name="remember" onmouseover="tooltip.show(Als je dit aanklikt blijf je ingelogd.);" onmouseout="tooltip.hide();"/> <input type="submit" name="image" value="Inloggen" onmouseover="tooltip.show(Klik hier om in te loggen na het invullen van de gegevens);" onmouseout="tooltip.hide();"></td>
            
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]invalid[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"true"[/COLOR][COLOR= #007700]){[/COLOR]
?>
<center>
<font color="#ff0000" size="1"><strong>Waarschuwing:</strong> de Gebruikersnaam of de Wachtwoord is onjuist!</font><br>
</center>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
0
Tmeiland

Lid · Topicstarter

Berichten
450
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Uhmm je hebt een stukje veranderdt ik wil dat als ik inlog dat ik dan niet meer de inlog scherm zie maar dan een tekst bijvoorbeeld je bent ingelogd en als je dan Uitlogt dat de loginscherpje er weet staat
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])){[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Ja hoi je bent ingelogd[/COLOR][COLOR= #007700];

}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]


[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Inlog scherm[/COLOR][COLOR= #007700];

}[/COLOR]

?>


Zoiets ongeveer emo
0
Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Of misschien nog meer van je code posten biggrin?
0
Tmeiland

Lid · Topicstarter

Berichten
450
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kan je dit

<form action="login.php" method="post">
        <table>
            <tr>
                <td>                 <input type="text" class="login1" onfocus="if (this.value == Gebruikersnaam) this.value = ;" onblur="if (this.value == ) this.value = Gebruikersnaam;" value="Gebruikersnaam" name="username" onmouseover="tooltip.show(Vul hier Jouw DJ Gebruikersnaam in!);" onmouseout="tooltip.hide();"/>                </td>
            </tr>

            <tr>
            <td>    
<input type="password" class="login2" onfocus="if (this.value == Wachtwoord) this.value = ;" onblur="if (this.value == ) this.value = Wachtwoord;" value="Wachtwoord" name="password" onmouseover="tooltip.show(Vul hier Jouw DJ Wachtwoord in!);" onmouseout="tooltip.hide();"/>             </td>
            </tr>


            <tr align="right">
                <td><input type="checkbox" name="remember" onmouseover="tooltip.show(Als je dit aanklikt blijf je ingelogd.);" onmouseout="tooltip.hide();"/> <input type="submit" name="image" value="Inloggen" onmouseover="tooltip.show(Klik hier om in te loggen na het invullen van de gegevens);" onmouseout="tooltip.hide();"></td>
            
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]invalid[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"true"[/COLOR][COLOR= #007700]){[/COLOR]
?>
<center>
<font color="#ff0000" size="1"><strong>Waarschuwing:</strong> de Gebruikersnaam of de Wachtwoord is onjuist!</font><br>
</center>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>


Plaatsen in:

[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])){[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Ja hoi je bent ingelogd[/COLOR][COLOR= #007700];

}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]


[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Inlog scherm[/COLOR][COLOR= #007700];

}[/COLOR]

?>
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]

[URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR][URL="http://www.php.net/isset"]isset[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]])){[/COLOR]
?>

<form action="login.php" method="post">
        <table>
            <tr>
                <td>                 <input type="text" class="login1" onfocus="if (this.value == Gebruikersnaam) this.value = ;" onblur="if (this.value == ) this.value = Gebruikersnaam;" value="Gebruikersnaam" name="username" onmouseover="tooltip.show(Vul hier Jouw DJ Gebruikersnaam in!);" onmouseout="tooltip.hide();"/>                </td>
            </tr>

            <tr>
            <td>    
<input type="password" class="login2" onfocus="if (this.value == Wachtwoord) this.value = ;" onblur="if (this.value == ) this.value = Wachtwoord;" value="Wachtwoord" name="password" onmouseover="tooltip.show(Vul hier Jouw DJ Wachtwoord in!);" onmouseout="tooltip.hide();"/>             </td>
            </tr>


            <tr align="right">
                <td><input type="checkbox" name="remember" onmouseover="tooltip.show(Als je dit aanklikt blijf je ingelogd.);" onmouseout="tooltip.hide();"/> <input type="submit" name="image" value="Inloggen" onmouseover="tooltip.show(Klik hier om in te loggen na het invullen van de gegevens);" onmouseout="tooltip.hide();"></td>
            
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]invalid[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"true"[/COLOR][COLOR= #007700]){[/COLOR]
?>
<center>
<font color="#ff0000" size="1"><strong>Waarschuwing:</strong> de Gebruikersnaam of de Wachtwoord is onjuist!</font><br>
</center>
[COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}

}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]

[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]logged in :)[/COLOR][COLOR= #007700];

}[/COLOR]
?>
0
Tmeiland

Lid · Topicstarter

Berichten
450
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
werkt niet
Ik wordt wel ingelogd maar de formulier blijft staan!
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren