<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>在线留言-<?php echo (C("seo_title")); ?></title>
    <meta name="keywords" content="<?php echo (C("seo_keywords")); ?>" />
    <meta name="description" content="<?php echo (C("seo_description")); ?>" />
    <meta name="applicable-device"content="pc,mobile">
	<link href="__Public__/css/bootstrap.css" rel="stylesheet">
	<link href="../Public/css/bxslider.css" rel="stylesheet">
	<link href="../Public/css/style.css" rel="stylesheet">
	<script src="__Public__/js/jquery.min.js"></script>
	<script src="../Public/js/bxslider.min.js"></script>
	<script src="../Public/js/common.js"></script>
	<script src="__Public__/js/bootstrap.js"></script>
	<!--[if lt IE 9]>
	  <script src="https://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
	  <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
  </head>
  <body>
  
      <header> 
      <div class="top_bg">
            <div class="container">
                  <div class="col-xs-12 col-sm-9 col-md-9">
                    <span class="top_welcome">欢迎光临~<?php echo (C("web_name")); ?></span>
                  </div>
                  <div class="col-xs-12 col-sm-3 col-md-3">
                      <form id="searchform" method="get" action="<?php echo U('Search/index');?>">
                          <div class="input-group search_group">
                              <input type="text" name="name" class="form-control input-sm" placeholder="产品搜索">
                                    <span class="input-group-btn">
                                          <span id="search_submit" onclick="searchform.submit();" title="产品搜索" class="glyphicon glyphicon-search btn-lg" aria-hidden="true"></span>
                                    </span>
                          </div>
                      </form>
                  </div>
            </div>
      </div>

      <div class="container">
            <div class="row">
                  <div class="col-xs-12 col-sm-9 col-md-9">
                         <a href="<?php echo (C("web_url")); ?>"><img src="__ROOT__/Uploads/<?php echo (C("web_logo")); ?>" class="logo" alt="<?php echo (C("web_name")); ?>"/></a>
                  </div>
                  <div class="col-xs-12 col-sm-3 col-md-3 tel_box">
                        <div class="top_tel">
                              <img src="../Public/images/tel.jpg" alt="服务热线">
                              <span>全国服务热线：</span>
                              <p><?php echo (C("web_hot")); ?></p>
                        </div>
                  </div>
            </div>
      </div>

      <?php echo W('Nav');?>
