<!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=gb2312" />
<title></title>
<link href="css/admin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="js/get_sites.js"></script>
<script type="text/javascript" language="javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="javascript">
<!--
$(function(){
$.each( $('.table_content'),
function(){
$(this).bind('mouseover',function(){$(this).css('background-color','#d9e8fd');});
$(this).bind('mouseout',function(){$(this).css('background-color','#e6f2fe');});
}
);
$('#change_categoty').bind('click',function(){if($('#category').css('display')=='none')	{$('#category').css('display','inline');}else{$('#category').css('display','none');}});
get_category(0);
});

function get_category( id )
{
	$.get("get_category2.php","id="+id,function(data){$('#category').html(data);});

}

function simOptionClick4IE(){    
    var evt=window.event  ;    
    var selectObj=evt?evt.srcElement:null;    
    if (evt && selectObj &&  evt.offsetY && evt.button!=2    
        && (evt.offsetY > selectObj.offsetHeight || evt.offsetY<0 ) ) {    
            var oldIdx = selectObj.selectedIndex;    
   
            setTimeout(function(){    
                var option=selectObj.options[selectObj.selectedIndex];    
                get_category( selectObj.options.value )    
            }, 60);    
    }    
}
-->
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="0">
  <tr height="184">
    <td align="left" valign="top" class="table_bg">
      <div class="boxtitle">站点批量修改</div>
		<form action="site_all.php" method="post" name="form1" id="form1">
      <table width="60%" border="0">
        <tr class="table_content">
          <td>站点编号</td>
          <td><input name="id" type="text" id="id" value="<!--Kw[foreach key=key item=value from=$id]--><!--Kw[$key]--> <!--Kw[/foreach]-->" size="40" /></td>
        </tr>
        <tr class="table_content">
          <td>所属分类</td>
          <td><span style="display:inline" id="category"></span>
            <label for="change_categoty">
              <input type="checkbox" name="change_categoty" id="change_categoty" />不修改分类
            </label>
            </td>
        </tr>
        <tr class="table_content">
          <td>颜色</td>
          <td><input name="BoxColor" type="text" id="BoxColor" value="<!--Kw[$BoxColor]-->" size="11" readonly="readonly" />
          <a href="#" onclick="document.getElementById('BoxColor').value='dark_blue';">深蓝</a> 
          <a href="#" onclick="document.getElementById('BoxColor').value='light_blue';">浅蓝</a> 
          <a href="#" onclick="document.getElementById('BoxColor').value='yellow';">黄</a>
          <a href="#" onclick="document.getElementById('BoxColor').value='white';">白</a></td>
        </tr>
        <tr class="table_content">
          <td>在首页？</td>
          <td>在<input type="radio" name="IsInIndex" id="IsInIndex" value="1" <!--Kw[if $IsInIndex==1]--> checked="checked"<!--Kw[/if]-->/>
            不在<input type="radio" name="IsInIndex" id="IsInIndex2" value="0" <!--Kw[if $IsInIndex==0]--> checked="checked"<!--Kw[/if]-->/></td>
        </tr>
        <tr class="table_content">
          <td><input id="cktype" name="cktype" value="editok" type="hidden" /></td>
          <td><span class="button" onclick="document.getElementById('form1').submit()">提交</span></td>
        </tr>
    </table>
    </form>
    </td>
    </tr>
  </table>
</body>
</html>
