index.php?view=customer_bills&menu=billing"> <div class="thumbnail text-center admin-dashboard-stats-box" style="height:150px; color:#fff;"> <div style="margin-top:5px;"> <strong><span style="font-size:1.25em;">Revenue</span></strong><hr/> <div> </div> <div style="font-size:1.0em;"> <?php // total $revenue = DhsHelper::getRevenue($con); if ($revenue < 0) { echo '<div style="color:#EE0400; font-weight:bold;"> TOTAL : Rs. ' . $revenue . '</div>'; } else { echo 'TOTAL: Rs. ' . $revenue; } // today $revenue = DhsHelper::getRevenue($con, 'true'); if ($revenue < 0) { echo '<div style="color:#EE0400; font-weight:bold;"> TODAY : Rs. ' . $revenue . '</div>'; } else { echo ' TODAY : Rs. ' . $revenue; } ?> </div> </div> </div> </a> </div> <div class="span2" style="background-color: #E65C00;"> <a href="<?php