function body_content() { if (!empty($this->results)) { $str = filter_input(INPUT_SERVER, 'QUERY_STRING'); $json = FormLib::queryStringToJSON($str); $this->results .= ' <p> <button type="button" class="btn btn-default" onclick="location=\'ReprintReceiptPage.php\';">New Search</button> <a href="?json=' . base64_encode($json) . '" class="btn btn-default btn-reset"> Adjust Search</a> </p>'; return $this->results; } else { return $this->form_content(); } }