<!--
<?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" src="./ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="./ckeditor/ckfinder/ckfinder.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;{$labelAboutEditTitle}</span></td>
            <td width="40%" align="right">&nbsp;&nbsp;<a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=about&menu=about_action&menuid={$menuid}">{$labelAboutManageBackBrownseAbout}</a></td>
          </tr>
        </table>
        <form name='myform' enctype="multipart/form-data" action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=about&menu=about_action&menuid={$menuid}&action=modify" method="post">
        <input type="text" value="{$id}" name="id" style="display:none;" />
        <input type="text" name="menuid" value="{$menuid}" style="display:none;" />
        <input type="radio" name="lang" value="cn" {$kuWebsiteEditVersionLanguageFlag[cn]} style="display:none;" />
        <input type="radio" name="lang" value="en" {$kuWebsiteEditVersionLanguageFlag[en]}  style="display:none;"/>
         <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
          <tr>
            <td align="right">{$labelAboutTitle}</td>
            <td align="left"><input type="text" name="abouttitle" value="{$aboutRow['abouttitle']}" size="40" readonly="readonly"/> 
            &nbsp;&nbsp;{$labelModelCommonTitleDesc}</td>
          </tr>
          <tr>
            <td align="right">{$labelModelCommonBelongToNavigation}</td>
            <td align="left">
              <div id="secondMenuNavDiv" style="float:left;">
                <select name="secondMenuNav" disabled="disabled">
                  <option value=0>{$labelModelCommonBelongToSecondNavigation}</option>  
<!--              
EOT;
foreach($secondMenuNav as $key=>$secondNavValue)
{
$selectedFlag = '';
if($type2 == $secondNavValue['id']){$selectedFlag = "selected='selected'";}
echo <<<EOT
-->
<option value="{$secondNavValue['id']}" {$selectedFlag}>{$secondNavValue['menutitle']}</option>
<!--
EOT;
}
echo <<<EOT
-->
             </select>
              </div>
              <div id="thirdMenuNavDiv" style="float:left; display:block; width:200px; margin-left:5px;">
                <select name="thirdMenuNav" disabled="disabled">
                  <option value=0>{$labelModelCommonBelongToThirdNavigation}</option>  
<!--              
EOT;
foreach($thirdMenuNav as $key=>$thirdNavValue)
{
$selectedFlag = '';
if($type3 == $thirdNavValue['id']){$selectedFlag = "selected='selected'";}
echo <<<EOT
-->
<option value="{$thirdNavValue['id']}" {$selectedFlag}>{$thirdNavValue['menutitle']}</option>
<!--
EOT;
}
echo <<<EOT
-->                </select>
              </div>
            </td>
          </tr>
          <tr>
            <td align="right">{$labelAboutKeywords}</td>
            <td align="left"><input type="text" name="aboutkeywords" value="{$aboutRow['aboutkeywords']}" size="40" /> 
            &nbsp;&nbsp;{$labelAboutKeywordsDesc}</td>
          </tr>
          <tr>
            <td align="right">{$labelAboutDesc}</td>
            <td align="left">
                <textarea name="aboutdesc" cols="50" rows="5" >{$aboutRow['aboutdesc']}</textarea>
            </td>
          </tr>
          <tr>
            <td align="right">{$labelCommonPageBanner}</td>
            <td align="left">
              <input type="text" name="banner" value="{$aboutRow['banner']}" size="40" readonly="readonly" />
              &nbsp;<iframe style=" padding:0; margin:0;" src="include/uploadfile.php?uploadtype=flash&returnid=banner" frameborder=0 scrolling=no width="350" height="25"></iframe>&nbsp;&nbsp;{$labelCommonPageBannerDesc}
            </td>
          </tr>
          <tr>
            <td align="right">{$labelSystemSkinPageTemplates} </td>
            <td align="left">
            <select name="skin">
<!--
EOT;
foreach($skinList as $key=>$value)
{
$select = '';
if('' == $aboutRow['skin'])$aboutRow['skin'] = $kuWebsiteTemplateSelected;
if($aboutRow['skin'] == $value['skinfolder'])
{
  $select = 'selected';
} 
echo <<<EOT
-->
     <option value="{$value['skinfolder']}" {$select}>{$value['skinname']}</option>
<!--
EOT;
}
echo <<<EOT
-->
    </select>
    &nbsp;&nbsp;{$labelSystemSkinPageTemplatesDescription}&nbsp;&nbsp;<a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin_add">{$labelSystemSkinManageOperateAdd}</a></td>
          </tr>
          <tr>
            <td align="right">{$labelAboutSortNum}</td>
            <td align="left"><input type="text" name="sortnum" value="{$aboutRow['sortnum']}" size="10" readonly="readonly" /> 
            &nbsp;&nbsp;{$labelAboutSortNumDesc}</td>
          </tr>
          <tr>
            <td width="10%" align="right">{$labelModelCommonDetailedContent}</td>
            <td width="90%">
              <textarea class="ckeditor" cols="80" id="aboutcontent" name="aboutcontent" rows="10">{$aboutRow['aboutcontent']}</textarea><font color="#FF0000">*</font>&nbsp;&nbsp;
<script type="text/javascript">
CKEDITOR.replace( 'aboutcontent',
{
filebrowserBrowseUrl : 'ckeditor/ckfinder/ckfinder.html',
filebrowserImageBrowseUrl : 'ckeditor/ckfinder/ckfinder.html?Type=Images',
filebrowserFlashBrowseUrl : 'ckeditor/ckfinder/ckfinder.html?Type=Flash',
filebrowserUploadUrl : 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files',
filebrowserImageUploadUrl : 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Images',
filebrowserFlashUploadUrl : 'ckeditor/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Flash'
});
</script>
           </td>
          </tr>
          <tr> 
            <td height="30" colspan="2" align="center" > 
              <input class="button" type="submit" name="Submit" value="{$labelCommonSubmit}" >&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;
?>
-->