<%@ page language="C#" autoeventwireup="true" inherits="user_myWebsite, App_Web_wvcfy0ha" %><%@ 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="4" 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=website" method="post" name="websiteEdit">
<table width="720" class="userMessTable" border="0" cellspacing="0" cellpadding="5">
  <tr>
    <td class="head" width="100">网站头部图片</td>
    <td width="390"><input class="inputText" onclick="alert('请点击上传，进行修改！')" value="<%=top_pic%>" name="top_pic" type="text" size="39" />　<a href="/<%=top_pic%>" target="_blank">[查看]</a>　<a href="#nogo" onclick="showDiv('upfileDiv')">[上传]</a></td>
    <td width="230" class="commentary"><img src="images/wenhao.gif" />企业网站头部的图片，最合适尺寸为900 * 180，格式JPG、GIF</td> 
  </tr><tr>
	<td class="head">网站背景图片</td>
    <td><input class="inputText" onclick="alert('请点击上传，进行修改！')" value="<%=bg_pic%>" name="bg_pic" type="text" size="39" />　<a href="/<%=bg_pic%>" target="_blank">[查看]</a>　<a href="#nogo" onclick="showDiv('upfileDiv1')">[上传]</a></td>
    <td class="commentary"></td> 
	</tr>
	<tr>
	<td class="head">产品分类</td>
    <td><textarea class="inputText" name="sort_2" rows="5" cols="40"><%=sort_2%></textarea></td>
    <td class="commentary" valign="top"><img src="images/wenhao.gif" /> 每个分类用英文下的逗号“,”隔开。如　（最新产品,推荐产品,产品1,产品2）　可以无限分类。<br />
修改后，点击"发布产品"，就可发布相应分类的产品到您的网站上了</td> 
	</tr>
	<tr>
	<td class="head">网站样式</td>
    <td><input type="radio" name="style" value="0" />样式1</td>
    <td class="commentary">&nbsp;</td>
	</tr>
	<tr>
	<td class="head">关于我们</td>
    <td><textarea class="inputText" name="about" rows="10" cols="45"><%=about%></textarea></td>
    <td class="commentary" valign="top"><img src="images/wenhao.gif" /> 和企业信息中的企业简介为相同内容</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 showDiv(divId)
  {
  	document.getElementById(divId).style.display="block"
  }
  function hideDiv(divId)
  {
  	document.getElementById(divId).style.display="none"
  }
  sort_value="<%=style%>"
	page_style_value=document.getElementsByName("style")
	for(i=0;i<page_style_value.length;i++)
	{
	if(page_style_value[i].value==sort_value)
	{page_style_value[i].checked=true}
	}
  </script>
</div>
<div><img src="images/right_03.gif" /></div></div>
</div></div>
</body>
</html>
