<!--
<?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>
<title>{$kuWebsiteTitle}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="{$adminHttpCssPath}admin.css" rel="stylesheet" type="text/css">
<script type="text/javascript" language="javascript" src="{$adminHttpJsPath}common.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;{$labelSystemSkinManageTemplate}</span></td>
      <td width="40%" align="right"><a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin">{$labelSystemSkinManageBackSkinSetting}</a>&nbsp;&nbsp;<a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin_add">{$labelSystemSkinManageOperateAdd }</a>&nbsp;&nbsp;</td>
    </tr>
  </table>

<form name='form' enctype="multipart/form-data" action="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin_manage&action=delete" method="post">
<table width="100%" bgcolor="#FFFFFF" class="tableList" cellpadding="1" cellspacing="1" >
   <tr>
    <td width="5%" align="center">
    {$labelSystemSkinManageSelect}  
    </td>
    <td width="5%" align="center">
    {$labelSystemSkinManageSequence}
    </td>
    <td width="20%" align="center">
    {$labelSystemSkinManageName1}
    </td>
    <td width="10%" align="center">
    {$labelSystemSkinManageFileName1}
    </td>
    <td width="40%" align="center">
    {$labelSystemSkinManageDescription1}
    </td>
    <td width="10%" align="center">
    {$labelSystemSkinManageBrowse}
    </td>
    <td width="10%" align="center">
    {$labelSystemSkinManageOperate}
    </td>
  </tr>
<!--
EOT;
foreach($skinList as $key=>$value)
{
$select = '';
if($kuWebsiteTemplateSelected == $value['skinfolder'])
{
  $select = 'selected';
} 
echo <<<EOT
-->
  <tr>
        <td width="5%" align="center">
        <input type="checkbox" name="id[]" value="{$value['id']}" />
        </td>
        <td width="5%" align="center">
        {$key}
        </td>
        <td width="20%" align="center">
        {$value['skinname']}
        </td>
        <td width="10%" align="center">
        {$value['skinfolder']}
        </td>
        <td width="40%" align="center">
        {$value['skininfo']}
        </td>
        <td width="10%" align="center">
        <a href="#">{$labelSystemSkinManageBrowse}</a>
        </td>
        <td width="10%" align="center">
        <a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin_edit&id={$value['id']}&action=edit">{$labelCommonEdit}</a>&nbsp;|&nbsp;<a href="index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin_manage&id={$value['id']}&action=delete" onclick="return confirm('{$promptConfirmDelete}')">{$labelCommonDelete}</a>
        </td>
    </tr>
<!--
EOT;
}
echo <<<EOT
-->
<tr>
  <td colspan="7">
      <input type="checkbox" name="selectAllCheckBox" onclick="checkCheckBoxAll(this.form)"/>
       {$labelSystemSkinManageSelectAll}&nbsp;&nbsp;
      <input type="submit" value="{$labelSystemSkinManageDeleteSelect}" class="button" onclick="return confirm('{$promptConfirmDelete}')" />
  </td>
</tr>
<tr>
  <td colspan="7" align="center">
EOT;
$test = new Pages($totalNumber, $page, $maxNum, $adminPagingActionsDisplayNumber, $adminPagingType, $adminPagingIsAlwaysShowFirstOrLast);
echo $test->disp('page', "index.php?lang={$kuWebsiteEditVersionLanguage}&path=system&menu=skin_manage"); 
echo <<<EOT
  </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>

EOT;
echo <<<EOT
</body>
</html>

<!--
EOT;
?>
-->