function skin_EmailPage_Default() { global $conf_skin; global $adm_email_login; global $adm_email_login; global $adm_email_pass; $anotherTopBanner = anotherTopBanner("DTC"); $anotherLanguageSelection = anotherLanguageSelection(); $lang_sel = skin($conf_skin, $anotherLanguageSelection, _("Language")); if ($adm_email_login != "" && isset($adm_email_login) && $adm_email_pass != "" && isset($adm_email_pass)) { $error = pass_check_email(); // Fetch all the user informations, Print a nice error message if failure. if ($error == false) { $mesg = $admin["mesg"]; $login_txt = "<font color=\"red\">" . _("Wrong login or password") . "!</font><br>"; $login_txt .= login_emailpanel_form(); $login_skined = skin($conf_skin, $login_txt, _("Email panel: ") . _("Login")); $mypage = layout_login_and_languages($login_skined, $lang_sel); } else { // Draw the html forms, login is successfull $admin = fetchMailboxInfos($adm_email_login, $adm_email_pass); $content = drawAdminTools_emailPanel($admin); $mypage = $content; } } else { $login_txt = login_emailpanel_form(); $login_skined = skin($conf_skin, $login_txt, _("Email panel: ") . _("Login")); $mypage = layout_login_and_languages($login_skined, $lang_sel); } // Output the result ! echo anotherPage("Email:", "", "", makePreloads(), $anotherTopBanner, "", $mypage, anotherFooter("")); }
function skin_EmailPage() { global $conf_skin; global $adm_email_login; global $page_metacontent; global $meta; global $confirm_javascript; global $java_script; global $skinCssString; global $adm_email_login; global $adm_email_pass; //////////////////////////////////// // Create the top banner and menu // //////////////////////////////////// $anotherTopBanner = anotherTopBanner("DTC"); if ($adm_email_login != "" && isset($adm_email_login) && $adm_email_pass != "" && isset($adm_email_pass)) { $error = pass_check_email(); // Fetch all the user informations, Print a nice error message if failure. if ($error == false) { $mesg = $admin["mesg"]; $login_txt = "<font color=\"red\">" . _("Wrong login or password") . " !</font><br>"; $login_txt .= login_emailpanel_form(); $mypage = skin($conf_skin, $login_txt, _("Email panel: ") . _("Login")); } else { // Draw the html forms, login is successfull $admin = fetchMailboxInfos($adm_email_login, $adm_email_pass); $mypage = drawAdminTools_emailPanel($admin); } } else { $login_txt = login_emailpanel_form(); $mypage = skin($conf_skin, $login_txt, _("Email panel: ") . _("Login")); } // Output the result ! echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html>\n<head>\n<title>DTC: Client: " . $_SERVER['SERVER_NAME'] . "</title>\n{$page_metacontent}\n{$meta}\n</head>\n<body id=\"page\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n\t <div id=\"outerwrapper\">\n <div id=\"wrapper\">\n\n" . makePreloads() . "\n{$confirm_javascript}\n{$java_script}\n<link rel=\"stylesheet\" href=\"gfx/skin/bwoup/skin.css\" type=\"text/css\">\n{$skinCssString}\n\n" . anotherTopBanner("DTC", "yes") . "<div id=\"usernavbarreplacement\"></div>\n<div id=\"content\"><div class=\"box_wnb_content_container\">" . $mypage . "</div></div>\n<div id=\"footer\">" . anotherFooter("Footer content<br><br>") . "</div>\n </div>\n</div>\n</body>\n</html>"; }
function skin_EmailPage() { global $conf_skin; global $adm_email_login; global $page_metacontent; global $meta; global $confirm_javascript; global $java_script; global $skinCssString; global $adm_email_login; global $adm_email_pass; //////////////////////////////////// // Create the top banner and menu // //////////////////////////////////// $anotherTopBanner = anotherTopBanner("DTC"); if ($adm_email_login != "" && isset($adm_email_login) && $adm_email_pass != "" && isset($adm_email_pass)) { $error = pass_check_email(); // Fetch all the user informations, Print a nice error message if failure. if ($error == false) { $mesg = $admin["mesg"]; $login_txt = "<font color=\"red\">" . _("Wrong login or password") . " !</font><br>"; $login_txt .= login_emailpanel_form(); $mypage = skin($conf_skin, $login_txt, _("Email panel: ") . _("Login")); } else { // Draw the html forms, login is successfull $admin = fetchMailboxInfos($adm_email_login, $adm_email_pass); $mypage = drawAdminTools_emailPanel($admin); } } else { $login_txt = login_emailpanel_form(); $mypage = skin($conf_skin, $login_txt, _("Email panel: ") . _("Login")); } // Output the result ! echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" dir=\"ltr\" lang=\"en\" xml:lang=\"en\">\n<head>\n<title>DTC: Client: " . $_SERVER['SERVER_NAME'] . "</title>\n{$page_metacontent}\n{$meta}\n<link rel=\"stylesheet\" href=\"gfx/skin/paperboard/skin.css\" type=\"text/css\" media=\"all\" />\n</head>\n<body id=\"page\">\n<div id=\"outerwrapper\">\n\t<div id=\"wrapper\">\n\t\t" . makePreloads() . "\n\t\t{$confirm_javascript}\n\t\t{$java_script}\n\t\t{$skinCssString}\n\t\t" . anotherTopBanner("DTC", "yes") . "\n\t\t<div id=\"usernavbarreplacement\"></div>\n\t\t<table class=\"tht\" cellpadding=\"0\" cellspacing=\"0\">\n\t\t\t<tr>\n\t\t\t\t<td class=\"thl-1\" nowrap=\"nowrap\"> </td>\n\t\t\t\t<td class=\"thm-1 hleft\" nowrap=\"nowrap\"> </td>\n\t\t\t\t<td class=\"thr-1\" nowrap=\"nowrap\"> </td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"bord-left\" nowrap=\"nowrap\"></td>\n\t\t\t\t<td>\n\t\t\t\t\t" . $mypage . "\n\t\t\t\t</td>\n\t\t\t\t<td class=\"bord-right\" nowrap=\"nowrap\"></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"tbl-1\" nowrap=\"nowrap\"></td>\n\t\t\t\t<td class=\"tbm-1 hleft\" nowrap=\"nowrap\"> </td>\n\t\t\t\t<td class=\"tbr-1\" nowrap=\"nowrap\"></td>\n\t\t\t</tr>\n\t\t</table>\n\t\t<div id=\"footer\">" . anotherFooter("Footer content<br /><br />") . "PaperBoard template for DTC made by <a href=\"http://www.labestiole.net\" title=\"la bestiole\" target=\"_blank\">cali</a></div>\n </div>\n</div>\n</body>\n</html>"; }