<!--
<?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}message.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;{$labelMessageSetting}</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=message&menu=message_action&menuid={$menuid}&action=messageset" method="post">
        <input type="text" name="menuid" value="{$menuid}" style="display:none" />
         <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
          <tr> 
            <td align="right" width="30%">{$labelMessageSettingRefreshTime}</td>
            <td width="70%"><input name="kuWebsiteMessageRefreshTime" type="text" size="3" maxlength="20" value="{$kuWebsiteMessageRefreshTime}">{$labelMessageSettingRefreshTimeDesc}<font color="#FF0000">*</font></td>
          </tr> 
          <tr> 
            <td align="right">{$labelMessageSettingFilterCharacter}</td>
            <td><textarea name="kuWebsiteMessageSpecialWord" cols="50" rows="3" >{$kuWebsiteMessageSpecialWord}</textarea>{$labelMessageSettingFilterCharacterDesc}</td>
          </tr>
          <tr> 
            <td align="right">{$labelModelCommonDisplay}</td>
            <td><input name="kuWebsiteMessageRevertAudit" type="checkbox" value="1" {$kuWebsiteMessageRevertAuditFlag}>{$labelMessageSettingDisplayDesc}</td>
          </tr>
          <tr> 
            <td align="right">{$labelMessageSettingSendEmailFlag}</td>
            <td><input name="kuWebsiteMessagePostEmail" type="checkbox" value="1" {$kuWebsiteMessagePostEmailFlag} onclick="checkMessageDisplayAutoRevertEmailSetting()">{$labelMessageSettingSendEmailFlagDesc}</td>
          </tr>
          <tr>
            <td colspan="2">
              <div id="autoRevertEmailAddressSetting" style=" width:100%; padding:1px 1px; {$kuWebsiteMessageAutoRevertEmailAddressSetting}">
                <table width="100%" height="100%" bgcolor="#FFFFFF" cellpadding="1" cellspacing="1">
                  <tr> 
                    <td width="30%" align="right">{$labelMessageSettingReceiveEmail}</td>
                    <td width="70%"><input name="kuWebsiteMessageAcceptEmailAddress" type="text" size="30" maxlength="200" value="{$kuWebsiteMessageAcceptEmailAddress}">{$labelMessageSettingReceiveEmailDesc}</td>
                  </tr>
                </table>
              </div>
            </td>
          </tr>  
           <tr> 
            <td align="right">{$labelMessageSettingAutoRevert}</td>
            <td><input name="kuWebsiteMessageAutoRevert" type="checkbox" value="1"  {$kuWebsiteMessageAutoRevertFlay} onclick="checkMessageDisplayAutoRevertSetting()">{$labelMessageSettingAutoRevertDesc}</td>
          </tr>
          <tr>
            <td colspan="2">
              <div id="autoRevertSetting" style=" width:100%; padding:1px 1px; {$kuWebsiteMessageAutoRevertSetting}">
                <table width="100%" height="100%" bgcolor="#FFFFFF" cellpadding="1" cellspacing="1">
                  <tr> 
                    <td align="right" width="30%">{$labelMessageSettingRevertEmailAddress}</td>
                    <td width="70%"><input name="kuWebsiteMessageAutoRevertEmailAddress" type="text" size="30" maxlength="200" value="{$kuWebsiteMessageAutoRevertEmailAddress}">{$labelMessageSettingRevertEmailAddressDesc}</td>
                  </tr>
                  <tr> 
                    <td align="right">{$labelMessageSettingRevertEmailTitle}</td>
                    <td><input name="kuWebsiteMessageTitle" type="text" size="30" maxlength="200" value="{$kuWebsiteMessageTitle}">{$labelMessageSettingRevertEmailTitleDesc}</td>
                  </tr>
                  <tr> 
                    <td align="right">{$labelMessageSettingRevertEmailContent}</td>
                    <td><textarea name="kuWebsiteMessageContent" cols="50" rows="3" >{$kuWebsiteMessageContent}</textarea>{$labelMessageSettingRevertEmailContentDesc}</td>
                  </tr>  
                </table>
              </div>
            </td>
          </tr>
          <tr> 
            <td height="30" colspan="2" align="center" > 
              <input class="button" type="submit" name="Submit" value="{$labelCommonSubmit}" onclick="return checkMessage()">&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;
?>
-->