HTML->XHTML preparation (still *A LOT* to convert
[mailer.git] / templates / de / html / member / member_surfbar_book_static.tpl
1 <form id="book" action="{!URL!}/modules.php?module=login&amp;what=surfbar_book" method="post" onsubmit="return SubmitForm()" onreset="return ResetForm()">
2 <div class="member_table dashed" style="width:600px;margin-top:10px">
3         <div class="member_title2 bottom2" style="padding-top:5px;padding-bottom:5px">
4                 <strong>URL in Surfbar buchen - Statisch:</strong>
5         </div>
6
7         <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
8                 URL eingeben: <input type="text" name="url" size="20" maxlength="255" value="http://" />
9         </div>
10
11         <div class="member_input" style="padding-top:5px;padding-bottom:5px">
12                 Soll die Anzahl Aufrufe begrenzt werden?<br />
13                 <input type="radio" id="limited_no" onfocus="return FocusLimitedNo()" name="limited" value="N" checked="checked" /> {--NO--}
14                 <input type="radio" id="limited_yes" onfocus="return FocusLimitedYes()" name="limited" value="Y" /> {--YES--}
15         </div>
16
17         <div class="member_input bottom2" style="padding-top:5px;padding-bottom:5px">
18                 Aufrufe begrenzen auf: <input class="member_normal" type="text" id="limit" name="limit" size="7" maxlength="20" value="-" />
19         </div>
20
21         <div class="member_input" style="padding-top:5px;padding-bottom:5px">
22                 Jeder Seiten-Aufruf durch andere Mitglieder kostet Ihnen <span
23                  class="surfbar_points">$content[costs] {!POINTS!}</span>. Surfen Sie mit
24                 der Surfbar erhalten Sie <span class="surfbar_points">$content[reward]
25                 {!POINTS!}</span> auf Ihr Konto gutgeschrieben.<br />
26                 <br />
27                 Sie haben bereits <strong>$content[curr_order]</strong> von maximal
28                 <strong>$content[max_order]</strong> erlaubten URLs gebucht.
29         </div>
30
31         <div class="member_title2 top2" style="padding-top:5px;padding-bottom:5px">
32                 <input type="reset" class="member_reset" value="{--CLEAR_FORM--}" />
33                 <input type="submit" class="member_submit" name="ok" value="{--MEMBER_SURFBAR_ADD_URL--}" />
34         </div>
35 </div>
36
37 <script language="JavaScript" type="text/javascript">
38 <!--
39 var limit = document.getElementById('limit');
40 var span = document.getElementById('span_limit');
41 var old_limit = 0;
42
43 function FocusLimitedNo () {
44         if ((limit.value > 0) && (limit.value != '-')) {
45                 old_limit = limit.value;
46         }
47         limit.disabled = true;
48         limit.setAttribute('class', 'disabled');
49         limit.style.textAlign = 'center';
50         limit.value = '-';
51 }
52
53 function FocusLimitedYes () {
54         limit.disabled = false;
55         limit.setAttribute('class', 'member_normal');
56         limit.style.textAlign = 'left';
57         if (old_limit > 0) {
58                 limit.value = old_limit;
59         } else {
60                 limit.value = '';
61         }
62         limit.focus();
63 }
64
65 function SubmitForm () {
66         if (limit.value == '-') {
67                 limit.value = 0;
68         }
69         return true;
70 }
71
72 function ResetForm () {
73         old_limit = 0;
74         FocusLimitedNo();
75         return true;
76 }
77
78 FocusLimitedNo();
79
80 //-->
81 </script>
82 </form>