• 03-06-2006, 11:57:40
    #1
    Üyeliği durduruldu
    veriler bigpara.com dan çekiliyor.

    <meta http-equiv="refresh" content="600">
    
    
    <style>
    body { 
    background-color: #efefef; 
    font-family: Arial, Verdana, sans-serif; 
    font-size: 10px; 
    color: blue;
    }
    
    a { font-family: Arial, Verdana, sans-serif; font-size: 0px ; color: #ffffff; text-decoration: none}
    
    a:hover { font-family: Arial, Verdana, sans-serif; font-size: 0px; color: #ffffff; background-color: #ffffff}
    
    
    table {width:190px;font-family: Arial, Verdana, sans-serif; font-size: 10px; color: #000000; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px }
    
    td {font-size: 0px; color: #000000; background-color: #ffffff; }
    
    .note { font-family: Arial, Verdana, sans-serif; font-size: 0px; color: #000000; 
    font-weight: bold;} 
    </style>
    
    <script language="JavaScript1.2">
    function disableselect(e){
    return false
    }
    
    function reEnable(){
    return true
    }
    
    //if IE4+
    document.onselectstart=new Function ("return false")
    
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>
    <table width=190>
    
    
    <MARQUEE onmouseover=this.stop() onmouseout=this.start() 
    scrollAmount=1 direction=up width="190" height=100>
    
    
    <?php 
    $file = fopen("http://www.bigpara.com/ticker/borsay.asp", "r") or die("Serverla ileti?im sa?lanamady!"); 
    while(!feof($file)){ 
    $line = fgets($file);//I wouldn't write trim to preserve the layout of the source 
    $line = str_replace("<a", "<a target=\"_blank\"", $line); 
    $line= str_replace(":", ": &nbsp; &nbsp; &nbsp;  ", $line); 
    $line= str_replace(":", "<font color=#efefef>:</font>", $line); 
    $line= str_replace("-", "<font color=red>-</font>", $line); 
    
    
    $line= str_replace("width", "<br>", $line); 
    $text .= $line."<br>"; 
    } 
    fclose($file); 
    $begin = 0; 
    $end = 0; 
    while(($begin = strpos($text, "<img", $end))!== false) 
    { 
    $end = strpos($text, ">", $begin) + 1; 
    $t_start = substr($text, 0, $begin); 
    $t_end = substr($text, $end, strlen($text) - $end); 
    $text = $t_start.$t_end; 
    } 
    echo $text;
    
    ?> 
    
    </MARQUEE> 
    
    
    </table>
  • 23-07-2006, 00:38:08
    #2
    chemeng adlı üyeden alıntı:
    veriler bigpara.com dan çekiliyor.

    <meta http-equiv="refresh" content="600">
     
     
    <style>
    body { 
    background-color: #efefef; 
    font-family: Arial, Verdana, sans-serif; 
    font-size: 10px; 
    color: blue;
    }
     
    a { font-family: Arial, Verdana, sans-serif; font-size: 0px ; color: #ffffff; text-decoration: none}
     
    a:hover { font-family: Arial, Verdana, sans-serif; font-size: 0px; color: #ffffff; background-color: #ffffff}
     
     
    table {width:190px;font-family: Arial, Verdana, sans-serif; font-size: 10px; color: #000000; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px }
     
    td {font-size: 0px; color: #000000; background-color: #ffffff; }
     
    .note { font-family: Arial, Verdana, sans-serif; font-size: 0px; color: #000000; 
    font-weight: bold;} 
    </style>
     
    <script language="JavaScript1.2">
    function disableselect(e){
    return false
    }
     
    function reEnable(){
    return true
    }
     
    //if IE4+
    document.onselectstart=new Function ("return false")
     
    //if NS6
    if (window.sidebar){
    document.onmousedown=disableselect
    document.onclick=reEnable
    }
    </script>
    <table width=190>
     
     
    <MARQUEE onmouseover=this.stop() onmouseout=this.start() 
    scrollAmount=1 direction=up width="190" height=100>
     
     
    <?php 
    $file = fopen("http://www.bigpara.com/ticker/borsay.asp", "r") or die("Serverla ileti?im sa?lanamady!"); 
    while(!feof($file)){ 
    $line = fgets($file);//I wouldn't write trim to preserve the layout of the source 
    $line = str_replace("<a", "<a target=\"_blank\"", $line); 
    $line= str_replace(":", ": &nbsp; &nbsp; &nbsp;  ", $line); 
    $line= str_replace(":", "<font color=#efefef>:</font>", $line); 
    $line= str_replace("-", "<font color=red>-</font>", $line); 
     
     
    $line= str_replace("width", "<br>", $line); 
    $text .= $line."<br>"; 
    } 
    fclose($file); 
    $begin = 0; 
    $end = 0; 
    while(($begin = strpos($text, "<img", $end))!== false) 
    { 
    $end = strpos($text, ">", $begin) + 1; 
    $t_start = substr($text, 0, $begin); 
    $t_end = substr($text, $end, strlen($text) - $end); 
    $text = $t_start.$t_end; 
    } 
    echo $text;
     
    ?> 
     
    </MARQUEE> 
     
     
    </table>
    kod güzel senmi yazdın bilmiyorum ama teşekkürler.
    Ama bu kodu kullandığında hisse senetlerinin değerleri bir düzen içinde değil yani satır ortalama şeklinde çıkıyor. Bunu bir düzenleyip Bütün Verileri

    His.Adı. İl.End. Sn.End.
    ISBNK 120.020 121.021

    gibi hizalaman mümkün mü?
  • 23-07-2006, 00:46:20
    #3
    Üyeliği durduruldu
    hayır kodlar bir arkadaşa ait zamanında almıştım...
  • 23-07-2006, 01:29:01
    #4
    Eposta Aktivasyonu Gerekmekte
    çok teşekkürler

    denedim ileride işime yarayabilir

    ama biraz yamuk yumuk kayıyor
  • 23-07-2006, 01:33:35
    #5
    Üyeliği durduruldu
    Feridun Bitir adlı üyeden alıntı:
    çok teşekkürler

    denedim ileride işime yarayabilir

    ama biraz yamuk yumuk kayıyor
    rica ederim. evet biraz oynamak lazım kodlarla
  • 05-10-2006, 16:58:12
    #6
    evet biraz editlemeklazım