ik krijg iets raars/website

Gestart doorJordymen87 reacties3.803 weergaven

88 berichten · pagina 4 van 6

Berichten
2.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Nickxs schreef:
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.
dus?

toevoeging op 27 december 2012, 21:58:34:
Nickxs schreef:
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.
Posts per dag 1,71 valt mee.
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Xjessex schreef:
Eerdere citaten tonen
Nickxs schreef:
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.

dus?

toevoeging op 27 december 2012, 21:58:34:
Eerdere citaten tonen
Nickxs schreef:
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.
Posts per dag 1,71 valt mee.
overdrijven is ook een vak apart ja toch?
0
Berichten
2.112
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Jordymen schreef:
Eerdere citaten tonen
Xjessex schreef:
Eerdere citaten tonen
Nickxs schreef:
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.

dus?

toevoeging op 27 december 2012, 21:58:34:
Eerdere citaten tonen
Nickxs schreef:
Tfoe mensen?
Waarom reageren jullie nog deze man maakt zn 1000+ topics per dag.
Posts per dag 1,71 valt mee.
overdrijven is ook een vak apart ja toch?
Klopt,
& waar haal jij die wijsheid vandaan redfaceredfacenooo
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Sevvlor schreef:
Eerdere citaten tonen
Jordymen schreef:
ja hoe dicht je zoon lek?
Je zoon dicht laten maken moet de doctor doen.
You make my day biggrin biggrin biggrin
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
hij is nog open de lek weet niet hoe ik hem moet sluiten het was
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
htmlentities() Meer zeg ik niet, doe maar zelf de moeite.
0
Berichten
308
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Xjessex schreef:
Eerdere citaten tonen
Lennard schreef:
Eerdere citaten tonen
Xjessex schreef:
Eerdere citaten tonen
Sevvlor schreef:
Eerdere citaten tonen
Jordymen schreef:
hoe kan ik dit stoppen?
Backdoor op zoeken en afsluiten.

Dat doe je dmv logs
mensen die janken over logs..
wauw..

zoek gewoon die bestanden door en klaar...
ja want het is veel makkelijker om 100.000 regels code door te ploeteren dan om even de logfile erbij te pakken en te kijken hoe hij binnen is gekomen
Ik verwacht niet dat zon header bestandje 1000 regels heeft.. En anders, kijk in de bron waar die alert staat en zoek naar de div waarin hij staat.
Wie zegt dat het in het header bestand staat... Weet totaal niet over welk systeem/site het gaat maar ik heb nog nooit user-input verwerkt in een header bestand.
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Robbeing schreef:
Eerdere citaten tonen
Xjessex schreef:
Eerdere citaten tonen
Lennard schreef:
Eerdere citaten tonen
Xjessex schreef:
Eerdere citaten tonen
Sevvlor schreef:
Eerdere citaten tonen
Jordymen schreef:
hoe kan ik dit stoppen?
Backdoor op zoeken en afsluiten.

Dat doe je dmv logs
mensen die janken over logs..
wauw..

zoek gewoon die bestanden door en klaar...
ja want het is veel makkelijker om 100.000 regels code door te ploeteren dan om even de logfile erbij te pakken en te kijken hoe hij binnen is gekomen
Ik verwacht niet dat zon header bestandje 1000 regels heeft.. En anders, kijk in de bron waar die alert staat en zoek naar de div waarin hij staat.
het gaat om de website websoccermanager.nl

Wie zegt dat het in het header bestand staat... Weet totaal niet over welk systeem/site het gaat maar ik heb nog nooit user-input verwerkt in een header bestand.
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Fijn dat je zegt wat jouw site is, maar daar kunnen we niks mee. Weet je best.
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
ik heb dit in het header script gevonden

toevoeging op 28 december 2012, 101436:
Aarclay schreef:
Fijn dat je zegt wat jouw site is, maar daar kunnen we niks mee. Weet je best.
ik krijg dit
0
Berichten
10.421
Reputatie
4
Punten
0,00
Lid sinds
Laatst gezien
Fijn.... Je weet nu wat je moet doen. Zo niet? Lees eens terug.
Hint: htmlentities/strip_tags

