<?php

$tickersymbol = $_POST["tickersymbol"];


     $open = fopen("http://finance.yahoo.com/d/quotes.csv?s=$tickersymbol&f=sl1d1t1c1ohgv&e=.csv", "r");
        $read = str_replace("","", trim(fread($open, 2000)));

        $data = explode(",", $read);
        fclose($open);



?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<meta name="generator" content="Web Page Maker V2 (unregistered version)">

<style type="text/css">
/*----------Text Styles----------*/
.ws6 {font-size: 8px;}
.ws7 {font-size: 9.3px;}
.ws8 {font-size: 11px;}
.ws9 {font-size: 12px;}
.ws10 {font-size: 13px;}
.ws11 {font-size: 15px;}
.ws12 {font-size: 16px;}
.ws14 {font-size: 19px;}
.ws16 {font-size: 21px;}
.ws18 {font-size: 24px;}
.ws20 {font-size: 27px;}
.ws22 {font-size: 29px;}
.ws24 {font-size: 32px;}
.ws26 {font-size: 35px;}
.ws28 {font-size: 37px;}
.ws36 {font-size: 48px;}
.ws48 {font-size: 64px;}
.ws72 {font-size: 96px;}
.wpmd {font-size: 13px;font-family: 'Arial';font-style: normal;font-weight: normal;}
/*----------Para Styles----------*/
DIV,UL,OL /* Left */
{
 margin-top: 0px;
 margin-bottom: 0px;
}
</style>

