<commit_before><!DOCTYPE html>
<html lang="en">

<head>
  <!-- Basic Page Needs
    ================================================== -->
  <meta charset="utf-8">
  <!--[if IE]><meta http-equiv="x-ua-compatible" content="IE=9" /><![endif]-->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>NewsUp - News, Magazine and Article Directory Theme</title>
  <meta name="description" content="NewsUp is a multi-page oriented template perfect for NewsUp - News, Magazine, Blogging and Article Directory.">
  <meta name="keywords" content="news theme, magazine, blog, article directory, article submission, writer, author, publication, html, bootstrap">
  <meta name="author" content="Sempy Themes">

  <!-- Favicons
      ================================================== -->
  <link rel="shortcut icon" href="/static/newsup/img/favicon.ico" type="image/x-icon">
  <link rel="apple-touch-icon" href="/static/newsup/img/apple-touch-icon.png">
  <link rel="apple-touch-icon" sizes="72x72" href="/static/newsup/img/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="114x114" href="/static/newsup/img/apple-touch-icon-114x114.png">

  <!-- Bootstrap
      ================================================== -->
  <link href="{{ static_url('newsup/css/bootstrap.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/bootstrap-tagsinput.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/jasny-bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('css/font-awesome.min.css') }}" rel="stylesheet" type="text/css" />

  <!-- Animate
      ================================================== -->
  <link href="{{ static_url('newsup/css/effect2.css') }}" rel='stylesheet' type='text/css' />
  <link href="{{ static_url('newsup/css/animate.css') }}" rel='stylesheet' type='text/css' />

  <!-- Add fancyBox CSS files -->
  <link href="{{ static_url('newsup/js/fancybox/jquery.fancybox.css') }}" media="screen" rel="stylesheet" type="text/css" />

  <!-- Owl Slider CSS -->
  <link href="{{ static_url('newsup/css/owl.carousel.css') }}" media="screen" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/owl.theme.css') }}" media="screen" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/owl.transitions.css') }}" media="screen" rel="stylesheet" type="text/css" />

  <!-- Custom Css
      ================================================== -->
  <link href="{{ static_url('newsup/css/rs-wp-v1.2.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/jquery.rs.selectbox.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('css/style.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/responsive.css') }}" rel="stylesheet" type="text/css" />

  <!-- Custom Fonts
      ================================================== -->
  <link href="{{ static_url('newsup/fonts/stylesheet.css') }}" rel="stylesheet" type="text/css" />

  <!-- Google Fonts
      ================================================== -->
  <link href='http://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>


  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>

  <!--- Wrapper -->
  <section id="wrapper" class="clearfix">

    <!--- Header -->
    <header>

      <!-- socialbar -->
      {% module Template("newsup/block-socialbar.html", is_login=is_login) %}
      <!-- /socialbar -->

      <!-- menubar -->
      {% module Template("newsup/block-menubar.html") %}
      <!-- /menubar -->

    </header>
    <!--- End Header -->

    <!-- Page Breadcrumb -->
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <div class="rst-breadcrumb">
            <a href="/portal/newsup/index"><span>Home</span></a>
            <span>></span>
            <a href="/portal/newsup/contact"><span>Contact</span></a>
          </div>
        </div>
      </div>
    </div>
    <!-- End Page Breadcrumb -->

    <!-- Map Iframe -->
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <!-- <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d6467.466850022434!2d-78.8675914!3d35.8555396!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89acee5f65864487%3A0xcaf7ee7f7aad5c85!2sKit+Creek+Rd%2C+Morrisville%2C+NC%2C+Hoa+K%E1%BB%B3!5e0!3m2!1svi!2s!4v1433984656429"
              width="100%" height="370" frameborder="0" style="border:0">
            </iframe> -->
            <div id="container" style="width:100%; height:300px"></div>
        </div>
      </div>
    </div>
    <!-- End Map Iframe -->

    <!-- Category Page Content -->
    <section id="rst-catcontent">
      <div class="container">
        <div class="row">
          <div class="col-sm-8">
            <!-- Author zone -->
            <div class="rst-section-title rst-section-title-box">
              <h4>Get in Touch</h4>
            </div>

            <div class="rst-getintouch-form">
              <form method="post" action="submit.php" name="sentMessage" id="contactForm" novalidate>
                <div class="row">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <input class="rst-pageinput" type="text" placeholder="Name" name="name" id="name" data-validation-required-message="Please enter your name." />
                      <!-- required data-validation-required-message="Please enter your name." -->
                      <p class="help-block text-danger"></p>
                    </div>
                    <div class="form-group">
                      <input class="rst-pageinput" type="email" placeholder="Email" name="email" id="email" data-validation-required-message="Please enter your email." />
                      <!-- required data-validation-required-message="Please enter your email." -->
                      <p class="help-block text-danger"></p>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <input class="rst-pageinput" type="text" placeholder="Company" name="company" id="company" data-validation-required-message="Please enter your company." />
                      <!-- required data-validation-required-message="Please enter your company." -->
                      <p class="help-block text-danger"></p>
                    </div>
                    <div class="form-group">
                      <input class="rst-pageinput" type="text" placeholder="Phone" name="phone" id="phone" data-validation-required-message="Please enter your phone." />
                      <!-- required data-validation-required-message="Please enter your phone." -->
                      <p class="help-block text-danger"></p>
                    </div>
                  </div>
                </div>
                <div class="row">
                  <div class="col-xs-12">
                    <div class="form-group">
                      <textarea class="rst-pageinput" cols="30" rows="10" placeholder="Add your comment" name="message" id="message" data-validation-required-message="Please enter your message."></textarea>
                      <!-- required data-validation-required-message="Please enter your message." -->
                      <p class="help-block text-danger"></p>
                      <div id="success"></div>
                    </div>
                    <input class="rst-pagebutton" type="submit" value="SEND" />
                  </div>
                </div>
              </form>
            </div>

          </div>
          <div class="col-sm-4">
            <!-- begin widget social -->
            {% module Template("newsup/block-widget-social.html") %}
            <!-- end widget social -->

            <aside class="widget widget_contactus">
              <h3>Contact Us</h3>
              <ul>
                <li><a href="#"><span><i class="fa fa-location-arrow"></i> USA, Street 15, Manhattan, New York</span></a></li>
                <li><a href="tel:+48 122 33 66"><span><i class="fa fa-mobile"></i> +48 122 33 66</span></a></li>
                <li><a href="mailto:<EMAIL>"><span><i class="fa fa-paper-plane"></i> <EMAIL></span></a></li>
              </ul>
            </aside>

          </div>
          <!-- End Content Sidebar -->
        </div>
      </div>
    </section>
    <!-- End Category Page Content -->

    <!-- Section Latest Comments -->
    {% module Template("newsup/block-lastest-comments.html", lastest_comments=lastest_comments) %}
    <!-- End Section Latest Comments -->

    <!-- Footer -->
    {% module Template("newsup/block-footer.html") %}
    <!-- End Footer -->

  </section>
  <!--- End Wrapper -->

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script type="text/javascript" src="{{ static_url('newsup/js/jquery.1.11.1.js') }}"></script>

  <!-- Bootstrap Js Compiled Plugins -->
  <script type="text/javascript" src="{{ static_url('newsup/js/bootstrap.min.js') }}"></script>
  <script type="text/javascript" src="{{ static_url('newsup/js/bootstrap-tagsinput.js') }}"></script>
  <script type="text/javascript" src="{{ static_url('newsup/js/jqBootstrapValidation.js') }}"></script>

  <!-- WoW Js -->
  <script type="text/javascript" src="{{ static_url('newsup/js/wow.min.js') }}"></script>

  <!-- Add Fancybox -->
  <script type="text/javascript" src="{{ static_url('newsup/js/fancybox/jquery.fancybox.js') }}"></script>
  <script type="text/javascript" src="{{ static_url('newsup/js/fancybox/helpers/jquery.fancybox-media.js') }}"></script>

  <!-- Owl Slider Js -->
  <script type="text/javascript" src="{{ static_url('newsup/js/owl.carousel.js') }}"></script>

  <!-- Weather Js -->
  <!--
  <script type="text/javascript" src="{{ static_url('newsup/js/jquery.simpleWeather.js') }}"></script>
  -->

  <!-- Custome Selectbox Js -->
  <script type="text/javascript" src="{{ static_url('newsup/js/jquery.rs.selectbox.js') }}"></script>

  <script type="text/javascript" src="{{ static_url('js/main.js') }}"></script>

  <script src="http://webapi.amap.com/maps?v=1.3&key=f72ae6a1b42b43ed29f1c7981f57bc53&callback=init"></script>
  <script>
      function init(){
          var map = new AMap.Map('container', {
            zoom:11,
            center: [116.397428, 39.90923]
          });
          map.plugin(["AMap.ToolBar"], function() {
              map.addControl(new AMap.ToolBar());
          });
      }
  </script>

