Last change
on this file since 12968 was
11807,
checked in by cljosse, 13 years ago
|
[extensions] mail_supervisor add 'title' and subject in tab test
|
File size:
2.1 KB
|
Line | |
---|
1 | <?php |
---|
2 | global $prefixeTable; |
---|
3 | |
---|
4 | if (!defined('mail_superv_TABLE')) define('mail_superv_TABLE', $prefixeTable.'mail_superv'); |
---|
5 | if (!defined('MAIL_BLACK_LISTE_TABLE')) define('MAIL_BLACK_LISTE_TABLE', $prefixeTable.'mail_black_list'); |
---|
6 | if (!defined('Sv_MAIL_TABLE')) define('Sv_MAIL_TABLE', $prefixeTable.'Sv_mail'); |
---|
7 | global $superv_champs , $superv_type ,$superv_bl_champs , $superv_bl_type ; |
---|
8 | $superv_champs = array( |
---|
9 | "id", |
---|
10 | "nb_mails", |
---|
11 | "date_mail", |
---|
12 | "nb_mails_maxi", |
---|
13 | "nb_mails_periode", |
---|
14 | "nb_spams", |
---|
15 | "date_spam", |
---|
16 | "nb_spams_maxi", |
---|
17 | "nb_spams_periode", |
---|
18 | "quarantaine", |
---|
19 | "date_quarantaine", |
---|
20 | "quarantaine_periode", |
---|
21 | "message", |
---|
22 | "message_test", |
---|
23 | "header_text", |
---|
24 | "sujet", |
---|
25 | "titre" |
---|
26 | ); |
---|
27 | |
---|
28 | $superv_type = array( |
---|
29 | " SMALLINT( 5 ) NOT NULL DEFAULT '0'" , |
---|
30 | "INT NOT NULL DEFAULT '0'" , |
---|
31 | "INT NOT NULL DEFAULT '0'" , |
---|
32 | "INT NOT NULL DEFAULT '2000'", |
---|
33 | "TEXT" , |
---|
34 | "INT NOT NULL DEFAULT '0'", |
---|
35 | "INT NOT NULL DEFAULT '0'", |
---|
36 | "INT NOT NULL DEFAULT '10'", |
---|
37 | "TEXT" , |
---|
38 | "TEXT" , |
---|
39 | "INT NOT NULL DEFAULT '0'", |
---|
40 | "TEXT" , |
---|
41 | "TEXT" , |
---|
42 | "TEXT" , |
---|
43 | "TEXT" , |
---|
44 | "TEXT" , |
---|
45 | "TEXT" |
---|
46 | ); |
---|
47 | |
---|
48 | |
---|
49 | $superv_bl_champs = array( |
---|
50 | "id", |
---|
51 | "ip", |
---|
52 | "pays", |
---|
53 | "region", |
---|
54 | "ville", |
---|
55 | "adresse", |
---|
56 | "fai", |
---|
57 | "nb" |
---|
58 | ); |
---|
59 | |
---|
60 | $superv_bl_type = array( |
---|
61 | " smallint(5) UNSIGNED NOT NULL auto_increment ", |
---|
62 | "TEXT" , |
---|
63 | "TEXT" , |
---|
64 | "TEXT" , |
---|
65 | "TEXT" , |
---|
66 | "TEXT" , |
---|
67 | "TEXT" , |
---|
68 | " smallint(5) UNSIGNED " |
---|
69 | ); |
---|
70 | |
---|
71 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.