[fusion_code]<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!--?php mysql_select_db('nslDb', mysql_connect('167.114.89.122','nsltd','!nslDb1'))or die(mysql_error()); $mostrecDate_qry = mysql_query("SELECT id,date FROM price_list ORDER BY date DESC LIMIT 1") or die(mysql_error()); $mRow = mysql_fetch_assoc($mostrecDate_qry ); $latestRecentDate = $mRow ['date'];$download_query = mysql_query("SELECT * FROM original_price_list ORDER BY date DESC LIMIT 7 ") or die(mysql_error());?-->[/fusion_code][fusion_code]
<div class="account-header ">
<div class="textLeft">Market Information for <!--?php echo $latestRecentDate; ?--></div>
<div class="boxRight">
<form id="form1" style="margin: 0; padding: 0;"> <input id="downloadFile" hidden="" type="" value=""><label id="boxMe" style="display: inline;">Download Stock Market List for </label><select class="form-control margin-bottom-15 spec" style="display: inline;" name="pType" id="originalList" required=""><option>Select Date</option><!--?php while($row_dow = mysql_fetch_array($download_query)){?--><option value=""><!--?php echo $row_dow['date'];?--></option><!--?php } ?--> </select><a id="downloadBtn" class="btn smallbtn" style="display: inline; visibility: hidden;" type="submit">Download</a></form>
</div>
</div>
[/fusion_code]
[fusion_code]
<div class="fusion-table table-1">
<!--?php $count +=1;} ?-->
<table class="tbNsl" style="width: 100%;">
<thead>
<tr>
<th>S/N</th>
<th>COMPANY</th>
<th>PCLOSE</th>
<th>OPEN</th>
<th>HIGH</th>
<th>LOW</th>
<th>CLOSE</th>
<th>NAIRA<br>
CHANGE</th>
<th>DEALS</th>
<th>VOLUME</th>
<th>VALUE</th>
</tr>
</thead>
<tbody>
	<!--?php $query = mysql_query("SELECT company,pclose,open,high,low,close,fchange,trades,volume,value FROM price_list_content INNER JOIN price_list ON price_list_content.price_list_name = price_list.price_list_name WHERE price_list.date = '$latestRecentDate' ORDER BY price_list_content.id ASC ") or die(mysql_error()); $count = 1; while ($row = mysql_fetch_array($query)) { ?-->
<tr class="trNsl">
<td><!--?php echo $count; ?--></td>
<td align="left"><a href="http://nigerianstockbrokersltd.com/security?company="><!--?php echo $row['company']; ?--></a></td>
<td align="right"><!--?php echo $row['pclose']; ?--></td>
<td align="right"><!--?php echo $row['open']; ?--></td>
<td align="right"><!--?php echo $row['high']; ?--></td>
<td align="right"><!--?php echo $row['low']; ?--></td>
<td align="right"><!--?php echo $row['close']; ?--></td>
<td align="right"><!--?php if ($row['fchange'] --> 0){?&gt;
		<b class="pl_Green"><!--?php echo $row['fchange']; ?--></b>
		<!--?php }elseif ($row['fchange'] == 0){ echo $row['fchange']; }else{?-->
		<b class="pl_Red"><!--?php echo $row['fchange']; ?--></b>
		<!--?php } ?-->
	</td>
<td align="right"><!--?php echo $row['trades']; ?--></td>
<td align="right"><!--?php echo $row['volume']; ?--></td>
<td align="right"><!--?php echo $row['value']; ?--></td>
</tr>
</tbody>
</table>
</div>
[/fusion_code]

S/N COMPANY PCLOSE OPEN HIGH LOW CLOSE NAIRA
CHANGE
DEALS VOLUME VALUE
0){?>