<%@ page language="C#" autoeventwireup="true" inherits="user_editMess, App_Web_ya0kogz6" %><%@ Register TagPrefix="qth8" TagName="userManageLeft" Src="~/inc/userManageLeft.ascx" %><%@ Register TagPrefix="qth8" TagName="userManageTop" Src="~/inc/userManageTop.ascx" %><!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><%=sWebName %> - 修改信息</title>
    <link rel="stylesheet" type="text/css" href="css.css" />
</head>
<body>
<div align="center">
<div class="main" align="left">
<qth8:userManageTop runat="server" ID="userManageTop" />
<div class="clear"></div>
<qth8:userManageLeft runat="server" selectValue="" ID="userManageLeft" />
<div class="userRight">
<div><img src="images/right_01.gif" /></div>
<div class="userRightContent">
<div class="upfileDiv" style="top:62px;" id="upfileDiv">
<div class="upfileClose" onclick="hideDiv('upfileDiv')">关闭</div>
<iframe width="300" height="100" style=" padding:0px; margin:0px;" src="actionUpLoad.aspx?tn=top_pic&fn=websiteEdit" frameborder="0" scrolling="no"></iframe>
</div>
<div class="upfileDiv" style="top:105px;" id="upfileDiv1">
<div class="upfileClose" onclick="hideDiv('upfileDiv1')">关闭</div>
<iframe width="300" height="100" style=" padding:0px; margin:0px;" src="actionUpLoad.aspx?tn=bg_pic&fn=websiteEdit" frameborder="0" scrolling="no"></iframe>
</div>
<div class="userRightContentTop"><table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="150">·修改信息·</td>
<td align="right" width="550" style="font-weight:lighter;"></td>
</tr></table></div>
<form action="action.aspx?s=edit" method="post" name="edit">
<input type="hidden" name="id" value="<%=id%>" />
<input type="hidden" name="pic_path" id="inputpic1" value="<%=pic_path%>" /><input type="hidden" name="pic_path1" id="inputpic2" value="<%=pic_path1%>" /><input type="hidden" name="pic_path2" id="inputpic3" value="<%=pic_path2%>" /><input type="hidden" name="pic_path3" id="inputpic4" value="<%=pic_path3%>" />
<table width="720" class="userMessTable" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="head" width="80">标题</td>
    <td width="400"><input class="inputText"  value="<%=title%>" name="title" type="text" size="55" /></td>
    <td width="240" class="commentary"><img src="images/wenhao.gif" />50字以内</td> 
  </tr><tr>
	<td class="head">分类</td>
    <td><div class="select"><div><select name="sort">
	<option value="">请选择</option>
	<%=tools.getUserSort(uid)%>
	</select></div></div> &nbsp;&nbsp;<input type="checkbox" <%=sort2%> value="1" name="sort2" /><span style="color:#CC0000" title="选中此项后，此信息会显示在您的企业网站首页中的幻灯图片热门展示区．">热门展示</span></td>
    <td class="commentary"><img src="images/wenhao.gif" /> 可以在“企业网站管理 ”中修改信息分类</td> 
	</tr>
	<tr>
	<td class="head">产品价格</td>
    <td><input type="text" class="inputText" name="price" value="<%=price%>" size="10" />　<span style="font-size:14px; color:#339900">(元)</span></td>
    <td class="commentary"><img src="images/wenhao.gif" />不输入为面议</td> 
	</tr>
	<tr>
	<td class="head">上传图片</td>
    <td><table width="400" border="0" cellspacing="0" cellpadding="2">
  <tr>
    <td><img src="images/nopic2.gif" id="pic1" width="96" height="96" /></td>
    <td><img src="images/nopic2.gif" id="pic2" width="96" height="96" /></td>
    <td><img src="images/nopic2.gif" id="pic3" width="96" height="96" /></td>
    <td><img src="images/nopic2.gif" id="pic4" width="96" height="96" /></td>
  </tr>
  <tr>
    <td><iframe src="actionUpLoad1.aspx?n=pic1" width="100" height="25" scrolling="no" frameborder="0"></iframe></td>
    <td><iframe src="actionUpLoad1.aspx?n=pic2" width="100" height="25" scrolling="no" frameborder="0"></iframe></td>
    <td><iframe src="actionUpLoad1.aspx?n=pic3" width="100" height="25" scrolling="no" frameborder="0"></iframe></td>
    <td><iframe src="actionUpLoad1.aspx?n=pic4" width="100" height="25" scrolling="no" frameborder="0"></iframe></td>
  </tr>
</table>
</td>
    <td class="commentary" valign="top"><img src="images/wenhao.gif" /> 您可以为此信息上传四张图片，大小1M以内，格式jpg、gif．<td> 
	</tr>
	<tr>
	<td class="head">信息内容</td>
    <td><textarea class="inputText" name="content" rows="10" cols="55"><%=content%></textarea></td>
    <td class="commentary" valign="top"> </td>
	</tr>
	<tr><td></td><td><input type="submit" class="inputSubmit" value="修改信息" /></td><td></td></tr>
</table>
</form>
<script language="javascript" type="text/javascript">
  function valiUpPic(picId,picValue)
  {
  	document.getElementById("input"+picId).value=picValue
	if(picValue!="")
	{
		document.getElementById(picId).src="/"+picValue
	}
	else
	{
		document.getElementById(picId).src="/user/images/nopic2.gif"
	}
  }
  function showStartUp(picId)
  {
  		document.getElementById(picId).src="/user/images/startUp.gif"
  }
  valiUpPic("pic1",document.getElementById("inputpic1").value)
  valiUpPic("pic2",document.getElementById("inputpic2").value)
  valiUpPic("pic3",document.getElementById("inputpic3").value)
  valiUpPic("pic4",document.getElementById("inputpic4").value)
  for(i=0;i<document.edit.sort.length;i++)
  {
        if(document.edit.sort[i].value=="<%=sort%>")
        {
                document.edit.sort[i].selected=true
        }
  }
  </script>
</div>
<div><img src="images/right_03.gif" /></div></div>
</div></div>
</body>
</html>
