",true); output("`c`bDag Durnick's Table`b`c"); }else{ dag_manage(); } $op = httpget('op'); addnav("Navigation"); addnav("I?Return to the Inn","inn.php"); if ($op != '') addnav("Talk to Dag Durnick", "runmodule.php?module=dag"); if ($op=="list"){ output("Dag fishes a small leather bound book out from under his cloak, flips through it to a certain page and holds it up for you to see."); output("\"`7Deese ain't the most recent figgers, I ain't just had time to get th' other numbers put in.`0\"`n`n"); // ***ADDED*** // By Andrew Senger // Added for new Bounty Code output("`c`bThe Bounty List`b`c`n"); $sql = "SELECT bountyid,amount,target,setter,setdate FROM " . db_prefix("bounty") . " WHERE status=0 AND setdate<='".date("Y-m-d H:i:s")."' ORDER BY bountyid ASC"; $result = db_query($sql); rawoutput("
$amount | $level | $name | $loc | $sex | $alive | $last | "); $listing = array(); $totlist = 0; for($i=0;$i|||||||
"); output_notl("`^%s`0", $listing[$i]['Amount']); rawoutput(" | "); output_notl("`^%s`0", $listing[$i]['Level']); rawoutput(" | "); output_notl("`^%s`0", $listing[$i]['Name']); rawoutput(" | "); output($listing[$i]['LoggedIn']?"`#Online`0":$listing[$i]['Location']); rawoutput(" | "); output($listing[$i]['Sex']?"`!Female`0":"`!Male`0"); rawoutput(" | "); output($listing[$i]['Alive']?"`1Yes`0":"`4No`0"); rawoutput(" | "); $laston = relativedate($listing[$i]['LastOn']); output_notl("%s", $laston); rawoutput(" |