<!--
<?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>
<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;{$labelIndexPageWebsiteSetting}</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=block&operate={$operate}" method="post">
          <input type="text" name="id" value="{$id}" style="display:none" />
          <input type="text" name="lang" value="{$lang}" style="display:none" />
          <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
              <tr>
                <td width="10%" align="right">{$labelIndexPageModelTitle}</td>
                <td width="90%"><input name="blocktitle" type="text"  size="30" maxlength="200" value="{$row['blocktitle']}" /> <font color="#FF0000">*</font></td>
              </tr>
            <tr> 
            <td  align="right">{$labelModelCommonDetailedContent}</td>
            <td>
              <textarea class="ckeditor" cols="80" id="blockcontent" name="blockcontent" rows="10">{$row['blockcontent']}</textarea><font color="#FF0000">*</font>&nbsp;&nbsp;
<script type="text/javascript">
CKEDITOR.replace( 'blockcontent',
{
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}" onclick="return checkImg()" />
                  &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;
?>
-->