?> href="?type=transaction&t=renterTransaction">Paid By You</a></li> <li><a <?php if ($_REQUEST['t'] == 'ownerTransaction') { ?> class="active" <?php } ?> id="reviewbyyou" href="?type=transaction&t=ownerTransaction">Received By You</a></li> </ul> </div> <?php if ($_GET['t'] == 'renterTransaction') { $owner_id = $_SESSION['user']['id']; $query = payment::payment_by_owner($owner_id); $res_trans_object = new PS_Pagination($conn, $query, 10, 5, "type=transaction&t=renterTransaction"); $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">Owner</div> <div class="datediv pL20">Amount</div> <div class="datediv">Date</div> </div>