Asp’de puana göre üye tanımlama

'Programlama' forumunda ...... tarafından 14 Eyl 2009 tarihinde açılan konu

Konu etiketleri:
  1. ......

    ...... Misafir



    Asp evinin bu makalesinde sizlere puana göre üye tanımlanmasını sağlayabileceğiniz asp kodları verilmiştir. Bu kodlar Anket , Forum , Arkadaşlık sistemi vb. yerlerde kullanabilirsiniz.



    Kod:
    <%
    set  rs = server.createobject (”adodb.recordset”)
    rs.open “uye where puan”,db,1,3
    
    if  rs(puan)>=0 and rs(puan)<50  then
    response.write “Yeni Üye”
    else
    end  if
    
    if  rs(puan)>=51 and rs(puan)<100  then
    response.write “Normal Üye”
    else
    end  if
    
    if  rs(puan)>=101 and rs(puan)<250  then
    response.write “Bronz Üye”
    else
    end  if
    
    if  rs(puan)>=251 and rs(puan)<500  then
    response.write “Gümüş Üye”
    else
    end  if
    
    if  rs(puan)>=501 and rs(puan)<1000  then
    response.write “Altın Üye”
    else
    end  if
    
    %>

    Yukarıdaki kodları sayfanıza uygulayarak puana göre üye tanımlayabilirsiniz.​
     

Bu Sayfayı Paylaş