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+M#ٵɚoυބcZQl'3bSo\󈚻Vnbjՙd#F@i%a&RoM+9x(I*Il) H2LdR+d83NhG6yAYgזDy".C*cs,33ͶQ2{mFdg> U\YQ45k~Mpsů=t'`f9juy;ֱERv-dЎ2 :;I_a//uaXxC(|ٶ㾵Q M/9ߗ$$vr9'J!c%?2c EMSpF0۫0旷:Wbg3bҿN/+SϮ㍿C-[\*Zޏ8ahH~͚M\CPڨMO! gP<ao\ r{p2LùB3MEhڽxWE R`(P(DOw"֒1 gA}>m Jx44Q}ˆ #{$G|cZ(zG:x)$GɀܝpnhJhh GOW 04{&ࡐOI'~3+я~n_X $:ziOmsyZꈳiBz [ޗH< '$x3ưf@hj`yJd9./TL[~KF4^AuYJ]37oy)ϸnm~ZC5>µKbsҶ",pk`M>z]/zv`P1mYn_Nl)5 9p( y<.HpWl>!MJ'39@视nU!F 9A1]MLq ?\1!6cj2(iC?9x=cu)V-Ld xyrMl _7F*!D@2Y*KuЍs}zmԎFJof»Q[F6FEErЋt9|Mo@ЦS^]ﰃA'UN5!e+Cr-X.|kB7Vloۈ=.\$Is k #$}]fyW/{2/Ekh8h+Wov̆)X 3Q~` U<'fePӳlF3:/ƃ|efJ͡ѬL 4oU8^j_豚C_ӛɻ2eTw/ 6ȋ'hhjm>Jce+ce5Eia`Úc Iu 3aq;.֥EX\UrS5tg:ȓJ$S潶vR Z7Ϳ?)YՋg$._?֜nfmcT= -F,7,v9@ҧwMqNDFoFј̵=V`{&}Z-!~4 'E*G('Vqu_|DtU= Vu1cnMIz,E?u~2Dm&pݣпUϦeEO Cm,axae^X2DVGA$qm5 eoU|lqOG珌]ٜ4% ٶ (˒M Z)T k˂D`vͶ AM:11X'; } $themsel .= ''; $smarty->assign('Themes', $themsel); } if ($fixed_login_page && (empty($agent_type) || $agent_type == 'pc')) $selected_theme = 'default'; //customize //LOGO $logofile = ''; if ($reg_flagchar != 3 && $reg_flagchar != 'C') { if ($directly_visit && $logoimage != '') { if (strncasecmp($logoimage, 'jpg:', 4) == 0 || strncasecmp($logoimage, 'gif:', 4) == 0 || strncasecmp($logoimage, 'png:', 4) == 0) { $arrImage = explode(':', $logoimage); if (count($arrImage) == 3) { $logocontent = base64_decode($arrImage[2]); if ($logocontent != '') { if (function_exists('getimagesizefromstring')) { $imginfo = getimagesizefromstring($logocontent); } else { $fullfile = $SYSTEM_DIRECTORY['temporary'].'_attachments\\'.md5(microtime()).'.'.$arrImage[0]; if (file_put_contents($fullfile, $logocontent) != false) { $imginfo = getimagesize($fullfile); unlink($fullfile); } } if (is_array($imginfo) && intval($imginfo[2]) >= 1 && intval($imginfo[2]) <= 3) { $logofile = CUSTOMER_PATH.$f_domain.'_logo.'.$arrImage[0]; if (!file_exists($logofile) || filemtime($logofile) <= floatval($arrImage[1])) { $fullfile = $SYSTEM_DIRECTORY['webmailhome'].$logofile; file_put_contents($fullfile, $logocontent); } } } } } } } if ($directly_visit && ($logofile == '' || !file_exists($logofile))) $logofile = CUSTOMER_PATH.$f_domain.'_index_logo.gif'; if ($directly_visit && ($logofile == '' || !file_exists($logofile))) $logofile = CUSTOMER_PATH.$f_domain.'_logo.gif'; if ($logofile == '' || !file_exists($logofile)) $logofile = CUSTOMER_PATH.'index_logo.gif'; if ($logofile == '' || !file_exists($logofile)) $logofile = CUSTOMER_PATH.'logo.gif'; if ($logofile != '' && file_exists($logofile)) $smarty->assign('IndexLogo', $logofile); //ҳмĵIJƷ $winmailfile = ''; if ($selected_theme == 'default') { $bgno = mt_rand()%7+11; $bgfile = ''; if ($directly_visit) $bgfile = CUSTOMER_PATH.$f_domain.'_winmail_bg.jpg'; if ($bgfile == '' || !file_exists($bgfile)) $bgfile = CUSTOMER_PATH.'winmail_bg.jpg'; if ($bgfile == '' || !file_exists($bgfile)) $bgfile = CUSTOMER_PATH.'winmail_bg'.$bgno.'.jpg'; if ($bgfile != '' && file_exists($bgfile)) $smarty->assign('IndexBgImage', $bgfile); if ($directly_visit) $winmailfile = CUSTOMER_PATH.$f_domain.'_index_winmail_new.gif'; if ($winmailfile == '' || !file_exists($winmailfile)) $winmailfile = CUSTOMER_PATH.'index_winmail_new.gif'; } if ($winmailfile == '' || !file_exists($winmailfile)) { if ($directly_visit) $winmailfile = CUSTOMER_PATH.$f_domain.'_index_winmail.gif'; if ($winmailfile == '' || !file_exists($winmailfile)) $winmailfile = CUSTOMER_PATH.'index_winmail.gif'; } if ($winmailfile != '' && file_exists($winmailfile)) $smarty->assign('IndexWinmail', $winmailfile); //ļ if ($directly_visit) { $selected_customer_language = CUSTOMER_PATH.$f_domain.'_'.$selected_language.'.txt'; if (file_exists($selected_customer_language)){ getlanguagetext($selected_customer_language); $smarty->assign('CustomerLanguageFile', $selected_customer_language); } } $pagetitle = $companyname; if ($pagetitle == '') $pagetitle = $common_page_title; if ($companyname == '') $companyname = $homepage; if ($websiteurl == '') $websiteurl = $homepage_url; if ($adminemail == '') $adminemail = $webmaster_mail; if ($adminemail == '') $adminemail = $postmaster_address; $smarty->assign('IndexPageTitle', $pagetitle); $smarty->assign('CompanyName', $companyname); $smarty->assign('WebsiteUrl', $websiteurl); $smarty->assign('AdminEmail', $adminemail); //ҳʾ $index_tipinfo = str_replace('%mailserver%', $httphost, $index_tipinfo); $smarty->assign('IndexTipInfo', $index_tipinfo); $smarty->display($selected_theme.'/index.htm'); ?>