| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files (x86)/Mail Enable/Bin/NETWebAdmin/Mondo/lang/sys/Forms/ |
Upload File : |
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="UploadGraphics.aspx.vb" Inherits="MailEnable.Clients.WebAdmin.Mondo.UploadGraphics" %>
<%@ Register TagPrefix="uc1" TagName="uscStyleHeader" Src="../Controls/uscStyleHeader.ascx" %>
<%@ Register TagPrefix="uc2" TagName="uscLanguageTokenMondo" Src="../Controls/uscLanguageToken.ascx" %>
<uc2:uscLanguageTokenMondo id="uscToken" runat="server"></uc2:uscLanguageTokenMondo>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=uscToken.GetText("[ME_TXT-Branding]")%></title>
<META content=JavaScript name=vs_defaultClientScript>
<META content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema>
<META http-equiv=content-type content=text/html;charset=UTF-8>
<META http-equiv=Expires content=0>
<META http-equiv=Pragma content=no-cache><uc1:uscstyleheader id=UscStyleHeader1 runat="server"></uc1:uscStyleHeader>
<script type="text/javascript" src="../Scripts/LIBCore.js"></script>
<script type="text/javascript">
function WebMailSkinChange()
{
var ddlSkin = document.getElementById('ddlWebMailSkins');
var sSelected = '';
if (ddlSkin)
{
sSelected = ddlSkin.options[ddlSkin.selectedIndex].value;
}
if (window.frames['frameUploadWebMail'] && window.frames['frameUploadWebMail'].SetSkin)
{
window.frames['frameUploadWebMail'].SetSkin(sSelected, 'WEBMAIL');
}
document.getElementById('FrmUploadGraphics').submit();
}
function WebAdminSkinChange()
{
var ddlSkin = document.getElementById('ddlWebAdminSkins');
var sSelected = '';
if (ddlSkin)
{
sSelected = ddlSkin.options[ddlSkin.selectedIndex].value;
}
if (window.frames['frameUploadWebAdmin'] && window.frames['frameUploadWebAdmin'].SetSkin)
{
window.frames['frameUploadWebAdmin'].SetSkin(sSelected, 'WEBADMIN');
}
document.getElementById('FrmUploadGraphics').submit();
}
function UpdateImage(ImageType)
{
var oFrmUpload = document.getElementById('FrmUploadGraphics');
if (ImageType == 0)
{
alert(t_("[ME_TXT-WebmailImageUploadedSuccessfully!]"));
}
else if (ImageType == 1)
{
alert(t_("[ME_TXT-WebadminImageUploadedSuccessfully!]"));
}
else if (ImageType == -1)
{
alert(t_("[ME_TXT-ImageCouldNotBeUploaded!]"));
}
if (oFrmUpload)
{
oFrmUpload.submit();
}
}
function RemoveGraphic(Type)
{
if (Type == 0) // WebMail
{
if (confirm(t_("[ME_TXT-RemoveGraphicForWebmailSkin?]")))
{
document.getElementById('REMOVETYPE').value = "WEBMAIL";
document.getElementById('FrmUploadGraphics').submit();
}
}
else if (Type == 1)
{
if (confirm(t_("[ME_TXT-RemoveGraphicForWebadminSkin?]")))
{
document.getElementById('REMOVETYPE').value = "WEBADMIN";
document.getElementById('FrmUploadGraphics').submit();
}
}
}
function PageLoad()
{
var ddlSkin;
var sSelected = '';
ddlSkin = document.getElementById('ddlWebMailSkins');
if (ddlSkin)
{
sSelected = ddlSkin.options[ddlSkin.selectedIndex].value;
if (window.frames['frameUploadWebMail'] && window.frames['frameUploadWebMail'].SetSkin)
{
window.frames['frameUploadWebMail'].SetSkin(sSelected, 'WEBMAIL');
}
}
ddlSkin = document.getElementById('ddlWebAdminSkins');
if (ddlSkin)
{
sSelected = ddlSkin.options[ddlSkin.selectedIndex].value;
if (window.frames['frameUploadWebAdmin'] && window.frames['frameUploadWebAdmin'].SetSkin)
{
window.frames['frameUploadWebAdmin'].SetSkin(sSelected, 'WEBADMIN');
}
}
}
</script>
</head>
<body onload=PageLoad(); class="content_iframe" style="background-color:Transparent;height:100%;overflow:visible;">
<div class="bodyCol_folderList" id="content_header_js">
<div class="toolbar_primary" id="toolbar_primary_js">
<table class="toolbar_primary_table" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="toolbar_primary_table_left">
<h2><%=uscToken.GetText("[ME_TXT-Branding]")%></h2>
</td>
<td class="toolbar_primary_table_bttn">
<!-- Bttn Refresh -->
<div class="bttn_toolbar_primary_shell" onselectstart="return false;" onclick="window.location.reload()" title="Refresh List">
<div class="bttn_toolbar_primary_left">
<div class="toolbar_icon_refresh"></div>
</div>
<div class="bttn_toolbar_primary_right"></div>
</div>
</td>
</tr>
</table><!--toolbar_primary_table -->
</div><!-- toolbar_primary -->
</div><!-- content_header_js -->
<div class="content_section">
<form id=FrmUploadGraphics name=FrmUploadGraphics runat="server"><%MailEnable.Utilities.WriteFormValidationField(Response, Session.SessionID, Session.Item("ME_VALIDATIONTOKEN"))%>
<div class="content_description" style="color:#3876A9;padding-bottom:15px;padding-top:15px;">
<asp:literal id="litInstructions" Runat="server"></asp:Literal>
</div>
<h1><%=uscToken.GetText("[ME_TXT-WebMailBannerGraphic]")%></h1>
<table id="tblUploadWebMail" class="options_form_table" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;padding-top:7px;">
<tr>
<td>
<%=uscToken.GetText("[ME_TXT-Skin]")%>: <asp:dropdownlist id=ddlWebMailSkins Runat="server" onchange="WebMailSkinChange();" style="width:auto;"></asp:DropDownList>
<input id="btnRemoveWebMail" class="ME_Button" style="CURSOR: pointer" onclick="RemoveGraphic(0);" type="button" value="<%=uscToken.GetText("[ME_TXT-Delete]")%>">
</td>
<td style="width:420px;margin:0;padding:0;">
<iframe id="frameUploadWebMail" name="frameUploadWebMail" src="Uploader.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>" border="0" frameBorder="0" allowTransparency="true" style="float:right;width:100%;height:22px;backgrund-color:Transparent;overflow:hidden;"></IFRAME>
</td>
</tr>
<tr>
<td colspan="2">
<div class="img_shell1">
<div class="img_shell2">
<div class="img_shell3">
<div class="img_shell4">
<asp:Literal id="litImageSet" runat="server"></asp:Literal>
<!--<img src="../login_logo.jpg" width="200" height="60"/> -->
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<div class="options_form_gap" style="height:20px;"></div>
<h1><%=uscToken.GetText("[ME_TXT-WebAdminBannerGraphic]")%></h1>
<table id="tblUploadWebAdmin" class="options_form_table" border="0" cellspacing="0" cellpadding="0" style="table-layout:fixed;padding-top:7px;">
<tr>
<td style="vertical-align:middle;">
<%=uscToken.GetText("[ME_TXT-Skin]")%>: <asp:dropdownlist id="ddlWebAdminSkins" Runat="server" onchange="WebAdminSkinChange();" style="width:auto;"></asp:DropDownList>
<input id="btnRemoveWebAdmin" class="ME_Button" style="CURSOR: pointer" onclick="RemoveGraphic(1);" type="button" value="<%=uscToken.GetText("[ME_TXT-Delete]")%>">
</td>
<td style="width:420px;vertical-align:middle;margin:0;padding:0;">
<iframe id="frameUploadWebAdmin" name="frameUploadWebAdmin" src="Uploader.aspx?ME_VALIDATIONTOKEN=<%=Session.Item("ME_VALIDATIONTOKEN")%>" "border="0" frameborder="0" allowTransparency="true" style="float:right;width:100%;height:22px;background-color:Transparent;margin:0;padding:0;overflow:hidden;"></IFRAME>
</td>
</tr>
<tr>
<td colspan="2">
<div class="img_shell1">
<div class="img_shell2">
<div class="img_shell3">
<div class="img_shell4">
<asp:image id="imgWebAdmin" Runat="server"></asp:Image>
<!-- <img src="../login_logo.jpg"/> -->
</div>
</div>
</div>
</div>
</td>
</tr>
</table>
<br />
<input id="REMOVETYPE" type="hidden" name="REMOVETYPE" />
<br />
</form>
</div>
</body>
</html>