Php yardım yapmanız için hep php hemde asp bilmeniz gerek

chaglar

New member
Katılım
2 Ağu 2005
Mesajlar
600
Reaction score
0
Puanları
0
Konum
Home
Kod:
<%
dim mesajsayisi
 
if lngAuthorNumOfPosts = 1 then
     mesajsayisi = 1
elseif lngAuthorNumOfPosts = 2 then
     mesajsayisi = 2 
elseif lngAuthorNumOfPosts = 3 then
     mesajsayisi = 3  
elseif lngAuthorNumOfPosts = 4 then
     mesajsayisi = 4  
elseif lngAuthorNumOfPosts >= 5 and lngAuthorNumOfPosts <=10 then
     mesajsayisi = 8  
elseif lngAuthorNumOfPosts >= 11 and lngAuthorNumOfPosts <=20 then
     mesajsayisi = 12  
elseif lngAuthorNumOfPosts >= 21 and lngAuthorNumOfPosts <=30 then
     mesajsayisi = 14  
elseif lngAuthorNumOfPosts >= 31 and lngAuthorNumOfPosts <=40 then
     mesajsayisi = 15  
elseif lngAuthorNumOfPosts >= 41 and lngAuthorNumOfPosts <=50 then
     mesajsayisi = 17  
elseif lngAuthorNumOfPosts >= 51 and lngAuthorNumOfPosts <=54 then
     mesajsayisi = 18
elseif lngAuthorNumOfPosts >= 55 and lngAuthorNumOfPosts <=60 then
     mesajsayisi = 20  
elseif lngAuthorNumOfPosts >= 61 and lngAuthorNumOfPosts <=80 then
     mesajsayisi = 25  
elseif lngAuthorNumOfPosts >= 81 and lngAuthorNumOfPosts <=100 then
     mesajsayisi = 30  
elseif lngAuthorNumOfPosts >= 101 and lngAuthorNumOfPosts <=120 then
     mesajsayisi = 35  
elseif lngAuthorNumOfPosts >= 121 and lngAuthorNumOfPosts <=140 then
     mesajsayisi = 39  
elseif lngAuthorNumOfPosts >= 141 and lngAuthorNumOfPosts <=160 then
     mesajsayisi = 41  
elseif lngAuthorNumOfPosts >= 161 and lngAuthorNumOfPosts <=180 then
     mesajsayisi = 46  
elseif lngAuthorNumOfPosts >= 181 and lngAuthorNumOfPosts <=200 then
     mesajsayisi = 50  
elseif lngAuthorNumOfPosts >= 201 and lngAuthorNumOfPosts <=220 then
     mesajsayisi = 53  
elseif lngAuthorNumOfPosts >= 221 and lngAuthorNumOfPosts <=240 then
     mesajsayisi = 57  
elseif lngAuthorNumOfPosts >= 241 and lngAuthorNumOfPosts <=260 then
     mesajsayisi = 60  
elseif lngAuthorNumOfPosts >= 261 and lngAuthorNumOfPosts <=280 then
     mesajsayisi = 63  
elseif lngAuthorNumOfPosts >= 281 and lngAuthorNumOfPosts <=300 then
     mesajsayisi = 65  
elseif lngAuthorNumOfPosts >= 301 and lngAuthorNumOfPosts <=340 then
     mesajsayisi = 67  
elseif lngAuthorNumOfPosts >= 341 and lngAuthorNumOfPosts <=380 then
     mesajsayisi = 69  
elseif lngAuthorNumOfPosts >= 381 and lngAuthorNumOfPosts <=420 then
     mesajsayisi = 71  
elseif lngAuthorNumOfPosts >= 421 and lngAuthorNumOfPosts <=480 then
     mesajsayisi = 73  
elseif lngAuthorNumOfPosts >= 481 and lngAuthorNumOfPosts <=500 then
     mesajsayisi = 75  
elseif lngAuthorNumOfPosts >= 501 and lngAuthorNumOfPosts <=550 then
     mesajsayisi = 85  
elseif lngAuthorNumOfPosts >= 551 and lngAuthorNumOfPosts <=600 then
     mesajsayisi = 90  
elseif lngAuthorNumOfPosts >= 601 and lngAuthorNumOfPosts <=700 then
     mesajsayisi = 92  
elseif lngAuthorNumOfPosts >= 701 and lngAuthorNumOfPosts <=800 then
     mesajsayisi = 94  
