<%@ page language="C#" autoeventwireup="true" inherits="shop_view, ZKCMS" maintainscrollpositiononpostback="true" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<%@ Register TagName="shop_head" TagPrefix="UC" Src="~/shop/head.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>
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title><%=ShopName %>——<%=ZK.config("homepagetitle")%></title>
    <meta name="keywords" content="<%=ShopName %>——<%=ZK.config("sitekeywords") %>" />
    <meta name="description" content="<%=_description%>" />
    <UC:meta ID="meta1" runat="server" />
    <asp:Literal ID="HidePublicHead" runat="server"></asp:Literal><%--<style>#PageHeadBox{display:block;}</style>--%>
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />        
        <div class="box pt5">
             <UC:shop_head ID="shop_head1" runat="server" />
             <asp:Literal ID="LiteralHeadBg" runat="server"></asp:Literal>
            <div class="hto mt5">
                <div class="shop_left">
                    <div class="shop_c1">
                        <div class="shop_b1">
                            <div class="fl"></div>
                            <div class="con">基本信息</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v1">
                            <div class="shop_v1_a">
                                <div class="con1"><asp:Literal ID="Literal1" runat="server"></asp:Literal></div>
                                <div class="con2">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td class="td1">人气值：</td>
                                            <td><span><asp:Literal ID="Literal2" runat="server"></asp:Literal></span></td>                                          
                                        </tr>
                                        <tr>
                                            <td class="td1" style="line-height:20px;">级&nbsp;&nbsp;&nbsp;别：</td>
                                            <td style="line-height:20px;">&nbsp;<asp:Literal ID="Literal3" runat="server"></asp:Literal></td>
                                        </tr>
                                    </table>
                                </div>
                                <div class="con3">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td class="td1">
                                                店铺地址：
                                            </td>
                                            <td>
                                                <asp:Literal ID="Literal4" runat="server"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td1">
                                                交通线路：
                                            </td>
                                            <td>
                                               <asp:Literal ID="Literal5" runat="server"></asp:Literal>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="td1">
                                                营业时间：
                                            </td>
                                            <td><div style="line-height:22px;font-family:Arial;"><asp:Literal ID="Literal6" runat="server"></asp:Literal></div></td>
                                        </tr>
                                        <tr>
                                            <td class="td1">
                                                在线联系：
                                            </td>
                                            <td><div style="line-height:22px"><asp:Literal ID="Literal7" runat="server"></asp:Literal></div></td>
                                        </tr>
                                    </table>
                                </div>
                                <div class="con4"><strong><span>电话：</span><asp:Literal ID="Literal8" runat="server"></asp:Literal></strong></div>
                            </div>
                        </div>
                    </div>
                    <div class="shop_c1 mt5">
                        <div class="shop_b1">
                            <div class="fl"></div>
                            <div class="con">认证信息</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v1">
                            <div class="shop_v1_b">                           
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <asp:Literal ID="Literal_Authentication" runat="server"></asp:Literal>
                                 </table> 
                                <asp:Label ID="Label_Authentication" runat="server" CssClass="ce block" style="padding-top:10px" Visible="false"><a href="shop_authentication.htm?id=<%=ShopID %>" onfocus="this.blur()"><img alt="" src="/shop/skin/public/shop_authentication.gif" /></a></asp:Label>                          
                            </div>                            
                        </div>
                    </div>
                    <div class="shop_c1 mt5">
                        <div class="shop_b1">
                            <div class="fl"></div>
                            <div class="con">点评统计</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v1">
                           <div class="shop_v1_c">                           
                               <table border="0" cellpadding="0" cellspacing="0">
                                   <%=ZK.get_show_shop_dp(ShopID) %>
                               </table>                           
                           </div>
                        </div>
                    </div>
                    <div class="shop_side_fun">
                       <table border="0" cellpadding="0" cellspacing="0">
                           <tr>
                               <td><a href="javascript:void(0)" onclick="addFavorite(location.protocol+'//'+location.host,document.title)"><img alt="" src="/shop/skin/public/fun_side_ico1.gif" /></a></td>
                               <td><a href="javascript:void(0)" onclick="sendmail('<%=ShopUID%>','<%=ZK.uid %>')"><img alt="" src="/shop/skin/public/fun_side_ico2.gif" /></a></td>
                               <td><a href="javascript:void(0)" onclick="ShowReportBox('<%=ShopID %>')"><img alt="" src="/shop/skin/public/fun_side_ico3.gif" /></a></td>
                           </tr>                       
                       </table>
                    </div>
                    <div class="shop_statistics">
                       <table border="0" cellpadding="0" cellspacing="0">
                           <tr><td class="con1"><img alt="" src="/shop/skin/public/shop_statistics_ico1.gif" /></td><td class="con1">店铺浏览人次：<strong><asp:Literal ID="Literal9" runat="server"></asp:Literal></strong></td></tr>
                           <tr><td class="con1"><img alt="" src="/shop/skin/public/shop_statistics_ico2.gif" /></td><td class="con2">加盟时间：<span><asp:Literal ID="Literal10" runat="server"></asp:Literal></span></td></tr>
                       </table>
                    </div>
                    <div class="shop_c1 mt5">
                        <div class="shop_b1">
                            <div class="fl"></div>
                            <div class="con">掌柜寄语</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v1">
                           <div class="shop_v1_d">
                               <div class="con1"><asp:Literal ID="Literal13" runat="server"></asp:Literal></div>
                               <asp:Panel ID="Panel1" runat="server" CssClass="con2">
                                   <%--<marquee direction="up" scrollamount="2" width="100%" height="60" onmouseover="this.stop()" onmouseout="this.start()"></marquee>--%>
                                   <asp:Literal ID="Literal12" runat="server"></asp:Literal>                           
                               </asp:Panel>
                              <asp:Panel ID="Panel2" runat="server" CssClass="con3">
                                    <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" id="MediaPlayer1" width="230"
                                        height="40">
                                        <param name="AudioStream" value="-1">
                                        <param name="AutoSize" value="-1">
                                        <!--是否自动调整播放大小-->
                                        <param name="AutoStart" value="1">
                                        <!--是否自动播放-->
                                        <param name="AnimationAtStart" value="-1">
                                        <param name="AllowScan" value="-1">
                                        <param name="AllowChangeDisplaySize" value="-1">
                                        <param name="AutoRewind" value="0">
                                        <param name="Balance" value="0">
                                        <!--左右声道平衡,最左-9640,最右9640-->
                                        <param name="BaseURL" value>
                                        <param name="BufferingTime" value="15">
                                        <!--缓冲时间-->
                                        <param name="CaptioningID" value>
                                        <param name="ClickToPlay" value="-1">
                                        <param name="CursorType" value="0">
                                        <param name="CurrentPosition" value="0">
                                        <!--当前播放进度 -1 表示不变,0表示开头 单位是秒,比如10表示从第10秒处开始播放,值必须是-1.0或大于等于0-->
                                        <param name="CurrentMarker" value="0">
                                        <param name="DefaultFrame" value>
                                        <param name="DisplayBackColor" value="0">
                                        <param name="DisplayForeColor" value="16777215">
                                        <param name="DisplayMode" value="0">
                                        <param name="DisplaySize" value="0">
                                        <!--视频1-50%, 0-100%, 2-200%,3-全屏 其它的值作0处理,小数则采用四舍五入然后按前的处理-->
                                        <param name="Enabled" value="-1">
                                        <param name="EnableContextMenu" value="-1">
                                        <!--是否用右键弹出菜单控制-->
                                        <param name="EnablePositionControls" value="-1">
                                        <param name="EnableFullScreenControls" value="-1">
                                        <param name="EnableTracker" value="-1">
                                        <!--是否允许拉动播放进度条到任意地方播放-->
                                        <asp:Literal ID="Literal11" runat="server"></asp:Literal>
                                        <!--播放的文件地址-->
                                        <param name="InvokeURLs" value="-1">
                                        <param name="Language" value="-1">
                                        <param name="Mute" value="0">
                                        <!--是否静音-->
                                        <param name="PlayCount" value="1">
                                        <!--重复播放次数,0为始终重复-->
                                        <param name="PreviewMode" value="-1">
                                        <param name="Rate" value="1">
                                        <!--播放速率控制,1为正常,允许小数-->
                                        <param name="SAMIStyle" value="">
                                        <!--SAMI样式-->
                                        <param name="SAMILang" value="">
                                        <!--SAMI语言-->
                                        <param name="SAMIFilename" value="">
                                        <!--字幕ID-->
                                        <param name="SelectionStart" value="-1">
                                        <param name="SelectionEnd" value="-1">
                                        <param name="SendOpenStateChangeEvents" value="-1">
                                        <param name="SendWarningEvents" value="-1">
                                        <param name="SendErrorEvents" value="-1">
                                        <param name="SendKeyboardEvents" value="0">
                                        <param name="SendMouseClickEvents" value="0">
                                        <param name="SendMouseMoveEvents" value="0">
                                        <param name="SendPlayStateChangeEvents" value="-1">
                                        <param name="ShowCaptioning" value="0">
                                        <!--是否显示字幕,为一块黑色,下面会有一大块黑色,一般不显示-->
                                        <param name="ShowControls" value="-1">
                                        <!--是否显示控制,比如播放,停止,暂停-->
                                        <param name="ShowAudioControls" value="-1">
                                        <!--是否显示音量控制-->
                                        <param name="ShowDisplay" value="0">
                                        <!--显示节目信息,比如版权等-->
                                        <param name="ShowGotoBar" value="0">
                                        <!--是否启用上下文菜单-->
                                        <param name="ShowPositionControls" value="-1">
                                        <!--是否显示往前往后及列表,如果显示一般也都是灰色不可控制-->
                                        <param name="ShowStatusBar" value="0">
                                        <!--当前播放信息,显示是否正在播放,及总播放时间和当前播放到的时间-->
                                        <param name="ShowTracker" value="-1">
                                        <!--是否显示当前播放跟踪条,即当前的播放进度条-->
                                        <param name="TransparentAtStart" value="-1">
                                        <param name="VideoBorderWidth" value="0">
                                        <!--显示部的宽部,如果小于视频宽,则最小为视频宽,或者加大到指定值,并自动加大高度.此改变只改变四周的黑框大小,不改变视频大小-->
                                        <param name="VideoBorderColor" value="0">
                                        <!--显示黑色框的颜色, 为RGB值,比如ffff00为黄色-->
                                        <param name="VideoBorder3D" value="0">
                                        <param name="Volume" value="0">
                                        <!--音量大小,负值表示是当前音量的减值,值自动会取绝对值,最大为0,最小为-9640-->
                                        <param name="WindowlessVideo" value="0">
                                        <!--如果是0可以允许全屏,否则只能在窗口中查看-->
                                    </object>
                              </asp:Panel>
                              <div class="con4">
                                  <div class="SideOrderBtn"><a href="/shop/order.htm?id=<%=ShopID %>" onfocus="this.blur()" onmousemove="hover(this,0.7);" onmouseout="hover(this,1);"><img alt="在线预约" src="/skin/public/none.gif" /></a></div>
                              </div>
                          </div>   
                        </div>                        
                    </div>      
                </div>
                <div class="shop_right">
                    <div class="hto">
                        <div class="fl" style="width: 440px"><asp:Literal ID="Literal_slide" runat="server"></asp:Literal></div>
                        <div class="fr" style="width: 250px">
                            <div class="shop_c2">
                                <div class="shop_b2">
                                    <div class="fl"></div>
                                    <div class="con">店铺动态</div>
                                    <div class="fr"></div>
                                    <div class="clear"></div>
                                </div>
                                <div class="shop_v2">
                                    <div class="shop_v2_a">                                       
                                         <asp:Literal ID="Literal14" runat="server"></asp:Literal>                                        
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="clear"></div>
                    </div>
                    <div class="shop_c3 mt5">
                        <div class="shop_b3">
                            <div class="fl">商品展厅</div>
                            <div class="fr"><a href="mall.htm?id=<%=ShopID %>">更多&raquo;</a></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v3">
                            <div class="shop_v3_a">
                                <asp:Literal ID="Literal15" runat="server"></asp:Literal>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                    <div class="shop_c3 mt5">
                        <div class="shop_b3">
                            <div class="fl">店铺展示</div>
                            <div class="fr"><a href="photo.htm?id=<%=ShopID %>">更多&raquo;</a></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v3">
                            <div class="shop_v3_b">
                                <asp:Literal ID="Literal16" runat="server"></asp:Literal>
                                <div class="clear"></div>
                            </div>
                        </div>
                    </div>
                    <form id="form1" runat="server" autocomplete="off">
                    <asp:Panel ID="Panel3" runat="server" CssClas="shop_c4 mt5">
                        <div class="shop_m4"></div>
                        <div class="shop_b4">
                            <div class="fl">最新点评</div>
                            <div class="fr"><a href="dp.htm?id=<%=ShopID %>">更多&raquo;</a></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v4">
                            <div class="shop_v4_a">
                                <asp:Literal ID="Literal17" runat="server"></asp:Literal>
                            </div>
                        </div>
                    </asp:Panel>
                    <div class="shop_c2 mt5">
                        <div class="shop_b2">
                            <div class="fl"></div>
                            <div class="con">发表点评</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="shop_v2">
                            <div class="shop_v2_b">
                                <div id="star_rating_box" star_width="14" class="none">
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>                                                
                                                <td width="100">
                                                    <p style="padding-left:1px">服务</p>
                                                    <ul class="star_rating">
                                                        <li style="display: none;"><asp:TextBox ID="service" runat="server"></asp:TextBox></li>
                                                        <li class="current_rating">default level</li>
                                                        <li><a href="#" title="一星" class="one_star">1</a></li>
                                                        <li><a href="#" title="二星" class="two_stars">2</a></li>
                                                        <li><a href="#" title="三星" class="three_stars">3</a></li>
                                                        <li><a href="#" title="四星" class="four_stars">4</a></li>
                                                        <li><a href="#" title="五星" class="five_stars">5</a></li>
                                                    </ul>
                                                </td>
                                                <td width="100">
                                                    <p style="padding-left:1px">品质</p>
                                                    <ul class="star_rating">
                                                        <li style="display: none;"><asp:TextBox ID="quality" runat="server"></asp:TextBox></li>
                                                        <li class="current_rating">default level</li>
                                                        <li><a href="#" title="一星" class="one_star">1</a></li>
                                                        <li><a href="#" title="二星" class="two_stars">2</a></li>
                                                        <li><a href="#" title="三星" class="three_stars">3</a></li>
                                                        <li><a href="#" title="四星" class="four_stars">4</a></li>
                                                        <li><a href="#" title="五星" class="five_stars">5</a></li>
                                                    </ul>
                                                </td>
                                                <td width="100">
                                                    <p style="padding-left:1px">性价比</p>
                                                    <ul class="star_rating">
                                                        <li style="display: none;"><asp:TextBox ID="costperformance" runat="server"></asp:TextBox></li>
                                                        <li class="current_rating">default level</li>
                                                        <li><a href="#" title="一星" class="one_star">1</a></li>
                                                        <li><a href="#" title="二星" class="two_stars">2</a></li>
                                                        <li><a href="#" title="三星" class="three_stars">3</a></li>
                                                        <li><a href="#" title="四星" class="four_stars">4</a></li>
                                                        <li><a href="#" title="五星" class="five_stars">5</a></li>
                                                    </ul>
                                                </td>
                                                <td width="200">
                                                    <div style="padding-top:12px;">
                                                        <asp:RadioButtonList ID="goodbad" runat="server" RepeatDirection="Horizontal">
                                                            <asp:ListItem Value="good" Selected="True">好评</asp:ListItem>
                                                            <asp:ListItem Value="medium">中评</asp:ListItem>
                                                            <asp:ListItem Value="bad">差评</asp:ListItem>
                                                        </asp:RadioButtonList>
                                                    </div>
                                                </td>
                                            </tr>
                                        </table>
                                        <div class="clear"></div>
                                 </div>
                                 <script type="text/javascript" src="/shop/skin/public/star_rating.js"></script>
                                 <div style="padding:4px 0 0 13px">
                                        <asp:TextBox ID="shop_dp_TextBox1" runat="server" TextMode="MultiLine" Width="600" Height="100" CssClass="inp4" Style="margin-top:9px;line-height: 20px; padding-left: 6px; overflow-y: auto;color:#ccc;background:url(/skin/public/InpBg.gif) no-repeat 0 0;border-top: 1px solid #999;border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;border-left: 1px solid #999;" Text="请输入点评内容..." onfocus="if(this.value=='请输入点评内容...')this.value='';this.style.color='#333';document.getElementById('star_rating_box').className='';this.style.marginTop='0px';" onblur="if(this.value=='')this.value='请输入点评内容...'"></asp:TextBox>
                                 </div>
                                 <div style="padding: 8px 0 12px 13px">
                                        <script type="text/javascript">
                                            function check1(){
                                                if('<%= ZK.uid %>'==""){alert("请先登录再点评！");return false;}
                                                if('<%= ZK.uid %>'=='<%=ShopUID %>'){alert("您不能点评自己！");return false;}
                                                if(document.getElementById("shop_dp_TextBox1").value==""||document.getElementById("shop_dp_TextBox1").value=="请输入点评内容..."){alert("请输入点评内容...");return false;}
                                                if(document.getElementById("service").value==""){alert("请给本店服务打分！");return false;}
                                                if(document.getElementById("quality").value==""){alert("请给本店品质打分！");return false;}
                                                if(document.getElementById("costperformance").value==""){alert("请给本店性价比打分！");return false;}
                                            }
                                        </script>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td>
                                                    <asp:Button ID="Button1" runat="server" Text="确认提交" CssClass="but4" OnClick="Button1_OnClick" OnClientClick="return check1()" />
                                                </td>
                                                <td>
                                                    <div style="padding-left: 10px" class="red"><asp:Literal ID="msg" runat="server"></asp:Literal></div>
                                                </td>
                                            </tr>
                                        </table>
                                 </div>
                            </div>
                        </div>
                    </div>
                    </form>
                </div>
                <div class="clear"></div>
            </div>
        </div>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>

