| Server IP : 162.214.74.102 / Your IP : 216.73.216.59 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/school/application/views/backend/admin/ |
Upload File : |
<div class="mail-header" style="padding-bottom: 27px ;">
<!-- title -->
<h3 class="mail-title">
<?php echo get_phrase('write_new_message'); ?>
</h3>
</div>
<div class="mail-compose">
<?php echo form_open(base_url() . 'index.php?admin/message/send_new/', array('class' => 'form', 'enctype' => 'multipart/form-data')); ?>
<div class="form-group">
<label for="subject"><?php echo get_phrase('recipient'); ?>:</label>
<br><br>
<select class="form-control select2" name="reciever" required>
<option value=""><?php echo get_phrase('select_a_user'); ?></option>
<optgroup label="<?php echo get_phrase('student'); ?>">
<?php
$students = $this->db->get('student')->result_array();
foreach ($students as $row):
?>
<option value="student-<?php echo $row['student_id']; ?>">
- <?php echo $row['name']; ?></option>
<?php endforeach; ?>
</optgroup>
<optgroup label="<?php echo get_phrase('teacher'); ?>">
<?php
$teachers = $this->db->get('teacher')->result_array();
foreach ($teachers as $row):
?>
<option value="teacher-<?php echo $row['teacher_id']; ?>">
- <?php echo $row['name']; ?></option>
<?php endforeach; ?>
</optgroup>
<optgroup label="<?php echo get_phrase('parent'); ?>">
<?php
$parents = $this->db->get('parent')->result_array();
foreach ($parents as $row):
?>
<option value="parent-<?php echo $row['parent_id']; ?>">
- <?php echo $row['name']; ?></option>
<?php endforeach; ?>
</optgroup>
</select>
</div>
<div class="compose-message-editor">
<textarea row="2" class="form-control wysihtml5" data-stylesheet-url="assets/css/wysihtml5-color.css"
name="message" placeholder="<?php echo get_phrase('write_your_message'); ?>"
id="sample_wysiwyg"></textarea>
</div>
<hr>
<button type="submit" class="btn btn-success btn-icon pull-right">
<?php echo get_phrase('send'); ?>
<i class="entypo-mail"></i>
</button>
</form>
</div>