<h2>Initial Subproject Funding Goal</h2> <?php echo $GLOBALS['pref_currency']; ?> <input name="fundgoal" value="<?php echo htmlentities(number_format($fundgoal, 2)); ?> " size="7" /> </td> <?php if ($islead) { ?> <td valign="bottom" width="34%"> <h2>Bounty Allotment</h2> <input name="allotment" value="0" size=5> % of <?php echo convert_money($parent["bounty"]); ?> </td> <?php } ?> </tr><tr><td valign="bottom" colspan="<?php echo $islead ? 3 : 2; ?> " width="100%"> <br> <h2>Subproject Requirements</h2> <div style="font-size:small"> (Note: Your first paragraph will also be used as the subproject abstract. Use blank lines to separate paragraphs.) </div>
$one_currency = $currency; } if ($num_currencies > 1) { ?> <p> Your reserve contains funds in <?php echo $num_currencies; ?> different currencies. </p> <p> The current value in <?php echo htmlentities($currencies[$GLOBALS["pref_currency"]]["name"] . "s"); ?> is approximately <?php echo convert_money($reserve); ?> . </p> <?php } ?> <table cellspacing=0 cellpadding=5 id="currency_table"> <tr><th align=left>Currency</th><th align=right>Amount</th></tr> <?php foreach ($currencies as $code => $currency) { $amount = currency_value($reserve, $code); if (!ereg("[1-9]", $amount)) { continue; } ?>
?> <li> <a href="<?php echo projurl($feature["id"]); ?> "> <h2><?php echo htmlentities($feature["name"]); ?> </h2> <p><?php echo htmlentities($feature["abstract"]); ?> </p> <h3>Bounty: <em><?php echo convert_money($feature["bounty"]); ?> </em></h3> </a> </li> <?php $count++; if ($count == 4) { break; } } ?> </ul> </div> <?php }
<nobr>(Approx. <?php echo htmlentities(convert_money($project["bounty"])); ?> )</nobr><?php } ?> </p> <a href="<?php echo projurl($project["id"]); ?> ">project page</a> </div> </span></td> <td class=lead><?php echo $project['lead'] === '' ? "<i><none></i>" : htmlentities($project['lead']); ?> </td> <td class=bounty><nobr><?php echo htmlentities(convert_money($project["bounty"])); ?> </nobr></td> </tr> <?php } ?> </table> <script> set_showpoor(); </script> <?php }
<a href="supplant.php?id=<?php echo $id; ?> " onClick="return confirm('Are you sure you want to become the\nnew project lead for this project?')">(Become Project Lead)</a> <?php } } } } else { print " "; } ?> </p></div> <div id=bounty><h1>Bounty: </h1><?php echo convert_money($projinfo["bounty"]); ?> <a href="javascript:folder('sponsor','orange')">(Sponsor Project)</a></div> <?php if (!empty($projinfo['funding_goal'])) { ?> <div id="thermometer"> <div> <h1>Goal funding:</h1> <a href="setvote.php?type=funding&vote=more&id=<?php echo $id . '&tab=' . urlencode($_REQUEST['tab']); ?> " title="Vote for higher goal funding">More</a> <a href="setvote.php?type=funding&vote=less&id=<?php echo $id . '&tab=' . urlencode($_REQUEST['tab']);
'> % </td> <?php } else { ?> <td align=right valign=top> <?php echo $subproject['allotment'] / 10; ?> % </td> <?php } ?> <td align=right valign=top><?php echo htmlentities(convert_money($subproject['bounty'])); ?> </td> <td valign=top><?php echo ereg("^Bug [a-z0-9]*\$", $subproject["name"]) ? formatText(ereg_replace("\n.*", "", $subproject['reqmts'])) : htmlentities($subproject["name"]); ?> </td> </tr> <?php } ?> </tr></table> <?php if ($GLOBALS['username'] !== '' && $GLOBALS['username'] == $projinfo['lead']) { ?>
echo $myproject["id"]; ?> " size=5 maxLength=10 style="text-align:right;font-size:small" onChange="recalculateTotal()" value="<?php echo format_for_entryfield($amount); ?> "></span></nobr></td> </tr> <?php } $totalsubscription += $reservedeposit; ?> <tr class='feerow'> <td valign=top width="0%"> </td> <td valign=top width="100%">Randomly Selected Featured Project</td> <td align=right valign=top width="0"><nobr> <span class=oldvalue><?php echo htmlentities(convert_money($reservedeposit . $currency["code"])); ?> </span><span class=newvalue><?php echo htmlentities($currency["prefix"]); ?> <input name="reserve_deposit" id="dreserve" value="<?php echo format_for_entryfield($reservedeposit); ?> " size=5 maxLength=10 style="text-align:right;font-size:small"></span></nobr></td> </tr> <tr class='extrarow'> <td valign=top width="0%"> </td> <td valign=top width="100%"><b>Total Monthly Sponsorship Amount</b></td> <td align=right valign=top width="0%"><nobr> <b class=oldvalue><?php echo format_money($totalsubscription . $currency["code"]); ?>
?> </a> <a href="<?php echo projurl($myproject["id"]); ?> " style="text-decoration:none">[go]</a> <div id="proj-<?php echo $myproject["id"]; ?> -div" class=folded> <p style="font-size:small"> <b>Project Lead:</b> <?php echo htmlentities($myproject["lead"]); ?> <br> <b>Bounty:</b> <?php echo convert_money($myproject["bounty"]); ?> </p> <?php echo formatText(ereg_replace("\n.*", "", $myproject["reqmts"])); ?> <br><br></div></td> <td align=right valign=top><nobr> <?php echo format_money($memberdonations[$myproject["id"]]["amount"]); ?> </nobr></td> <td align=right valign=top> <?php echo intval($memberdonations[$myproject["id"]]["credits"]); ?> </td>
</a> <a href="<?php echo projurl($project["id"]); ?> " style="text-decoration:none">[go]</a> <div id="proj-<?php echo $project["id"]; ?> -div" class=folded> <p><?php echo formatText(ereg_replace("\n.*", "", $project["reqmts"])); ?> </p> </div> </td> <td align=right valign=top> <nobr><?php echo convert_money($project["bounty"], "CAD"); ?> </nobr></td> </tr> <?php } ?> </table><br><br> <?php } else { ?> <p> This member is not a project lead. </p> <?php }