<!--
<?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;{$labelSystemImgWebsiteSetting}</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=img" method="post">
         <table width="100%" bgcolor="#F4FAFB" class="tableList" cellpadding="1" cellspacing="1">
          <tr> 
            <td width="30%" align="right">{$labelSystemImgUploadFormat}</td>
            <td width="70%"> 
                <input name="kuWebsiteAllowUploadImgFormat" type="text"  size="30" maxlength="200" value="{$kuWebsiteAllowUploadImgFormat}"> 
                {$labelSystemImgUploadFormatDesc}
            </td>
          </tr> 
          <tr> 
             <td align="right"><font color="#FF0000">*</font>{$labelSystemImgUploadMaxSize}</td>
             <td> 
               <input name="kuWebsiteUploadImgMax" type="text"  size="15" maxlength="200" value="{$kuWebsiteUploadImgMax}"> 
               {$labelSystemImgUploadMaxSizeDesc}</td>        
          </tr>
          <tr> 
            <td align="right"><font color="#FF0000">*</font>{$labelSystemImgUploadThumbSize}</td>
            <td>
              <p>{$labelSystemImgUploadModuleProduct}: {$labelSystemImgUploadThumbWidth}<input name="kuWebsiteImgThumbWithProduct" type="text"  size="5" maxlength="200" value="{$kuWebsiteImgThumbWithProduct}">{$labelSystemImgUploadThumbPixel}&nbsp;&nbsp;
              {$labelSystemImgUploadThumbHight}<input name="kuWebsiteImgThumbHeightProduct" type="text"  size="5" maxlength="200" value="{$kuWebsiteImgThumbHeightProduct}">{$labelSystemImgUploadThumbPixel} </p>              
              <p style="margin-top:8px;">{$labelSystemImgUploadModuleImg}: {$labelSystemImgUploadThumbWidth}<input name="kuWebsiteImgThumbWithImg" type="text"  size="5" maxlength="200" value="{$kuWebsiteImgThumbWithImg}">{$labelSystemImgUploadThumbPixel}&nbsp;&nbsp;
              {$labelSystemImgUploadThumbHight}<input name="kuWebsiteImgThumbHeightImg" type="text"  size="5" maxlength="200" value="{$kuWebsiteImgThumbHeightImg}">{$labelSystemImgUploadThumbPixel} </p>              
            </td>
          </tr>  
          <tr> 
            <td align="right">{$labelSystemImgAddWater}</td>
            <td>
              <input name="kuWebsiteImgBigWate" type="checkbox" {$kuWebsiteImgBigWateFlag} >{$labelSystemImgAddWaterBigImgAdd}  
              <input name="kuWebsiteImgThumbWate" type="checkbox" {$kuWebsiteImgThumbWateFlag}>{$labelSystemImgAddWaterThumbImgAdd}
            </td>
          </tr> 
          <tr> 
            <td align="right">{$labelSystemImgAddWaterType}</td>
            <td>
              <input name="kuWebsiteWateType" type="radio" value="1" onclick="displayDiv('characterWateModel','imgWateMoudel')"  {$arrKuWebsiteWateTypeFlag[1]}>{$labelSystemImgCharaterWater}  
              <input name="kuWebsiteWateType" type="radio" value="2" onclick="displayDiv('imgWateMoudel','characterWateModel')" {$arrKuWebsiteWateTypeFlag[2]}>{$labelSystemImgPictureWater}
            </td>
          </tr>
          <tr>
            <td colspan="2">
              <div id="characterWateModel" style=" width:100%; padding:1px 1px; {$arrKuWebsiteWateTypeBlock[1]}">
                <table width="100%" height="100%" bgcolor="#FFFFFF" cellpadding="1" cellspacing="1"> 
                  <tr> 
                  <td width="30%" align="right">{$labelSystemImgCharaterWater1}</td>
                  <td width="70%">
                    <textarea name="kuWebsiteCharacterWateDescription" rows="2" cols="30">{$kuWebsiteCharacterWateDescription}</textarea>{$labelSystemImgCharaterWater1Desc}
                  </td>
                  </tr> 
                  <tr> 
                    <td align="right">{$labelSystemImgCharaterWater1Size}</td>
                    <td> <input name="kuWebsiteCharacterWateSize" type="text"  size="10" maxlength="200" value="{$kuWebsiteCharacterWateSize}"></td>
                  </tr> 
                  <tr> 
                    <td align="right">{$labelSystemImgCharaterWater1Font}</td>
                    <td>
                      <select name="kuWebsiteCharacterWateFont">
