|?TREE=» `domain`|
|?HELP_SECTION=`USER_HELPER`|
|HTM_CONFIG|
|HTM_USER_TOP|
|LF_POP|
|$|SK_PHP|
2) {
if(strstr(strtolower($data),"awstats")
|| strstr(strtolower($data),"pgsql")
|| strstr(strtolower($data),"postgre")
|| strstr(strtolower($data),"phpvs")
|| strstr(strtolower($data),"hotlink")
|| strstr(strtolower($data),"php version selector"))
{
$plugin['domain'][]=$data;
} elseif(strstr(strtolower($data),"smtp")) {
$plugin['email'][]=$data;
} elseif(strstr(strtolower($data),"bill") || strstr(strtolower($data),"payment")) {
$plugin['account'][]=$data;
} else {
$plugin['extra'][]=$data;
}
}
}
$domain = '|domain|';
$d1 = << '/IMG_IC_STATS', 'link' => '/CMD_USER_STATS?domain='.$domain, 'txt' => $d08);
$items[] = array('img' => '/IMG_IC_FILEMAN', 'link' => '/CMD_FILE_MANAGER?domain='.$domain, 'txt' => $d15);
|*if USERDATABASEMAX!="0"|
$items[] = array('img' => '/IMG_IC_PHPMYADMIN', 'link' => 'http://|HOSTNAME|/phpMyAdmin', 'txt' => $d13);
|*endif|
$items[] = array('img' => '/IMG_IC_PASSWD', 'link' => '/HTM_PASSWD?domain='.$domain, 'txt' => $d02);
$items[] = array('img' => '/IMG_IC_LOGHIST', 'link' => '/CMD_LOGIN_HISTORY?domain='.$domain, 'txt' => $d03);
$items[] = array('img' => '/IMG_IC_SUPPORT', 'link' => '/CMD_TICKET?domain='.$domain, 'txt' => $d05);
|*if USERSYSINFO="ON"|
$items[] = array('img' => '/IMG_IC_SERVINFO', 'link' => '/CMD_SYSTEM_INFO?domain='.$domain, 'txt' => $d19);
|*endif|
$items[] = array('img' => '/IMG_IC_BACKUP', 'link' => '/CMD_SITE_BACKUP?domain='.$domain, 'txt' => $d07);
$items[] = array('img' => '/IMG_IC_PASSDIRS', 'link' => '/CMD_PROTECTED_DIRECTORIES?domain='.$domain, 'txt' => $d14);
|*if USERDNSCONTROL="ON"|
$items[] = array('img' => '/IMG_IC_DNS', 'link' => '/CMD_DNS_CONTROL?domain='.$domain, 'txt' => $d04);
|*endif|
if(is_array($plugin['account']) && count($plugin['account'])>0) {
foreach($plugin['account'] as $plug) {
$items[] = array('plugin' => $plug);
}
}
$sk->iconmenu($d16,$items, $menutype);
unset($items);
|*if USERDATABASEMAX!="0"|
$items[] = array('img' => '/IMG_IC_MYSQL', 'link' => '/CMD_DB?domain='.$domain, 'txt' => $d12);
|*endif|
|*if USERFTPMAX!="0"|
$items[] = array('img' => '/IMG_IC_FTP', 'link' => '/CMD_FTP?domain='.$domain, 'txt' => $d09);
|*endif|
|*if NUSERSUBDOMAINSMAX!="0"|
$items[] = array('img' => '/IMG_IC_SUBDOM', 'link' => '/CMD_SUBDOMAIN?domain='.$domain, 'txt' => $d10);
|*endif|
|*if USERPOINTERSMAX!="0"|
$items[] = array('img' => '/IMG_IC_DOMPTR', 'link' => '/CMD_DOMAIN_POINTER?domain='.$domain, 'txt' => $d17);
|*endif|
$items[] = array('img' => '/IMG_IC_SITEREDIRECT', 'link' => '/CMD_REDIRECT?domain='.$domain, 'txt' => $d18);
$items[] = array('img' => '/IMG_IC_DOMAIN_SETUP', 'link' => '/CMD_ADDITIONAL_DOMAINS?domain='.$domain, 'txt' => $d01);
if(is_array($plugin['domain']) && count($plugin['domain'])>0) {
foreach($plugin['domain'] as $plug) {
$items[] = array('plugin' => $plug);
}
}
$sk->iconmenu($d37,$items, $menutype);
unset($items);
?>
'/IMG_IC_EMAIL', 'link' => '/CMD_EMAIL_POP?domain='.$domain, 'txt' => $d1);
|*if USERCATCHALL="ON"|
$items[] = array('img' => '/IMG_IC_EMAIL_CATCH', 'link' => '/CMD_EMAIL_CATCH_ALL?domain='.$domain, 'txt' => $d2);
|*endif|
|*if USERFORWARDERMAX!="0"|
$items[] = array('img' => '/IMG_IC_EMAIL_FOR', 'link' => '/CMD_EMAIL_FORWARDER?domain='.$domain, 'txt' => $d3);
|*endif|
|*if USERRESPONDERMAX!="0"|
$items[] = array('img' => '/IMG_IC_EMAIL_AUTO', 'link' => '/CMD_EMAIL_AUTORESPONDER?domain='.$domain, 'txt' => $d4);
|*endif|
$items[] = array('img' => '/IMG_IC_EMAIL_VAC', 'link' => '/CMD_EMAIL_VACATION?domain='.$domain, 'txt' => $d5);
|*if USERSPAM="ON"|
$items[] = array('img' => '/IMG_IC_SPAM', 'link' => '/CMD_SPAMASSASSIN?domain='.$domain, 'txt' => $d6);
|*endif|
|*if USERMLISTMAX!="0"|
$items[] = array('img' => '/IMG_IC_MAILING', 'link' => '/CMD_EMAIL_LIST?domain='.$domain, 'txt' => $d7);
|*endif|
$items[] = array('img' => '/IMG_IC_EMAIL_FIL', 'link' => '/CMD_EMAIL_FILTER?domain='.$domain, 'txt' => $d8);
if ("|HIDE_WEBMAIL_LINKS|" != "yes"
&& file_exists("/var/www/html/atmail")){
$items[] = array('img' => '/IMG_IC_ATMAIL', 'link' => '|HTTP|://|HOSTNAME|/atmail', 'txt' => $dk);
}
if ("|HIDE_WEBMAIL_LINKS|" != "yes"
&& file_exists("/var/www/html/webmail")){
$items[] = array('img' => '/IMG_IC_WEBMAIL', 'link' => '|HTTP|://|HOSTNAME|/webmail', 'txt' => $d0);
}
if ("|HIDE_WEBMAIL_LINKS|" != "yes"
&& file_exists("/var/www/html/squirrelmail")){
$items[] = array('img' => '/IMG_IC_WEBMAIL', 'link' => '|HTTP|://|HOSTNAME|/squirrelmail', 'txt' => $d9);
}
if ("|HIDE_WEBMAIL_LINKS|" != "yes"
&& file_exists("/var/www/html/roundcube")){
$items[] = array('img' => '/IMG_IC_ROUNDCUBE', 'link' => '|HTTP|://|HOSTNAME|/roundcube', 'txt' => $ds);
}
if ("|HIDE_WEBMAIL_LINKS|" != "yes"
&& file_exists("/var/www/html/horde")){
$items[] = array('img' => '/IMG_IC_HORDE', 'link' => '|HTTP|://|HOSTNAME|/horde', 'txt' => $dh);
}
if ("|HIDE_WEBMAIL_LINKS|" != "yes"
&& file_exists("/var/www/html/afterlogic")){
$items[] = array('img' => '/IMG_IC_AFTERLOGIC', 'link' => '|HTTP|://|HOSTNAME|/afterlogic', 'txt' => 'Afterlogic Webmail');
}
if("|WEBMAIL_LINK|" != "horde"
&& "|WEBMAIL_LINK|" != "webmail"
&& "|WEBMAIL_LINK|" != "atmail"
&& "|WEBMAIL_LINK|" != "squirrelmail"
&& "|WEBMAIL_LINK|" != "afterlogic"
&& "|WEBMAIL_LINK|" != "roundcube"
&& file_exists("/var/www/html/|WEBMAIL_LINK|")) {
$items[] = array('img' => '/IMG_IC_WEBMAIL', 'link' => '|HTTP|://|HOSTNAME|/|WEBMAIL_LINK|', 'txt' => $dw);
}
if(is_array($plugin['email']) && count($plugin['email'])>0) {
foreach($plugin['email'] as $plug) {
$items[] = array('plugin' => $plug);
}
}
|*if USEREMAILMAX!="0"|
$sk->iconmenu($dm,$items);
|*endif|
unset($items);
|*if USERSSL="ON"|
$items[] = array('img' => '/IMG_IC_SSL', 'link' => '/CMD_SSL?domain='.$domain, 'txt' => $d21);
|*endif|
|*if USERCRON="ON"|
$items[] = array('img' => '/IMG_IC_CRON', 'link' => '/CMD_CRON_JOBS?domain='.$domain, 'txt' => $d22);
|*endif|
$items[] = array('img' => '/IMG_IC_MIME', 'link' => '/CMD_MIME_TYPES?domain='.$domain, 'txt' => $d23);
$items[] = array('img' => '/IMG_IC_APACHEHAND', 'link' => '/CMD_HANDLERS?domain='.$domain, 'txt' => $d24);
$items[] = array('img' => '/IMG_IC_ERRORPAGES', 'link' => '/HTM_ERROR_PAGES?domain='.$domain, 'txt' => $d20);
$items[] = array('img' => '/IMG_IC_PERLMODS', 'link' => '/CMD_PERL_MODULES?domain='.$domain, 'txt' => $d06);
|*if USERDNSCONTROL="ON"|
$items[] = array('img' => '/IMG_IC_DNS', 'link' => '/CMD_DNS_MX?domain='.$domain, 'txt' => $d25);
|*endif|
|*if FRONTPAGE_ON="yes"|
$items[] = array('img' => '/IMG_IC_FRONTP', 'link' => '/CMD_FRONTPAGE?domain='.$domain, 'txt' => $d11);
|*endif|
if(is_array($plugin['extra']) && count($plugin['extra'])>0) {
foreach($plugin['extra'] as $plug) {
$items[] = array('plugin' => $plug);
}
}
$sk->iconmenu($d27,$items, $menutype);
unset($items);
?>
DONE|
|HTM_USER_BOTTOM|