svn path=/trunk/; revision=45
<a href="http://bitcoinadvertisers.com">BitCoinAdvertisers.com</a></div>
<div class='value'>
Bitcoin Address: <input type='text' name='btcAdAddress' value='$(sed -rn 's:^btcAddress=(.*)$:\1:p' "$metafile")'><br>
- Content: <select name=btcAdContent size=1><option value=1>All</option><option value=2>No Gambling</option><option value=3>No Erotic</option><option value=4>Neither</option></select>
+ Content: <select name=btcAdContent size=1>
+ <option value=1 $(grep -q 'btcAdContent=1' project.meta && echo selected)>All</option>
+ <option value=2 $(grep -q 'btcAdContent=2' project.meta && echo selected)>No Gambling</option>
+ <option value=3 $(grep -q 'btcAdContent=3' project.meta && echo selected)>No Erotic</option>
+ <option value=4 $(grep -q 'btcAdContent=4' project.meta && echo selected)>Neither</option>
+ </select>
</div><br>
</fieldset>
<input type='submit'>
</div>
<div id="RIGHT">
$(grep -q 'advertise=btcAd' project.meta && echo '<h1>Sponsored Links:</h1>
+ <iframe src="http://bitcoinadvertisers.com/a.php?p='$(sed -rn 's:^btcAdAddress=(.+):\1:p' project.meta)'&a='$(sed -rn 's:^btcAdContent=([1-4]):\1:p' project.meta)'&bg=FFFFFF&link=3366FF&text=414141" scrolling="no" style="width:120px;height:300px;border:1px solid #f2f2f2;"></iframe>
<iframe src="http://bitcoinadvertisers.com/a.php?p='$(sed -rn 's:^btcAdAddress=(.+):\1:p' project.meta)'&a='$(sed -rn 's:^btcAdContent=([1-4]):\1:p' project.meta)'&bg=FFFFFF&link=3366FF&text=414141" scrolling="no" style="width:120px;height:300px;border:1px solid #f2f2f2;"></iframe>'
)
</div>