| | |
| | | //************************************************************************************* |
| | | // Resellers, clients etc |
| | | //************************************************************************************* |
| | | $tables['client'] = " |
| | | `client_id` bigint(20) NOT NULL AUTO PRIMARY, |
| | | `sys_userid` int(11) NOTNULL DEFAULT '0', |
| | | `sys_groupid` int(11) NOTNULL DEFAULT '0', |
| | | `sys_perm_user` C(5), |
| | | `sys_perm_group` C(5), |
| | | `sys_perm_other` C(5), |
| | | `company_name` C(255), |
| | | `contact_name` C(255), |
| | | `street` C(255), |
| | | `zip` C(255), |
| | | `city` C(255), |
| | | `state` C(255), |
| | | `country` C(255), |
| | | `telephone` C(255), |
| | | `mobile` C(255), |
| | | `fax` C(255), |
| | | `email` C(255), |
| | | `internet` C(255) NOTNULL DEFAULT 'http://', |
| | | `icq` C(255), |
| | | `notes` text, |
| | | `default_mailserver` int(11) NOTNULL DEFAULT '1', |
| | | `limit_maildomain` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_mailbox` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_mailalias` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_mailforward` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_mailcatchall` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_mailrouting` int(11) NOTNULL DEFAULT '0', |
| | | `limit_mailfilter` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_fetchmail` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_mailquota` int(11) NOTNULL DEFAULT '-1', |
| | | `limit_spamfilter_wblist` int(11) NOTNULL DEFAULT '0', |
| | | `limit_spamfilter_user` int(11) NOTNULL DEFAULT '0', |
| | | `limit_spamfilter_policy` int(11) NOTNULL DEFAULT '0', |
| | | `default_webserver` int(11) NOT NULL, |
| | | `limit_web_ip` text NOT NULL, |
| | | `username` C(255) , |
| | | `password` C(255) , |
| | | `language` C(255) NOTNULL DEFAULT 'en', |
| | | `usertheme` C(255) NOTNULL DEFAULT 'default' |
| | | "; |
| | | |
| | | |
| | | $tables['reseller'] = " |
| | | reseller_id bigint(20) NOTNULL AUTO PRIMARY, |