Example #1
0
	  <p id="cur_uid"><?php 
echo $_SESSION['uid'];
?>
</p>
    <p id="cur_apikey"><?php 
echo $_SESSION['apikey'];
?>
</p>
	</div>
<div class="container">
  <h2><strong>Admin Panel</strong></h2>
  <div class="row">
    <div class="col-sm-3 col-md-3 col-lg-3">
      <ul class="nav nav-pills nav-stacked">
        <?php 
echo show_sidenav(0);
?>
      </ul>
    </div>
    <div class="col-sm-9 col-md-9 col-lg-9">
      <form role="form" id="fform" method="POST" action="/api/admin/update_instruction.php" autocomplete="off">
        <input type="hidden" name="uid" id="uid" class="form-control">
        <input type="hidden" name="apikey" id="apikey" class="form-control">
        <div class="form-group">
          <label for="content">Model Implementation Instruction</label>
          <textarea name="content" id="editor" data-provide="markdown" rows="50"></textarea>
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
      </form>
    </div>
    <div class="scroll-top-wrapper ">
	  <p id="cur_uid"><?php 
echo $_SESSION['uid'];
?>
</p>
    <p id="cur_apikey"><?php 
echo $_SESSION['apikey'];
?>
</p>
	</div>
<div class="container">
  <h2><strong>Admin Panel</strong></h2>
  <div class="row">
    <div class="col-sm-3 col-md-3 col-lg-3">
      <ul class="nav nav-pills nav-stacked">
        <?php 
echo show_sidenav(1);
?>
      </ul>
    </div>
    <div class="col-sm-9 col-md-9 col-lg-9">
      <table id="index-list-table" class="table table-striped table-hover sortable">
        <caption>Existing Index Paths</caption>
        <thead>
          <tr>  
            <th>
              <i class="fa fa-tag fa-fw"></i>Name
            </th> 
            <th>
              <i class="fa fa-file-text-o fa-fw"></i>Path
            </th>
            <th>
	  <p id="cur_uid"><?php 
echo $_SESSION['uid'];
?>
</p>
    <p id="cur_apikey"><?php 
echo $_SESSION['apikey'];
?>
</p>
	</div>
<div class="container">
  <h2><strong>Admin Panel</strong></h2>
  <div class="row">
    <div class="col-sm-3 col-md-3 col-lg-3">
      <ul class="nav nav-pills nav-stacked">
        <?php 
echo show_sidenav(2);
?>
      </ul>
    </div>
    <div class="col-sm-9 col-md-9 col-lg-9">
      <table id="query-list-table" class="table table-striped table-hover sortable">
        <caption>Existing Query Paths</caption>
        <thead>
          <tr>  
            <th>
              <i class="fa fa-tag fa-fw"></i>Name
            </th> 
            <th>
              <i class="fa fa-file-text fa-fw"></i>INDEX
            </th> 
            <th>