'; } else { } ?> <h1></h1> <b>Accounts Sold:</b> <?php echo $functions->GetUserAccSold($_SESSION['user_name']); ?> <h1></h1> <b>Total Profit: </b>$<?php echo $functions->GetTotalProfitUser($_SESSION['user_name']); ?> <h1></h1> <b>Awards: </b><?php echo $functions->GetUserAwards($_SESSION['user_name']); ?> </span> <br /> </div> <b><!--div class='motd' style='width: 100%'><div class='motdbackground'><div class='motdinner' ><span style='color: white'><?php echo $_SESSION['user_name']; ?> :: Selling/Sold</span>--> <?php require 'classes/paginator.php'; // Limit Search Results Per Page $records_per_page = dnPageLimit; // Define Pagination Class $pagination = new Zebra_Pagination(); $MySQL = 'SELECT SQL_CALC_FOUND_ROWS * FROM accs WHERE seller="' . $_SESSION['user_name'] . '" LIMIT ' . ($pagination->get_page() - 1) * $records_per_page . ', ' . $records_per_page . '';