<?php 

function check_entrance_result_cb() {
	global $post_meta;
  add_page_javascript('app/elements/form.js');
	add_page_javascript('contents/plugins/admission/js/check-result.js');
	?>
	<style type="text/css">
		.result-heading{
			color: #db1414 !important;
		}
	</style>
	<div class="jumbotron" id="res-cont" style="display: none;">
        <h1 id="result-heading" class="display-4 result-heading mb-3">Found!</h1>
        <div class="table-responsive">
          <table id="res-table" width="200" border="1" class="table">
            <thead>
              <tr>
                <th class="pb-0 pt-0" scope="col">SN </th>
                <th class="pb-0 pt-0" scope="col"> SUBJECT</th>
                <th class="pb-0 pt-0" scope="col"> SCORE</th>
              </tr>
            </thead>
            <tbody></tbody>
          </table>
        </div>
      </div>
      <form id="check-result-form" method="post" action="contents/plugins/admission/ajax.php">
        <div class="form-group">
          <label for="exampleInputEmail1">SURNAME <span class="error">*</span></label>
          <input type="text" class="form-control" id="surname" name="surname" placeholder="Surname" required>
          <div class="error"><em></em></div>
         </div>
        <input type="hidden" name="action" id="action" value="check_result">
        <div id="alert" class="alert alert-danger" role="alert"><span></span></div>
        <button type="submit" id="submit" class="btn btn-primary">SEARCH</button>
      </form>
	<?php
}