
<div class="well">

      <ul class="tabs">
        <li><a href="#view1">Hostel Sites</a></li>

      </ul>
      <div class="tabcontents">
        <div id="view1" class="row">


        	<div class="col-lg-12">

            	<div class="col-lg-8" style="margin-left:200px;">



             			<fieldset>
                            <legend>Add Site <span class="ast">*</span> indicate required fields </legend>



        					<!-- form cut to the toolbar add user-->
               	    	<input type="hidden" name="MAX_FILE_SIZE" value="MAX_FILE_SIZE" />



                      <div class="form-group">
                            <label for="first_name" class="col-sm-2 control-label">Title </label>
                            <div class="col-sm-10">
                              <div class="input-group">
                              <input  id="title" class="form-control input-sm" type="text" placeholder="Enter title"  name="title"
                               required></input>
                              <div class="input-group-addon"> <span class="ast">*</span></div>
                              </div>

                            </div>
                         </div>


                         <div class="form-group">
                           <label for="other_names" class="col-sm-2 control-label" style="margin-top:10px;">Description </label>
                           <div class="col-sm-10">
                             <div class="input-group" style="margin-top:10px;">
                             <textarea id="description" class="form-control input-sm" placeholder="Enter description" name="description" required></textarea>
                               <div class="input-group-addon"> <span class="ast">*</span></div>
                              </div>
                           </div>
                        </div>




                        <div class="form-group">
                         <label for="email" class="col-sm-2 control-label" style="margin-top:10px;"> Date Added </label>
                         <div class="col-sm-10">
                         <div class="input-group" style="margin-top:10px;">
                           <input id="date" class="form-control input-sm" type="Date" placeholder="Date" name="date" required></input>

                            <div class="input-group-addon"> <span class="ast">*</span></div><span id="email_msg_box" style="display:none"></span>
                          </div>

                         </div>
                      </div>

                      <div class="form-group">

                       <label for="username" class="col-sm-2 control-label" style="margin-top:10px;"> Added By </label>
                       <div class="col-sm-10">

                       <div class="input-group" style="margin-top:10px;">
                        <span class="input-group-addon"> @</span>
                          <input id="by_name" class="form-control input-sm" type="text" placeholder="Added by" name="by_name" required></input>

                          <div class="input-group-addon"> <span class="ast">*</span></div> <span id="user_msg_box" style="display:none"></span>

                         </div>
                       </div>
                    </div>








                         <div class="form-group" >
                              <label style="margin-top:10px;" class="col-sm-2 control-label" for="user_status">Site Status</label>
                              <div class="col-sm-10" style="margin-top:10px;">
                              	<div class="input-group">
                                	<select  class="form-control input-sm" name="user_status"  id="user_status" required>
                                  	 <option value="1"  selected> Unblock </option>
                                  	 <option value="0" <?php if($_SESSION['user_status']=='0') echo "selected";?>> Block </option>
                               	    </select>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                          		</div>
                         	  </div>
                         </div>


                         <div class="form-group">
                          <label class="col-sm-2 control-label" style="margin-top:10px;" for="gender">Status</label>
                          <div class="col-sm-10">

                            <select id="status" class="form-control input-sm" name="status" style="margin-top:10px;" required >

                            <?php  echo select_status($_SESSION['status']); ?>

                             </select>


                          </div>

                        </div>


                        <div id="q" style="font-size: 20px; text-align: center;margin-top:30px; color:red;"></div>


                  		  <input type="hidden" value="TRUE" name="upload" />

                  </div><!-- /col-lg- 6 -->
                  </fieldset>




			</div><!-- / col-lg -12 -->

        </div> <!-- #view1 -->
      </div> <!-- /tabcontent -->
</div> <!-- / well -->
