<% if Request.Querystring("action")="logout" then%> <% Response.Buffer = TRUE %> <% Session.Abandon%> <% end if%> <% if Request.Querystring("menu")="HBmedlemmar" AND Session("access") = "" then Response.redirect "index.asp?menu=medlemmar" elseif Request.Querystring("menu")="medlemmar" AND NOT Session("access") = "" then Response.redirect "index.asp?menu=HBmedlemmar" end if %> <% if Request.Querystring("menu")="statsupdate" AND Session("username") = "" then Response.redirect "index.asp?menu=medlemmar" elseif Request.Querystring("menu")="medlemmar" AND NOT Session("username") = "" then Response.redirect "index.asp?menu=statsupdate" end if %>
<% randomize slump1=int(rnd*1)+1 'slump1=int(rnd*6)+1 %> <% if slump1=1 then %> <% else%> <%end if%>

Rydbergs
<% if Request.Querystring("menu")="medlemmar" OR Request.Querystring("menu")="HBmedlemmar" then %> <%elseif Request.Querystring("menu")="tabell" then %> <%elseif Request.Querystring("menu")="matcher" then %> <%elseif Request.Querystring("menu")="news" then %> <%elseif Request.Querystring("submenu")="goalies" then %> <%elseif Request.Querystring("submenu")="players" then %> <%elseif Request.Querystring("menu")="media" then %> <%elseif Request.Querystring("menu")="laget" AND Request.Querystring("submenu")="active" then %> <%elseif Request.Querystring("menu")="laget" AND Request.Querystring("submenu")="halloffame" then %> <%elseif Request.Querystring("menu")="guestbook" then %> <%elseif Request.Querystring("menu")="links" then %> <%elseif Request.Querystring("menu")="inline" then %> <%elseif Request.Querystring("menu")="club" then %> <%else%> <% randomize slump1=int(rnd*3)+1 %> <% If slump1=1 Then %> <% ElseIf slump1=2 Then %> <% ElseIf slump1=3 Then %> <% End if%> <% end if%>
<% if Request.Querystring("menu")="HBmedlemmar" AND Request.Querystring("submenu")="" then%> <% elseif Request.Querystring("menu")="medlemmar" then%> <% elseif Request.Querystring("menu")="tabell" then%> <% elseif Request.Querystring("menu")="news" then%> <% elseif Request.Querystring("menu")="club" then%> <% elseif Request.Querystring("menu")="laget" then%> <% elseif Request.Querystring("menu")="inline" then%> <% elseif Request.Querystring("menu")="links" then%> <% elseif Request.Querystring("menu")="media" and Request.Querystring("submenu")="" then%> <% elseif Request.Querystring("menu")="media" and NOT Request.Querystring("submenu")="" then%> <% elseif Request.Querystring("menu")="statistik" AND Request.Querystring("submenu")="players" then%> <% elseif Request.Querystring("menu")="statistik" AND Request.Querystring("submenu")="goalies" then%> <% elseif Request.Querystring("menu")="statistik" AND Request.Querystring("submenu")="team" then%> <% elseif Request.Querystring("menu")="statistik" AND Request.Querystring("submenu")="compare_teams" then%> <% elseif Request.Querystring("menu")="matcher" AND Request.Querystring("submenu")="" then%> <% elseif Request.Querystring("menu")="matcher" AND Request.Querystring("submenu")="matchreferat" then%> <% elseif Request.Querystring("menu")="guestbook" then%> <% elseif Request.Querystring("menu")="statsupdate" and Request.Querystring("submenu")="change_password" then%> <% elseif Request.Querystring("menu")="statsupdate" and Request.Querystring("submenu")="change_password_update" then%> <% elseif Request.Querystring("menu")="statsupdate" and Request.Querystring("submenu")="update" then%> <% elseif Request.Querystring("menu")="statsupdate" and Request.Querystring("submenu")="spelarupdate" then%> <% elseif Request.Querystring("menu")="statsupdate" and Request.Querystring("submenu")="" then%> <% elseif Request.Querystring("menu")="statsupdate" and Request.Querystring("submenu")="matchreferat_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="tabell_admin" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="tabell_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="tabell_uppdatera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="news_admin" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="news_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="nextgame_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="nextgame_admin" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="resultat_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="resultat_admin" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="laget_admin" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="laget_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="matcher_redigera" then%> <% elseif Request.Querystring("menu")="HBmedlemmar" and Request.Querystring("submenu")="matcher_admin" then%> <% elseif Request.Querystring("menu")="statistik" and Request.Querystring("submenu")="rekord" then%> <% elseif Request.Querystring("menu")="records" then%> <% elseif Request.Querystring("menu")="bildbank" then%> <% else %> <% end if%>