<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ExhibitorMaster.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>


<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
    <script type="text/javascript">
        $(function () {
            selectMenu("楣板信息", "");
        });

        function Save() {
            var name = $.trim($("#Board").val());
            if (name.length > 30) {
                $("#Board").focus();
                showMsg("展位楣板字（中文）须20个汉字以内！");
                return;
            }
            
            var ename = $.trim($("#EBoard").val());
            if (ename.length > 60) {
                $("#EBoard").focus();
                showMsg("展位楣板字（英文）须40个字母以内！");
                return;
            }

            if (name == "" && ename == "") {
                $("#Board").focus();
                showMsg("请输入展位楣板字（中文）或展位楣板字（英文）！");
                return;
            }

            $("#f1").submit();
        }

        function LengthControl(obj, length) {
            var value = $(obj).val();
            $(obj).val(value.substring(0, length));
            var message = "您还可以输入" + (length - value.substring(0, length).length) + "个字"; 
            $("#" + $(obj).attr("id") + "Check").html(message);
        }
    </script>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <center>
            <form id="f1" action="" method="post">
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td align="right">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="left" style="width:80px;">截止日期：</td>
                                <td align="left" style="width:80px;"><%=ViewData["EndDate"] %></td>
                                <td align="left" style="width:80px;">提交日期：</td>
                                <td align="left" style="width:80px;"><%=ViewData["SubDate"] %></td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr><td>&nbsp;</td></tr>
                <%--<tr>
                    <td align="left" style="line-height:20px">
                        <strong>标准展位配置：</strong><br />
                        <br />
                        标准展台是由官方指定搭建商统一搭建和拆除，具体尺寸及所提供的标准设施，请参阅附图。<br />
                        楣板：观众可以通过楣板的信息，在展会上找到您的展台。楣板信息包括：公司名称和展位号。<br />
                        组成：您的普通标准展台由1米（宽）X 2.44米（高）X 3毫米（厚）的喷白展架墙板，根据您的要求和尺寸搭建而成。展台内部地面铺地毯，并且提供椅子、咨询台、废纸篓、射灯以及插座。这些配套设备的数量是根据您展台的大小而定的，具体请参见“普通标准展台设备表”。<br />
                        <p><img src="<%=FamousFurnitureExpo.Models.Helper.VRoot %>/DataFile/ExhSettingFiles/<%=Session["ExhID"] %>/BoothStandard.jpg" /></p>
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td class="td01" rowspan="2" style="width:100px;">物品</td>
                                <td class="td01" colspan="10">标准展台配置</td>
                            </tr>
                            <tr>
                                <td class="td01" style="width:60px;">12m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">15m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">18m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">21m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">24m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">27m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">30m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">32m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">36m<sup>2</sup></td>
                                <td class="td01" style="width:60px;">40m<sup>2</sup></td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">咨询台</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">白折椅</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">8</td>
                                <td align="center" class="td03">8</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">平层板</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">8</td>
                                <td align="center" class="td03">8</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">网格片</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">挂钩</td>
                                <td align="center" class="td03">10</td>
                                <td align="center" class="td03">10</td>
                                <td align="center" class="td03">20</td>
                                <td align="center" class="td03">20</td>
                                <td align="center" class="td03">20</td>
                                <td align="center" class="td03">30</td>
                                <td align="center" class="td03">30</td>
                                <td align="center" class="td03">30</td>
                                <td align="center" class="td03">40</td>
                                <td align="center" class="td03">40</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">废纸篓</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">100W 射灯</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">6</td>
                                <td align="center" class="td03">8</td>
                                <td align="center" class="td03">8</td>
                            </tr>
                            <tr>
                                <td align="left" class="td03">5A/220V 插座</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">1</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">2</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">3</td>
                                <td align="center" class="td03">4</td>
                                <td align="center" class="td03">4</td>
                            </tr>
                        </table>
                        <br />
                        定制标准展台：<br />
                        如果您觉得上述普通标准展台，仍然无法满足您展台设计、搭建的要求，那么我们向您推荐适合您的：定制标准展台。它将满足您独特的设计要求，体现您独一无二的特色、风格。如您需要定制标准展台，请您直接联络主办单位。<br />
                        <br />
                        注意：展台内不允许残留永久性、不易清除的物品。
                    </td>
                </tr>--%>
                <tr><td>&nbsp;</td></tr>
                <tr>
                    <td align="left">
                        请填写贵公司的中文名称(不得多于二十个字)及英文名(不得多于四十个字母)。
                    </td>
                </tr>
                <tr><td>&nbsp;</td></tr>
                <tr>
                    <td align="left">
                    <%
                        string board = Server.HtmlEncode(ViewData["Board"].ToString());
                        string eBoard = Server.HtmlEncode(ViewData["EBoard"].ToString());
                    %>
                        <table border="0" cellpadding="0" cellspacing="10">
                            <tr>
                                <td align="left">中文 (最多20个中文字符)</td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <input type="text" style="width:600px;color:Black; font-size:15px;" class="text" id="Board" name="Board" value="<%=board %>" onkeyup="LengthControl(this,20)"  />
                                    <span id="BoardCheck"></span>
                                </td>
                            </tr>
                            <tr>
                                <td align="left">英文 (最多40个英文字母)</td>
                            </tr>
                            <tr>
                                <td align="left">
                                    <input type="text" style="width:600px;color:Black; font-size:15px;" class="text" id="EBoard" name="EBoard" value="<%=eBoard %>" onkeyup="LengthControl(this,40)" " />
                                    <span id="EBoardCheck"></span>
                                </td>
                            </tr>
                            <tr><td>&nbsp;</td></tr>
                            <tr>
                                <td align="left">
                                    <div class="button" onclick="Save()">保存</div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <script type="text/javascript">
                $(function () {
                    var message = $("#Message").val();
                    if (message != "") {
                        showMsg(message);
                    }
                });
            </script>
            <input type="hidden" id="Message" name="Message" value="<%=ViewData["Message"] %>" />
            </form>
        </center>
    </div>
</asp:Content>