</header>
      <div class="page_bg" style="background: url(__ROOT__/Uploads/<?php echo W('Flash',array('id'=>8));?>) center top no-repeat;"></div>

      <div class="bread_bg">
            <div class="container">    
                  <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12">
                              <div class="bread_nav">
                                    <span>您的位置：</span><a href="__ROOT__/">网站首页</a> &gt; 在线留言
                              </div>
                        </div>
                  </div>
            </div>
      </div>
   
      <div class="container">    
             <div class="row">

                  <!-- right -->
                  <div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
                        <div class="right_head">
                              <h2><span>在线留言</span></h2>
                        </div>

                        <div class="feedback">
                              <form id="myform" name="myform" class="form-horizontal" method="post" action="__ROOT__/?m=Feedback&a=check" onSubmit="return CheckJob()">

                              <?php if(is_array($bigform)): $i = 0; $__LIST__ = $bigform;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; switch($vo["type"]): case "text": ?><div class="form-group">
                                          <label for="<?php echo ($vo["fieldname"]); ?>"class="col-sm-3 control-label"><?php echo ($vo["name"]); ?>：</label>
                                          <div class="col-sm-6">
                                                <input type="text" name="<?php echo ($vo["fieldname"]); ?>" class="form-control" id="<?php echo ($vo["fieldname"]); ?>" <?php if($vo["required"] == 1): ?>placeholder="必填" required="required"<?php endif; ?>>
                                          </div>
                                    </div><?php break;?>

                              <?php case "email": ?><div class="form-group">
                                          <label for="inputEmail" class="col-sm-3 control-label"><?php echo ($vo["name"]); ?>：</label>
                                          <div class="col-sm-6">
                                                <input type="email" name="<?php echo ($vo["fieldname"]); ?>" class="form-control" id="inputEmail" <?php if($vo["required"] == 1): ?>placeholder="必填" required="required"<?php endif; ?>>
                                          </div>
                                    </div><?php break;?>

                              <?php case "radio": ?><div class="form-group">
                                          <label class="col-xs-12 col-sm-3 control-label"><?php echo ($vo["name"]); ?>：</label>
                                          <div class="col-xs-12 col-sm-6">

                                          <?php if(is_array($smallform)): $i = 0; $__LIST__ = $smallform;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$svo): $mod = ($i % 2 );++$i; if(($svo["pid"]) == $vo["id"]): ?><label class="radio-inline">
                                                      <input type="radio" name="<?php echo ($svo["fieldname"]); ?>" value="<?php echo ($svo["name"]); ?>" <?php if($vo["required"] == 1): ?>required="required"<?php endif; ?>/><?php echo ($svo["name"]); ?>
                                                </label>&nbsp;&nbsp;<?php endif; endforeach; endif; else: echo "" ;endif; ?>

                                          </div>
                                    </div><?php break;?>

                              <?php case "select": ?><div class="form-group">
                                          <label class="col-xs-12 col-sm-3 control-label"><?php echo ($vo["name"]); ?>：</label>
                                          <div class="col-xs-12 col-sm-6">

                                                <select class="form-control" name="<?php echo ($vo["fieldname"]); ?>">
                                                <?php if(is_array($smallform)): $i = 0; $__LIST__ = $smallform;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$svo): $mod = ($i % 2 );++$i; if(($svo["pid"]) == $vo["id"]): ?><option value="<?php echo ($svo["name"]); ?>"><?php echo ($svo["name"]); ?></option><?php endif; endforeach; endif; else: echo "" ;endif; ?>
                                                </select>

                                          </div>
                                    </div><?php break;?>

                              <?php case "textarea": ?><div class="form-group">
                                          <label for="contents" class="col-sm-3 control-label"><?php echo ($vo["name"]); ?>：</label>
                                          <div class="col-sm-6">
                                            <textarea name="<?php echo ($vo["fieldname"]); ?>" class="form-control" rows="3" required="required"></textarea>
                                          </div>
                                    </div><?php break;?>

                              <?php default: ?>请检查后台设置<?php endswitch; endforeach; endif; else: echo "" ;endif; ?>

                                   <div class="form-group">
                                          <label for="code" class="col-xs-12 col-sm-3 control-label">验证码：</label>
                                          <div class="col-xs-7 col-sm-2">
                                                <input type="text" name="code" class="form-control" id="code" placeholder="验证码">
                                          </div>
                                          <div class="col-xs-2 col-sm-1">
                                                <img class="codeimg" src="<?php echo U('Common/verify');?>" onclick='this.src=this.src+"?"+Math.random()'/>
                                          </div>
                                    </div>
                                    <div class="form-group">
                                          <div class="col-sm-offset-3 col-sm-10">
                                                <button type="submit" name="button" value="提交留言" class="btn btn-danger page-btn">提交留言</button>&nbsp;
                                                <button type="reset" name="reset" class="btn btn-default grey-btn">重新填写</button>
                                          </div>
                                    </div>
                              </form>
                        </div>

                  </div>

                  <!-- left -->
                  <div class="col-xs-12 col-sm-4 col-md-3">
                        <h3 class="left_h3"><span>导航栏目</span></h3>
                        <div class="left_column">
                              <?php echo W('Left',array('id'=>1,'type'=>'product'));?>
                        </div>
                        <div class="left_news">
                              <h3 class="left_h3"><span>新闻中心</span></h3>
                              <?php echo W('List',array('table'=>'New','bid'=>2,'id'=>2));?>
                        </div>
                        <div class="left_contact">
      <h3 class="left_h3"><span>联系我们</span></h3>
      <p style="padding-top:8px;">联系人：<?php echo (C("web_contacts")); ?></p>
      <p>手 机：<?php echo (C("web_phone")); ?></p>
      <p>邮 箱：<?php echo (C("web_email")); ?></p>
      <p>公 司：<?php echo (C("web_name")); ?></p>
      <p>地 址：<?php echo (C("web_add")); ?></p>