<style type="text/css">
a.style1:link{color:#FFFFFF;text-decoration: none;}
a.style1:visited{color:#FFFFFF;text-decoration: none;}
a.style1:active{color:#FFFFFF;text-decoration: none;}
a.style1:hover{color:#FFFFFF;text-decoration: none;}
</style>
<style type="text/css">
div#container
{
	position:relative;
	width: 777px;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
	text-align:left;
}
body {text-align:center;margin:0}
</style>
<script src="ac_activex.js" type="text/javascript"></script>
</head>

<body>

<div id="container">
<div id="image1" style="position:absolute; overflow:hidden; left:33px; top:0px; width:711px; height:108px; z-index:0"><img src="images/uf1.gif" border=0 width=711 height=108></div>

<div id="shape1" style="position:absolute; overflow:hidden; left:33px; top:105px; width:711px; height:30px; z-index:1; background-color:#585858">&nbsp;</div>

<div id="flash1" style="position:absolute; overflow:hidden; left:33px; top:136px; width:510px; height:163px; z-index:2">
<script type="text/javascript">
AC_RunFlashContent('id','flash1','width','510','height','163','quality','high','autoplay','false','loop','false','wmode','transparent','codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab','pluginspage','http://www.macromedia.com/go/getflashplayer','src','images/swf7GGFB.swf');
</script>
<noscript>
<object width=510 height=163 classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
<param name="movie" value="images/swf7GGFB.swf">
<param name="quality" value="high">
<param name="loop" value="false">
<param name="wmode" value="transparent">
<param name="autoplay" value="false">
<embed src="images/swf7GGFB.swf" width=510 height=163 quality="high" TYPE="application/x-shockwave-flash" wmode="transparent" loop="false" autoplay="false" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>
</noscript>
</div>

<div id="roundrect2" style="position:absolute; overflow:hidden; left:549px; top:135px; width:195px; height:165px; z-index:3"><img border=0 src="images/roundrect49239593.gif"></div>

<div id="image2" style="position:absolute; overflow:hidden; left:80px; top:17px; width:55px; height:63px; z-index:4"><img src="images/lg103.gif" border=0 width=55 height=63></div>

<div id="text1" style="position:absolute; overflow:hidden; left:145px; top:27px; width:159px; height:60px; z-index:5"><div class="wpmd">
<div><font class="ws12" color="#808080" face="Tahoma"><B>WEB BASED STOCK FORECASTER ...</B></font></div>
</div></div>

<div id="roundrect3" style="position:absolute; overflow:hidden; left:31px; top:306px; width:713px; height:261px; z-index:6"><img border=0 src="images/roundrect49239594.gif"></div>

<div id="text2" style="position:absolute; overflow:hidden; left:554px; top:156px; width:175px; height:138px; z-index:7"><div class="wpmd">
<div><font color="#808080" face="Tahoma"><B> </B></font></div>
<div><font color="#808080" face="Tahoma"><B><BR></B></font></div>
</div></div>

<div id="shape2" style="position:absolute; overflow:hidden; left:31px; top:574px; width:711px; height:51px; z-index:8; background-color:#585858">&nbsp;</div>

<div id="shape3" style="position:absolute; overflow:hidden; left:646px; top:751px; width:100px; height:35px; z-index:9; background-color:#FFFFFF">&nbsp;</div>

<div id="text3" style="position:absolute; overflow:hidden; left:82px; top:111px; width:516px; height:20px; z-index:10"><div class="wpmd">
<div><font face="Tahoma"><B><a href="index.html" class="style1">HOME</a></B></font><font color="#333333" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></font><font color="#FFFFFF" face="Tahoma"><B>|</B></font><font color="#333333" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></font><font face="Tahoma"><B><a href="details.html" class="style1">DETAILS</a></B></font><font color="#333333" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></font><font color="#FFFFFF" face="Tahoma"><B>|</B></font><font color="#333333" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></font><font face="Tahoma"><B><a href="stockforecaster.html" class="style1">STOCK FORECASTER</a></B></font><font color="#333333" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></font><font color="#FFFFFF" face="Tahoma"><B>| </B></font><font color="#333333" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </B></font><font face="Tahoma"><B><a href="contacts.html" class="style1">CONTACT US</a></B></font></div>
</div></div>

<div id="text4" style="position:absolute; overflow:hidden; left:60px; top:320px; width:459px; height:381px; z-index:11"><div class="wpmd">
<div><font class="ws16" color="#FFCC00" face="Arial Narrow">
   <?php
         echo $tickersymbol;
   ?>
</font></div>
<div><font class="ws8" color="#808080" face="Tahoma">                                                                                                                            </font></div>
<div align=justify><font class="ws8" color="#808080" face="Tahoma">



<BR>
<BR>
<TABLE BORDER=1 BORDERCOLOR="#006699" CELLSPACING=0 CELLPADDING=0 WIDTH=350>
<TR>
<TD width=150><b>Ticker Symbol</b>:</TD>
<TD><? echo ("$data[0]"); ?></TD>
</TR>
<TR>
<TD width=150><b>Last Trade</b>:</TD>
<TD><? echo ("$data[1]"); ?></TD>
</TR>
<TR>
<TD width=150><b>Last Trade At</b>:</TD>
<TD><? echo ("$data[2] $data[3]"); ?></TD>
</TR>
<TR>
<TD width=150><b>Change</b>:</TD>
<TD><? echo ("$data[4]"); ?></TD>
</TR>
<TR>
<TD width=150><b>Opened At</b>:</TD>
<TD><? echo ("$data[5]"); ?></TD>
</TR>
<TR>
<TD width=150><b>Day Range</b>:</TD>
<TD><? echo ("$data[6] - $data[7]"); ?></TD>
</TR>
<TR>
<TD width=150><b>Volume</b>:</TD>
<TD><? echo ("$data[8]"); ?></TD>
</TABLE>
<p>


</div>






<div id="text7" style="position:absolute; overflow:hidden; left:774px; top:143px; width:175px; height:138px; z-index:18"><div class="wpmd">
<div><font color="#808080" face="Tahoma"><B><BR></B></font></div>
<div><font color="#808080" face="Tahoma"><B><BR></B></font></div>
<div><font color="#808080" face="Tahoma"><B><BR></B></font></div>
<div><font color="#808080" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dont put your </B></font></div>
<div><font color="#808080" face="Tahoma"><B> &nbsp; &nbsp; &nbsp; &nbsp;</B></font><font color="#808080" face="Tahoma"><B>trust in money... </B></font></div>
<div><font color="#808080" face="Tahoma"><B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; put your trust in us !</B></font></div>
</div></div>

<div id="html1" style="position:absolute; overflow:hidden; left:733px; top:584px; width:200px; height:33px; z-index:20">
<script src="http://www.clocklink.com/embed.js"></script><script type="text/javascript" language="JavaScript">obj=new Object;obj.clockfile="5004-white.swf";obj.TimeZone="USA_NewYork";obj.width=240;obj.height=20;obj.Place="";obj.DateFormat="yyyy / mm / dd DDD";obj.TimeFormat="hh:mm:ss TT";obj.wmode="transparent";showClock(obj);</script></div>



</div></body>
</html>