</body>

</html><commit_msg>map marker<commit_after><!DOCTYPE html>
<html lang="en">

<head>
  <!-- Basic Page Needs
    ================================================== -->
  <meta charset="utf-8">
  <!--[if IE]><meta http-equiv="x-ua-compatible" content="IE=9" /><![endif]-->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>NewsUp - News, Magazine and Article Directory Theme</title>
  <meta name="description" content="NewsUp is a multi-page oriented template perfect for NewsUp - News, Magazine, Blogging and Article Directory.">
  <meta name="keywords" content="news theme, magazine, blog, article directory, article submission, writer, author, publication, html, bootstrap">
  <meta name="author" content="Sempy Themes">

  <!-- Favicons
      ================================================== -->
  <link rel="shortcut icon" href="/static/newsup/img/favicon.ico" type="image/x-icon">
  <link rel="apple-touch-icon" href="/static/newsup/img/apple-touch-icon.png">
  <link rel="apple-touch-icon" sizes="72x72" href="/static/newsup/img/apple-touch-icon-72x72.png">
  <link rel="apple-touch-icon" sizes="114x114" href="/static/newsup/img/apple-touch-icon-114x114.png">

  <!-- Bootstrap
      ================================================== -->
  <link href="{{ static_url('newsup/css/bootstrap.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/bootstrap-tagsinput.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/jasny-bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('css/font-awesome.min.css') }}" rel="stylesheet" type="text/css" />

  <!-- Animate
      ================================================== -->
  <link href="{{ static_url('newsup/css/effect2.css') }}" rel='stylesheet' type='text/css' />
  <link href="{{ static_url('newsup/css/animate.css') }}" rel='stylesheet' type='text/css' />

  <!-- Add fancyBox CSS files -->
  <link href="{{ static_url('newsup/js/fancybox/jquery.fancybox.css') }}" media="screen" rel="stylesheet" type="text/css" />

  <!-- Owl Slider CSS -->
  <link href="{{ static_url('newsup/css/owl.carousel.css') }}" media="screen" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/owl.theme.css') }}" media="screen" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/owl.transitions.css') }}" media="screen" rel="stylesheet" type="text/css" />

  <!-- Custom Css
      ================================================== -->
  <link href="{{ static_url('newsup/css/rs-wp-v1.2.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/jquery.rs.selectbox.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('css/style.css') }}" rel="stylesheet" type="text/css" />
  <link href="{{ static_url('newsup/css/responsive.css') }}" rel="stylesheet" type="text/css" />

  <!-- Custom Fonts
      ================================================== -->
  <link href="{{ static_url('newsup/fonts/stylesheet.css') }}" rel="stylesheet" type="text/css" />

  <!-- Google Fonts
      ================================================== -->
  <link href='http://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>

  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>

  <!--- Wrapper -->
  <section id="wrapper" class="clearfix">

    <!--- Header -->
    <header>

      <!-- socialbar -->
      {% module Template("newsup/block-socialbar.html", is_login=is_login) %}
      <!-- /socialbar -->

      <!-- menubar -->
      {% module Template("newsup/block-menubar.html") %}
      <!-- /menubar -->

    </header>
    <!--- End Header -->

    <!-- Page Breadcrumb -->
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <div class="rst-breadcrumb">
            <a href="/portal/newsup/index"><span>Home</span></a>
            <span>></span>
            <a href="/portal/newsup/contact"><span>Contact</span></a>
          </div>
        </div>
      </div>
    </div>
    <!-- End Page Breadcrumb -->

    <!-- Map Iframe -->
    <div class="container">
      <div class="row">
        <div class="col-xs-12">
          <!-- <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d6467.466850022434!2d-78.8675914!3d35.8555396!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89acee5f65864487%3A0xcaf7ee7f7aad5c85!2sKit+Creek+Rd%2C+Morrisville%2C+NC%2C+Hoa+K%E1%BB%B3!5e0!3m2!1svi!2s!4v1433984656429"
              width="100%" height="370" frameborder="0" style="border:0">
            </iframe> -->
            <div id="mapContainer" style="width:100%; height:300px"></div>
        </div>
      </div>
    </div>
    <!-- End Map Iframe -->

    <!-- Category Page Content -->
    <section id="rst-catcontent">
      <div class="container">
        <div class="row">
          <div class="col-sm-8">
            <!-- Author zone -->
            <div class="rst-section-title rst-section-title-box">
              <h4>Get in Touch</h4>
            </div>

            <div class="rst-getintouch-form">
              <form method="post" action="submit.php" name="sentMessage" id="contactForm" novalidate>
                <div class="row">
                  <div class="col-sm-6">
                    <div class="form-group">
                      <input class="rst-pageinput" type="text" placeholder="Name" name="name" id="name" data-validation-required-message="Please enter your name." />
                      <!-- required data-validation-required-message="Please enter your name." -->
                      <p class="help-block text-danger"></p>
                    </div>
                    <div class="form-group">
                      <input class="rst-pageinput" type="email" placeholder="Email" name="email" id="email" data-validation-required-message="Please enter your email." />
                      <!-- required data-validation-required-message="Please enter your email." -->
                      <p class="help-block text-danger"></p>
                    </div>
                  </div>
                  <div class="col-sm-6">
                    <div class="form-group">
                      <input class="rst-pageinput" type="text" placeholder="Company" name="company" id="company" data-validation-required-message="Please enter your company." />
                      <!-- required data-validation-required-message="Please enter your company." -->
                      <p class="help-block text-danger"></p>
                    </div>
                    <div class="form-group">
                      <input class="rst-pageinput" type="text" placeholder="Phone" name="phone" id="phone" data-validation-required-message="Please enter your phone." />
                      <!-- required data-validation-required-message="Please enter your phone." -->
                      <p class="help-block text-danger"></p>
                    </div>
                  </div>
                </div>
                <div class="row">
                  <div class="col-xs-12">
                    <div class="form-group">
                      <textarea class="rst-pageinput" cols="30" rows="10" placeholder="Add your comment" name="message" id="message" data-validation-required-message="Please enter your message."></textarea>
                      <!-- required data-validation-required-message="Please enter your message." -->
                      <p class="help-block text-danger"></p>
                      <div id="success"></div>
                    </div>
                    <input class="rst-pagebutton" type="submit" value="SEND" />
                  </div>
                </div>
              </form>
            </div>

          </div>
          <div class="col-sm-4">
            <!-- begin widget social -->
            {% module Template("newsup/block-widget-social.html") %}
            <!-- end widget social -->

            <aside class="widget widget_contactus">
              <h3>Contact Us</h3>
              <ul>
                <li><a href="#"><span><i class="fa fa-location-arrow"></i> USA, Street 15, Manhattan, New York</span></a></li>
                <li><a href="tel:+48 122 33 66"><span><i class="fa fa-mobile"></i> +48 122 33 66</span></a></li>
                <li><a href="mailto:<EMAIL>"><span><i class="fa fa-paper-plane"></i> <EMAIL></span></a></li>
              </ul>
            </aside>

          </div>
          <!-- End Content Sidebar -->
        </div>
      </div>
    </section>
    <!-- End Category Page Content -->

    <!-- Section Latest Comments -->
    {% module Template("newsup/block-lastest-comments.html", lastest_comments=lastest_comments) %}
    <!-- End Section Latest Comments -->

    <!-- Footer -->
    {% module Template("newsup/block-footer.html") %}
    <!-- End Footer -->

  </section>
  <!--- End Wrapper -->

  <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  <script type="text/javascript" src="{{ static_url('newsup/js/jquery.1.11.1.js') }}"></script>

  <!-- Bootstrap Js Compiled Plugins -->
  <script type="text/javascript" src="{{ static_url('newsup/js/bootstrap.min.js') }}"></script>
  <script type="text/javascript" src="{{ static_url('newsup/js/bootstrap-tagsinput.js') }}"></script>
  <script type="text/javascript" src="{{ static_url('newsup/js/jqBootstrapValidation.js') }}"></script>

  <!-- WoW Js -->
  <script type="text/javascript" src="{{ static_url('newsup/js/wow.min.js') }}"></script>

  <!-- Add Fancybox -->
  <script type="text/javascript" src="{{ static_url('newsup/js/fancybox/jquery.fancybox.js') }}"></script>
  <script type="text/javascript" src="{{ static_url('newsup/js/fancybox/helpers/jquery.fancybox-media.js') }}"></script>

  <!-- Owl Slider Js -->
  <script type="text/javascript" src="{{ static_url('newsup/js/owl.carousel.js') }}"></script>

  <!-- Weather Js -->
  <!--
  <script type="text/javascript" src="{{ static_url('newsup/js/jquery.simpleWeather.js') }}"></script>
  -->

  <!-- Custome Selectbox Js -->
  <script type="text/javascript" src="{{ static_url('newsup/js/jquery.rs.selectbox.js') }}"></script>

  <script type="text/javascript" src="{{ static_url('js/main.js') }}"></script>

  <script src="http://webapi.amap.com/maps?v=1.3&key=f72ae6a1b42b43ed29f1c7981f57bc53&callback=init"></script>
  <script>
      var map = new AMap.Map('mapContainer', {
        zoom:11,
        center: [116.397428, 39.90923]
      });
      map.plugin(["AMap.ToolBar"], function() {
          map.addControl(new AMap.ToolBar());
      });

      AMap.plugin('AMap.Geocoder',function(){
        var geocoder = new AMap.Geocoder({
            city: "010"//城市，默认：“全国”
        });

        map.on('click',function(e){
            geocoder.getAddress(e.lnglat,function(status,result){
              if(status=='complete'){
                //  document.getElementById('input').value = result.regeocode.formattedAddress
                addMarker(e.lnglat,result.regeocode.formattedAddress);
              }
            })
        })
      });

      function addMarker(lnglat,address) {
        var marker = new AMap.Marker({
            map:map,
            bubble:true
        })
        marker.setPosition(lnglat);
        marker.setTitle(address);
        //给Marker绑定单击事件
        marker.on('click', openInfo);
        marker.emit('click',{target:marker});
        map.setFitView();
      }

      function openInfo(e) {
        //构建信息窗体中显示的内容
        var info = [];
        info.push("<div>");
        info.push("<div style=\"padding:0px 0px 0px 4px;\"><b>当前点地址</b>");
        info.push(e.target.getTitle() + "</div></div>");
        infoWindow = new AMap.InfoWindow({
            content: info.join("<br/>")  //使用默认信息窗体框样式，显示信息内容
        });
        infoWindow.open(map, e.target.getPosition());
      }
  </script>

</body>

</html>
{'fraction_non_alphanumeric': 0.2217415513770506, 'fraction_numerical': 0.0236861266972202, 'mean_word_length': 2.557519427091269, 'pattern_counts': {'":': 0, '<': 484, '<?xml version=': 0, '>': 486, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '494657', 'n_tokens_mistral': 7610, 'n_tokens_neox': 7032, 'n_words': 1259}