<!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/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');});
}
);
});
-->
</script>
</head>

<body>
<table width="100%" border="0" cellspacing="0">
  <tr height="184">
    <td align="left" valign="top" class="table_bg">
      <div class="boxtitle"><!--Kw[$title]--></div>
		<form action="add_ads.php?type=<!--Kw[$stype]-->" method="post" name="form1" target="_self" id="form1">
      <table width="60%" border="0">
        <tr class="table_content">
          <td width="23%" nowrap="nowrap">广告名称</td>
          <td width="77%"> <input name="Name" type="text" id="Name" value="<!--Kw[$ad[0].Name]-->" size="35" /></td>
        </tr>
        <tr class="table_content">
          <td nowrap="nowrap">广告代码</td>
          <td>  <textarea name="Code" cols="35" rows="10" id="Code"><!--Kw[$ad[0].Code]--></textarea></td>
        </tr>
        <tr class="table_content">
          <td><!--Kw[if $stype == "editok"]-->
          <input name="id" type="hidden" id="id" value="<!--Kw[$ad[0].ID]-->" />
          <!--Kw[/if]--></td>
          <td><span class="button" onclick="document.getElementById('form1').submit()">提交</span></td>
        </tr>
    </table>
    </form>
    </td>
    </tr>
  </table>
</body>
</html>
