</ol> </div>'; } if ($_GET['type'] == 'requirements') { include $DOC_ROOT . '/front/requirements.php'; } if ($_GET['type'] == 'myRents' or $_GET['type'] == 'previous' or $_GET['type'] == 'upcoming') { if ($_GET['type'] == 'myRents') { $list_of_items = itemClass::to_get_all_rent_items_for_user($user_id); // my rent } if ($_GET['type'] == 'previous') { $list_of_items = itemClass::to_get_detail_previous_items_for_user($user_id); } if ($_GET['type'] == 'upcoming') { $list_of_items = itemClass::to_get_detail_upcoming_items_for_user($user_id); } if (mysql_num_rows($list_of_items) > 0) { ?> <div class="dashrentalsdiv"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <th width="15%" height="27" align="left" class="bdrbtmgrey">Status</th> <th width="50%" align="left" class="bdrbtmgrey">Item</th> <th width="20%" align="left" class="bdrbtmgrey">Owner</th> <th width="20%" align="left" class="bdrbtmgrey">Dates</th> <th class="bdrbtmgrey">Options</th> </tr> <?php while ($list_data = mysql_fetch_assoc($list_of_items)) {