echo '<label class="control-label" for="inputSuccess">Women ANC Followup recorded successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women ANC Followup was not recorded.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } else { if ($btn == "update") { if ($db->editAncFollowup($anc_followup, $anc_id) > 0) { echo '<label class="control-label" for="inputSuccess"> Women ANC Followup updated successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women ANC Followup was not updated.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $anc_id); ?> <div class="row"> <form role="form" action="anc_followup.php?id=<?php echo $anc_id; ?> " method="post"> <div class="col-lg-6"> <button type="button" onclick="window.location.href='women_anc.php'" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> <input type="hidden" name="mode" value="anc_followup" /> <div class="form-group"> <label>Participant Study ID</label> <input class="form-control" value="<?php if ($action == "edit") { echo $select_record["anc_study_id"];
echo '<label class="control-label" for="inputSuccess">Women Identifiers and Demographics recorded successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Identifiers and Demographics was not recorded.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } else { if ($btn == "update") { if ($db->editDemographics($demographics, $demographic_id) > 0) { echo '<label class="control-label" for="inputSuccess"> Women Identifiers and Demographics updated successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Identifiers and Demographics was not updated.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $demographic_id); ?> <div class="row"> <form role="form" action="demographics_identifier.php?id=<?php echo $demographic_id; ?> " method="post"> <div class="col-lg-6"> <button type="button" onclick="window.location.href='demographics.php'" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> <input type="hidden" name="mode" value="demographics" /> <div class="form-group"> <label>Participant Study ID</label> <input class="form-control" <?php if ($action == "edit") { echo "disabled";
echo "<tr><td>" . $rec["u_userid"] . "</td>"; echo "<td>" . $rec["u_name"] . "</td>"; echo "<td>" . $rec["u_username"] . "</td>"; echo "<td>" . $rec["u_rolecode"] . "</td>"; echo "<td> <a href='admin.php?action=edit&id=" . $rec["u_userid"] . "' class='fa fa-edit' alt='Edit current record'></a> | " . "<a href='admin.php?action=delete&id=" . $rec["u_userid"] . "' class='fa fa-times' alt='Delete current record'></a></td></tr>"; } ?> </tbody> </table> </div> <?php } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $user_id); ?> <form role="form" action="admin.php?id=<?php echo $user_id; ?> " method="post"> <button type="button" onclick="window.location.href='admin.php'" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> <input type="hidden" name="mode" value="user" /> <div class="form-group"> <label>User Full Names</label> <input class="form-control" value="<?php if ($action == "edit") { echo $select_record["u_name"]; } ?>
echo '<label class="control-label" for="inputSuccess">Women Adherence recorded successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Adherence was not recorded.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } else { if ($btn == "update") { if ($db->editAdherence($adherence, $adherence_id) > 0) { echo '<label class="control-label" for="inputSuccess">Women Adherence updated successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Adherence was not updated.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $adherence_id); ?> <div class="row"> <form role="form" action="adherence.php?id=<?php echo $adherence_id; ?> " method="post"> <div class="col-lg-6"> <button type="button" onclick="window.location.href='women_adherence.php'" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> <input type="hidden" name="mode" value="adherence" /> <div class="form-group"> <label>Participant Study ID</label> <input class="form-control" value="<?php if ($action == "edit") { echo $select_record["a_study_id"]; } else {
echo 'Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Early Infant Diagnosis was not updated.</label>'; echo '<br \\>'; echo 'Return to <a href="dashboard.php" >Dashboard</a>'; } } } } } } } } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $Diag_id); ?> <div class="panel-heading"> Enter forms details <button type="button" onclick="window.location.href='infant_diagnosis.php?id=<?php echo $Diag_id; ?> '" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> </div> <div class="panel-body"> <!-- Nav tabs --> <ul class="nav nav-tabs"> <li class="active"><a href="#diagnosis" data-toggle="tab">Diagnosis</a> </li> <li><a href="#dna_pcr" data-toggle="tab">1st DNA PCR</a> </li> <li><a href="#rpt_pcr" data-toggle="tab">Repeat PCR </a>
<div class="col-lg-12"> <h1 class="page-header">Study ID: <?php echo $demographic_study_id; ?> </h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> <div class="col-lg-4"> <div class="panel panel-default"> <div class="panel-heading"> <h3 class="text-danger">Demographic and identifier summary</h3> <?php $select_record = $db->selectRecord($demographics_table, $demographics_table_id, $demographic_study_id); ?> </div> <div class="panel-body"> <h3>Date of birth: <small><?php echo $select_record["birth_date"]; ?> </small></h3> <h3>Facility ID: <small><?php echo $select_record["facility_id"]; ?> </small></h3> <h3>Anc ID: <small><?php echo $select_record["anc_id"]; ?> </small></h3>
</li> <?php } ?> </li> </ul> </div> <!-- /.sidebar-collapse --> </div> <!-- /.navbar-static-side --> </nav> <?php $inf_reg_rec = $db->selectRecord($infant_registration_table, $infant_registration_table_id, $infant_registation_id); ?> <div id="page-wrapper"> <div class="row"> <div class="col-lg-12"> <h1 class="page-header">HEI ID: <?php echo $inf_reg_rec["hei_id"]; ?> </h1> </div> <!-- /.col-lg-12 --> </div> <!-- /.row --> <div class="row"> <div class="col-lg-4"> <div class="panel panel-default">
} else { echo '<label class="control-label" for="inputError">Women Retention was not recorded.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } else { if ($btn == "update") { if ($db->editRentention($retention, $retention_id) > 0) { echo '<label class="control-label" for="inputSuccess">Women Retention recorded successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo "id = " . $retention_id; echo '<label class="control-label" for="inputError">Women Retention was not recorded.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $retention_id); ?> <form role="form" action="retention.php?id=<?php echo $retention_id; ?> " method="post"> <button type="button" onclick="window.location.href='women_retention.php'" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> <input type="hidden" name="mode" value="retention" /> <div class="form-group"> <label>Participant Study ID</label> <input class="form-control" value="<?php if ($action == "edit") { echo $select_record["r_study_id"]; } else { if ($_REQUEST["action"] == "add") {
echo '<label class="control-label" for="inputSuccess">Women Variables recorded successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Variables was not recorded.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } else { if ($btn == "update") { if ($db->editVariables($variables, $variables_id) > 0) { echo '<label class="control-label" for="inputSuccess">Women Variables updated successfully</label> <br \\> Return to <a href="dashboard.php" >Dashboard</a>'; } else { echo '<label class="control-label" for="inputError">Women Variables was not updated.</label><br \\>Return to <a href="dashboard.php" >Dashboard</a>'; } } } } if ($action == "add" || $action == "edit") { $select_record = $db->selectRecord($table, $tbl_id, $variables_id); ?> <div class="row"> <form role="form" action="variables.php?id=<?php echo $variables_id; ?> " method="post"> <div class="col-lg-6"> <button type="button" onclick="window.location.href='women_variables.php'" class="btn btn-outline btn-primary btn-xs">Back</button><br><br> <input type="hidden" name="mode" value="variables" /> <div class="form-group"> <label>Participant Study ID</label> <input class="form-control" value="<?php if ($action == "edit") { echo $select_record["v_study_id"];