48e29ffed6a07c6e416a7f6f369b377079bbd989
[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         old_limit = limit.value;
45         limit.disabled = true;
46         limit.setAttribute('class', 'disabled');
47         limit.style.textAlign = 'center';
48         limit.value = '-';
49 }
50
51 function FocusLimitedYes () {
52         limit.disabled = false;
53         limit.setAttribute('class', 'member_normal');
54         limit.style.textAlign = 'left';
55         if (old_limit > 0) {
56                 limit.value = old_limit;
57         } else {
58                 limit.value = '';
59         }
60         limit.focus();
61 }
62
63 function SubmitForm () {
64         if (limit.value == '-') {
65                 limit.value = 0;
66         }
67         return true;
68 }
69
70 function ResetForm () {
71         FocusLimitedNo();
72         old_limit = 0;
73         return true;
74 }
75
76 FocusLimitedNo();
77
78 //-->
79 </script>
80 </form>