pagina nummering??? K Snap er niks van ...

Gestart doorBasDev0 reacties12 weergaven

1 berichten · pagina 1 van 1

BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi zoals altijd heb ik weer een vraag over een script dat meestal weer moeilijk te maken/vinden is yummie
Ik zoek een paginasysteem voor een nieuw project van mij & een leraar.
Naja we hebben er wel veel gevonden maar die waren moeilijk in te bouwen.

Nu is mijn vraag zou iemand voor ons een pagina systeem willen inbouwen in het volgende script???

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/core.php[/COLOR][COLOR= #007700]);[/COLOR]
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
[COLOR= #0000BB]<?php
$pnaam[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #DD0000]Forum: [/COLOR][COLOR= #007700],[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]forum[/COLOR][COLOR= #007700]];[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/header.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/display/styles.php[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/display/javascripts.php[/COLOR][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]$_SESSION[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]user_id[/COLOR][COLOR= #007700]])) {[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./index.php[/COLOR][COLOR= #007700]);[/COLOR] [URL="http://www.php.net/die"]die[/URL][COLOR= #007700](); }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{ }[/COLOR]
?>
</head>

<body onload=>
<div class=headerbox>[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/headerbox.php[/COLOR][COLOR= #007700]);[/COLOR] ?></div>
<div class=boven>
    <div class=tekst>
    [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/menu.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
    </div>
</div>

<div id=sitebox>
    <div id=site-rechts>
        <div class=blok>
            <div class=blok-boven>Welkom op het Forum, [COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$u[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]];[/COLOR] ?>!</div>
            <div class=blok-tussen>
            In Het Forum kan je alles met elkaar delen. Je kan jezelf showen of iemand voor paal zetten. Als het te grof wordt zijn onze Forum Moderators er om het topic te sluiten.
            </div>
            <div class=blok-onder></div>
        </div>
    </div>

    <div id=site-links>
        <div class=blok>
            <div class=blok-boven>Forums</div>
            <div class=blok-tussen>
            [COLOR= #0000BB]<?php
            $getforums[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM topics WHERE forumnaam = "[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]forum[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" ORDER BY lastpost"[/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]
            [URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$forums[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$getforums[/COLOR][COLOR= #007700])) {[/COLOR]
            ?>
            
            Hier komt dan al die shit te staan om het te laten weergeven.
            
            [COLOR= #0000BB]<?php[/COLOR] [COLOR= #007700]}[/COLOR] ?>
            </div>
            <div class=blok-onder></div>
        </div>
    </div>
</div>

[COLOR= #0000BB]<?php[/COLOR] [URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]./includes/footer.php[/COLOR][COLOR= #007700]);[/COLOR] ?>
</body>
</html>


Als je hem los heb die eenvoudig in te voeren is mag dat ook biggrin
Bedankt!

EDIT: Kleine wijziging in script
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