MMCT TEAM
Server IP : 192.185.129.71  /  Your IP : 18.117.152.148
Web Server : Apache
System : Linux bh-ht-3.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : svymadmin ( 4072)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home4/svymadmin/public_html/vivekaexcel.edu.in/application/views/admin/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home4/svymadmin/public_html/vivekaexcel.edu.in/application/views/admin/edit_events_model.php
 <?php include "header.php"?>
 
 <?php include "navigation.php"?>
 
 <div class="content">
        <div class="container-fluid">
          <div class="row">
              
            <div class="col-md-12">
              <form id="TypeValidation" class="form-horizontal" action="<?php echo base_url();?>admin/events/update" method="POST" enctype="multipart/form-data">
                <input type="hidden" name="id" value="<?php echo $events->id;?>">
                <div class="card ">
                  <div class="card-header card-header-rose card-header-text">
                    <div class="card-text">
                      <h4 class="card-title">Upcoming Events</h4>
                    </div>
                  </div>
                  <div class="card-body ">
                    <div class="row">
                      <label class="col-sm-2 col-form-label">News Date</label>
                      <div class="col-sm-7">
                        <div class="form-group">

                          <input type="date" class="form-control datepicker" name="date" value="<?php echo $events->date;?>">
                        </div>
                      </div>
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                    <div class="row">
                      <label class="col-sm-2 col-form-label">From - Time</label>
                      <div class="col-sm-7">
                        <div class="form-group">
                          <input class="form-control" type="time" name="from_time" value="<?php echo $events->from_time;?>"/>
                        </div>
                      </div>
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                    <div class="row">
                      <label class="col-sm-2 col-form-label">To - Time</label>
                      <div class="col-sm-7">
                        <div class="form-group">
                          <input class="form-control" type="time" name="to_time" value="<?php echo $events->to_time;?>"/>
                        </div>
                      </div>
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                    <div class="row">
                      <label class="col-sm-2 col-form-label">Title</label>
                      <div class="col-sm-7">
                        <div class="form-group">
                          <input class="form-control" type="text" name="title" value="<?php echo $events->title;?>"/>
                        </div>
                      </div>
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                    
                    
                    <div class="row">
                      <label class="col-sm-2 col-form-label">Description</label>
                      <div class="col-sm-7">
                        <div class="form-group">
                          <textarea class="form-control" type="text" name="description"><?php echo $events->description;?></textarea>
                        </div>
                      </div>
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                    <div class="row">
                      <label class="col-sm-2 col-form-label">Location</label>
                      <div class="col-sm-7">
                        <div class="form-group">
                          <input class="form-control" type="text" name="location" value="<?php echo $events->location;?>"/>
                        </div>
                      </div>
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                    <div class="row">

                        <div class="col-md-3"></div>
                      <div class="fileinput fileinput-new text-center" data-provides="fileinput">
                        <input type="file" class="form-control" name="image">
                      </div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
                      <img src="<?php echo base_url().'uploads/events/'.$events->image;?>" style="width:200px;">
                      <label class="col-sm-3 label-on-right">
                        <code>required</code>
                      </label>
                    </div>
                  </div>
                  <div class="card-footer ml-auto mr-auto">
                    <button type="submit" class="btn btn-rose">Submit</button>
                  </div>
                </div>
              </form>
            </div>
            
            
          </div>
        </div>
      </div>


<?php include "footer.php"?>

MMCT - 2023