<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="broker.aspx.cs" Inherits="HeyuanHouse.Web.member.broker" %>
<%@ Register src="../siteheader.ascx" tagname="siteheader" tagprefix="uc1" %>
<%@ Register src="../sitefooter.ascx" tagname="sitefooter" tagprefix="uc2" %>
<%@ Register src="membernav.ascx" tagname="membernav" tagprefix="uc3" %>
<!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=utf-8" />
<title>河房网 - 专业的房产信息交易平台 - www.0762h.com</title>
<link href="../images/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../editor/jquery/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="../editor/xheditor-zh-cn.js"></script>
<script type="text/javascript" src="../editor/xheditor_plugins/ubb.js"></script>
<script type="text/javascript">
$(pageInit);
function pageInit()
{
	$('#txtresume').xheditor(true,{plugins:{Code:{c:'btnCode',t:'插入代码',e:function(){
			var _this=this;
			var htmlCode='<div><select id="xheCodeType"><option value="html">HTML/XML</option><option value="javascript">JavaScript</option><option value="css">CSS</option><option value="php">PHP</option><option value="csharp">C#</option><option value="cpp">C++</option><option value="java">Java</option><option value="perl">Perl</option><option value="python">Python</option><option value="ruby">Ruby</option><option value="vb">Visual Basic</option><option value="delphi">Delphi</option><option value="as3">Action Script 3</option><option value="sql">SQL</option><option value="plain">其它</option></select></div><div><textarea id="xheCodeValue" wrap="soft" spellcheck="false" style="width:300px;height:100px;" /></div><div style="text-align:right;"><input type="button" id="xheSave" value="确定" /></div>';
			var jCode=$(htmlCode),jType=jSave=$('#xheCodeType',jCode),jValue=jSave=$('#xheCodeValue',jCode),jSave=$('#xheSave',jCode);
			jSave.click(function(){
				_this.focus();
				_this.pasteText('[code='+jType.val()+']\r\n'+jValue.val()+'\r\n[/code]');
				_this.hidePanel();
				return false;	
			});
			_this.showDialog(jCode);
		}}},
		tools:'FontSize,FontColor,Bold,Italic,Underline,Removeformat,Separator,Align,Link,Unlink,Separator,Blocktag',forcePtag:false,showBlocktag:false,beforeSetSource:ubb2html,beforeGetSource:html2ubb,emots:{'qq':{'name':'QQ','count':55,'width':25,'height':25,'line':11}},emotMark:true});
}
//function submitForm(){$('#frmDemo').submit();}
</script>
</head>
<body>
<form id="form1" runat="server">
<uc1:siteheader ID="siteheader1" runat="server" />
<div id="sitenav">您现在的位置：<a href="/">河房网</a> &gt;&gt; <a href="/member/">会员中心</a></div>
<div class="main">
  <div class="boxright">
    <uc3:membernav ID="membernav1" runat="server" />
</div>
  <div class="boxlefts">
<div id="myistit"><span>修改房产中介店铺资料</span> (请填写真实的信息，赢得客户信任)</div>
<div id="myissay">
<table width="100%" border="0" cellpadding="8" cellspacing="0" class="usertables">
              <tr>
				<td align="right">您的用户名：</td>
				<td>
				 <asp:Label runat="server" ID="lblusername" /> <asp:Label runat="server" ID="ltlsitetips" Font-Bold="true" ForeColor="Red" />
                </td>
			  </tr>
			  <tr>
				<td align="right">店铺名称：</td>
				<td>
				  <asp:TextBox runat="server" ID="txtbrokername" MaxLength="20" Width="280px" /> 一般为中介名称
				</td>
			  </tr>
			  <tr>
				<td align="right">联系地址：</td>
				<td>
				<asp:TextBox runat="server" ID="txtaddress" MaxLength="60" Width="280px" />
				</td>
			  </tr>
			  <tr>
				<td align="right">联系电话：</td>
				<td>
				<asp:TextBox runat="server" ID="txttel" MaxLength="60" />
				</td>
			  </tr>
			  <tr>
				<td align="right">QQ号码：</td>
				<td>
				  <asp:TextBox runat="server" ID="txtqq" MaxLength="20" />
				</td>
			  </tr>
			  <tr>
				<td align="right">电子邮箱：</td>
				<td>
				  <asp:TextBox runat="server" ID="txtemail" MaxLength="20" />
				</td>
			  </tr>
			  <tr>
				<td align="right">店铺公告：</td>
				<td>
				  <asp:TextBox runat="server" ID="txtannouncement" MaxLength="20" Width="321px" 
                        Height="48px" Rows="3" TextMode="MultiLine" />
				</td>
			  </tr>
			  <tr>
				<td align="right">店铺介绍：</td>
				<td>
				  <asp:TextBox runat="server" ID="txtresume" Rows="12" Columns="80" Width="100%" TextMode="MultiLine" />
				</td>
			  </tr>
			  <tr>
			    <td align="center" valign="top">&nbsp;</td>
		        <td valign="top">
		        <asp:Button runat="server" ID="btnSave" CssClass="member_right_posted" Text="保 存" 
                        onclick="btnRegister_Click" />
		        </td>
			  </tr>
		  </table>
</div>
  </div>
</div>
<uc2:sitefooter ID="sitefooter1" runat="server" />
</form>
</body>
</html>