<!--
EOT;
foreach($arrKuWebsiteCharacterFormatDirFileName as $key=>$value)
{
echo <<<EOT
-->
<option value="{$value}" {$arrKuWebsiteCharacterFormatDirFileNameFlag[$value]}>{$value}</option>
<!--
EOT;
}
echo <<<EOT
-->                                           
                      </select>
                      {$labelSystemImgCharaterWater1FontDesc}      
                    </td>
                  </tr>
                  <tr> 
                    <td align="right">{$labelSystemImgCharaterWater1Angle}</td>
                    <td> <input name="kuWebsiteCharacterWateAngle" type="text"  size="3" maxlength="200" value="{$kuWebsiteCharacterWateAngle}">{$labelSystemImgCharaterWater1AngleDesc}</td>
                  </tr> 
                  <tr> 
                    <td align="right">{$labelSystemImgCharaterWater1Color}</td>
                    <td> 
                      <input name="kuWebsiteCharacterWateColor" id="wateColorId" type="text"  size="30" maxlength="200" value="{$kuWebsiteCharacterWateColor}">
                      <select name='selectColor' onChange="if(this.options[this.selectedIndex].value != '') 
                      {changeColor('wateColorId', this.options[this.selectedIndex].value);}"> 
                        <option>{$labelSystemImgCharaterWater1ColorSelect}</option>
                        <option style="background-color: #FFFFFF;color:#FFFFFF" value="#FFFFFF">{$labelSystemImgCharaterWater1White}</option> 
                        <option style="background-color:Black;color:Black" value="#000000">{$labelSystemImgCharaterWater1Black}</option> 
                        <option style="background-color:Red;color:Red" value="#FF0000">{$labelSystemImgCharaterWater1Red}</option> 
                        <option style="background-color:Yellow;color:Yellow" value="#FFFF00">{$labelSystemImgCharaterWater1Yellow}</option> 
                        <option style="background-color:Green;color:Green" value="#008000">{$labelSystemImgCharaterWater1Green}</option> 
                        <option style="background-color:Orange;color:Orange" value="#FF8000">{$labelSystemImgCharaterWater1Orange}</option> 
                        <option style="background-color:Purple;color:Purple" value="#800080">{$labelSystemImgCharaterWater1Purple}</option> 
                        <option style="background-color:Blue;color:Blue" value="#0000FF">{$labelSystemImgCharaterWater1Blue}</option> 
                        <option style="background-color:Brown;color:Brown" value="#800000">{$labelSystemImgCharaterWater1Brown}</option> 
                        <option style="background-color:#00FFFF;color: #00FFFF" value="#00FFFF">{$labelSystemImgCharaterWater1PowerGreen}</option> 
                        <option style="background-color:#7FFFD4;color: #7FFFD4" value="#7FFFD4">{$labelSystemImgCharaterWater1LightGreen}</option> 
                        <option style="background-color:#FFE4C4;color: #FFE4C4" value="#FFE4C4">{$labelSystemImgCharaterWater1YellowGrey}</option> 
                        <option style="background-color:#7FFF00;color: #7FFF00" value="#7FFF00">{$labelSystemImgCharaterWater1BrightGreen}</option> 
                        <option style="background-color:#D2691E;color: #D2691E" value="#D2691E">{$labelSystemImgCharaterWater1FullyRed}</option> 
                        <option style="background-color:#FF7F50;color: #FF7F50" value="#FF7F50">{$labelSystemImgCharaterWater1BrickRed}</option> 
                        <option style="background-color:#6495ED;color: #6495ED" value="#6495ED">{$labelSystemImgCharaterWater1LightBlue}</option> 
                        <option style="background-color:#DC143C;color: #DC143C" value="#DC143C">{$labelSystemImgCharaterWater1DarkRed}</option> 
                        <option style="background-color:#FF1493;color: #FF1493" value="#FF1493">{$labelSystemImgCharaterWater1RoseRed}</option> 
                        <option style="background-color:#FF00FF;color: #FF00FF" value="#FF00FF">{$labelSystemImgCharaterWater1PurpleRed}</option> 
                        <option style="background-color:#FFD700;color: #FFD700" value="#FFD700">{$labelSystemImgCharaterWater1OrangeYellow}</option> 
                        <option style="background-color:#DAA520;color: #DAA520" value="#DAA520">{$labelSystemImgCharaterWater1JunHuang}</option> 
                        <option style="background-color:#808080;color: #808080" value="#808080">{$labelSystemImgCharaterWater1SmokeGray}</option> 
                        <option style="background-color:#778899;color: #778899" value="#778899">{$labelSystemImgCharaterWater1DarkGray}</option> 
                        <option style="background-color:#B0C4DE;color: #B0C4DE" value="#B0C4DE">{$labelSystemImgCharaterWater1GreyBlue}</option> 
                       </select> 
                    </td>
                  </tr>     
                 </table> 
              </div>    
              <div id="imgWateMoudel" style="width:100%; {$arrKuWebsiteWateTypeBlock[2]}">
                <table  width="100%" bgcolor="#FFFFFF"  cellpadding="1" cellspacing="1">
                  <tr> 
                    <td width="30%" align="right">{$labelSystemImgPictureWater1}</td>
                    <td width="70%">
                      <input type="text" name="kuWebsiteImgWatePath" value="{$kuWebsiteImgWatePath}" size="40" readonly="readonly" disabled="disabled" />
                      <iframe style=" padding:0; margin:0;" src="include/uploadphoto.php?returnid=wate" frameborder=0 scrolling=no width="350" height="25"></iframe>
                    </td>
                  </tr>   
                </table> 
              </div>
            </td>
          </tr>
          <tr> 
            <td align="right">{$labelSystemImgWaterSite}</td>
            <td> 
              <input type="radio" value="0" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[0]} />{$labelSystemImgWaterSiteMiddle}
              <input type="radio" value="1" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[1]} />{$labelSystemImgWaterSiteLeftTop}
              <input type="radio" value="2" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[2]} />{$labelSystemImgWaterSiteRightTop}
              <input type="radio" value="3" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[3]} />{$labelSystemImgWaterSiteRightBottom}
              <input type="radio" value="4" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[4]} />{$labelSystemImgWaterSiteLeftBottom}
              <br/>
              <input type="radio" value="5" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[5]} />{$labelSystemImgWaterSiteTopMiddle}
              <input type="radio" value="6" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[6]} />{$labelSystemImgWaterSiteRightMiddle}
              <input type="radio" value="7" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[7]} />{$labelSystemImgWaterSiteBottomMiddle}
              <input type="radio" value="8" name="kuWebsiteCharacterWateMark" {$arrKuWebsiteCharacterWateMarkFlag[8]} />{$labelSystemImgWaterSiteLeftMiddle}
            </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;
?>
-->