<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WstWeb.TemplateFile.Tel010._Default" %>
<%@ Register src="UserControl/LeftCommonClass.ascx" tagname="LeftCommonClass" tagprefix="uc1" %>
<%@ Register src="UserControl/WeHead.ascx" tagname="WeHead" tagprefix="uc2" %>
<%@ Register src="UserControl/WebFoot.ascx" tagname="WebFoot" tagprefix="uc3" %>
<%@ Register src="UserControl/LeftLinkUs.ascx" tagname="LeftLinkUs" tagprefix="uc4" %>
<%@ Register Src="UserControl/Link.ascx" TagName="Link" TagPrefix="uc5" %>
<!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>
<title><%=SeoTitle %></title>
<meta name="keywords" content="<%=SeoKey %>">
<meta name="description" content="<%=SeoDesc %>">
 <uc5:Link ID="Link1" runat="server" />
<style type="text/css">
#pro{
        margin:0px auto;
        width: 980px;
        height:190px;	
        overflow: hidden;
        }
#demo {
	width:980px;
	margin: 0px auto 10px;
	overflow: hidden;
	
}
#indemo {
	float: left;
	width: 1000%;
}
#demo1 {
	float: left;
}
#demo2 {
	float: left;
}
.fwzs {
	padding-right: 10px;
	padding-left: 10px;
}
.fwzs li {
	width: 170px;
	float: left;
	margin-right: 10px;
	margin-left: 15px;
	padding-top: 0px;
	padding-bottom: 0px;
}
.zs_p {
	height: 170px;
	width: 170px;
	overflow: hidden;
	border: 1px solid #d5d5d5;
}
.zs_p img {
	width: 170px;

}
.zs_na {
	height: 20px;
	line-height: 20px;
	text-align: center;
}
</style>

<script type="text/javascript">
    function SaveMsgData() {

        var person = $.trim($("#txtPerson").val());
        var content = $.trim($("#txtContent").val());
        var code = $.trim($("#txtCode").val());
        if (person == "") { alert("联系人不能为空"); return false; }
        if (content == "") { alert("内容不能为空"); return false; }
        if (code == "") { alert("验证码不能为空"); return false; }
        $.ajax({
            type: "POST", //URL方式为POST
            url: "UserControl/DoPostSaveData.aspx?action=savemsg",
            data: { Person: person, Content: content, Code: code },
            success: function (v_data) {
                if (v_data == "ok") {
                    alert("保存成功");
                    document.getElementById("vimg").src = "UserControl/VCode.aspx?Rnd=" + Math.random();
                    $("#txtPerson").val("");
                    $("#txtContent").val("");
                }
                else alert("提交成失败");
            }
        });

    }
		</script>
</head>
<body>
    <form id="form1" runat="server">

<uc2:WeHead ID="WeHead1" runat="server" />
  <div class="wrap">
   <div class="clear"></div>
   <div class="content">
  
<div class="s-news">
<div class="news-bt">
    <div class="f-l"> &nbsp;&nbsp;&nbsp;行业资讯</div>
	<div class="more"><a href="/News/"><img src="/TemplateFile/Tel010/images/more.gif" border="0"  alt="more"/></a></div>
  </div>
  <div class="cl0"></div>
<div class="cl55"></div>
  <div class="news">
    <ul>
		     <!--读取新闻列表-->
                <asp:Repeater ID="RepNewsList" runat="server">
                <ItemTemplate>
            <li><div class="s-n-y"><a href='<%#GetUrl(Eval("Id").ToString(),"News")%>' title='<%#Eval("Title")%>' target="_blank"><%#CutStr(Eval("Title").ToString(),9)%>… </a> </div>
                  <div class="n-z">   [<%#Eval("IssueTime","{0:yyyy-MM-dd}") %>]</div> </li>
                  </ItemTemplate>
                </asp:Repeater>
              <%--  <a href='<%#GetUrl(Eval("Id").ToString(),"News")%>'
                    target="_blank" title='<%#Eval("Title")%>'></a>--%>
			</ul>
</div>
</div>

 <div class="red">
  <div class="news-bt"> &nbsp;&nbsp;&nbsp;&nbsp;商城批发</div>
  <div class="cl55"></div>
<div class="cl55"></div>
  <a href='http://fjyijiadz.cn.1688.com/' target="_blank"><img src="/TemplateFile/Tel010/images/xuan.jpg" border="0" alt="sale"/></a>
 </div>
 <div class="lingluan">
   <uc4:LeftLinkUs ID="LeftLinkUs1" runat="server" />
 </div>
  </div>
  
</div>
<div class="clear" style="height:10px;"></div>
              <div id="pro">
  <div id="demo">
    <div id="indemo">
      <div id="demo1">
        <div class="fwzs">
        <ul>  <asp:Repeater ID="RepProductList" runat="server">
                <ItemTemplate>
        <li>
        <div class="zs_p"><a href='<%#GetUrl(Eval("Id").ToString(),"Product")%>' title='<%#Eval("Title")%>' target="_blank"><img width="170" height=170" src='<%# PicRootUrl+Eval("PicUrl").ToString()%>'  alt="<%#CutStr(Eval("Title").ToString(),4)%>" border='0'/></a></div>
        <div class="zs_na"><a href='<%#GetUrl(Eval("Id").ToString(),"Product")%>' title='<%#Eval("Title")%>' target="_blank"><%#CutStr(Eval("Title").ToString(),6)%></a></div></li>      
         
                </ItemTemplate>
                </asp:Repeater> <!--读取产品列表-->      
          </ul>
        </div>
      </div>
       <div id="demo2"></div>
     </div>
   </div>
    <script >
<!--
        var speed = 19;
        var tab = document.getElementById("demo");
        var tab1 = document.getElementById("demo1");
        var tab2 = document.getElementById("demo2");
        tab2.innerHTML = tab1.innerHTML;
        function Marquee() {
            if (tab2.offsetWidth - tab.scrollLeft <= 0)
                tab.scrollLeft -= tab1.offsetWidth
            else {
                tab.scrollLeft++;
            }
        }
        var MyMar = setInterval(Marquee, speed);
        tab.onmouseover = function () { clearInterval(MyMar) };
        tab.onmouseout = function () { MyMar = setInterval(Marquee, speed) };
-->
</script>
   </div>
   <div class="clear"></div>
<div class="clear"></div>
<uc3:WebFoot ID="WebFoot1" runat="server" />
      </form>
</body>
</html>
