1 | {* $Id: mail_black_liste.tpl cljosse $ *} |
---|
2 | <script type="text/javascript"> |
---|
3 | var is_supervisor = true; |
---|
4 | var confirm_message = "{'Sv_Are_you_sure'|@translate|@escape:'javascript'}?"; |
---|
5 | </script> |
---|
6 | |
---|
7 | <div class="titrePage"> |
---|
8 | <h2>{'Sv_supervisor'|translate}{'Sv_version'|translate}{$version}</h2> |
---|
9 | </div> |
---|
10 | <div class="bug" ></div> |
---|
11 | <form action='' method="post" name="form_black"> |
---|
12 | <fieldset> |
---|
13 | <legend >{'Sv_options'|translate}</legend> |
---|
14 | <table> |
---|
15 | <td><input type="checkbox" name="no_mail_list" value="on" {$no_mail_list} /> {'Sv_no_mail_list'|translate} </td> |
---|
16 | <td style="visibility:hidden" ><input type="checkbox" name="no_connect" value="off" {$no_connect} /> {'Sv_no_connect'|translate} </td> |
---|
17 | <td style="visibility:visible" ><input type="checkbox" name="set_auto" value="off" {$set_auto} /> {'Sv_set_auto'|translate} </td> |
---|
18 | <td style="visibility:hidden" ><input type="checkbox" name="set_id" value="on" {$set_id} /> {'Sv_set_id'|translate}</td> |
---|
19 | <tr><p></p><td> |
---|
20 | <input class="submit" type="submit" name="submit" value="{'Sv_Valider'|translate}" /></td></tr> |
---|
21 | </table> |
---|
22 | </fieldset> |
---|
23 | <input name="info1" type="hidden" /> |
---|
24 | <fieldset > |
---|
25 | <legend>{'Sv_black_liste'|translate}</legend> |
---|
26 | <table> |
---|
27 | <td><input name="ip_black" id = "ip_black_test" type="text" value="{$ip_black}" /> |
---|
28 | <input class="cluetip" title="{'Sv_Test'|translate}|{'Sv_hlp_7_3'|translate}" type="submit" name="submit" value="{'Sv_Test'|translate}" /> |
---|
29 | { if $ip_black_len > 0} |
---|
30 | {if $IS_SPAM == true } |
---|
31 | <label class="erreur"> {'Sv_is_a_spam'|@translate} </label> |
---|
32 | { else } |
---|
33 | { if $istype == 'IP'} |
---|
34 | <label class="erreur"> {'Sv_not_a_spam'|@translate} </label> |
---|
35 | { else } |
---|
36 | <label class="erreur"> {'Sv_no_verif'|@translate} </label> |
---|
37 | {/if} |
---|
38 | {/if} |
---|
39 | </td> |
---|
40 | <td> |
---|
41 | <input class="bp cluetip" |
---|
42 | title="{'Sv_Ajout'|translate}|{'Sv_hlp_7_4'|translate}" |
---|
43 | type="submit" |
---|
44 | name="submit" |
---|
45 | rel="ajout:{$ip_black}" |
---|
46 | value="{'Sv_Ajout'|@translate}" |
---|
47 | alt="{'Sv_Ajout'|@translate} : {$ip_black}" |
---|
48 | /> |
---|
49 | </td> |
---|
50 | <td> |
---|
51 | <input type="image" name="submit" class='bp row1' |
---|
52 | src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" |
---|
53 | rel="ajout:{$ip_black}" |
---|
54 | id="btn_ajout{$ip_black}" |
---|
55 | alt="{'Sv_Ajout'|@translate} : {$ip_black}" |
---|
56 | title="{'Sv_Ajout'|@translate} {$ip_black}" /> |
---|
57 | { else } |
---|
58 | |
---|
59 | {/if} |
---|
60 | |
---|
61 | </td> |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | <td> |
---|
66 | <a href="http://www.stopforumspam.com" > <img src="{$img_logo}" width="32"/> http://www.stopforumspam.com |
---|
67 | </a></td> |
---|
68 | </tr> <tr> </tr> |
---|
69 | </table> |
---|
70 | |
---|
71 | <table class="table2" > |
---|
72 | {if not empty($liste_bl)} |
---|
73 | <tr class="throw"> |
---|
74 | <th>{$champs_bl[1]|@translate}</th> |
---|
75 | <th>{$champs_bl[7]|@translate}</th> |
---|
76 | <th>{'Sv_blackliste'|@translate}</th> |
---|
77 | </tr> |
---|
78 | {foreach from=$liste_bl item=group name=group_loop} |
---|
79 | <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> |
---|
80 | <td>{$group.ip}</td> |
---|
81 | |
---|
82 | <td>{$group.nb}</td> |
---|
83 | <td style="text-align:center;"> |
---|
84 | <input type="image" class="bp {if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}" |
---|
85 | src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" |
---|
86 | rel="raz:{$group.ip}" |
---|
87 | id="btn_delete{$group.ip}" |
---|
88 | title="{'Sv_delete'|@translate} {$group.ip}" |
---|
89 | alt="{'Sv_delete'|@translate} {$group.ip}" /> |
---|
90 | </td> |
---|
91 | </tr> |
---|
92 | {/foreach} |
---|
93 | <tr></tr> |
---|
94 | <tr></tr> |
---|
95 | <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/delete.png" />{'Sv_unset_black_list'|@translate}</td> |
---|
96 | <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" />{'Sv_set_black_list'|@translate}</td> |
---|
97 | |
---|
98 | {/if} |
---|
99 | </table> |
---|
100 | </fieldset> |
---|
101 | |
---|
102 | <fieldset > |
---|
103 | <legend>{'Sv_liste_ip'|translate}</legend> |
---|
104 | <p class="Style1"> |
---|
105 | {'Sv_iP_adress'|translate} : {$IP} |
---|
106 | </p> |
---|
107 | <table class="table"> |
---|
108 | <td>{'Number of rows per page'|translate}</td> |
---|
109 | <td><input type="text" name="per_page" value="{$per_page}" size=5 /></td> |
---|
110 | {if $start >0} |
---|
111 | <td><input class="submit" type="submit" name="prev" value= "{'previous_page'|translate}" /></td> |
---|
112 | { /if} |
---|
113 | <td>{'page'|translate}</td> |
---|
114 | <td><input type="text" name="start" value="{$start}" size=5 /></td> |
---|
115 | <td>/ {$maxipage} </td> |
---|
116 | {if $start < $maxipage } |
---|
117 | <td><input class="submit" type="submit" name="next" value= "{'Next'|translate}" /></td> |
---|
118 | { /if} |
---|
119 | <td><input class="submit" type="submit" name="info" value="{'Sv_list'|translate}" /></td> |
---|
120 | </table> |
---|
121 | <table class="table2"> |
---|
122 | <tr class="throw"> |
---|
123 | <th>{$champs_ip[0]|@translate}</th> |
---|
124 | <th>{$champs_ip[1]|@translate}</th> |
---|
125 | <th>{$champs_ip[2]|@translate}</th> |
---|
126 | <th>{$champs_ip[3]|@translate}</th> |
---|
127 | <th>{$champs_ip[4]|@translate}</th> |
---|
128 | <th>{$champs_ip[5]|@translate}</th> |
---|
129 | <th>{'Sv_blackliste'|@translate}</th> |
---|
130 | </tr> |
---|
131 | {if not empty($liste_ip)} |
---|
132 | {foreach from=$liste_ip item=group name=group_loop} |
---|
133 | <tr class="{if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}"> |
---|
134 | <td>{$group.id}</td> |
---|
135 | <td>{$group.date}</td> |
---|
136 | <td>{$group.time}</td> |
---|
137 | <td>{$group.user_id}</td> |
---|
138 | <td>{$group.IP}</td> |
---|
139 | <td>{$group.total}</td> |
---|
140 | <td style="text-align:center;"> |
---|
141 | <input type="image" |
---|
142 | class="bp {if $smarty.foreach.group_loop.index is odd}row1{else}row2{/if}" |
---|
143 | src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" |
---|
144 | rel='ajout:{$group.IP}' |
---|
145 | id="btn_permissions{$group.IP}" |
---|
146 | title="{'Sv_blacklist'|@translate} {$group.IP}" |
---|
147 | alt="{'Sv_blacklist'|@translate} {$group.IP}" /> |
---|
148 | </td> |
---|
149 | <td style="text-align:center;"></td> |
---|
150 | </tr> |
---|
151 | {/foreach} |
---|
152 | {/if} |
---|
153 | <td> <img src="{$ROOT_URL}{$themeconf.admin_icon_dir}/plug_activate.png" /> {'Sv_set_black_list'|@translate}</td> |
---|
154 | </table> |
---|
155 | </fieldset> |
---|
156 | </form> |
---|
157 | <form action="" method="post" name="form_connexion" id="form_connexion" style="visibility:hidden"> |
---|
158 | <input name="pays" type="text" value = "" id = "pays" > |
---|
159 | <input name="ville" type="text" value = "" id = "ville" > |
---|
160 | <input name="region" type="text" value = "" id = "region" > |
---|
161 | <input name="latitude" type="text" value = "" id = "latitude" > |
---|
162 | <input name="longitude" type="text" value = "" id = "longitude" > |
---|
163 | </form > |
---|