<!--
<?php
echo <<<EOT
-->

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$kuWebsiteTitle}</title>
<link href="{$adminHttpCssPath}admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" language="javascript" src="{$adminHttpJsPath}common.js"></script>
<script type="text/javascript" language="javascript" src="{$adminHttpJsPath}img.js"></script>  
</head>

<body>
  <table width="100%" border="0" background="#EEEEEE">
    <tr>
      <td colspan="3" height="10">&nbsp;</td>
    </tr>
    <tr>
      <td width="1%"></td>
      <td width="98%"> 
        <table width="100%" bgcolor="#F4FAFB" style="border:1px solid #99d3fb">
          <tr height="30" style="padding:3px 10px;">
            <td width="40%" align="left" height="40"><span style="font-size:16px; font-weight:bold">&nbsp;&nbsp;{$labelSystemMailSettings}</span></td>
            <td width="40%" align="right">&nbsp;&nbsp;</td>
          </tr>
        </table>
        <form name='myform' enctype="multipart/form-data" action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=system_action&action=mail" method="post">
         <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
          <tr> 
            <td width="30%" align="right">{$labelSystemMailType}</td>
            <td width="70%">
              <input name="kuWebsiteMailType" type="radio" value="1" onclick="displayDiv('characterWateModel','imgWateMoudel')"  {$arrKuWebsiteMailTypeFlag[1]}>{$labelSystemMailTypeSmtp}  
              <input name="kuWebsiteMailType" type="radio" value="2" onclick="displayDiv('imgWateMoudel','characterWateModel')" {$arrKuWebsiteMailTypeFlag[2]}>{$labelSystemMailTypeLinuxMail}
            </td>
          </tr>
          <tr>
            <td colspan="2">
              <div id="characterWateModel" style=" width:100%; padding:1px 1px; {$arrKuWebsiteMailTypeBlock[1]}">
                <table width="100%" height="100%" bgcolor="#FFFFFF" cellpadding="1" cellspacing="1"> 
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailSmtpHost}</td>
                    <td width="70%"><input type="text" name="kuWebsiteMailSmtpHost" value="{$kuWebsiteMailSmtpHost}" size="20" /> {$labelSystemMailSmtpHostTips}</td>
                  </tr> 
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailSmtpPort}</td>
                    <td width="70%"><input type="text" name="kuWebsiteMailSmtpPort" value="{$kuWebsiteMailSmtpPort}" size="20" /> {$labelSystemMailSmtpPortTips}</td>
                  </tr> 
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailSmtpUserName}</td>
                    <td width="70%"><input type="text" name="kuWebsiteMailSmtpUserName" value="{$kuWebsiteMailSmtpUserName}" size="40" /> {$labelSystemMailSmtpUserNameTips}</td>
                  </tr> 
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailSmtpPassword}</td>
                    <td width="70%"><input type="password" name="kuWebsiteMailSmtpPassword" value="{$kuWebsiteMailSmtpPassword}" size="40" /> {$labelSystemMailSmtpPasswordTips}</td>
                  </tr> 
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailSmtpSender}</td>
                    <td width="70%"><input type="text" name="kuWebsiteMailSmtpSender" value="{$kuWebsiteMailSmtpSender}" size="40" /> {$labelSystemMailSmtpSenderTips}</td>
                  </tr> 
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailSmtpReceiver}</td>
                    <td width="70%"><input type="text" name="kuWebsiteMailSmtpReceiver" value="{$kuWebsiteMailSmtpReceiver}" size="40" /> {$labelSystemMailSmtpReceiverTips}</td>
                  </tr> 
                 </table> 
              </div>    
              <div id="imgWateMoudel" style="width:100%; {$arrKuWebsiteMailTypeBlock[2]}">
                <table  width="100%" bgcolor="#FFFFFF"  cellpadding="1" cellspacing="1">
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailMailSender}</td>
                    <td width="70%">
                      <input type="text" name="kuWebsiteMailMailSender" value="{$kuWebsiteMailMailSender}" size="40" /> {$labelSystemMailMailSenderTips}
                    </td>
                  </tr>   
                  <tr> 
                    <td width="30%" align="right">{$labelSystemMailMailReceiver}</td>
                    <td width="70%">
                      <input type="text" name="kuWebsiteMailMailReceiver" value="{$kuWebsiteMailMailReceiver}" size="40" /> {$labelSystemMailMailReceiverTips}
                    </td>
                  </tr>   
                </table> 
              </div>
            </td>
          </tr>
          <tr> 
            <td align="right">{$labelSystemMailFrequency}</td>
            <td><input type="text" name="kuWebsiteMailFrequency" value="{$kuWebsiteMailFrequency}" size="40" /> {$labelSystemMailFrequencyTips}</td>
          </tr>  
          <tr> 
            <td height="30" colspan="2" align="center" > 
              <input class="button" type="submit" name="Submit" value="{$labelCommonSubmit}" onclick="return checkMail()">&nbsp;&nbsp;&nbsp;&nbsp;  
              <input class="button" type="reset" name="Submit" value="{$labelCommonReset}" > 
            </td>
          </tr>
        </table>
      </form>
  
EOT;
include_once($adminTemplatePath.'/footer.html');
echo <<<EOT
  
  </td>
      <td width="1%"></td>
    </tr>
  <tr><td colspan="3" height="10">&nbsp;</td></tr>
  </table>
</body>
</html>

<!--
EOT;
?>
-->