elseif lngAuthorNumOfPosts >= 801 and lngAuthorNumOfPosts <=900 then
     mesajsayisi = 95  
elseif lngAuthorNumOfPosts >= 901 and lngAuthorNumOfPosts <=1000 then
     mesajsayisi = 96  
elseif  lngAuthorNumOfPosts >=1001 then
     mesajsayisi = 98  
 
else
mesajsayisi=0    
 
end if 
%>
<%
dim seviyesi
 
if strGroupName = "Te?men" then
    seviyesi = 32
elseif strGroupName = "Yüzba?y'" then
    seviyesi = 32
elseif strGroupName = "Binba?y'" then
    seviyesi = 40
elseif strGroupName = "Albay" then
    seviyesi = 45 
elseif strGroupName = "General" then
    seviyesi = 50 
elseif strGroupName = "Moderator" then
    seviyesi = 50 
elseif strGroupName = "Super Moderator" then
    seviyesi = 60 
elseif strGroupName = "Grup Yöneticisi" then
    seviyesi = 70  
elseif strGroupName = "istihbarat" then
    seviyesi = 75
elseif strGroupName = "(Information) Admin" then
    seviyesi = 78 
elseif strGroupName = "(Co) Admin" then
    seviyesi = 80
elseif strGroupName = "Administrator" then
    seviyesi = 90
  
 
 
else
seviyesi = 0
 
end if
%>
 

<%
dim deneyim
dim kayittarihi
dim bugununtarihi
 
kayittarihi = int(right(DateFormat(dtmAuthorRegistration, saryDateTimeData),4))
bugununtarihi = int(year(date))
 

if kayittarihi = bugununtarihi then                     ’ Bugünün Tarihi
        deneyim = 55                                   
    elseif kayittarihi + 1 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2004
       deneyim = 60
    elseif kayittarihi + 2 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2005
     deneyim = 75
    elseif kayittarihi + 3 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2006
     deneyim = 80
    elseif kayittarihi + 4 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2007
     deneyim = 85
    elseif kayittarihi + 5 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2008
     deneyim = 87
    elseif kayittarihi + 6 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2009
     deneyim = 90  
    elseif kayittarihi + 7 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2010
     deneyim = 92  
    elseif kayittarihi + 8 = bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2011
     deneyim = 95
    elseif kayittarihi + 9 <= bugununtarihi then         ’ (2003)Admin Kayit Tarihine Göre   2012  2013  2014 ......
     deneyim = 97    
else
     deneyim = 0
  
end if
 

%>
 
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="23">
      <tr>
            <td colspan="2"><font size="1">Aktiflik</font> <font size="1"> </font> </td>
      </tr>
      <tr>                          
            <td colspan="2" height="2"><font size="1">                      
<TABLE cellSpacing=0 cellPadding=0 width=100 border=1>
            <TBODY>                          
      <TR>                                
            <TD><IMG height=9 src= "forum_images/bhg.gif" width="<%=mesajsayisi%>%"><IMG height=9 src= "bhb.gif" width=1></TD>
     </TR>                                
            </TBODY>                          
</TABLE>                                   
                  </font> </td>                 
     <tr>                           
            <td colspan="2" height="3"><font size="1">Seviye</font></td>
     </tr>
     <tr>                                                      
            <td colspan="2" height="3">
<TABLE cellSpacing=0 cellPadding=0 width=100 border=1>                                  
            <TBODY>                          
     <TR>                                 
            <TD><IMG height=9 src= "forum_images/bmg.gif" width="<%=seviyesi%>%"><IMG height=9 src= "bmb.gif" width=1></TD>
     </TR>                                
            </TBODY>                          
</TABLE>                                   
      </td>
    </tr>                           
    <tr>                            
            <td colspan="2" height="9"><font size="1">Deneyim</font></td>
     </tr>                          
     <tr>                          
            <td colspan="2" height="2">
<table cellspacing=0 cellpadding=0 width=100 border=1>                                   
            <tbOdy>                          
     <tr>                                 
            <td><img height=9 src= "forum_images/bxg.gif" width="<%=deneyim%>%"><img height=9 src= "bxg.gif" width=1></td>
     </tr>                                
            </tbOdy>
</table>                                   
     </td>                              
     </tr>                            
</table>
Bu bir asp kodudur bunu asp ye cevirecek yada benzeri bişi yapacak bişi olan arkadaşlar yapabilirse memnun olurum
msn:[email protected]
 
Geri
Üst