
11-02-2005, 01:17 AM
|
|
|
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by christianb
I was just playing around with this and here's something I've come up with. I combined all three into one, but there's a lot of variables I don't know at the moment (so here's a rough draft)...
adv_portal_donate
PHP Code:
<if condition="$vboptions['toporlast'] == '1'">
<tr>
<td class="$getbgrow" align="center">Our Top $vboptions[donations_top_donor] Donors
<div class="float: right">
<table>
$donate_goals_userbits
</table>
<span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span></div><hr />
</td>
</tr>
</if>
<if condition="$vboptions['toporlast'] == '0'">
<tr>
<td class="$getbgrow" align="center">Our Last $vboptions[donations_last_donor] Donors
<div class="float: right">
<table>
$donate_goals_userbits
</table>
<span class="smallfont"><a href="$vboptions[bburl]/alldonors.php">View All Donors</a></span><hr />
</td>
</tr>
</if>
<tr>
<td class="$getbgrow" align="center"><a href="$vboptions[bburl]/donate.php"><img src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0"></a>
</td>
</tr>
<br />
<hr />
<tr>
<td class="$getbgrow" align="center">$title<br />
<img src="$vboptions[bburl]/includes/pp_image.php?fill=$vboptions[bar_fill_color]&border=$vboptions[bar_border_color]&background=$vboptions[bar_background_color]&percentage=$percentage&width=$vboptions[bar_width]&height=$vboptions[bar_height]">
<br />
$percentage% of goal has been donated
<br />
<br />
We have collected a total of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$goal_total_formatted
<br />
in donations towards our goal of <if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$amount_formatted.
</td>
</tr>
<hr />
<if condition="$show_as_donor == '1'">
<tr>
<td>$donor_username</td>
<td><if condition="$vboptions['base_currency'] == 'USD' OR $vboptions['base_currency'] == 'AUD' OR $vboptions['base_currency'] == 'CAD'">$<else /><if condition="$vboptions['base_currency'] == 'EUR'">?<else /><if condition="$vboptions['base_currency'] == 'GBP'">?<else /><if condition="$vboptions['base_currency'] == 'JPY'">?</if></if></if></if>$user_total</td>
</tr>
</if>
|
Doesnt work
|