<?php echo $header;?>
<div id="dashboard">
	<div class="container">
<div class="row"><br/></div>
<div class="panel">

	<div class="panel-header"><?php echo $LANG["WBS_DEPOSIT_MANAGEMENT"];?></div>

<div class="panel-content">
<div class="row"><br/></div>

<div id="deposit-management" class="col-md-12">


	<table class="table table-condensed">
		  <thead>
			<tr>
			  <th><?php echo $LANG["WBS_DEPOSIT_TRANSACTION_TYPE"];?></th>
			  <th><?php echo $LANG["WBS_DEPOSIT_INFO"];?></th>
			  <th><?php echo $LANG["WBS_DEPOSIT_AMOUNT"];?></th>
			  <th><?php echo $LANG["WBS_DEPOSIT_DATE"];?></th>
			</tr>
		  </thead>
		  <tbody>

<?php if ( !empty ( $dps ) ) { ?>
	<?php foreach($dps as $deposit): ?>
			<tr>
			  <td>
				<?php if ( $deposit['adv_deposits_type'] == 1 ) { ?>
					<?php echo $LANG["WBS_DEPOSIT_PAYPAL"];?>
				<?php } ?>

				<?php if ( $deposit['adv_deposits_type'] == 0 ) { ?>
					<?php echo $LANG["WBS_DEPOSIT_TYPE_ADMIN_TRANSACTION"];?>
				<?php } ?>
			  </td>
			<td>
				<?php if ( $deposit['adv_deposits_type'] == 1 ) { ?>
					<?php echo $deposit['adv_deposits_email'];?>
				<?php } ?>

				<?php if ( $deposit['adv_deposits_type'] == 0 ) { ?>
					<?php echo $deposit['adv_deposits_details'];?>
				<?php } ?>
			</td>


<?php if ( MONEY_ALIGN == 'LEFT' ) { ?>
	<td><?php echo MONEY_SYMBOL;?> <?php echo $deposit['adv_deposits_amount'];?></td>
<?php } ?>

<?php if ( MONEY_ALIGN == 'RIGHT' ) { ?>
	<td><?php echo $deposit['adv_deposits_amount'];?> <?php echo MONEY_SYMBOL;?></td>
<?php } ?>


			  <td><?php echo date( DATE_FORMAT_FULL, $deposit['adv_deposits_date'] );?></td>
			</tr>
	<?php endforeach; ?>
<?php } ?>


		  </tbody>
	</table>

<?php if ( $paginator['rows'] > 10 ) { ?>
<div class="row"></div>
	<?php echo $paginator['pager'];?>
<?php } ?>


</div>
<div class="row"><br/></div>
</div>

</div>
</div>
</div>
<?php echo $footer;?>