Cronjobs voetbalspel

Gestart doorOne2xs55 reacties91 weergaven

56 berichten · pagina 1 van 4

One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Hoi Hoi,
Ik heb destijds een voetbalspel gekocht (wezy.nl staatie op)
Alleen ik snap niet hoe ik hem laat werken/ de cronjobs in kan stellen?
Als ik inlog (demodemo, demodemo) gaat hij naar serverlist.php, maar dan krijg ik een foutmelding. (omleidingslus)

Wie kan me helpen?
Beloning bespreken we via PB.

Groet.
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als je inlogt, waarnaar verwijst de login je dan? hij eerst naar een url gaan en dan naar serverlist.php. Dus hij gaat voordat hij naar serverlist.php gaat naar een ander bestand die hem dan doorverwijst naar die pagina, dat moet niet, omdat browsers daar beveiliging op hebben.
Misschien een optie login.php hier te plakken of index.php?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Index.php
Spoiler tonen
[COLOR= #0000BB]<?
$sTitle[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Home[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]header.php[/COLOR][COLOR= #007700];[/COLOR]
?>
                <!-- Welcome -->
                <div class="block margin">
                    <h3><span class="left"></span>Welkom bij Onlinevoetbalspel.nl</h3>
                    <div class="padding-x">
                        <p>Welkom op Onlinevoetbalspel.nl The Future Soccergame.</p>

                        <p>Het is het jaar 2030, de tijd van Huntelaar, Kuyt, Van Persie & Robben ligt inmiddels al ruim achter ons.
                        De coaches zijn dringend opzoek naar mega trainers talent, en willen hun team tot de nieuwe kampioen kronen.
                        Denk jij dat je stalen zenuwen hebt, jij de juiste tacktiek weet en de juiste opstellingen kan maken? Kortom denk jij dat je een professional bent?
                        ga dan de uitdaging aan, en maak jou team, de nieuwe kampioen!</p>

                        <p>Bij Onlinevoetbalspel.nl heb je alle mogelijkheden die je als manager hebt.
                        Breid je stadion uit, sluit nieuwe sponsor contracten, bepaal je opstelling, houdt de boekhouding bij en nog veel meer!</p>

                        <p>Ontdek de ultime manager game nu en leer nieuwe vrienden kennen en ontwikkel jezelf in de online Onlinevoetbalspel competitie.</p>

                        <p><a href="register.php">Meld je nu aan!</a></p>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <!-- Last News -->
                <div class="block" id="last-news">
                    <h3><span class="left"></span>Laatste Nieuws</h3>
                    <div class="padding">
                        <ul>
                        [COLOR= #0000BB]<?php
                        $sQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT * FROM nieuws ORDER BY id DESC LIMIT 0,3[/COLOR][COLOR= #007700];[/COLOR]
                        [COLOR= #0000BB]$iResult[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery[/COLOR][COLOR= #007700]);[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult[/COLOR][COLOR= #007700]) >[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                            [URL="http://www.php.net/while"]while[/URL] [COLOR= #007700]([/COLOR] [COLOR= #0000BB]$aObject[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult[/COLOR][COLOR= #007700]) ) {[/COLOR]
                                [COLOR= #0000BB]$sMessage[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]message[COLOR= #007700];[/COLOR]
                                [COLOR= #0000BB]$aSmiley[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL] [COLOR= #007700]([/COLOR]
                                [COLOR= #DD0000]evilgrin[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]xD[/COLOR][COLOR= #007700],[/COLOR]
                                [COLOR= #DD0000]grin[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]:D[/COLOR][COLOR= #007700],[/COLOR]
                                [COLOR= #DD0000]happy[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]:)[/COLOR][COLOR= #007700],[/COLOR]
                                [COLOR= #DD0000]surprised[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]:O[/COLOR][COLOR= #007700],[/COLOR]
                                [COLOR= #DD0000]unhappy[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]:([/COLOR][COLOR= #007700],[/COLOR]
                                [COLOR= #DD0000]tongue[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]:P[/COLOR][COLOR= #007700],[/COLOR]
                                [COLOR= #DD0000]wink[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000];)[/COLOR]
                                [COLOR= #007700]);[/COLOR]
                                [URL="http://www.php.net/foreach"]foreach[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aSmiley[/COLOR] [COLOR= #007700]as[/COLOR] [COLOR= #0000BB]$a[/COLOR][COLOR= #007700]=>[/COLOR][COLOR= #0000BB]$b[/COLOR][COLOR= #007700]) {[/COLOR]
                                    [COLOR= #0000BB]$sPlaatje[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]<img src="images/Smileys/[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$a[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000].png" />[/COLOR][COLOR= #007700];[/COLOR]
                                    [COLOR= #0000BB]$sMessage[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/str_replace"]str_replace[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$b[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$sPlaatje[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$sMessage[/COLOR][COLOR= #007700]);
                                }[/COLOR]
                                [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]
                                <li>
                                    <div class="cell l"><div class="left"></div> <b>[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]subject [COLOR= #007700].[/COLOR] [COLOR= #DD0000]</b> - [/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/substr"]substr[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR][URL="http://www.php.net/date"]date[/URL][COLOR= #007700],[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]5[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]</div>
                                    <p>[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$sMessage[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]</p>
                                </li>[/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]<li><div class="cell l"><div class="left"></div> Er zijn nog geen nieuwsberichten geplaatst.</div></li>[/COLOR][COLOR= #007700];
                        }[/COLOR]
                        ?>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]bottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>
Login.php
Spoiler tonen
[COLOR= #0000BB]<?php
$sTitle[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Inloggen[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]header.php[/COLOR][COLOR= #007700];[/COLOR]
?>
                <!-- Welcome -->
                <div class="block margin">
                    <h3><span class="left"></span>Inloggen</h3>
                    <div class="padding-x">
                        <p>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR]is_loggedin[COLOR= #007700]()) {[/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]
        [COLOR= #0000BB]$sQueryA[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT bezig FROM opties[/COLOR][COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$iResultA[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQueryA[/COLOR][COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$aObjectA[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResultA[/COLOR][COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$sUsername[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]];[/COLOR]
        [COLOR= #0000BB]$sPassword[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$_POST[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]password[/COLOR][COLOR= #007700]];[/COLOR]
        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR]checkLogin[COLOR= #007700]([/COLOR][COLOR= #0000BB]$sUsername[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/md5"]md5[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sPassword[/COLOR][COLOR= #007700]))) {[/COLOR]
            [COLOR= #0000BB]$sQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT id, premium, teamID, rank, competitie, verwijderd, ban FROM users WHERE name = "[/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_real_escape_string"]mysql_real_escape_string[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sUsername[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000]"[/COLOR][COLOR= #007700];[/COLOR]
            [COLOR= #0000BB]$iResult[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery[/COLOR][COLOR= #007700]);[/COLOR]
            [COLOR= #0000BB]$aObject[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult[/COLOR][COLOR= #007700]);[/COLOR]
            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]ban [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]verwijderd [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]6[/COLOR][COLOR= #007700]) {[/COLOR]
                    [COLOR= #0000BB]$sQueryB[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT simuleren FROM competities WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]competitie[COLOR= #007700];[/COLOR]
                    [COLOR= #0000BB]$iResultB[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQueryB[/COLOR][COLOR= #007700]);[/COLOR]
                    [COLOR= #0000BB]$aObjectB[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResultB[/COLOR][COLOR= #007700]);[/COLOR]
                    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObjectB[/COLOR][COLOR= #007700]->[/COLOR]simuleren [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
                        [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObjectA[/COLOR][COLOR= #007700]->[/COLOR]bezig [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR] [COLOR= #007700]||[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]rank [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]admin[/COLOR][COLOR= #007700]) {[/COLOR]
                            [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]] =[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]id[COLOR= #007700];[/COLOR]
                            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Ingelogd als [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$sUsername[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000].[/COLOR][COLOR= #007700];[/COLOR]
                            [COLOR= #0000BB]$sQueryC[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT week FROM competities WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]competitie[COLOR= #007700];[/COLOR]
                            [COLOR= #0000BB]$iResultC[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQueryC[/COLOR][COLOR= #007700]);[/COLOR]
                            [COLOR= #0000BB]$aObjectC[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResultC[/COLOR][COLOR= #007700]);[/COLOR]
                            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObjectC[/COLOR][COLOR= #007700]->[/COLOR]week [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]4[/COLOR][COLOR= #007700]) {[/COLOR]
                                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]premium [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700])[/COLOR] [COLOR= #0000BB]$sPage[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]scoreboard.php[/COLOR][COLOR= #007700];[/COLOR]
                                [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
                                    [COLOR= #0000BB]$sPage[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]match.php[/COLOR][COLOR= #007700];[/COLOR]
                                    [COLOR= #0000BB]$sQuery1[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT name, land FROM teams WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]teamID[COLOR= #007700];[/COLOR]
                                    [COLOR= #0000BB]$iResult1[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery1[/COLOR][COLOR= #007700]);[/COLOR]
                                    [COLOR= #0000BB]$aObject1[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult1[/COLOR][COLOR= #007700]);[/COLOR]

                                    [COLOR= #0000BB]$sQuery2[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT id FROM matches WHERE (team1 = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]name [COLOR= #007700].[/COLOR] [COLOR= #DD0000]" OR team2 = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]name [COLOR= #007700].[/COLOR] [COLOR= #DD0000]") AND land = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]land [COLOR= #007700].[/COLOR] [COLOR= #DD0000] AND balbezit1 > 0 ORDER BY id DESC LIMIT 0,1[/COLOR][COLOR= #007700];[/COLOR]
                                    [COLOR= #0000BB]$iResult2[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery2[/COLOR][COLOR= #007700]);[/COLOR]
                                    [COLOR= #0000BB]$aObject2[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult2[/COLOR][COLOR= #007700]);[/COLOR]

                                    [COLOR= #0000BB]$sPage[/COLOR] [COLOR= #007700].=[/COLOR] [COLOR= #DD0000]?id=[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject2[/COLOR][COLOR= #007700]->[/COLOR]id[COLOR= #007700];
                                }
                            }[/COLOR][URL="http://www.php.net/else"]else[/URL] [COLOR= #0000BB]$sPage[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]main.php[/COLOR][COLOR= #007700];[/COLOR]
                            [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<br />Je word nu doorgestuurd. Als dit lang duurt, klik dan <a href="[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$sPage[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]">hier</a>.[/COLOR][COLOR= #007700];[/COLOR]
                            [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$sPage[/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]Je kunt op het moment niet inloggen omdat we bezig zijn met updates. Probeer het op een later tijdstip nogmaals.[/COLOR][COLOR= #007700];[/COLOR]
                            [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]login_form.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]Je kunt op het moment niet inloggen omdat de wedstrijden nu worden gesimuleerd. Probeer het op een later tijdstip nogmaals.[/COLOR][COLOR= #007700];[/COLOR]
                        [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]login_form.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]Dit account is geblokkeerd en word verwijderd over [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]verwijderd [COLOR= #007700].[/COLOR] [COLOR= #DD0000] dagen. We hebben je een e-mail gestuurd met hierin de reden van de blokkering van je account.[/COLOR][COLOR= #007700];[/COLOR]
                    [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]login_form.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]Dit account is verbannen. We hebben je een e-mail gestuurd, met hierin de reden voor het bannen, en voor hoelang de ban duurt.[/COLOR][COLOR= #007700];[/COLOR]
                [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]login_form.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]Naam/Wachtwoord verkeerd.[/COLOR][COLOR= #007700];[/COLOR]
            [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]login_form.php[/COLOR][COLOR= #007700];
        }
    }[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
        [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]login_form.php[/COLOR][COLOR= #007700];
    }
}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
    [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: main.html[/COLOR][COLOR= #007700]);
}[/COLOR]

?>
                        </p>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]bottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik zag net dat dat niet het goede was. Ik heb header.php en login.html nodig
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Login .html? emo
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Header.php
Spoiler tonen
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/include_once"]include_once[/URL] [COLOR= #DD0000]config.php[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include_once"]include_once[/URL] [COLOR= #DD0000]functions.php[/COLOR][COLOR= #007700];[/COLOR]

[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR]is_loggedin[COLOR= #007700]()) {[/COLOR]
    [COLOR= #0000BB]$aPages[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/array"]array[/URL] [COLOR= #007700]([/COLOR][COLOR= #DD0000]/news.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/serverlist.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/info.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/profile.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/pm.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/changeprofile.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/premium.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/budget.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/pay.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/logout.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_news.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_userlist.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_serverreset.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_playmatches.html[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/jointeam.html[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$sQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT * FROM users WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR]
    [COLOR= #0000BB]$iResult[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$aObject[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]verwijderd [COLOR= #007700]<[/COLOR] [COLOR= #0000BB]6[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]/logout.html[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.html[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]ban [COLOR= #007700]>[/COLOR] [COLOR= #0000BB]0[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]/logout.html[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.html[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
    }[/COLOR]
    [COLOR= #0000BB]$sQueryB[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]UPDATE users SET lastactive = NOW() WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]id[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$iResultB[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQueryB[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]name[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$teamid[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]teamID[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$land[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]competitie[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$rank[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]rank[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$premium[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]premium[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$premiumdagen[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]premiumdagen[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$naam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]echte_naam[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]->[/COLOR]email[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$sQueryC[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT simuleren FROM competities WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$land[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$iResultC[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQueryC[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$aObjectC[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResultC[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObjectC[/COLOR][COLOR= #007700]->[/COLOR]simuleren [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]/logout.html[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.html[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
    }[/COLOR]
    [COLOR= #0000BB]$sQueryA[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT bezig FROM opties[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$iResultA[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQueryA[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$aObjectA[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResultA[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObjectA[/COLOR][COLOR= #007700]->[/COLOR]bezig [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]1[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$rank[/COLOR] [COLOR= #007700]!=[/COLOR] [COLOR= #DD0000]admin[/COLOR] [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]] !=[/COLOR] [COLOR= #DD0000]/logout.html[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.html[/COLOR][COLOR= #007700]);[/COLOR]
        [URL="http://www.php.net/exit"]exit[/URL][COLOR= #007700];
    }[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][URL="http://www.php.net/in_array"]in_array[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$_SERVER[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]PHP_SELF[/COLOR][COLOR= #007700]],[/COLOR] [COLOR= #0000BB]$aPages[/COLOR][COLOR= #007700]) ==[/COLOR] FALSE [COLOR= #007700]&&[/COLOR] [COLOR= #0000BB]$teamid[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700])[/COLOR] [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"location: serverlist.html"[/COLOR][COLOR= #007700]);[/COLOR]
    [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$teamid[/COLOR] [COLOR= #007700]!=[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) {[/COLOR]
        [COLOR= #0000BB]$sQuery1[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT name, formation, style, geld, position FROM teams WHERE id = [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$teamid[/COLOR][COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$iResult1[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery1[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
        [COLOR= #0000BB]$aObject1[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_object"]mysql_fetch_object[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult1[/COLOR][COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$teamname[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]name[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$formation[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]formation[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$stijl[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]style[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$geld[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]geld[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$position[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]->[/COLOR]position[COLOR= #007700];
    }[/COLOR]

    [COLOR= #0000BB]$sQuery9[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT id FROM messages WHERE nieuw = 1 AND `from` = "[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$username[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #DD0000]"[/COLOR][COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$iResult9[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery9[/COLOR][COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$sNieuw[/COLOR] [COLOR= #007700]= ([/COLOR][URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult9[/COLOR][COLOR= #007700]) ==[/COLOR] [COLOR= #0000BB]0[/COLOR][COLOR= #007700]) ?[/COLOR] [COLOR= #DD0000][/COLOR] [COLOR= #007700]:[/COLOR] [COLOR= #DD0000] <strong>([/COLOR] [COLOR= #007700].[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult9[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000])</strong>[/COLOR][COLOR= #007700];
}[/COLOR]
[COLOR= #0000BB]$sQuery2[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT * FROM users[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$iResult2[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery2[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$iAantal[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult2[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$sQuery3[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]SELECT * FROM users WHERE DATE_SUB(NOW(),INTERVAL 5 MINUTE) <= lastactive ORDER BY name ASC[/COLOR][COLOR= #007700];[/COLOR]
[COLOR= #0000BB]$iResult3[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$sQuery3[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$iAantalOnline[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$iResult3[/COLOR][COLOR= #007700]);[/COLOR]
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>OnlineVoetbalSpel.nl - <?=$sTitle?></title>
<link href="style.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<link type="text/css" rel="stylesheet" href="style-ie6.css" media="screen, projection" />
<![endif]-->
<script language="javascript" src="http://www.mollie.nl/partners/js/145911.js"> </script>
</head>
<body[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700](![/COLOR]is_loggedin[COLOR= #007700]())[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000] onload="getTime()"[/COLOR][COLOR= #007700];[/COLOR]?>>

    <!-- Website -->
    <div id="website">
        <div id="website-top"></div>
        <div id="website-inner">

            [COLOR= #0000BB]<?[/COLOR]
            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR]is_loggedin[COLOR= #007700]()) {[/COLOR]
            ?>
            <!-- Menu left -->
            <div id="menu-left" class="">
                <div class="corner"><h1>Onlinevoetbalspel.nl</h1></div>

                <div class="block margin">
                    <h3><span class="left"></span>Algemeen</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="main.html">Managers home</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="forum/">Forum</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="info.html">Uitleg</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="news.html">Nieuws</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="contact.html">Contact</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="logout.html">Uitloggen</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <div class="block margin">
                    <h3><span class="left"></span>Profiel</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="profile.html">Mijn profiel</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="changeprofile.html">Profiel veranderen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="pm.html">Mijn berichten</a><?=$sNieuw?></div></li>
                            <li><div class="cell"><div class="left"></div><a href="premium.html">Club eigenaar</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="budget.html">Budget verhogen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="resign.html">Ontslag nemen</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <div class="block margin">
                    <h3><span class="left"></span>Competitie</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="scoreboard.html">Scorebord</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="league.html">Stand</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="results.html">Uitslagen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="schedule.html">Kalender</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="topscore.html">Topscorers</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <div class="block margin">
                    <h3><span class="left"></span>Team</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="team.html">Mijn team</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="lineup.html">Opstelling</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="specialists.html">Specialisten</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="training.html">Training</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <div class="block margin">
                    <h3><span class="left"></span>Transfers</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="transferlist.html">Transferlijst</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="teamtransfers.html">Transfers mijn team</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="leaguetransfers.html">Transfers competitie</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="offers.html">Biedingen</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <div class="block margin">
                    <h3><span class="left"></span>Club</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="stadium.html">Stadion</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="staff.html">Personeel</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="sponsors.html">Sponsors</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="finance.html">Financi&euml;n</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="scout.html">Scout</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>
                [COLOR= #0000BB]<?[/COLOR]
                [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$rank[/COLOR] [COLOR= #007700]!=[/COLOR] [COLOR= #DD0000]user[/COLOR][COLOR= #007700]) {[/COLOR]
                ?>
                <div class="block margin">
                    <h3><span class="left"></span>Admin</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="admin_news.html">Nieuws berichten</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_userlist.html">Gebruikers</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_competitions.html">Competities bekijken</a></div></li>
                            [COLOR= #0000BB]<?[/COLOR]
                            [URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$rank[/COLOR] [COLOR= #007700]==[/COLOR] [COLOR= #DD0000]admin[/COLOR][COLOR= #007700]) {[/COLOR]
                            ?>
                            <li><div class="cell"><div class="left"></div><a href="admin_serverreset.html">Competities resetten</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_addcompetition.html">Competitie toevoegen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_playmatches.html">Wedstrijden simuleren</a></div></li>
                            [COLOR= #0000BB]<?[/COLOR]
                            [COLOR= #007700]}[/COLOR]
                            ?>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>
                [COLOR= #0000BB]<?[/COLOR]
                [COLOR= #007700]}[/COLOR]
                ?>

            <!-- end Menu left -->
            </div>

            <!-- Content -->
            <div id="content">

                <img class="banner" src="images/topcoach.jpg" alt="Registreer je nu!" />
            [COLOR= #0000BB]<?[/COLOR]
            [COLOR= #007700]}[/COLOR][URL="http://www.php.net/else"]else[/URL][COLOR= #007700]{[/COLOR]
            ?>
            <script type="text/javascript">
            function getTime() {
                date = new Date();
                hour = date.getHours();
                minute = date.getMinutes();
                second = date.getSeconds();
                if (second < 10) second = 0 + second;
                if (minute < 10) minute = 0 + minute;
                document.getElementById(time).innerHTML = <span class="left"></span> + hour + : + minute + : + second;
                t = setTimeout(getTime(), 1000);
            }
            </script>
            <!-- Menu left -->
            <div id="menu-left" class="">
                <div class="corner"><h1>Soccermania</h1></div>

                <!-- Login -->
                <div class="block margin" id="login">
                    <h3><span class="left"></span>Inloggen</h3>
                    <div class="padding">
                        <form action="login.html" method="post">
                            <fieldset>
                                <label for="login-username"><span class="cell l"><span class="left"></span><img src="images/username.png" alt="username" /></span></label>
                                <div class="input-text-wrapper">
                                    <div class="left"></div>
                                    <div class="i"><input name="username" type="text" id="login-username" value="Gebruikersnaam" onfocus="if (this.value == Gebruikersnaam) this.value = ;" onblur="if (this.value == ) this.value = Gebruikersnaam" /></div>
                                    <div class="right"></div>
                                </div>
                                <div class="clear"></div>
                                <label for="login-password"><span class="cell l"><span class="left"></span><img src="images/password.png" alt="username" /></span></label>
                                <div class="input-text-wrapper">
                                    <div class="left"></div>
                                    <div class="i"><input name="password" type="password" id="login-password" value="Password" onfocus="if (this.value == Password) this.value = ;" onblur="if (this.value == ) this.value = Password" /></div>
                                    <div class="right"></div>
                                </div>
                                <div class="clear"></div>
                                <span id="login-button" class="cell l center"><span class="left"></span><strong>Inloggen</strong><input type="submit" name="inloggen" value="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;" /></span>
                            </fieldset>
                        </form>
                        <div class="clear"></div>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <!-- Menu -->
                <div class="block margin">
                    <h3><span class="left"></span>Menu</h3>
                    <div class="padding">
                        <ul>
                            <li><div class="cell"><div class="left"></div><a href="/">Homepagina</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="info.html">Uitleg</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="news.html">Nieuws</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="register.html">Registreren</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="contact.html">Contact</a></div></li>
                        </ul>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <!-- Stats -->
                <div class="block margin" id="stats">
                    <h3><span class="left"></span>Statistieken</h3>
                    <div class="padding">
                        <dl class="list">
                            <dt><span class="cell l"><span class="left"></span>Server tijd</span></dt>
                            <dd><span class="cell" id="time"><span class="left"></span></span></dd>
                            <dt><span class="cell l"><span class="left"></span>Aantal managers</span></dt>
                            <dd><span class="cell"><span class="left"></span><?=number_format($iAantal, 0, ,, .)?></span></dd>
                            <dt><span class="cell l"><span class="left"></span>Managers online</span></dt>
                            <dd><span class="cell"><span class="left"></span><?=number_format($iAantalOnline, 0, ,, .)?></span></dd>
                        </dl>
                        <div class="clear"></div>
                    </div>
                    <div class="bottom"><div class="row-1"></div><div class="row-2"></div></div>
                </div>

                <!-- Advertention -->
                <div class="advertentie">
                    
                </div>

            <!-- end Menu left -->
            </div>

            <!-- Content -->
            <div id="content">

                <a href="register.html"><img class="banner" src="images/register-now.jpg" alt="Registreer je nu!" /></a>
            [COLOR= #0000BB]<?[/COLOR]
            [COLOR= #007700]}[/COLOR]
            ?>
Het is wel .php, maar op de site word het op een of andere manier automatisch .html
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Heb je een .htaccess, en wat is de inhoud?
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
htacces:
Spoiler tonen
Options +FollowSymlinks
RewriteEngine on
ErrorDocument 404 http://www.wezy.nl/404.php
RewriteRule ^(.*).html$ $1.php [NC]

RewriteCond %{http_host} ^wezy.nl [NC]
RewriteRule ^(.*)$ http://www.wezy.nl/$1 [L,R=301]
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
er is toch echt een login.html, ik zou maar eens goed kijken, in je htaccess staat ook niet ervan, en form action is:

<form action="login.html" method="post">


Dus hij gaat naar login.html, dus miss over het hoofd gezien?
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Lijn 4 lijkt me duidelijk. Die herschrijft de URL van .html naar .php
0
Berichten
4.367
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik zit er gewoon in, alleen als je op een menu item klikt, dan blijft hij op serverlist.html
0
One2xs

Bot · Topicstarter

Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Aarclay schreef:
Lijn 4 lijkt me duidelijk. Die herschrijft de URL van .html naar .php
Ligt het daaraan? Nee toch?
Dat zat al in het script, die ik kocht.
Er moeten cronjobs om de 24u. worden ingesteld bij serverlist.php en nog een paar..
Snap ik niet, en zelfs met die tutorial werkt ie nog niet.

toevoeging op 11 juni 2012, 12:59:20:
Desire schreef:
Ik zit er gewoon in, alleen als je op een menu item klikt, dan blijft hij op serverlist.html
Screen?
0
Berichten
4.451
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
En main.php? wat staat daar in?
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