Ik ben dus bezig een eigen forum te maken, en nu wil ik voor een bep. aantal posts een status laten opschrijven, maar hij wil niet echt 
Dit is mijn source:
En dan komt er bij elke aantal posts "Top-Poster" te staan
Als ik overal CInt("X") weg haal (CInt("50") word gewoon 50) komt er overal "Newbie fragger" te staan
De status Administrator doet ie gelukkig wel
de variable totalposts bestaat (zeg ik er maar ff bij
)
Dit is mijn source:
code:
1
2
3
4
5
6
7
8
9
10
11
12
| <%
stat="Unknown"
if totalposts > CInt("500") then stat="Top-Poster" end if
if totalposts > CInt("200") and totalposts < CInt("300") then stat="Advance Fragmaster" end if
if totalposts > CInt("100") and totalposts < CInt("200") then stat="Fragmaster" end if
if totalposts > CInt("50") and totalposts < CInt("100") then stat="Advance fragger" end if
if totalposts < CInt("50") then stat="Newbie fragger" end if
if Rsreply("poster")="jantje" or Rsreply("poster")="pietje" then stat="Administrator" end if
Response.Write stat
Rsmembers.Close
Set Rsmembers = Nothing
%> |
En dan komt er bij elke aantal posts "Top-Poster" te staan
Als ik overal CInt("X") weg haal (CInt("50") word gewoon 50) komt er overal "Newbie fragger" te staan
De status Administrator doet ie gelukkig wel
de variable totalposts bestaat (zeg ik er maar ff bij