Waar vond je die code? In de HTMLcode van de browser of die van je PHP?
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
opgelostbiggrin htmlspecialchars($aObject1 yummie heb geluisterd hahabiggrin
0
Berichten
35.796
Reputatie
1
Punten
0,00
Lid sinds
Laatst gezien
$aObject1

moet vast heerlijke code zijn emo
0
Jordymen

Lid · Topicstarter

Berichten
1.447
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[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.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/serverlist.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/info.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/profile.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/pm.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/changeprofile.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/premium.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/budget.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/pay.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/logout.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_news.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_userlist.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_serverreset.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/admin_playmatches.php[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]/jointeam.php[/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.php[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.php[/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.php[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.php[/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] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]);->[/COLOR]name[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$teamid[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]);->[/COLOR]teamID[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$land[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]);->[/COLOR]competitie[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$rank[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]);->[/COLOR]rank[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$premium[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700](>[/COLOR]premiumdagen[COLOR= #007700]);[/COLOR]
    [COLOR= #0000BB]$naam[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject[/COLOR][COLOR= #007700]);->[/COLOR]echte_naam[COLOR= #007700];[/COLOR]
    [COLOR= #0000BB]$email[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[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.php[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.php[/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.php[/COLOR][COLOR= #007700]) {[/COLOR]
        [URL="http://www.php.net/header"]header[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]location: logout.php[/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.php"[/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] htmlspecialchars[COLOR= #007700])([/COLOR][COLOR= #0000BB]$iResult1[/COLOR][COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$teamname[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]);->[/COLOR]name[COLOR= #007700]);[/COLOR]
        [COLOR= #0000BB]$formation[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]);->[/COLOR]formation[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$stijl[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]);->[/COLOR]style[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$geld[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[COLOR= #007700]([/COLOR][COLOR= #0000BB]$aObject1[/COLOR][COLOR= #007700]);->[/COLOR]geld[COLOR= #007700];[/COLOR]
        [COLOR= #0000BB]$position[/COLOR] [COLOR= #007700]=[/COLOR] htmlspecialchars[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>Websoccermanager.nl - online voetbalgame ! <?=$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>Websoccermanager</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.php">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.php">Uitleg</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="news.php">Nieuws</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="contact.php">Contact</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="logout.php">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.php">Mijn profiel</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="changeprofile.php">Profiel veranderen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="pm.php">Mijn berichten</a><?=$sNieuw?></div></li>
                            <li><div class="cell"><div class="left"></div><a href="premium.php">Club eigenaar</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="budget.php">Budget verhogen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="resign.php">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.php">Scorebord</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="league.php">Stand</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="results.php">Uitslagen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="schedule.php">Kalender</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="topscore.php">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.php">Mijn team</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="lineup.php">Opstelling</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="specialists.php">Specialisten</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="training.php">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.php">Transferlijst</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="teamtransfers.php">Transfers mijn team</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="leaguetransfers.php">Transfers competitie</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="offers.php">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.php">Stadion</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="staff.php">Personeel</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="sponsors.php">Sponsors</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="finance.php">Financi&euml;n</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="scout.php">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.php">Nieuws berichten</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_userlist.php">Gebruikers</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_competitions.php">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.php">Competities resetten</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_addcompetition.php">Competitie toevoegen</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="admin_playmatches.php">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>Websoccermanager.nl</h1></div>

                <!-- Login -->
                <div class="block margin" id="login">
                    <h3><span class="left"></span>Inloggen</h3>
                    <div class="padding">
                        <form action="login.php" 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="index.php">Homepagina</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="info.php">Uitleg</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="news.php">Nieuws</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="register.php">Registreren</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="advert.php">Adverteren</a></div></li>
                            <li><div class="cell"><div class="left"></div><a href="contact.php">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">
                    <a href="http://v-bal.nl/" target="_blank"><img src="images/vbalstinkert.jpg" alt="V-bal" /></a>
                </div>

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

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

                <a href="register.php"><img class="banner" src="images/register-now.jpg" alt="Registreer je nu!" /></a>
            [COLOR= #0000BB]<?[/COLOR]
            [COLOR= #007700]}[/COLOR]
            ?>


dit is de code
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