<!--
<?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}menu.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;{$labelSystemMenuAddNavigation}</span></td>
          <td width="40%" align="right"><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=menu&menu=menu">{$labelSystemMenuBackNavigationManage}</a>&nbsp;&nbsp;</td>
        </tr>
      </table>

<form name='formSort' enctype="multipart/form-data" action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=menu&menu=menu_action&action=add" method="post">
<input type="text" name="fatherId" value="{$fatherid}" style="display:none" />
<input type="radio" name="kuMenuLang" value="cn" {$kuWebsiteEditVersionLanguageFlag[cn]} style="display:none" />
<input type="radio" name="kuMenuLang" value="en" {$kuWebsiteEditVersionLanguageFlag[en]} style="display:none" />
<table width="100%" bgcolor="#FFFFFF" class="tableList" cellpadding="1" cellspacing="1">
  <tr>
    <td width="30%" align="right">{$labelSystemMenuFatherNavigationName}</td>
    <td width="70%" align="left"><input type="text" name="kuMenuFather" value="{$strFatherName}" size="40" readonly="readonly" disabled="disabled"/></td>
  </tr>

  <tr>
    <td align="right">{$labelSystemMenuAddNavigationName}</td>
    <td align="left"><input type="text" name="kuMenuContent" value="" size="40" /> <span style="color:#FF0000">*</span></td>
  </tr>
  <tr>
    <td align="right">{$labelSystemMenuAddNavigationDirName}</td>
    <td align="left"><input type="text" name="kuMenuDirName" value="" size="40" $menuDirDisable/>&nbsp;{$labelSystemMenuAddNavigationDirNameDesc}</td>
  </tr>
  <tr>
    <td align="right">{$labelSystemMenuAddNavigationSort}</td>
    <td align="left">
      <input type="text" name="kuMenuSortNum" value="5" size="10" />{$labelSystemMenuAddNavigationSortDesc}
    </td>
  </tr>
  <tr>
    <td align="right">{$labelSystemMenuAddMainNavigationDisplay}</td>
    <td align="left">
      <input type="radio" name="kuWebsitNavShow" value="1"  checked="checked"/>{$labelSystemMenuNavigationNotDisplay}
      <input type="radio" name="kuWebsitNavShow" value="2" />{$labelSystemMenuMainNavigationDisplay}
      <input type="radio" name="kuWebsitNavShow" value="3" />{$labelSystemMenuFooterNavigationDisplay}
      <input type="radio" name="kuWebsitNavShow" value="4" />{$labelSystemMenuNavigationAllDisplay}  
    </td>
  </tr>
  <tr>
    <td align="right">{$labelSystemMenuAddNewWindowOpen}</td>
    <td align="left"><input type="checkbox" name="kuWebsitBlankWindow" value="1" size="40" />{$labelSystemMenuAddNewWindowOpenDesc}</td>
  </tr>
  <tr>
    <td align="right">{$labelSystemMenuAddNavigationAttribute}</td>
    <td align="left">
      <input name="kuWebsitModelType" type="radio" value="1" onclick="displayDiv('systemModel','outLink')" checked="checked">{$labelSystemMenuInsideNavigation}
      &nbsp;
      <input name="kuWebsitModelType" type="radio" value="2" onclick="displayDiv('outLink','systemModel')">{$labelSystemMenuOutsideLink}
    </td>
  </tr>
  <tr>
    <td colspan="2" align="right">
      <input type="text" name="kuWebsitModel" style="display:none" value="{$module}" />
      <div id="systemModel" style="width:100%; padding:1px 1px; display:block">
        <table width="100%" height="100%" bgcolor="#FFFFFF" cellpadding="1" cellspacing="1"> 
         <tr> 
              <td width="30%" align="right">{$labelSystemMenuAddNavigationBelongModel}</td>
              <td width="70%" align="left">
                <select name="kuWebsitModelSelect" $moduleDisable>
                  <option value="1" $kuWebsitModel[1]>{$labelSystemMenuBindAboutsModel}</option>
                  <option value="2" $kuWebsitModel[2]>{$labelSystemMenuBindNewsModel}</option>
                  <option value="3" $kuWebsitModel[3]>{$labelSystemMenuBindProductModel}</option>
                  <option value="4" $kuWebsitModel[4]>{$labelSystemMenuBindImgModel}</option>
                  <option value="5" $kuWebsitModel[5]>{$labelSystemMenuBindDownloadModel}</option>
                  <option value="6" $kuWebsitModel[6]>{$labelSystemMenuBindJobModel}</option>
                  <option value="7" $kuWebsitModel[7] >{$labelSystemMenuBindMessageModel}</option>
                  <option value="8" $kuWebsitModel[8] >{$labelSystemMenuBindFaqModel}</option>
                </select>&nbsp<font color="#FF0000">*</font>
              </td>
            </tr> 
             <tr> 
              <td align="right" height="25"><b>{$labelSystemMenuAddSEOSetting}</b></td>
              <td>&nbsp;</td>
            </tr>
            <tr> 
              <td align="right">{$labelSystemMenuAddKeyWord}</td>
              <td><input name="kuWebsitKeyWords" type="text"  size="40" maxlength="200">&nbsp;{$labelSystemMenuAddKeyWordDesc}</td>
            </tr>
             <tr> 
              <td align="right">{$labelSystemMenuAddSimpleDesc}</td>
              <td><textarea name="kuWebsitDescription" cols="50" rows="4" ></textarea></td>
            </tr>
        </table> 
      </div>
      <div id="outLink" style="width:100%; display:none;">
        <table  width="100%" bgcolor="#FFFFFF"  cellpadding="1" cellspacing="1">
          <tr> 
            <td width="30%" align="right">{$labelSystemMenuAddLinkAddress}</td>
            <td width="70%"> <input name="kuWebsitOutLink" type="text"  size="40" maxlength="200">&nbsp<font color="#FF0000">*</font>{$labelSystemMenuAddLinkAddressDesc}</td>
          </tr> 
        </table> 
      </div>
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center" valign="middle">
      <input type="submit" value="{$labelCommonConfirm}" class="button" onclick="return checkMenu()" />
      <input type="reset" value="{$labelCommonReset}" class="button" />
    </td>
  </tr>
</table>
</form>

  <table width="100%" bgcolor="#F4FAFB">
    <tr height="40" style="padding:3px 10px;">
      <td align="center" valign="middle">
        <font style="color:#9DACAF">
EOT;
include_once($adminTemplatePath.'/footer.html');
echo <<<EOT
        </font>
      </td>
    </tr>
  </table>

</td>
    <td width="1%"></td>
  </tr>
<tr><td colspan="3" height="10">&nbsp;</td></tr>
</table>


</body>
</html>

<!--
EOT;
?>
-->