1 | {html_style}{literal} |
---|
2 | #ac_stuff_block_charte { |
---|
3 | margin:5px 15px; |
---|
4 | text-align:justify; |
---|
5 | } |
---|
6 | #ac_stuff_block legend { |
---|
7 | font-variant:small-caps; |
---|
8 | } |
---|
9 | #ac_stuff_block .properties li { |
---|
10 | display:inline-block; |
---|
11 | float:left; |
---|
12 | clear:none; |
---|
13 | margin: 0.5em; |
---|
14 | padding: 0; |
---|
15 | text-align: center; |
---|
16 | } |
---|
17 | |
---|
18 | #ac_stuff_block .properties SPAN.property { |
---|
19 | width:auto; |
---|
20 | float:none; |
---|
21 | } |
---|
22 | {/literal} |
---|
23 | {/html_style} |
---|
24 | <div id="ac_stuff_block"> |
---|
25 | {if !isset($EXPLIC) } |
---|
26 | <div id="ac_stuff_block_charte">{'ac_text_charte'|@translate}</div> |
---|
27 | {if $block.AD_C_manage_what=="18" || $block.AD_C_manage_what=="both"} |
---|
28 | <fieldset> |
---|
29 | <form method="post" action="{$ROOT_URL}identification.php" > |
---|
30 | <input type="hidden" name="username" size="15" value="18"/> |
---|
31 | <input type="hidden" name="password" size="15" value="adult_content"/> |
---|
32 | <input class="submit" type="submit" name="login" value="{'ac_button_activ_18'|@translate}"/> |
---|
33 | {'ac_text_activ_18'|@translate} |
---|
34 | |
---|
35 | </form> |
---|
36 | </fieldset> |
---|
37 | {/if} |
---|
38 | {if $block.AD_C_manage_what=="16" || $block.AD_C_manage_what=="both"} |
---|
39 | <fieldset> |
---|
40 | <form method="post" action="{$ROOT_URL}identification.php" id="quickconnect"> |
---|
41 | <input type="hidden" name="username" size="15" value="16"/> |
---|
42 | <input type="hidden" name="password" size="15" value="adult_content"/> |
---|
43 | <input class="submit" type="submit" name="login" value="{'ac_button_activ_16'|@translate}"/> |
---|
44 | {'ac_text_activ_16'|@translate} |
---|
45 | </form> |
---|
46 | </fieldset> |
---|
47 | {/if} |
---|
48 | <form action="{$block.F_LOGIN_ACTION}" method="post" name="login_form" class="properties"> |
---|
49 | <fieldset> |
---|
50 | <legend>{'ac_identif'|@translate}</legend> |
---|
51 | |
---|
52 | <ul> |
---|
53 | <li> |
---|
54 | <span class="property"> |
---|
55 | <label for="username">{'Username'|@translate}</label> |
---|
56 | </span><br> |
---|
57 | <input tabindex="1" class="login" type="text" name="username" id="username" size="25" maxlength="40" /> |
---|
58 | </li> |
---|
59 | |
---|
60 | <li> |
---|
61 | <span class="property"> |
---|
62 | <label for="password">{'Password'|@translate}</label> |
---|
63 | </span><br> |
---|
64 | <input tabindex="2" class="login" type="password" name="password" id="password" size="25" maxlength="25" /> |
---|
65 | </li> |
---|
66 | |
---|
67 | {if $block.authorize_remembering } |
---|
68 | <li> |
---|
69 | <span class="property"> |
---|
70 | <label for="remember_me">{'Auto login'|@translate}</label> |
---|
71 | </span><br> |
---|
72 | <input tabindex="3" type="checkbox" name="remember_me" id="remember_me" value="1"> |
---|
73 | </li> |
---|
74 | {/if} |
---|
75 | <li> |
---|
76 | <input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"> |
---|
77 | {if isset($block.U_REGISTER) } |
---|
78 | </li> |
---|
79 | <li> |
---|
80 | <a href="{$block.U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button"> |
---|
81 | <span class="pwg-icon pwg-icon-register"> </span><span>{'Register'|@translate}</span> |
---|
82 | </a> |
---|
83 | {/if} |
---|
84 | </li> |
---|
85 | <li> |
---|
86 | <a href="{$block.U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button"> |
---|
87 | <span class="pwg-icon pwg-icon-lost-password"> </span><span>{'Forgot your password?'|@translate}</span> |
---|
88 | </a> |
---|
89 | </li> |
---|
90 | </ul> |
---|
91 | </fieldset> |
---|
92 | |
---|
93 | </form> |
---|
94 | {else} |
---|
95 | <p>{$EXPLIC}</p> |
---|
96 | <p>{$MAIN}</p> |
---|
97 | {if $AD_C_manage_what=="18" || $AD_C_manage_what=="both"} |
---|
98 | <fieldset> |
---|
99 | <form method="post" action="{$pwg_root}charte_user.php" > |
---|
100 | <input type="hidden" name="groupe" value="+18"/> |
---|
101 | <input class="submit" type="submit" name="login" value="{'ac_button_activ_18'|@translate}"/> |
---|
102 | {'ac_text_activ_18'|@translate} |
---|
103 | </form> |
---|
104 | </fieldset> |
---|
105 | {/if} |
---|
106 | {if $AD_C_manage_what=="16" || $AD_C_manage_what=="both"} |
---|
107 | <fieldset> |
---|
108 | <form method="post" action="{$pwg_root}charte_user.php"> |
---|
109 | <input type="hidden" name="groupe" value="16-17"/> |
---|
110 | <input class="submit" type="submit" name="login" value="{'ac_button_activ_16'|@translate}"/> |
---|
111 | {'ac_text_activ_16'|@translate} |
---|
112 | </form> |
---|
113 | </fieldset> |
---|
114 | {/if} |
---|
115 | <fieldset> |
---|
116 | <form method="post" action="{$pwg_root}charte_user.php"> |
---|
117 | <input type="hidden" name="groupe" value="nothing"/> |
---|
118 | <input class="submit" type="submit" name="Annuler" value="{'ac_retour_b'|@translate}"/> |
---|
119 | </form> |
---|
120 | </fieldset> |
---|
121 | {/if} |
---|
122 | </div> |
---|