/** * Function displays the new product with there msrp and quantity * * * @return array */ function displayMsrpByQuantity() { include 'classes/Core/CRoleChecking.php'; include 'classes/Core/CProductEntry.php'; include 'classes/Display/DProductEntry.php'; $chkuser = Core_CRoleChecking::checkRoles(); if ($chkuser) { $output['area1'] = Core_CProductEntry::insertProduct(); Bin_Template::createTemplate('ProductEntry.html', $output); } else { $output['usererr'] = 'You are Not having Privilege to view this page contact your Admin for detail'; Bin_Template::createTemplate('Errors.html', $output); } }