<commit_before>﻿@using WebMatrix.Data;
@using WebMatrix.WebData;
@{
    Response.ContentEncoding = System.Text.Encoding.UTF8;
    var u = LcData.UserInfo.GetUserRow();
    var isHomePage = PageData["IsHomePage"] ?? false;
    var showWelcomePopup = PageData["ShowWelcomePopup"] ?? true;
    var abbrLangCode = System.Globalization.CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;
    var culture = System.Globalization.CultureInfo.CurrentUICulture.Name;
    // Updated assets version, to avoid problems with cache of css & js assets
    LcAssets.AssetsVersion = "20130301";
    
    // Sniff IE browsers or based on its same engine (Trident).
    var isIE = Request.UserAgent.Contains("MSIE") || Request.UserAgent.Contains("Trident");
    
    var onBehalfOf = LcHelpers.OnBehalfOf();
}
@helper howItWorksLi(){
                        <li>
                            <dl class="how-it-works">
                                <dt><a id="launchHowItWorks" href="@(LcUrl.LangPath)HelpCenter/HowItWorks/">How it works &#x25BC;</a></dt>
                                <dd>
                                    <ul>
                                        <li><a href="@(LcUrl.LangPath)HelpCenter/HowItWorks/#howitworks-customers">Customers</a></li>
                                        <li><a href="@(LcUrl.LangPath)HelpCenter/HowItWorks/#howitworks-providers">Service providers</a></li>
                                    </ul>
                                </dd>
                            </dl>
                        </li>
}
<!doctype html>
    <!--[if lt IE 8]>    <html class="no-js ie ie7 oldie" lang="@abbrLangCode" data-culture="@culture"> <![endif]-->
    <!--[if IE 8]>    <html class="no-js ie ie8 oldie" lang="@abbrLangCode" data-culture="@culture"> <![endif]-->
    <!--[if gt IE 8]> <html class="no-js ie" lang="@abbrLangCode" data-culture="@culture"> <![endif]-->
    <!--[if !IE]><!--> <html class="no-js" lang="@abbrLangCode" data-culture="@culture"> <!--<![endif]-->
     <head>
          <meta charset="utf-8"/>
          <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
          <title>Loconomics - @Page.Title</title>
          <meta name="description" content="Find service providers to do the job right. At your service!"/>
          <meta name="author" content="Loconomics Inc."/>
          @* Mobile viewport optimization is need only if there is a well optimized css counter-part, disabled until that: <meta name="viewport" content="width=device-width,initial-scale=1"/>*@
          <link rel="shortcut icon" href="@Href(LcUrl.AppPath + "favicon.ico")" type="image/x-icon" />
          <link rel="stylesheet" href="@Href(LcUrl.AppPath + "Styles/smoothness/jquery-ui-1.8.21.custom.css")"/>
           @* Our styles *@
           @LcAssets.PrintStyleTag(LcUrl.AppPath + "Styles/style.css")
           @LcAssets.GetStylesTags()
           <script type="text/javascript">var LC = window['LC'] || {};</script>
           <script src="@Href(LcUrl.AppPath + "Scripts/libs/modernizr.custom.2.6.1.js")" type="text/javascript"></script>
           @if (!isHomePage)
           {
           <script src="@Href(LcUrl.AppPath + "Scripts/jquery/jquery-1.7.2.min.js")" type="text/javascript"></script>
           }
            @* Our LcUrl class *@
            <script type="text/javascript">
                @Html.Raw(LcUrl.ToJsVar())
            </script>
            @if(isIE){
            <!--[if lt IE 9]>
            <style type="text/css">
                body,html,iframe{overflow: hidden; overflow:hidden !important;}
            </style>
            <![endif]-->
            }
    </head>
    <body class="@PageData["BodyClass"]">
        @if (showWelcomePopup && u == null)
        {
            // Annonymous access, Welcome popup
            <div id="welcome-popup-overlay" class="smooth-box-block-overlay" style="position:absolute;top:0;left:0;right:0;min-height:100%;z-index:999;">
                <div id="welcome-popup-container" class="smooth-box-block-element">
                    @RenderPage(LcUrl.LangPath + "Account/$WelcomePopup.cshtml")
                </div>
            </div>
        }
        @if (isIE)
        {
            <!--[if lt IE 9]>
            <iframe width="100%" height="100%" border="0" style="border:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:9999;filter: alpha(opacity=90);" src="@(LcUrl.LangUrl)HelpCenter/UpgradeBrowser/"></iframe>
            <![endif]-->
        }
        @RenderBody()
        <header id="site-header">
		    <div class="wrap">
			    <a id="logo" class="replace" href="@Href(LcUrl.LangPath)">Loconomics, at your service.</a>
                @if (!WebSecurity.IsAuthenticated) {
                <ul class="anonymous-tools">
                        @howItWorksLi()
                        <li><a class="register" href="@(LcUrl.LangPath)Account/Register/">Sign Up</a></li>
                        <li><a class="login" href="@(LcUrl.LangPath)Account/Login/">Login</a></li>
                </ul>
                }
			    <ul class="user-tools"><commit_msg>Fixed a bug using LangPath instead of RenderLangPath to load the WelcomePopup #189<commit_after>﻿@using WebMatrix.Data;
