Inloggen in de header

Gestart doorMarvinn37 reacties65 weergaven

38 berichten · pagina 2 van 3

Berichten
14.363
Reputatie
0
Punten
0,00
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]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]inloggen[/COLOR][COLOR= #007700]]) && ![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruikersnaam[/COLOR][COLOR= #007700]]) && ![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]])) {[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$doe[/COLOR][COLOR= #007700]->[/COLOR]inloggen[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruikersnaam[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]remember[/COLOR][COLOR= #007700]]);
    
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    ?>
    <form action="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]];[/COLOR] ?>?p=login" method="post">
        <table width="290">
            [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$instellingen[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]habbo[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"ja"[/COLOR][COLOR= #007700]) {[/COLOR] ?>
            <tr>
                <td rowspan="4"></td>
            </tr>
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>

<tr>
                <td>Gebruikersnaam:</td><br>
                <td><input type="text" id="login_user" name="gebruikersnaam" maxlength="255" /></td>
            </tr>
            <tr>
                <td>Wachtwoord: <br><b>(Niet je <br>habbo wachtwoord!)</b><br></td>
                <td><input type="password" id="login_pass" name="wachtwoord" maxlength="255" /></td>
            </tr>
            <tr>
<td>Onthoud mij</td>
                <td><input type="checkbox" name="remember" value="ja" /></td>
            </tr>
            <tr>
                <th colspan="2"><input type="submit" name="inloggen" value="Inloggen!"></th>
            </tr>
        </table>
    </form>
    [COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>


//probeer zo is..
//edit: 2 berichten samengevoegd
0
Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
probeer zo is..
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Gebruikers naam:

[INPUT]

Wachtwoord:

[INPUT]
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Reinier schreef:
[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]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]inloggen[/COLOR][COLOR= #007700]]) && ![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruikersnaam[/COLOR][COLOR= #007700]]) && ![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]])) {[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$doe[/COLOR][COLOR= #007700]->[/COLOR]inloggen[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruikersnaam[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]remember[/COLOR][COLOR= #007700]]);
    
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    ?>
    <form action="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]];[/COLOR] ?>?p=login" method="post">
        <table width="290">
            [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$instellingen[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]habbo[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"ja"[/COLOR][COLOR= #007700]) {[/COLOR] ?>
            <tr>
                <td rowspan="4"></td>
            </tr>
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>

<tr>
                <td>Gebruikersnaam:</td><br>
                <td><input type="text" id="login_user" name="gebruikersnaam" maxlength="255" /></td>
            </tr>
            <tr>
                <td>Wachtwoord: <br><b>(Niet je <br>habbo wachtwoord!)</b><br></td>
                <td><input type="password" id="login_pass" name="wachtwoord" maxlength="255" /></td>
            </tr>
            <tr>
<td>Onthoud mij</td>
                <td><input type="checkbox" name="remember" value="ja" /></td>
            </tr>
            <tr>
                <th colspan="2"><input type="submit" name="inloggen" value="Inloggen!"></th>
            </tr>
        </table>
    </form>
    [COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
Dan komt de enter er boven
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Marjolein schreef:
Gebruikers naam:

[INPUT]

Wachtwoord:

[INPUT]
Dan komt de
er bovencry
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ohh, je heb m in een table staan, wacht even...
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja klopt
0
Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nickjexx schreef:
Eerdere citaten tonen
Reinier schreef:
[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]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]inloggen[/COLOR][COLOR= #007700]]) && ![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruikersnaam[/COLOR][COLOR= #007700]]) && ![/COLOR][URL="http://www.php.net/empty"]empty[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]])) {[/COLOR]

    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$doe[/COLOR][COLOR= #007700]->[/COLOR]inloggen[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruikersnaam[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]wachtwoord[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]remember[/COLOR][COLOR= #007700]]);
    
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    ?>
    <form action="[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]];[/COLOR] ?>?p=login" method="post">
        <table width="290">
            [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$instellingen[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]habbo[/COLOR][COLOR= #007700]] ==[/COLOR] [COLOR= #DD0000]"ja"[/COLOR][COLOR= #007700]) {[/COLOR] ?>
            <tr>
                <td rowspan="4"></td>
            </tr>
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>

<tr>
                <td>Gebruikersnaam:</td><br>
                <td><input type="text" id="login_user" name="gebruikersnaam" maxlength="255" /></td>
            </tr>
            <tr>
                <td>Wachtwoord: <br><b>(Niet je <br>habbo wachtwoord!)</b><br></td>
                <td><input type="password" id="login_pass" name="wachtwoord" maxlength="255" /></td>
            </tr>
            <tr>
<td>Onthoud mij</td>
                <td><input type="checkbox" name="remember" value="ja" /></td>
            </tr>
            <tr>
                <th colspan="2"><input type="submit" name="inloggen" value="Inloggen!"></th>
            </tr>
        </table>
    </form>
    [COLOR= #0000BB]<?php[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
Dan komt de enter er boven

Hoezo dat dan?
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
zo dan:

<td>Gebruikersnaam:</td></tr>
                <tr><td><input type="text" id="login_user" name="gebruikersnaam" maxlength="255" /></td>
            </tr>
            <tr>
                <td>Wachtwoord:<b>(Niet je <br>habbo wachtwoord!)</b></td></tr>
                <tr><td><input type="password" id="login_pass" name="wachtwoord" maxlength="255" /></td>
            </tr>
            <tr>
<td>Onthoud mij</td>
                <td><input type="checkbox" name="remember" value="ja" /></td>
            </tr>
            <tr>
                <th colspan="2"><input type="submit" name="inloggen" value="Inloggen!"></th>
            </tr>
        </table>


edit: Reinier, die
hoeft niet. Ik heb nu toegevoegd aan de table dat werkt wel goed.
0
Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
@Marjolein;
waar is die enter dan? redface
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kijk nu zelf maar hoe het er uit ziet redface
0
Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Het staat helemaal scheef @ safari.
0
Marvinn

Lid · Topicstarter

Berichten
2.609
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Reinier schreef:
Het staat helemaal scheef @ safari.
In google chrome ook
0
Berichten
14.363
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
In elke browser denk ik dan..
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
dat komt door die rowspan="4" denk ik. Maak daar eens 2 van.
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