Hallo,
Ik heb een ledensysteem gemaakt en verkoop deze.
Het was om classes te testen en gebruik te maken van MySQLi dat ik het heb gemaakt.
Functies :
Inloggen
Aanmelden
Forum : reageren, topic, cat, berichten verwijderen (admin), berichten bewerken (poster, admin), topic sluiten
Huidige sessies bekijken
Priveberichten
Handelen met punten
Kop of munt
Demo :
http://rstyle.s3.one2xs.com/
Naam : demo
Wachtwoord : demo
Ik verkoop alle rechten op dit systeem.
Startbod : 0.5 punten
Opbieden : 0.1 punt
BIN : 6 punten
Veiling sluit 24 uur na het laatste bod.
Stukje code van het forum :
Ik heb een ledensysteem gemaakt en verkoop deze.
Het was om classes te testen en gebruik te maken van MySQLi dat ik het heb gemaakt.
Functies :
Inloggen
Aanmelden
Forum : reageren, topic, cat, berichten verwijderen (admin), berichten bewerken (poster, admin), topic sluiten
Huidige sessies bekijken
Priveberichten
Handelen met punten
Kop of munt
Demo :
http://rstyle.s3.one2xs.com/
Naam : demo
Wachtwoord : demo
Ik verkoop alle rechten op dit systeem.
Startbod : 0.5 punten
Opbieden : 0.1 punt
BIN : 6 punten
Veiling sluit 24 uur na het laatste bod.
Stukje code van het forum :
Spoiler tonen
[COLOR= #0000BB]<?
$topicQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM topic WHERE cat="[/COLOR][COLOR= #007700].[/COLOR]safe[COLOR= #007700]([/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]cat[/COLOR][COLOR= #007700]]).[/COLOR][COLOR= #DD0000]" AND verwijderd=0 ORDER BY laatste_reactie DESC LIMIT "[/COLOR][COLOR= #007700].([/COLOR][COLOR= #0000BB]$p[/COLOR][COLOR= #007700]*[/COLOR][COLOR= #0000BB]$aantalTopics[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]","[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$aantalTopics[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]""[/COLOR][COLOR= #007700])[/COLOR]or [COLOR= #0000BB]$error[/COLOR][COLOR= #007700]->[/COLOR]database[COLOR= #007700]();[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$topic[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$topicQuery[/COLOR][COLOR= #007700]->[/COLOR]fetch_assoc[COLOR= #007700]())
{[/COLOR]
[COLOR= #0000BB]$aantalreactieQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM reactie WHERE topic="[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$topic[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]" AND verwijderd=0"[/COLOR][COLOR= #007700])[/COLOR]or [COLOR= #0000BB]$error[/COLOR][COLOR= #007700]->[/COLOR]database[COLOR= #007700]();[/COLOR]
[COLOR= #0000BB]$aantalreactie[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$aantalreactieQuery[/COLOR][COLOR= #007700]->[/COLOR]num_rows[COLOR= #007700];[/COLOR]
?>
<tr>
<td><a href="?topic=[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$topic[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]id[/COLOR][COLOR= #007700]];[/COLOR] ?>">[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/ucfirst"]ucfirst[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$topic[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]titel[/COLOR][COLOR= #007700]]);[/COLOR] ?></a></td>
<td>[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$leden[/COLOR][COLOR= #007700]->[/COLOR]wie[COLOR= #007700]([/COLOR][COLOR= #0000BB]$topic[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]poster[/COLOR][COLOR= #007700]]);[/COLOR] ?></td>
<td>[COLOR= #0000BB]<?[/COLOR] [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$aantalreactie[/COLOR][COLOR= #007700];[/COLOR] ?></td>
</tr>
[COLOR= #0000BB]<?[/COLOR]
[COLOR= #007700]}[/COLOR]
?>
</table>
<br />
<p>
[COLOR= #0000BB]<?[/COLOR]
[URL="http://www.php.net/for"]for[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]1[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$i[/COLOR] [COLOR= #007700]<=[/COLOR] [COLOR= #0000BB]$paginas[/COLOR][COLOR= #007700];[/COLOR] [COLOR= #0000BB]$i[/COLOR][COLOR= #007700]++)
{[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<a href="?cat=[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]cat[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]&p=[/COLOR][COLOR= #007700].([/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700]-[/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700]).[/COLOR][COLOR= #DD0000]">[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$i[/COLOR][COLOR= #007700].[/COLOR][COLOR= #DD0000]</a> [/COLOR][COLOR= #007700];
}[/COLOR]
?></p>
33:
Hier gaat even een slotje op 
Als je naar jezelf stuurt gaan de punten eraf en vervolgens er gewoon weer bij