<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AD_Area.aspx.cs" Inherits="MYAPP.Manage.Project.Area.AD_Area" %>
<!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 id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/js/date.js"></script>
<script type="text/javascript" src="/js/coe.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<script src="/SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
    var oWindow = parent;
    var openwindow;

    function GetLLZ() {
        window.open('/google/GetMap_LLZ.aspx?lat=' + $('google_lat').value + '&lng=' + $('google_lng').value + '&zoom=' + $('google_zoom').value, 'googlemap', 'toolbar=no,width=800,height=600');
    }
    function SetLLZ(lat, lng, zoom) {
        $('google_lat').value = lat;
        $('google_lng').value = lng;
        $('google_zoom').value = zoom;
    }	
</script>
<link href="/SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="theform" runat="server">
  <table width="100%" cellspacing="2" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table cellspacing="1" cellpadding="0" width="100%" border="0">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title">[城市区域]</td>
                  <td width="100" align="center" class="l_title">&nbsp;</td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td><div id="TabbedPanels1" class="TabbedPanels">
                <ul class="TabbedPanelsTabGroup">
                  <li class="TabbedPanelsTab" tabindex="0">基本信息</li>
                  <li class="TabbedPanelsTab" tabindex="0">Google设置</li>
                </ul>
                <div class="TabbedPanelsContentGroup">
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">上层ID:</td>
                        <td align="left"><asp:TextBox ID="upid" runat="server" Columns="30" ReadOnly="true" Enabled="false"/></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request">区域ID:</td>
                        <td align="left"><asp:TextBox ID="id" runat="server" Columns="30" />                  
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="id"
                                                            Display="Dynamic" ErrorMessage="id" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title_request"> 区域名称:</td>
                        <td align="left"><asp:TextBox ID="name" runat="server" Columns="30" />                  
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
                                                            Display="Dynamic" ErrorMessage="name" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">默认漫游:</td>
                        <td align="left" valign="top"><asp:TextBox ID="Tour_ID" runat="server" Columns="30" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">排序:</td>
                        <td align="left" valign="top"><asp:TextBox ID="order" Columns="8" MaxLength="30" runat="server" Text="0" /></td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">备注信息:</td>
                        <td align="left"><asp:TextBox CssClass="width100" ID="memo" Rows="4" runat="server" TextMode="MultiLine" /></td>
                      </tr>
                    </table>
                  </div>
                  <div class="TabbedPanelsContent">
                    <table width="100%" border="1" align="center" cellpadding="0" cellspacing="1" bordercolor="#EBEBEB"
                                                class="board_kong">
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">lng: </td>
                        <td align="left"><asp:TextBox ID="google_lng" runat="server"  Columns="10" Text='0'/>                    
                          精度</td>
                        <td align="left" class="left_title">lat: </td>
                        <td align="left"><asp:TextBox ID="google_lat" runat="server"  Columns="10" Text='0'/>                    
                          纬度</td>
                      </tr>
                      <tr>
                        <td align="center" nowrap="nowrap" class="left_title">zoom:</td>
                        <td align="left"><asp:TextBox ID="google_zoom" runat="server" Columns="4" MaxLength="4" Text='1' />                    
                          缩放级别
                          <input name="button" type="button" class="cursor_pointer" id="button" onclick="GetLLZ();" value="地图获取"/></td>
                        <td align="left" class="left_title">height:</td>
                        <td align="left"><asp:TextBox ID="google_height" runat="server"  Columns="10" Text='1'/>                    
                          m高度</td>
                      </tr>
                    </table>
                  </div>
                </div>
            </div></td>
          </tr>
          <tr>
            <td height="26" align="center"><asp:ValidationSummary ID="VS" runat="server" ShowMessageBox="True" ShowSummary="False" />
              <asp:Button CssClass="width80px" ID="ButPost" runat="server" Text="提交保存" OnClick="ButPost_Click" />
              <input name="Submit" type="reset" class="width80px" value="重置" />
              <input name="ButReturn" type="button" class="width80px" id="ButReturn" onclick="window.location='<%=MyApp.Components.NavUrl.GetUrl(2)%>'" value="返回" /></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
<script type="text/javascript">
<!--
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
//-->
    </script>
</body>
</html>
