? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/report/

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/www/savoyglobal.net/eldertree/application/views/report/xls_class_allocation_report.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');


 $i=1;
    $span = 0;
    while ($i < $postdata['field_count'])
    {
        if (array_key_exists("field_name_$i", $postdata))
                $span++;
        $i++;
    }
?>
<html>
    <head>
    <body>
        <table width="100%">
            <tr>
                <td colspan="<?= $span-2 ?>"></td>
            <td  align="right">
                <img src="<?= base_url() ?>assets/logo/<?= $logo ?>" style="float:right; max-height: 100px;"/>
            </td>
            </tr>
            <tr>
                <td colspan="3" style="font-size:16px;" align="center"><b><u>Class Allocation Report</u></b></td>
            </tr>

            <tr>
                <td colspan="3">Printout Date :<?= date('d-m-Y') ?>, <?= date('h:i:s a') ?></td>
            </tr>
        </table>
        <br><br>
        <hr>
        <table cellspacing="-1" style="width:100%;text-align:left"  border="1">
            <thead>
                <tr><th style="text-align:left" bgcolor="#7FCEFF">Sl No</th>
                    <?php
                    $i = 1;
                    while ($i <= $postdata['field_count'])
                    {
                        if (isset($postdata['field_name_' . $i]))
                        {
                            $column_name = explode('~', $postdata['field_name_' . $i]);

                            echo "<th style='text-align:left' bgcolor='#7FCEFF'>" . str_replace('_', ' ', $column_name[1]) . "</th>";
                        }
                        $i++;
                    }
                    ?>
                </tr>
            </thead>
            <tbody>
                <?php
                $i = 0;
                foreach ($report as $value)
                {
                    $i++;
                    $count   = 1;
                    $rowspan = "";
                    if (isset($postdata['field_name_5']) || isset($postdata['field_name_6']) || isset($postdata['field_name_7']))
                    {
                        $count   = $value['count'];
                        $rowspan = " rowspan=" . $count;
                        $course  = explode(',', $value['course']);
                        $date    = explode(',', $value['allo_date']);
                    }
                    ?>
                    <tr>
                        <td<?= $rowspan ?>><?= $i  ?></td>
                        <?php if (isset($postdata['field_name_1'])) {  ?>
                            <td<?= $rowspan ?>><?= $value['reg_no'] ?></td>
                        <?php } ?>
                        <?php if (isset($postdata['field_name_2'])) {  ?>
                            <td<?= $rowspan ?>><?= $value['first_name'] ?></td>
                        <?php } ?>
                        <?php  if (isset($postdata['field_name_3'])) { ?>
                        <td<?= $rowspan ?>><?= $value['last_name'] ?></td>
                        <?php } ?>
                        <?php if (isset($postdata['field_name_4'])) { ?>
                        <td<?= $rowspan ?>><?= $value['gender'] ?></td>
                        <?php } ?>
                        <?php
                        for ($k= 0; $k < $count; $k++)
                        {

                            if ($k > 0)
                            {
                                ?>
                            <tr>
                            <?php } if (array_key_exists('field_name_5', $postdata))
                            { ?>
                                <td><?= $course[$k] ?></td>
                            <?php } if (array_key_exists('field_name_6', $postdata))
                            { ?>
                                <td><?= $value['nationality_name'] ?></td> 
                            <?php } if (array_key_exists('field_name_7', $postdata))
                            { ?>
                                <td><?= $this->mastermodel->convertdatenormalformat($date[$k]) ?></td> 
                            <?php
                            } if (array_key_exists('field_name_8', $postdata))
                            { ?>
                                <td><?= $value['no_days'] ?></td> 
                            <?php
                            }
                           
                            ?>
                        </tr>
        <?php
    }
    ?>
    </tr>
    <?php
}
?>
            </tbody>
        </table>
        <hr>
    </body>
</html>

<?php
$filename = $postdata['report_name'];
if ($view == 'xls')
{
    header("Content-type: application/octet-stream");
    header("Content-Disposition: attachment; filename=" . $filename . ".xls");
    header("Pragma: no-cache");
    header("Expires: 0");
}
?>


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