|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="{$CurrentLocale.Key}"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta charset="utf-8"> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 7 | + {asset name="Head"} |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 9 | + <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,600,700,700i" rel="stylesheet"> |
| 10 | + {literal} |
| 11 | + <script> |
| 12 | + !function(){var analytics=window.analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error("Segment snippet included twice.");else{analytics.invoked=!0;analytics.methods=["trackSubmit","trackClick","trackLink","trackForm","pageview","identify","reset","group","track","ready","alias","debug","page","once","off","on","addSourceMiddleware","addIntegrationMiddleware","setAnonymousId","addDestinationMiddleware"];analytics.factory=function(e){return function(){var t=Array.prototype.slice.call(arguments);t.unshift(e);analytics.push(t);return analytics}};for(var e=0;e<analytics.methods.length;e++){var key=analytics.methods[e];analytics[key]=analytics.factory(key)}analytics.load=function(key,e){var t=document.createElement("script");t.type="text/javascript";t.async=!0;t.src="https://cdn.segment.com/analytics.js/v1/" + key + "/analytics.min.js";var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n);analytics._loadOptions=e};analytics.SNIPPET_VERSION="4.13.1"; |
| 13 | + analytics.load("pw30u8gMK8RIZ8Z4JCBCGZDH7gg5Mbf6"); |
| 14 | + analytics.page(); |
| 15 | + }}(); |
| 16 | + </script> |
| 17 | + {/literal} |
| 18 | +</head> |
| 19 | + |
| 20 | +{assign |
| 21 | +"linkFormat" |
| 22 | +"<div class='Navigation-linkContainer'> |
| 23 | + <a href='%url' class='Navigation-link %class'> |
| 24 | + %text |
| 25 | + </a> |
| 26 | + </div>" |
| 27 | +} |
| 28 | + |
| 29 | +{capture name="menu"} |
| 30 | + {if $User.SignedIn} |
| 31 | + <div class="Navigation-row NewDiscussion"> |
| 32 | + <div class="NewDiscussion mobile"> |
| 33 | + {module name="NewDiscussionModule" reorder=$DataDrivenTitleBar} |
| 34 | + </div> |
| 35 | + </div> |
| 36 | + {else} |
| 37 | + {if !$DataDrivenTitleBar} |
| 38 | + <div class="Navigation-row"> |
| 39 | + <div class="SignIn mobile"> |
| 40 | + {module name="TopcoderMeModule"} |
| 41 | + </div> |
| 42 | + </div> |
| 43 | + {/if} |
| 44 | + {/if} |
| 45 | + |
| 46 | + {if !$DataDrivenTitleBar} |
| 47 | + {categories_link format=$linkFormat} |
| 48 | + {discussions_link format=$linkFormat} |
| 49 | + {custom_menu format=$linkFormat} |
| 50 | + {activity_link format=$linkFormat} |
| 51 | + |
| 52 | + {/if} |
| 53 | +{/capture} |
| 54 | + |
| 55 | +{assign var="SectionGroups" value=(isset($Groups) || isset($Group))} |
| 56 | +{assign var="TemplateCss" value=" |
| 57 | + {if $User.SignedIn} |
| 58 | + UserLoggedIn |
| 59 | + {else} |
| 60 | + UserLoggedOut |
| 61 | + {/if} |
| 62 | +
|
| 63 | + {if inSection('Discussion') and $Page gt 1} |
| 64 | + isNotFirstPage |
| 65 | + {/if} |
| 66 | +
|
| 67 | + {if inSection('Group') && !isset($Group.Icon)} |
| 68 | + noGroupIcon |
| 69 | + {/if} |
| 70 | +
|
| 71 | + locale-{$CurrentLocale.Lang} |
| 72 | +"} |
| 73 | +<body id="{$BodyID}" class="{$BodyClass}{$TemplateCss|strip:" "}"> |
| 74 | + |
| 75 | +<!--[if lt IE 9]> |
| 76 | +<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> |
| 77 | +<![endif]--> |
| 78 | + |
| 79 | +<div class="Frame" id="page"> |
| 80 | + <div class="Frame-top"> |
| 81 | + <div class="Frame-body"> |
| 82 | + <div class="Frame-content"> |
| 83 | + <div class="Container"> |
| 84 | + <div class="Frame-contentWrap"> |
| 85 | + <div class="Frame-details"> |
| 86 | + <div class="Frame-row Frame-row-main"> |
| 87 | + <main class="Content MainContent"> |
| 88 | + <div class="Frame-row"> |
| 89 | + <nav class="BreadcrumbsBox"> |
| 90 | + {breadcrumbs} |
| 91 | + </nav> |
| 92 | + </div> |
| 93 | + {if inSection("Profile")} |
| 94 | + <div class="Profile-header"> |
| 95 | + <div class="Profile-photo"> |
| 96 | + <div class="PhotoLarge"> |
| 97 | + {module name="UserPhotoModule"} |
| 98 | + </div> |
| 99 | + </div> |
| 100 | + <div class="Profile-name"> |
| 101 | + <h1 class="Profile-username"> |
| 102 | + {$Profile.Name|escape:'html'} |
| 103 | + </h1> |
| 104 | + {if isset($Rank)} |
| 105 | + <span class="Profile-rank">{$Rank.Label|escape:'html'}</span> |
| 106 | + {/if} |
| 107 | + </div> |
| 108 | + </div> |
| 109 | + {/if} |
| 110 | + {asset name="Content"} |
| 111 | + </main> |
| 112 | + </div> |
| 113 | + </div> |
| 114 | + </div> |
| 115 | + </div> |
| 116 | + </div> |
| 117 | + </div> |
| 118 | + </div> |
| 119 | +</div> |
| 120 | +<div id="modals"></div> |
| 121 | +{event name="AfterBody"} |
| 122 | +</body> |
| 123 | + |
| 124 | +</html> |
0 commit comments