代码修改后的版本,全部提交
This commit is contained in:
125
Mtxfw.shop/shop_guests.aspx
Normal file
125
Mtxfw.shop/shop_guests.aspx
Normal file
@@ -0,0 +1,125 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/Telesa.Master" AutoEventWireup="true" CodeBehind="shop_guests.aspx.cs" Inherits="Mtxfw.shop.shop_guests" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="MyHead" runat="server">
|
||||
<script src="http://api.map.baidu.com/api?v=1.4&ak=RjhQHSYlknyVP8jWPIDrVwDP" type="text/javascript"></script><script type="text/javascript" src="http://api.map.baidu.com/library/MarkerTool/1.2/src/MarkerTool_min.js"></script>
|
||||
<link href="css/member.css" rel="stylesheet" type="text/css" />
|
||||
<style type="text/css">#tj {
|
||||
width: 120px;
|
||||
}</style>
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MyContent" runat="server">
|
||||
<div class="contentWrapper">
|
||||
<form id="Form1" runat="server">
|
||||
<div id="main">
|
||||
|
||||
|
||||
<div id="Location"><div class="title">当前位置: <a href="/">首页</a> > 服务中心</div></div>
|
||||
<div class="left_help">
|
||||
<!--h3>服务中心<span>SERVER</span></h3-->
|
||||
<ul>
|
||||
|
||||
<% int fi = 0;
|
||||
foreach (KeyValuePair<int, string> kv in Mtxfw.Utility.Common.GetMenuClass())
|
||||
{
|
||||
if (kv.Key != 0 && kv.Key != 5)
|
||||
{
|
||||
%>
|
||||
<li id="linkbox<%=fi%>">
|
||||
<span><%=kv.Value%></span>
|
||||
<div><ul>
|
||||
<% System.Data.DataSet Ds_Gong = daoArt.GetCacheList("top 8", "ParentID=" + kv.Key + " and ParentID<>0 and ParentID<>5 Order By ID desc", "D_Gong" + kv.Key);
|
||||
|
||||
foreach (System.Data.DataRow Dr in Ds_Gong.Tables[0].Rows)
|
||||
{
|
||||
|
||||
%>
|
||||
|
||||
<li><a target="_self" href="<%=(Dr["ID"].ToString()=="151"||Dr["ID"].ToString()=="134")?"/shop_guests.aspx":"/article-" + Dr["ID"] + ".html" %>"><span></span><%=Dr["Title"]%></a></li>
|
||||
|
||||
<%}
|
||||
%>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<%
|
||||
fi += 1;
|
||||
}
|
||||
}
|
||||
%>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="right_help">
|
||||
<div class="right_conent_help"><h1>您好,有什么可以帮您?</h1><div>如果您有任何问题,可以在下面留言,我们将竭诚为您服务!</div></div>
|
||||
<div id="right_conent">
|
||||
|
||||
<div class="right_conent_guests">留言反馈</div>
|
||||
<div class="right_conent_guests_conent">
|
||||
<table border="0" cellspacing="1" cellpadding="5" width="100%" bgcolor="#cccccc" align="center">
|
||||
<tbody>
|
||||
<tr bgcolor="#ffffff">
|
||||
<th width="30%" align="right">您的昵称:</th>
|
||||
<td width="70%" align="left"><p>
|
||||
<input id="Text_NCName" class="k2" />
|
||||
<span id="msg1" style="color:#FF0000"> *</span> <br />
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr bgcolor="#ffffff">
|
||||
<th width="30%" align="right">联系方式:</th>
|
||||
<td width="70%" align="left"><p>
|
||||
<input id="Text_LXFX" class="k2"/>
|
||||
<span id="Span1" style="color:#FF0000"> *</span> <br />
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr bgcolor="#ffffff">
|
||||
<th width="30%" align="right">留言内容:</th>
|
||||
<td width="70%" align="left"><p>
|
||||
<textarea id="Text_Body" class="k3"></textarea>
|
||||
<span id="Span2" style="color:#FF0000"> *</span> <br />
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
</div>
|
||||
<div id="tj">
|
||||
<input id="Btn_Insert" value="提交保存" class="btn4" type="button" onclick="tjguests()" />
|
||||
</div>
|
||||
<div class="right_contactus"><p class="ComName"><%=config.webCom%></p><p class="contactusp"><b>联系电话</b>:<%=config.webPhone%></p><p class="contactusp"><b><span class="fax">传</span>真:</b><%=config.webFax%></p><p class="contactusp"><b>电子邮箱:</b><%=config.webEmail%></p><p class="contactusp"><b>客<span class="qq">服</span>QQ:</b>
|
||||
<%string[] stra = config.webQQ.Split('、');
|
||||
foreach (string str in stra)
|
||||
{
|
||||
if (str.Trim() != "")
|
||||
{
|
||||
%>
|
||||
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<%=str %>&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:<%=str %>:51" alt="我们竭诚为您服务!" title="我们竭诚为您服务!"/></a>
|
||||
<%}
|
||||
} %>
|
||||
</p><p class="contactusp"><b>联系地址:</b><%=config.webAddress%></p><p style=" text-align:center;"><div class="map_container" id="map"></div></p>
|
||||
<p><script type="text/javascript"> (function () {
|
||||
var lng = <%=config.weblng%>;
|
||||
var lat = <%=config.weblat%>;
|
||||
var map = new BMap.Map("map");
|
||||
var point = new BMap.Point(lng, lat);
|
||||
var marker = new BMap.Marker(point);
|
||||
map.centerAndZoom(point, 13);
|
||||
map.addOverlay(marker);
|
||||
map.addControl(new BMap.NavigationControl({ type: BMAP_NAVIGATION_CONTROL_ZOOM }));
|
||||
var opts = {
|
||||
width: 130,
|
||||
height: 100,
|
||||
title: "地理位置"
|
||||
}
|
||||
var infoWindow = new BMap.InfoWindow("公司地址:<%=config.webAddress%>", opts);
|
||||
map.openInfoWindow(infoWindow, point);
|
||||
})();
|
||||
</script></p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user