source: extensions/Mail_supervisor/include/constants.php @ 10419

Last change on this file since 10419 was 10419, checked in by cljosse, 13 years ago

[extensions] mail_supervisor fix bug in design

File size: 2.0 KB
Line 
1<?php
2global $prefixeTable;
3
4if (!defined('mail_superv_TABLE')) define('mail_superv_TABLE', $prefixeTable.'mail_superv');
5if (!defined('MAIL_BLACK_LISTE_TABLE')) define('MAIL_BLACK_LISTE_TABLE', $prefixeTable.'mail_black_list');
6if (!defined('Sv_MAIL_TABLE')) define('Sv_MAIL_TABLE', $prefixeTable.'Sv_mail');
7global  $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        );
25
26    $superv_type = array(
27                    " SMALLINT( 5 ) NOT NULL DEFAULT '0'"      ,
28                    "INT NOT NULL DEFAULT '0'"  ,
29                    "INT NOT NULL DEFAULT '0'"  ,
30                    "INT NOT NULL DEFAULT '2000'",
31                    "TEXT"  ,
32                    "INT NOT NULL DEFAULT '0'",
33                    "INT NOT NULL DEFAULT '0'",
34                    "INT NOT NULL DEFAULT '10'",
35                    "TEXT"  ,
36                    "TEXT" ,
37                    "INT NOT NULL DEFAULT '0'",
38                    "TEXT"  ,
39                    "TEXT"  ,
40                    "TEXT"  ,
41                    "TEXT"  ,
42
43                    );
44
45
46      $superv_bl_champs = array(
47                    "id",
48                    "ip",
49                    "pays",
50                    "region",
51                    "ville",
52                    "adresse",
53                    "fai",
54                    "nb"
55                    );
56
57    $superv_bl_type = array(
58                    " smallint(5) UNSIGNED NOT NULL auto_increment ",
59                    "TEXT"  ,
60                    "TEXT"  ,
61                    "TEXT"  ,
62                    "TEXT"  ,
63                    "TEXT"  ,
64                    "TEXT"  ,
65                    " smallint(5) UNSIGNED "
66                    );
67
68?>
Note: See TracBrowser for help on using the repository browser.