<tr><td colspan="6" align="center" valign="middle">
    <table align="center" >
    <tr>
    <td><img src="images/listmain.png" /></td>
    <td style="color:#003399; font-family:Arial, Helvetica, sans-serif; font-weight:bold; font-size:18px;" align="center" valign="middle">
    &nbsp;&nbsp;List</td>
    </tr>
    </table>
	</td></tr>

<tr><td colspan="6"><table width="100%"><tr><td>
<br />

<?php 
$user = new user();
$result = $transaction->getall();
if (is_array($result)) {
    ?>

 <a href='add_transaction.php'>ADD Transaction</a>
<form name="listtransaction" action="delete_transaction.php?action=delete" method="post" onsubmit="return deletetransaction(); ">
<input type="hidden" id="selectcheck"  name="selectcheck" />
<table width="100%"><tr><td align="right" width="100%">
<b><font color="red" size="2"> *Delete : this will delete there all data from the website </font></b><input type="submit" value="Delete" /></td></tr></table>
<table width="100%" style="font-family:Arial, Helvetica, sans-serif; font-size:13px;"> 	
	<tr bgcolor="#3262bd">
		<td class="grey" align="center">Username</td>
		<td class="grey" align="center">Amount</td>
		<td class="grey" align="center">Description</td>
		<td class="grey" align="center">Edit</td>
		<td class="grey" align="center">Delete</td>