Programalama > ASP


Ort. 0
Puan ver:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<% 
'XMLHTTP Open  
private Function GETHTTP(adres) 
Set StrHTTP = Server.CreateObject("Microsoft.XMLHTTP"
    StrHTTP.Open "GET" , adres, false 
    StrHTTP.sEnd 
    GETHTTP = StrHTTP.Responsetext 
Set StrHTTP = Nothing 
End Function 
'XMLHTTP Close  
URL = "http://www.tcmb.gov.tr/kurlar/today.html"  
 
bilgicek = GETHTTP(URL) 
 
   
 
a=InStr(1,bilgicek,"USD"
 
dolar1=Mid(bilgicek,a+45,10) 
dolar2=Mid(bilgicek,a+60,10)
   
b=InStr(1,bilgicek,"GBP"
 
sterlin1=Mid(bilgicek,b+35,15) 
sterlin2=Mid(bilgicek,b+50,15) 
 
c=InStr(1,bilgicek,"EUR"
 
euro1=Mid(bilgicek,c+44,11) 
euro2=Mid(bilgicek,c+59,11) 
 
d=InStr(1,bilgicek,"USD/EUR"
 
kur1=Mid(bilgicek,d+42,13) 
 
%> 
<style>
table {font-family: arial; font-size: 11;}
a {color: #000000; text-decoration: bold}
a:hover {color: #FF0000}
body {font-family: arial; font-size: 11;}
h2 {color: #000000}
<!--
a{text-decoration:none}
//-->
</style>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: 
 
collapse" bordercolor="#111111" width="131" id="AutoNumber2" height="43">
   <tr>
     <td width="64"  height="20" style="border-left-style:none; 
 
border-left-width:medium; border-right-style:none; 
 
border-right-width:medium; border-bottom-style:none; 
 
border-bottom-width:medium" rowspan="2" valign="top">
     <b><font size="1" face="Verdana">Dolar</font></b></td>
     <td width="67" height="10"><font size="1" face="Verdana"><%=dolar1 
 
%></td>
   </tr>
   <tr>
     <td width="67" height="10"><font size="1" face="Verdana"><font
 
color="#808080"><%=dolar2 %></td>
   </tr>
   <tr>
     <td width="64"  height="20" style="border-style: none; border-width: 
 
medium" rowspan="2" valign="top">
     <b><font size="1" face="Verdana">Euro</font></b></td>
     <td width="67" height="10"><font size="1" face="Verdana"><%=euro1 
 
%></td>
   </tr>
   <tr>
     <td width="67" height="10"><font size="1" face="Verdana"><font
 
color="#808080"><%=euro2 %></td>
   </tr>
   <tr>
     <td width="64"  height="20" style="border-style: none; border-width: 
 
medium" rowspan="2" valign="top">
     <b><font size="1" face="Verdana">Sterlin</font></b></td>
     <td width="67" height="10"><font size="1" face="Verdana"><%=sterlin1 
 
%></td>
   </tr>
   <tr>
     <td width="67" height="10"><font size="1" face="Verdana"><font
 
color="#808080"><%=sterlin2 %></td>
   </tr>
   <tr>
     <td width="64"  height="10" style="border-style: none; border-width: 
 
medium">
     <b><font size="1" face="Verdana">USD/EUR </font></b></td>
     <td width="67" height="10"><font size="1" face="Verdana" 
 
color="#C0C0C0"><%=kur1 %>   </td>
   </tr>
</table>


Yorumlar                 Yorum Yaz
Bu hazır kod'a ilk yorumu siz yapın!
KATEGORİLER
ASP - 240
ASP.NET - 24
C# - 75
C++ - 174
CGI - 8
DELPHI - 247
FLASH - 49
HTML - 536
PASCAL - 246
PERL - 11
PHP - 160
WML - 9
XML - 2
Copyright © 2002 - 2025 Hazır Kod - Tüm Hakları Saklıdır.
Siteden yararlanırken gizlilik ilkelerini okumanızı tavsiye ederiz.
hazirkod.com bir İSOBİL projesidir.