$pu = round($v->updates / $total * 100); echo " ({$pu}%)"; } } ?> </a></td> <td align="right"><strong><?php echo "<a href='orders.php?id={$a->id}'>"; $n = $db->getValue("SELECT SUM(mc_gross-mc_fee) FROM orders WHERE type = 'PayPal' AND app_id = {$a->id}"); echo number_format($n, 2) . " €"; echo "</a>"; // echo $db->getValue("SELECT COUNT(*) FROM orders WHERE type = 'PayPal' AND app_id = $a->id"); ?> </strong></td> <td align="right"><a href="feedback.php"><?php echo $a->numFeedbacksUnread(); ?> </a></td> </tr> <?php } ?> </tbody> </table> </div> </div> </div></div> </div> <div id="sidebar" class="yui-b">