<div class="mainbox col-md-12" > <div class="row"> <a type="button" class="btn btn-lg btn-primary" onclick="history.back();" value="Back">Back</a> <!-- Simple jQuery calls to switch out divs --> <!-- <a type="button" class="btn btn-primary" href="#" onClick="<?php make_swap_code('#lessons', $mytabs); ?> ">Lessons</a> --> <!-- <a type="button" class="btn btn-primary" href="#" onClick="<?php make_swap_code('#youth_orchestra', $mytabs); ?> ">Rowan Youth Orchestra</a> --> <!-- <a type="button" class="btn btn-primary" href="#" onClick="<?php make_swap_code('#total', $mytabs); ?> ">Aggregate</a> --> <!-- <a type="button" class="btn btn-primary" href="#" onClick="<?php make_show_all_tabs_code($mytabs); ?> ">Show All</a> --> </div> <!-- TODO: FIX this bit. --> <div id="lessons" class="table-responsive"> <h3>Lessons</h3> <table class="table table-striped"> <?php if ($results = $db->query($sql_lessons)) {
Demographics</a> <a type="button" class="btn btn-primary" onClick="<?php make_swap_code("#conditions_medications_surgery", $mytabs); ?> ">Existing Conditions</a> <a type="button" class="btn btn-primary" onClick="<?php make_swap_code('#pain', $mytabs); ?> ">Patient Pain</a> <a type="button" class="btn btn-primary" onClick="<?php make_swap_code("#symptoms", $mytabs); ?> ">Symptoms</a> <a type="button" class="btn btn-primary" onClick="<?php make_swap_code("#previous_office_visits", $mytabs); ?> ">Previous Office Visits</a> <!-- Same exact format, change the value of first param in make_swap_code() to whatever your div id is--> </div> <!-- DEMOGRAPHICS TAB SECTION --> <div <?php $my_id = "demographics"; make_div_line_code($my_id, $tab === $my_id); ?> class="table-responsive"> <h3>Patient Demographics</h3>