='$startdate' AND processdate < '$enddate' ORDER BY payid DESC"; $result = db_query($sql); rawoutput("
Date | $id | $type | $gross | $fee | $net | $processed | $who |
"); output_notl(date("m/d H:i",strtotime($info['payment_date']))); rawoutput(" | "); output_notl("%s",$row['txnid']); rawoutput(" | "); output_notl("%s", $info['txn_type']); rawoutput(" | "); output_notl("%.2f %s", $info['mc_gross'], $info['mc_currency']); rawoutput(" | "); output_notl("%s", $info['mc_fee']); rawoutput(" | "); output_notl("%.2f", (float)$info['mc_gross'] - (float)$info['mc_fee']); rawoutput(" | "); output_notl("%s", translate_inline($row['processed']?"`@Yes`0":"`\$No`0")); rawoutput(" | "); if ($row['name']>"") { rawoutput(""); output_notl("`&%s`0 (%d/%d)", $row['name'], $row['donationspent'], $row['donation']); rawoutput(""); addnav("","user.php?op=edit&userid={$row['acctid']}"); }else{ $amt = round((float)$info['mc_gross'] * 100,0); $memo = ""; if (isset($info['memo'])) { $memo = $info['memo']; } $link = "donators.php?op=add1&name=".rawurlencode($memo)."&amt=$amt&txnid={$row['txnid']}"; rawoutput("-=( [".htmlentities($memo, ENT_COMPAT, getsetting("charset", "ISO-8859-1"))."] )=-"); addnav("",$link); } rawoutput(" |