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(":", ": ", $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>