示例#1
0
        ?>
</li></ul>
				</div>
				<!--/Pagination----------->
			</div>
		<?php 
    } else {
        echo '<h3>No transaction</h3>';
    }
}
?>

<?php 
if ($_GET['t'] == 'ownerTransaction') {
    $owner_id = $_SESSION['user']['id'];
    $query = payment::payment_by_user($owner_id);
    $res_trans_object = new PS_Pagination($conn, $query, 10, 5, "type=transaction&t=ownerTransaction");
    $res_trans = $res_trans_object->paginate();
    // if All messages seleted
    if (mysql_num_rows($res_trans) > 0) {
        ?>

			<div class="dashboardinbox">

				<div class="dasbmessagesbdr fontbld font18">	
						<div class="datediv">S.No</div>
						<div class="inboxcnt">Item</div>
						<div class="datediv">Renter</div>
						<div class="datediv pL20">Amount</div>
						<div class="datediv">Date</div>	
				</div>