}
    $ids_string = "(" . implode(",", $ids) . ")";
    echo "<tr><td>Total</td><td><b>" . number_format(getExpensesChar($ids_string, $con)) . "</b></td><td><b>" . number_format(getRevenuesChar($ids_string, $con)) . "</b></td><td><b>" . number_format(getProfitsChar($ids_string, $con)) . "</b></td></tr>";
    echo "</table><br>";
    ?>
<br>Best items by profit:<br>
<?php 
    getBestItemsProfit($ids_string, $con);
    ?>
    <br>Best items by profit margin:<br>
<?php 
    getBestItemsMargin($ids_string, $con);
    ?>
    <br>Problematic items:<br>
<?php 
    getProblematicItems($ids_string, $con);
    ?>
    <br>Best customers by profit:<br>
<?php 
    getBestCustomersProfit($ids_string, $con);
    ?>
    <br>Fastest turnovers:<br>
<?php 
    getFastestTurnovers($ids_string, $con);
    ?>
    <br>Last 7 days profits:<br>           
 <?php 
    getLastWeekProfits($ids_string, $con);
    ?>
    <br>If you found this tool useful, feel free to tip a small amount of ISK to 'Nick Starkey' ingame or to <a href='https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=E92PVNRT3L9EQ'>Paypal</a> to help me keep up with server costs.
    <br>Note: You are receiving this e-mail because you have subscribed to evetrademaster.com automated reports. 
示例#2
0
                                        </div>
                                        <!-- /.col-lg-8 (nested) -->
                                    </div>
                                    <!-- /.row -->
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <i class="fa fa-thumbs-o-down"></i> Problematic items
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                                    <?php 
getProblematicItems($character_get, $con, $int);
?>
                            </div>
                            <!-- /.panel-body -->
                        </div>
                        <!-- /.panel -->
                    </div>
                    <!-- /.col-lg-8 -->
                    <div class="col-lg-6">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <i class="fa fa-money"></i> Best Items (by margin)
                            </div>
                            <!-- /.panel-heading -->
                            <div class="panel-body">
                                <table border='1' class="table table-striped table-bordered table-hover">