<!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=<tpl> $NCharset </tpl>" />
<tpl>include file ='sys_head_config.html'</tpl>
</head>
<body>
<div id="container" >
  <form action="attribute_content.manage.php?action=add" name="addAttributeContent" method="post">
    <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" style="font-size:12px; font-family:'宋体'; color:#666666">
      <tr bgcolor="#DBE6DE">
        <td height="30" colspan="2"><span class="STYLE3">　<tpl> $langAMAddAttribute </tpl>[<tpl> $attribute_array.a_name </tpl>]<tpl> $langAMContentOption </tpl></span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="30"><span class="STYLE3">　<tpl> $langAMContentName </tpl></span></td>
        <td height="30"><span class="STYLE3">　
            <input type="text" name="txtaddACcontent" id="txtaddACcontent" onblur="document.getElementById('txtaddACcontent').value=this.value" style="border:1px solid #CCCCCC">
        *</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="30"><span class="STYLE3">　<tpl> $langAMContentCompositor </tpl></span></td>
        <td height="30"><span class="STYLE3">
          　
              <input type="text" name="txtaddACorder" id="txtaddACorder" onblur="document.getElementById('txtaddACorder').value=this.value" value="0" style="border:1px solid #CCCCCC">
        *</span></td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td height="30">&nbsp;</td>
        <td height="30">　
          <input name="submit" type="button" onclick="add_ac();" value="<tpl> $langCadd </tpl>"></td>
      </tr>
      <input type="hidden" name="txtaddAid" id="txtaddAid" value="<tpl> $a_id </tpl>" />
      <input type="hidden" name="txtaddAname" id="txtaddAname" value="<tpl> $attribute_array.a_name </tpl>" />
    </table>
  </form>
  <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" style="font-size:12px; font-family:'宋体'; color:#666666">
    <tr bgcolor="#DBE6DE">
      <td width="10%" height="30" align="center" valign="middle"><span class="STYLE3"><tpl> $langAMDel </tpl></span></td>
      <td width="50%" height="30" align="center" valign="middle"><span class="STYLE3"><tpl> $langAttributeMContent </tpl></span></td>
      <td width="20%" height="30" align="center" valign="middle"><span class="STYLE3"><tpl> $langAMCompositor </tpl></span></td>
      <td height="30" colspan="2" align="center" valign="middle">&nbsp;</td>
   </tr>
   <tr bgcolor="#FFFFFF">
   <td colspan="5">
<tpl> section name=i loop=$attribute_content_array </tpl>
<form name="update_content<tpl> $attribute_content_array[i].ac_id </tpl>" action="attribute_content.manage.php?action=update" method="post">
<table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#CCCCCC" style="font-size:12px; font-family:'宋体'; color:#666666">
    <tr bgcolor="#FFFFFF">
        <td align="center" valign="middle"><input name="txtupdateAcid" value="<tpl> $attribute_content_array[i].ac_id </tpl>" type="checkbox" /></td>
        <td height="30">　
          <input name="txtupdateACcontent<tpl> $attribute_content_array[i].ac_id </tpl>" type="text" id="txtupdateACcontent<tpl> $attribute_content_array[i].ac_id </tpl>" onblur="document.getElementById('txtupdateACcontent<tpl> $attribute_content_array[i].ac_id </tpl>').value=this.value" value="<tpl> $attribute_content_array[i].ac_content </tpl>" size="12" style="border:1px solid #ccc" />
        </td>
        <td height="30" align="center" valign="middle">　
        <input name="txtupdateACorder<tpl> $attribute_content_array[i].ac_id </tpl>" type="text" id="txtupdateACorder<tpl> $attribute_content_array[i].ac_id </tpl>" onblur="document.getElementById('txtupdateACorder<tpl> $attribute_content_array[i].ac_id </tpl>').value=this.value" value="<tpl> $attribute_content_array[i].ac_order </tpl>" size="5" style="border:1px solid #CCCCCC" /></td>
        <td height="30" align="center" valign="middle"><input name="update" type="button" onclick="update_ac('<tpl> $attribute_content_array[i].ac_id </tpl>');" value="<tpl> $langCsave </tpl>">
         </td>
    </tr>
</table>
      </form>
    <tpl> /section </tpl>
	</td>
	</tr>
    <tr bgcolor="#FFFFFF">
      <td height="30" colspan="7" align="left" style="padding-left:20px"><form action="attribute_content.manage.php?action=del" method="post" name="delAttributeContent" class="STYLE3" id="delAttribute">
          <input name="delbutton" type="button" value="<tpl> $langbtnProductDel </tpl>" onclick="javascript:del_ac()" />
          <input name="cancel" type="button" onclick="DialogHide();" value="<tpl> $langCReturn </tpl>">
      </form></td>
    </tr>
  </table>
</div>
			
</body>
</html>