@using WebMatrix.WebData;
@{
    Response.ContentEncoding = System.Text.Encoding.UTF8;
    var u = LcData.UserInfo.GetUserRow();
    var isHomePage = PageData["IsHomePage"] ?? false;
    var showWelcomePopup = PageData["ShowWelcomePopup"] ?? true;
    var abbrLangCode = System.Globalization.CultureInfo.CurrentUICulture.TwoLetterISOLanguageName;
    var culture = System.Globalization.CultureInfo.CurrentUICulture.Name;
    // Updated assets version, to avoid problems with cache of css & js assets
    LcAssets.AssetsVersion = "20130301";
    
    // Sniff IE browsers or based on its same engine (Trident).
    var isIE = Request.UserAgent.Contains("MSIE") || Request.UserAgent.Contains("Trident");
    
    var onBehalfOf = LcHelpers.OnBehalfOf();
}
@helper howItWorksLi(){
                        <li>
                            <dl class="how-it-works">
                                <dt><a id="launchHowItWorks" href="@(LcUrl.LangPath)HelpCenter/HowItWorks/">How it works &#x25BC;</a></dt>
                                <dd>
                                    <ul>
                                        <li><a href="@(LcUrl.LangPath)HelpCenter/HowItWorks/#howitworks-customers">Customers</a></li>
                                        <li><a href="@(LcUrl.LangPath)HelpCenter/HowItWorks/#howitworks-providers">Service providers</a></li>
                                    </ul>
                                </dd>
                            </dl>
                        </li>
}
<!doctype html>
    <!--[if lt IE 8]>    <html class="no-js ie ie7 oldie" lang="@abbrLangCode" data-culture="@culture"> <![endif]-->
    <!--[if IE 8]>    <html class="no-js ie ie8 oldie" lang="@abbrLangCode" data-culture="@culture"> <![endif]-->
    <!--[if gt IE 8]> <html class="no-js ie" lang="@abbrLangCode" data-culture="@culture"> <![endif]-->
    <!--[if !IE]><!--> <html class="no-js" lang="@abbrLangCode" data-culture="@culture"> <!--<![endif]-->
     <head>
          <meta charset="utf-8"/>
          <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
          <title>Loconomics - @Page.Title</title>
          <meta name="description" content="Find service providers to do the job right. At your service!"/>
          <meta name="author" content="Loconomics Inc."/>
          @* Mobile viewport optimization is need only if there is a well optimized css counter-part, disabled until that: <meta name="viewport" content="width=device-width,initial-scale=1"/>*@
          <link rel="shortcut icon" href="@Href(LcUrl.AppPath + "favicon.ico")" type="image/x-icon" />
          <link rel="stylesheet" href="@Href(LcUrl.AppPath + "Styles/smoothness/jquery-ui-1.8.21.custom.css")"/>
           @* Our styles *@
           @LcAssets.PrintStyleTag(LcUrl.AppPath + "Styles/style.css")
           @LcAssets.GetStylesTags()
           <script type="text/javascript">var LC = window['LC'] || {};</script>
           <script src="@Href(LcUrl.AppPath + "Scripts/libs/modernizr.custom.2.6.1.js")" type="text/javascript"></script>
           @if (!isHomePage)
           {
           <script src="@Href(LcUrl.AppPath + "Scripts/jquery/jquery-1.7.2.min.js")" type="text/javascript"></script>
           }
            @* Our LcUrl class *@
            <script type="text/javascript">
                @Html.Raw(LcUrl.ToJsVar())
            </script>
            @if(isIE){
            <!--[if lt IE 9]>
            <style type="text/css">
                body,html,iframe{overflow: hidden; overflow:hidden !important;}
            </style>
            <![endif]-->
            }
    </head>
    <body class="@PageData["BodyClass"]">
        @if (showWelcomePopup && u == null)
        {
            // Annonymous access, Welcome popup
            <div id="welcome-popup-overlay" class="smooth-box-block-overlay" style="position:absolute;top:0;left:0;right:0;min-height:100%;z-index:999;">
                <div id="welcome-popup-container" class="smooth-box-block-element">
                    @RenderPage(LcUrl.RenderLangPath + "Account/$WelcomePopup.cshtml")
                </div>
            </div>
        }
        @if (isIE)
        {
            <!--[if lt IE 9]>
            <iframe width="100%" height="100%" border="0" style="border:none;position:absolute;top:0;left:0;right:0;bottom:0;z-index:9999;filter: alpha(opacity=90);" src="@(LcUrl.LangUrl)HelpCenter/UpgradeBrowser/"></iframe>
            <![endif]-->
        }
        @RenderBody()
        <header id="site-header">
		    <div class="wrap">
			    <a id="logo" class="replace" href="@Href(LcUrl.LangPath)">Loconomics, at your service.</a>
                @if (!WebSecurity.IsAuthenticated) {
                <ul class="anonymous-tools">
                        @howItWorksLi()
                        <li><a class="register" href="@(LcUrl.LangPath)Account/Register/">Sign Up</a></li>
                        <li><a class="login" href="@(LcUrl.LangPath)Account/Login/">Login</a></li>
                </ul>
                }
			    <ul class="user-tools">
{'fraction_non_alphanumeric': 0.16456438838369022, 'fraction_numerical': 0.011440305074801994, 'mean_word_length': 2.1480455524776856, 'pattern_counts': {'":': 0, '<': 167, '<?xml version=': 0, '>': 165, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4477905', 'n_tokens_mistral': 3286, 'n_tokens_neox': 3051, 'n_words': 563}