</div>
                  </div>

            </div>
      </div> 

      <nav class="navbar navbar-default navbar-fixed-bottom mfoot_box">
      <div class="mfoot_nav btn-group dropup">
            <a class="dropdown-toggle"  data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">
                  <span class="glyphicon glyphicon-share btn-lg" aria-hidden="true"></span>分享
            </a>  
            <div class="dropdown-menu mfoot_share">
                  <div class="bdsharebuttonbox" style="display: inline-block; float:left;">
                        <a href="#" class="bds_more" data-cmd="more"></a>
                        <a href="#" class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                        <a href="#" class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                        <a href="#" class="bds_tqq" data-cmd="tqq" title="分享到腾讯微博"></a>
                        <a href="#" class="bds_renren" data-cmd="renren" title="分享到人人网"></a>
                        <a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                  </div>
                  <script>
                        window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"32"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='//bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];
                  </script>
            </div>
      </div>
      <div class="mfoot_nav">
            <a href="tel:<?php echo (C("web_phone")); ?>">
                  <span class="glyphicon glyphicon-phone btn-lg" aria-hidden="true"></span>手机
            </a>
      </div>
      <div class="mfoot_nav"  aria-hidden="true"  data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="glyphicon glyphicon-th-list btn-lg"></span>分类
      </div>
      <div class="mfoot_nav">
            <a id="gototop" href="#">
                  <span class="glyphicon glyphicon-circle-arrow-up btn-lg" aria-hidden="true"></span>顶部
            </a>
      </div>
</nav>

<footer>
      <div class="container">    
            <div class="row">
                  <div class="col-xs-12 col-sm-3 col-md-3">
                        <img class="footer_logo" src="__ROOT__/Uploads/<?php echo W('Flash',array('type'=>3,'id'=>21));?>" alt="底部LOGO">
                        <p class="footer_logo_text"><?php echo (C("web_copyright")); ?></p>
                  </div>
                  <div class="col-xs-12 col-sm-3 col-md-3 footer_contact">
                        <p>电话：<?php echo (C("web_tel")); ?></p>
                        <p>手机：<?php echo (C("web_phone")); ?></p>
                        <p>邮箱：<?php echo (C("web_email")); ?></p>
                        <p>地址：<?php echo (C("web_add")); ?></p>
                        <p><?php echo (C("web_icp")); ?>&nbsp;&nbsp;<a href="__ROOT__/sitemap.html" class="footer_sitemap" target="_blank">网站地图</a>&nbsp;<?php echo (C("web_count")); ?></p>
                  </div>
                  <div class="col-xs-12 col-sm-4 col-md-4">
                        <?php echo W('Foot');?>
                  </div>
                  <div class="col-xs-12 col-sm-2 col-md-2">
                        <img class="footer_qrcode" src="__ROOT__/Uploads/<?php echo (C("web_qrcode")); ?>" alt="二维码图片">
                        <p class="footer_qrcode_text">手机二维码</p>
                  </div>
            </div>
      </div> 
</footer>

<?php if(C("is_translate")!= 0): ?><div class="translate">
      <div class="translate_btn">
            <div id='MicrosoftTranslatorWidget' class='Dark' style='color:white;background-color:#555555'>
            </div>
            <script type='text/javascript'>setTimeout(function(){{var s=document.createElement('script');s.type='text/javascript';s.charset='UTF-8';s.src=((location && location.href && location.href.indexOf('https') == 0)?'https://ssl.microsofttranslator.com':'http://www.microsofttranslator.com')+'/ajax/v3/WidgetV3.ashx?siteData=ueOIGRSKkd965FeEGM5JtQ**&ctf=False&ui=true&settings=Manual&from=';var p=document.getElementsByTagName('head')[0]||document.documentElement;p.insertBefore(s,p.firstChild); }},0);</script>
      </div>
</div><?php endif; ?>

<?php echo W('Online');?>

<?php echo (C("web_baidu")); ?>

  </body>
</html>