<%@ Page Language="C#" MasterPageFile="../Shared/CorpMain.Master" Inherits="System.Web.Mvc.ViewPage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
<title><%=ViewData["Title"]%></title>
<meta name="Keywords" content="<%=ViewData["Keywords"] %>" />
<meta name="Description" content="<%=ViewData["Description"] %>" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/reset.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/about.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/tougao.css" rel="stylesheet" type="text/css" />
<link href="<%=ViewData["webd"]%>Content/themes/lightblue/css/win.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=ViewData["webd"]%>Comja/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="<%=ViewData["webd"]%>Comja/pub.js"></script>
<script type="text/javascript" src="<%=ViewData["webd"]%>Content/themes/lightblue/js/tougao.js"></script>
<%if (1 == 0)
  { %>
<link href="../../../Content/themes/lightblue/css/reset.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/css/about.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/css/tougao.css" rel="stylesheet" type="text/css" />
<link href="../../../Content/themes/lightblue/css/win.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../../Comja/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../../../Comja/pub.js"></script>
<script type="text/javascript" src="../../../Content/themes/default/js/tougao.js"></script>
<%} %>
<script type="text/javascript">
    var submiturl="<%=ViewData["webd"]%>about/tougaosave";
    var fromurl = "<%=ViewData["fromurl"]%>";    
    var enterflag=true;
   // var username_test = /^\w{4,20}$/i;
    $(document).ready(function () {            
        /*用户表单提交*/
        $("#submit").click(function () {
            submitsave(submiturl,fromurl,0);            
        });
        $("input[name='contactman']").focus(function(){
           enterflag=true;
        });
        $("input[name='email']").focus(function(){
           enterflag=true;
        });
        $("input[name='tel']").focus(function(){
           enterflag=true;
        });
        $("input[name='title']").focus(function(){
           enterflag=true;
        });
        $("textarea[name='detail']").focus(function(){
           enterflag=false;
        });
    });
    
        //回车事件
        document.onkeydown = function(){	
            if (enterflag==true)
             {	  
	            if(event.keyCode == 13) {
                    submitsave(submiturl,fromurl,0);
                    return false;
                }  
            }
        }
    function pdfprocess(flag) {
        try {
            if (flag == true)
            {
                $("#wrapshow").show();
                fileupstate = window.setInterval("getpagestate()",2000); 
             }
            else
                $("#wrapshow").hide();
        }
        catch (err) { }
    }
	function ReloadCode() {
        var showcode = document.getElementById("showcode");
        var dt = new Date();
        showcode.src = "<%=ViewData["webd"]%>jquery/checkcode?t=" + dt;
    }
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="page" >
   <%--Html.RenderAction("Corptop", "Userinc", new { adsrc = "Content/themes/lightblue/images/53bk.jpg", type = "0" }); --%>
<%ViewData["adtype"] = "0";
ViewData["adsrc"] = Fun.Webdirectory + "Content/themes/lightblue/images/53bk.jpg";
%>
<%Html.RenderPartial("~/themes/lightblue/userinc/Corptop.ascx");%>

   <div class="head">  
      <%if (Fun.Isnews == "1")
        { %>
      <ul class="head_menu" id="top_nav">
      <li><a href="<%=ViewData["Webd"]%>">网站首页</a><ul style="display:none;"><li><a href="http://www.53bk.com" target="_blank"><%=Data.Bkname%></a></li></ul></li>
      <%=ViewData["topmenu"]%>
      </ul>
      <%}
        else
        {%>          
       <div class="head_menu2"><a href="<%=ViewData["Webd"]%>">网站首页</a> &nbsp;<%=ViewData["today"]%></div>
        <%} %>  
   </div>

    <div class="cont">
       <div class="path">当前位置： <a href="<%=ViewData["webd"]%>" ><%=ViewData["Sitename"]%></a><%=ViewData["path"]%></div>

       <div class="col_a">
        <div class="box">
          <div class="box_top">
            <div class="box_lt"><%=Data.Bkname %></div>
            <div class="box_ct">  </div>
            <div class="box_rt">  </div>
          </div>
          <div class="box_mid">
            <div class="box_lm"></div>
            <div class="box_cm"> <%=ViewData["corpleft"]%> </div>
            <div class="box_rm">  </div>
          </div>
          <div class="box_bottom">
            <div class="box_lb">  </div>
            <div class="box_cb">   </div>
            <div class="box_rb">    </div>
          </div>
        </div>
      </div>

        <div class="b_right left">
            <h2><%=ViewData["classname"]%></h2>
            <div class="content">
             
              <%--=ViewData["content"]--
以下用实际内容代替
--%>
<!--此处为投稿内容-->
      <div class="txt">   
        
        <p><strong><%=Data.Bkname%>欢迎各界网友踊跃投稿。稿件一经录用，报酬从优。</p>           
        <!--<div class="title">在线投稿</div>-->
        <div id="sucmsg"><span></span></div>
        <table width="673" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="td1">标题：</td>
            <td><input name="title" style="width:360px;" type="text" value="" /> <span class="msg" id="title_msg">*</span></td>
          </tr>
          <tr>
            <td class="td1">作品内容：</td>
            <td style="padding-top:5px;padding-bottom:5px;">
            <textarea name="detail" cols="62" rows="18"></textarea>
            <br />
            <span class="msg" id="detail_msg"></span>
            </td>
          </tr>
          <tr>
            <td class="td1">上传文档：</td>
            <td style="padding-top:5px;padding-bottom:1px;" class="rightframe"><%Html.RenderAction("Docup", "Userinc"); %>
             <span class="msg" id="updoc_txt_msg"></span></td>
          </tr>
          <tr>
            <td class="td1">姓名：</td>
            <td><input name="contactman" style="width:100px;"  type="text" value="" /> <span class="msg" id="contactman_msg">*</span></td>
          </tr>
          <tr>
            <td class="td1">电话：</td>
            <td><input name="tel" style="width:220px;" type="text" value="" /> <span class="msg" id="tel_msg">*</span></td>
          </tr>
          <tr>
            <td class="td1">电子邮箱：</td>
            <td><input name="email" style="width:220px;" type="text" value=""> <span class="msg" id="email_msg">*</span></td>
          </tr>
          <tr>
            <td class="td1">验证码：</td>
            <td><input name="checkcode" id="checkcode" style="width:60px;vertical-align:middle;" type="text" maxlength="12" /><img id="showcode" name="showcode" style="width:45px;vertical-align:middle;margin-left:3px;" alt="看不清楚?点击更换验证码" src="<%=ViewData["webd"]%>jquery/checkcode" onclick="ReloadCode();" /> <span class="msg" id="checkcode_msg">*</span></td>
          </tr>
          <tr>
            <td class="td1">&nbsp;</td>
            <td class="submit"><input type="button"  style="width:72px;" name="submit" id="submit" value="提 交" /></td>
          </tr>
        </table>      
       
       <div class="clear"><span></span></div>
       </div>

<!--投稿内容完-->


            </div>
        </div><%--b_right结束--%> 
        <div class="clear"><span></span></div>
    </div><%--cont完--%>
<%Html.RenderPartial("~/themes/lightblue/userinc/Corpfoot.ascx");%>
</div>
</asp:Content>