| Server IP : 188.114.97.2 / Your IP : 104.23.197.230 Web Server : Apache/2.4.59 (Debian) System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64 User : edlftp ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/git/sms.edl.codes.solutions/application/views/backend/admin/ |
Upload File : |
<div class="col-md-12 timeTable">
<div id="weekDis">
<h3 class="fa fa-calendar"> TimeTable</h3>
<h4>[<span id="monDisWeek"><?php echo date("Y-m-d", strtotime('monday this week'));?></span> / <span id="sunDisWeek"><?php echo date("Y-m-d", strtotime('sunday this week'));?></span>]</h4>
</div>
<div class="nav">
<div class="">
<div class="col-sm-3 nvg-left">
<input placeholder="Course Name / lang..." id="ajaxCourse" class='form-control' ></input>
</div><!--
///////useless filters//////
<div class="col-sm-2 nvg-left">
<select id="ajaxTeacher" class='form-control'>
<option value=""><?php echo get_phrase('select_teacher'); ?></option>
<option value="406"><?php echo get_phrase('default_teacher'); ?></option>
<?php
foreach ($teacher_list as $row):
$teacher_name = $this->crud_model->get_teacher_name($row['teacher_id']);
if($teacher_name != " "){
?>
<option value="<?php echo $row['teacher_id']; ?>"><?php echo $teacher_name; ?></option>
<?php
}
endforeach;
?>
</select>
</div>
<div class="col-sm-2 nvg-left">
<select id="ajaxStudent" class='form-control'>
<option value=""><?php echo get_phrase('select_student'); ?></option>
<?php
foreach ($student_list as $row):
$student = $this->crud_model->get_user_info($row['student_id']);
//var_dump($student);
$student_name = $student[0]['first_name']." ".$student[0]['last_name'];
if($student_name != " "){
?>
<option value="<?php echo $student['user_id']; ?>"><?php echo $student_name; ?></option>
<?php
}
endforeach;
?>
</select>
</div>
<div class="col-sm-2 nvg-left">
<select id="ajaxLang" class='form-control'>
<option value=""><?php echo get_phrase('select_language'); ?></option>
<?php
foreach ($lang_list as $row):
?>
<option value="<?php echo $row['course_language_id']; ?>"><?php echo $row['code']; ?></option>
<?php
endforeach;
?>
</select>
</div>
-->
</div>
<div class="nvg-left">
<div class="btn-group" data-toggle="tooltip" title="Course Statut">
<button type="button" class="btn btn-default" onclick="showState('aborted')">Aborted</button>
<button type="button" class="btn btn-default" onclick="showState('done')">Done</button>
<button type="button" class="btn btn-default" onclick="showState('billed')">Billed</button>
</div>
</div>
<div class="col-sm-12" style="margin-bottom: 10px;">
<button class="btn btn-danger" onclick="resetInput()">reset</button>
</div>
<div class="nvg-left col-sm-5">
<button class="btn btn-default" onclick="navigateDashboard('previous')">Previous Week - </button> <button class="btn btn-default" onclick="navigateDashboard('next')">Next Week +</button>
<input type="hidden" value="<?php echo date('Y-m-d', time());?>" id="displayed_week"/>
</div>
</div>
<table class="table table-striped" cellspacing="0" cellpadding="0">
<thead style="BORDER-BOTTOM: SOLID #00000052 2px;z-index:99999;">
<tr style="background:#f0f0f1;">
<th scope="col">#</th>
<th scope="col">Monday</th>
<th scope="col">Tuesday</th>
<th scope="col">Wednesday</th>
<th scope="col">Thursday</th>
<th scope="col">Friday</th>
<th scope="col">Saturday</th>
<th scope="col">Sunday</th>
</tr>
</thead>
<tbody>
<tr class="h08">
<th scope="row">8h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h9">
<th scope="row">9h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h10">
<th scope="row">10h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h11">
<th scope="row">11h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h12">
<th scope="row">12h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr style="background-color:#d5d8da;">
<th scope="row"></th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h13">
<th scope="row">13h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h14">
<th scope="row">14h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h15">
<th scope="row">15h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h16">
<th scope="row">16h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h17">
<th scope="row">17h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h18">
<th scope="row">18h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr>
<th scope="row"><button type="button" class="btn btn-default" data-toggle="collapse" data-target=".collapseme">+ More hours</button></th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h19 collapseme collapse out">
<th scope="row">19h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h20 collapseme collapse out">
<th scope="row">20h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h21 collapseme collapse out">
<th scope="row">21h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
<tr class="h22 collapseme collapse out">
<th scope="row">22h</th>
<td class="d0"></td>
<td class="d1"></td>
<td class="d2"></td>
<td class="d3"></td>
<td class="d4"></td>
<td class="d5"></td>
<td class="d-1"></td>
</tr>
</tbody>
</table>
</div>
<!-- assets -->
<link rel="stylesheet" href="/assets/css/csstyle/backend/dashboard.css">
<script type="text/javascript" src="/assets/js/csajax/backend/dashboard.js"></script>
<!-- init the script with data -->
<script type="text/javascript">
jQuery(document).ready(function(){
setDay('<? echo $week_course; ?>');
//////////////////////////////////
//search filters
$("#ajaxCourse").keyup(function() {
var data = $("#ajaxCourse").val();
highlightSearch(data);
});
$("#ajaxTeacher").change(function() {
var data = $("#ajaxTeacher option:selected").text();
highlightSearch(data);
});
$("#ajaxStudent").change(function() {
var data = $("#ajaxStudent option:selected").text();
highlightSearch(data);
});
$("#ajaxLang").change(function() {
var data = $("#ajaxLang option:selected").text();
highlightSearch(data);
});
});
</script>