{if $ajax eq 0}
	{include file="$admin_nl_gentemplates/admin_nl_site_head.tpl"}
{/if}
<div style="height:4px;font-size:0px;" class="user_operation_line"></div>
<div class="cr"></div>
	<div class="user_status_line">
        <div id="tab_1" class="user_status_elem" onclick="ShowEditor('1','settings.php?ajax=1');">
            <a>{$lang.admin_menu.nl_general}</a>
        </div>
        <div id="tab_2" class="user_status_elem" onclick="ShowEditor('2','template/index.php?ajax=1');">
            <a>{$lang.admin_menu.nl_templates}</a>
        </div>
        <div id="tab_3" class="user_status_elem" onclick="ShowEditor('3','forms/index.php?ajax=1');">
            <a>{$lang.admin_menu.nl_forms}</a>
        </div>
        <div id="tab_4" class="user_status_elem" onclick="ShowEditor('4','attaches/index.php?ajax=1');">
            <a>{$lang.admin_menu.nl_attachments}</a>
        </div>
        <div id="tab_5" class="user_status_elem_active" onclick="ShowEditor('5','smtp_servers/index.php?ajax=1');">
            {$lang.admin_menu.nl_smtp_servers}
        </div>
        <div class="cr"></div>
        <div class="panel_subtabs" style="width: 100%">
        	<div class="panel_content" style="width: 97%">
<div style="border:0px;">
<div class="panel_content" style="margin-bottom:0px;margin-left: 0px;">
<FORM id="myform" name="myform" class="myform" action="smtp_servers/change.php?ajax=1&id={$rel.id}" method="post" style="margin:0px">
	<input type="hidden" name="action" value="change">
{*	<div>
		<a class="admin_button" onclick="ShowBlock('show_block','smtp_servers/index.php?ajax=1');">{$lang.newsletter.smtp_servs.smtp_servers}<span>&nbsp;</span></a>
	</div>
	<div class="cr">&nbsp;</div>*}
		
	<div class="fl newletter_export">&nbsp; {$lang.newsletter.smtp_servs.server_name}:&nbsp;</div>
	<div class="fl"><INPUT type="text" name="Name" class="inpBox" size="44" maxlength="50" value="{$rel.name}" tabindex="1">
	&nbsp;<A onmouseover=doTooltip(event,75) onmouseout=hideTip() href="#"><IMG src="{$site_root}{$template_root}/images/newsletter/icot.gif" width="12" height="12" border=0 align="absmiddle"></A>
	</div>

	<div class="cr">&nbsp;</div>
	<div class="fl newletter_export">&nbsp; {$lang.newsletter.smtp_servs.server_host}:&nbsp;<font color="red">*</font></div>
	<div class="fl"><INPUT type="text" name="Host" class="inpBox" size="44" maxlength="50" value="{$rel.host}" tabindex="2">
	&nbsp;
	<A onmouseover=doTooltip(event,76) onmouseout=hideTip() href="#"><IMG src="{$site_root}{$template_root}/images/newsletter/icot.gif" width="12" height="12" border=0 align="absmiddle"></A>
	</div>

	<div class="cr">&nbsp;</div>
	<div class="fl newletter_export">&nbsp; {$lang.newsletter.smtp_servs.server_login}:&nbsp;</div>
	<div class="fl"><INPUT type="text" name="Login" class="inpBox" size="44" maxlength="50" value="{$rel.login}" tabindex="3">
	&nbsp;<A onmouseover=doTooltip(event,77) onmouseout=hideTip() href="#"><IMG src="{$site_root}{$template_root}/images/newsletter/icot.gif" width="12" height="12" border=0 align="absmiddle"></A>
	</div>

	<div class="cr">&nbsp;</div>
	<div class="fl newletter_export">&nbsp; {$lang.newsletter.smtp_servs.server_passw}:&nbsp;</div>
	<div class="fl"><INPUT type="password" name="Password" class="inpBox" size="44" maxlength="50" value="{$rel.password}" tabindex="4"> 
	&nbsp;<A onmouseover=doTooltip(event,78) onmouseout=hideTip() href="#"><IMG src="{$site_root}{$template_root}/images/newsletter/icot.gif" width="12" height="12" border=0 align="absmiddle"></A>
	</div>

	<div class="cr">&nbsp;</div>
	<div class="fl newletter_export">&nbsp; {$lang.newsletter.smtp_servs.order_num}:&nbsp;</div>
	<div class="fl"><INPUT type="text" name="OrderNum" class="inpBox" size="44" maxlength="50" value="{$rel.order_num}" tabindex="5">
	&nbsp;<A onmouseover=doTooltip(event,79) onmouseout=hideTip() href="#"><IMG src="{$site_root}{$template_root}/images/newsletter/icot.gif" width="12" height="12" border=0 align="absmiddle"></A>
	</div>

	
	
</FORM>

</div>
</div>
</div>
</div>
	<div class="cr">&nbsp;</div>
	<div class="fl newletter_export"></div>
	<div class="cr">&nbsp;</div>
	<div class="fl">
		<a style="float:left;" class="admin_button_major" onclick="submit();">{$lang.newsletter.button.save}<span>&nbsp;</span></a>
		<a style="float:left;margin-top:12px;margin-left:10px;" onClick="{literal}if(confirm('Are you sure?')) { ShowBlock('show_block','smtp_servers/index.php?ajax=1'); }{/literal}">{$lang.newsletter.button.cancel}<span>&nbsp;</span></a>				
	</div>
	{literal}
                <script language="JavaScript">
			var options = { 
				success: function(data){
					ajaxLoadingImage(0, 'show_block');
					$('#show_block').html(data);
					/*$('#show_block').oneTime(3000, function() {
						$('#show_block').fadeOut(500);
					});*/
					return false;
				},
				beforeSubmit: function() { 
					//ajaxIndicator(1, 'show_block');
					ajaxLoadingImage(1, 'show_block');
				}
			};
			function submit(){
					$('.myform').ajaxSubmit(options);
			}

                    function CheckForm()
                    {
                        return true;
                    }
                
                </script>

{/literal}
{if $ajax eq 0}{include file="$admin_nl_gentemplates/admin_nl_site_foot.tpl"}{/if}