Guest User

site generated from

a guest
Jan 13th, 2015
2,364
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html><!--[if lt IE 7]><html class="lt-ie10 lt-ie9 lt-ie8 lt-ie7" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
  2.     <!--[if IE 7]><html class="lt-ie10 lt-ie9 lt-ie8" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
  3.     <!--[if IE 8]><html class="lt-ie10 lt-ie9" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
  4.     <!--[if IE 9]><html class="lt-ie10" xmlns:fb="http://www.facebook.com/2008/fbml"> <![endif]-->
  5.     <!--[if gt IE 9]><!--> <html xmlns:fb="http://www.facebook.com/2008/fbml"> <!--<![endif]--><head><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="google-site-verification" content="7bfPVLres-pmKiWuUbGn657RuKrQAPME6CG5Vkr60LI" /><title>Create Contest | FanDuel</title><link rel="shortcut icon" href="//d17odppiik753x.cloudfront.net/images/global/favicon.ico" /><link rel="apple-touch-icon" href="//d17odppiik753x.cloudfront.net/images/global/apple-touch-icon.png" />        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6.        
  7.         <meta name="verify-v1" content="vbfLsiyvxLXUSzzN3snByFobO5//gly16iy1x9usuIE=" >
  8.         <meta name="verify-v1" content="ok5reZ/WyUFmn+q1yYjYG4Mi3bniUsCZ8XwusHJ3K8A=" />
  9.         <meta name="verify-v1" content="wBjvmrKsgVNAwEzRqssUUOn/mtnPGCNv9XRSUlbyhNs=" >
  10.         <meta name="verify-v1" content="C/q1XayRb0mYQbGLN3nh8EFJBb5hefsuXTT9qZcbrq8=" >
  11.         <link rel="stylesheet" href="//d2avoc1xjbdrch.cloudfront.net/2.5.0/styles/desktop.css"/><link rel="stylesheet" href="https://www.fanduel.com/styles/compiled/core.responsive-mobile.c102ae663e14a56e651ea7cf8dacc3d9.css"/><link rel="stylesheet" href="https://www.fanduel.com/styles/compiled/createcontest.base.3ee2f7da409f57da21e4905ce0c86019.css"/><script src="//d2avoc1xjbdrch.cloudfront.net/2.5.0/scripts/core.js"></script><script src="https://www.fanduel.com/scripts/compiled/core.base.64a62b91ba27f6b5835b61eb39865c4e.js"></script><script src="https://www.fanduel.com/scripts/compiled/logging.base.223870e8c23a6e78a046745d311f3956.js"></script>      <script>
  12.             var sessionid="4n389b5f7dmsdrkm6t6hdar280";
  13.                         user = new HDUser(1849769, 0);
  14.                     </script>
  15.         <!--[if lt IE 9]>
  16.             <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  17.         <![endif]-->
  18.         </head><body id="body" class="yui-skin-sam logged-in " ontouchstart><!-- Google Code for Deposit Funds Confirmation Page Remarketing List -->
  19.             <script type="text/javascript">
  20.             /* <![CDATA[ */
  21.             var google_conversion_id = 1042875555;
  22.             var google_conversion_language = "en";
  23.             var google_conversion_format = "3";
  24.             var google_conversion_color = "666666";
  25.             var google_conversion_label = "lkNOCMn_gwIQo4mk8QM";
  26.             var google_conversion_value = 0;
  27.             /* ]]> */
  28.             </script>
  29.                             <script type="text/javascript" src="https://www.googleadservices.com/pagead/conversion.js">
  30.                 </script>
  31.                 <noscript>
  32.                 <div style="display:inline;">
  33.                 <img height="1" width="1" style="border-style:none;" alt="" src="https://www.googleadservices.com/pagead/conversion/1042875555/?label=yGdJCLmBhAIQo4mk8QM&amp;guid=ON&amp;script=0"/>
  34.                 </div>
  35.                 </noscript>
  36.                     <header class="global-header">
  37.     <div class="global-header-container">
  38.         <section class="logo-container">
  39.             <h1><a href="/"><i class="icon logo-fanduel">&#xe000;</i><i class="icon logo-f">&#x26b9;</i></a></h1>
  40.         </section>
  41.  
  42.                     <nav class="navigation-logged-in" data-role="global-header-menu">
  43.                 <header>
  44.                     <a href="#" data-role="global-header-menu-trigger"><i class="icon">&#x2630;</i></a>
  45.                 </header>
  46.                 <ul class="navigation-logged-in-menu" data-role="global-header-menu-content">
  47.                     <li><a href="https://www.fanduel.com/" class="link-lobby ">Lobby</a></li>
  48.                     <li><a href="https://www.fanduel.com/upcoming" class="link-upcoming-contests ">Upcoming</a></li>
  49.                     <li><a href="https://www.fanduel.com/p/MyLiveEntries" class="link-live-contests ">Live</a></li>
  50.                     <li><a href="https://www.fanduel.com/p/MyEntryHistory" class="link-historical-contests ">History</a></li>
  51.                     <li><a href="/support" class="link-support">Support</a></li>
  52.                     <li><a href="https://www.fanduel.com/p/MyAccount" class="link-my-account">My Account</a></li>
  53.                 </ul>
  54.             </nav>
  55.  
  56.             <section class="logged-in-user">
  57.                 <div class="support-menu-block" data-role="global-header-menu">
  58.                     <header>
  59.                         <a href="#" data-role="global-header-menu-trigger">
  60.                             Help <i class="icon">&#x2193;</i>
  61.                         </a>
  62.                     </header>
  63.                     <div class="support-menu" data-role="global-header-menu-content">
  64.                         <nav>
  65.                             <ul>
  66.                                 <li><a href="/support" class="link-support">Support</a></li>
  67.                                 <li><a href="/how-it-works" class="link-how-it-works">How it Works</a></li>
  68.                                 <li><a href="/rules" class="link-rules-and-scoring">Rules &amp; Scoring</a></li>
  69.                             </ul>
  70.                         </nav>
  71.                     </div>
  72.                 </div>
  73.                 <div class="user-menu-block" data-role="global-header-menu">
  74.                     <header>
  75.                         <a href="#" data-role="global-header-menu-trigger">
  76.                             <div class="avatar avatar-inline" style="background-image: url(https://www.fanduel.com/images/member_defaultpic.gif);">
  77.                             </div>
  78.                             <span class="username">gopats_gc </span><i class="icon">&#x2193;</i>
  79.                         </a>
  80.                     </header>
  81.                     <div class="logged-in-user-menu" data-role="global-header-menu-content">
  82.                         <section class="logged-in-user-profile">
  83.                             <div class="avatar avatar-inline avatar-large" style="background-image: url(https://www.fanduel.com/images/member_defaultpic.gif);">
  84.                             </div>
  85.                             <span class="username">gopats_gc </span>
  86.                             <ul class="user-balances">
  87.                                 <li class="user-account-balance">Balance <span>$0.18</span></li>
  88.                                 <li class="user-pending-bonus-balance">Pending Bonus <span>$198.32</span></li>
  89.                                 <li class="user-fdp-balance">FDP <span>420</span></li>
  90.                             </ul>
  91.                         </section>
  92.                         <nav class="logged-in-user-navigation">
  93.                             <ul>
  94.                                 <li><a href="https://www.fanduel.com/p/MyAccount" class="link-my-account">My Account</a></li>
  95.                                 <li><a href="https://www.fanduel.com/p/AddFunds" class="link-add-funds">Add Funds</a></li>
  96.                                 <li><a href="https://www.fanduel.com/users/gopats_gc/WithdrawalRequest" class="link-withdraw">Withdraw</a></li>
  97.                                 <li><a href="https://www.fanduel.com/p/MyTransactionHistory" class="link-transaction-history">Transaction History</a></li>
  98.                                 <li><a href="https://www.fanduel.com/p/ReferralCenter" class="link-referral-center">Referral Center</a></li>
  99.                                 <li><a href="/promos2" class="link-promos">Promos</a></li>
  100.                                                                 <li><a href="https://www.fanduel.com/c/CCAuth?cc_action=cca_logout&cc_success_url=https%3A%2F%2Fwww.fanduel.com%2F&cc_failure_url=https%3A%2F%2Fwww.fanduel.com%2F" class="link-logout">Log out</a></li>
  101.                             </ul>
  102.                         </nav>
  103.                         <nav class="logged-in-user-navigation-mobile">
  104.                             <ul>
  105.                                 <li><a href="https://www.fanduel.com/p/AddFunds" class="link-add-funds">Add Funds</a></li>
  106.                                 <li><a href="https://www.fanduel.com/users/gopats_gc/WithdrawalRequest" class="link-withdraw">Withdraw</a></li>
  107.                                 <li><a href="https://www.fanduel.com/p/MyTransactionHistory" class="link-transaction-history">Transaction History</a></li>
  108.                                 <hr class="divider">
  109.                                 <li><a href="/how-it-works" class="link-how-it-works">How it Works</a></li>
  110.                                 <li><a href="/about-us" class="link-about-us">About Us</a></li>
  111.                                 <li><a href="/support" class="link-support">Support</a></li>
  112.                                 <hr class="divider">
  113.                                 <li><a href="https://www.fanduel.com/p/ReferralCenter" class="link-referral-center">Referral Center</a></li>
  114.                                 <li><a href="/promos2" class="link-promos">Promos</a></li>
  115.                                 <hr class="divider">
  116.                                                                 <li><a href="https://www.fanduel.com/c/CCAuth?cc_action=cca_logout&cc_success_url=https%3A%2F%2Fwww.fanduel.com%2F&cc_failure_url=https%3A%2F%2Fwww.fanduel.com%2F" class="link-logout">Log out</a></li>
  117.                             </ul>
  118.                         </nav>
  119.                     </div>
  120.                 </div>
  121.                                     <div class="user-balance-block">
  122.                         <span id="balance" class="user-balance">$0.18</span>
  123.                         <a href="https://www.fanduel.com/p/AddFunds" class="button primary tiny link-add-funds">Add Funds</a>
  124.                     </div>
  125.                             </section>
  126.             </div>
  127. </header>
  128.  
  129. <style>
  130.     nav.global {margin-top:0;}
  131. </style>
  132.  
  133. <!--[if lt IE 9]>
  134.     <div class="deprecated-browser-warning">
  135.         <div class="page-width">
  136.             Please upgrade to a supported browser for the best possible experience. We recommend <a href="http://chrome.google.com">Chrome</a>, <a href="http://www.mozilla.org/en-US/firefox/new/">Firefox</a> or <a href="http://windows.microsoft.com/en-US/internet-explorer/download-ie">IE 11</a>.<br />
  137.             Older browsers may not work correctly.
  138.         </div>
  139.     </div>
  140. <![endif]-->
  141. <section class="container"><div id="usermessage" class="usermessage"></div>     <script>
  142.             $(function() {
  143.                 $('#usermessage div').prepend("<a href='#close' class='close'><i class='icon close'>&#x2717;</i></a>");
  144.                 $('#usermessage a.close').on("click", function(){$(this).parent().slideToggle('550');});
  145.             });
  146.         </script>
  147.         <div id="create-contest-app" class="multi-create clearfix">
  148.     <h1 class="main-title">Create a contest</h1>
  149.     <div class="loading container">
  150.         <i class="icon loading">&#57398;</i>
  151.         <p>Loading</p>
  152.     </div>
  153. </div>
  154.  
  155. <script>
  156.     (function(window) {
  157.         if (!('FD' in window)) window.FD = {};
  158.         if (!('CreateContest' in window.FD)) window.FD.CreateContest = {};
  159.         window.FD.CreateContest.data = {
  160.             gameData: {"cbb":{"Tue Jan 13th 7:00pm ET":{"60000":{"id":"11425","title":" 60k "}}},"nba":{"Tue Jan 13th 7:00pm ET":{"60001":{"id":"11430","title":" 60k "}},"Tue Jan 13th 9:00pm ET (Late Night)":{"60003":{"id":"11431","title":" 60k "}}},"nhl":{"Tue Jan 13th 7:00pm ET":{"55002":{"id":"11433","title":" 55k "}}},"nfl":{"Sun Jan 18th 3:05pm ET":{"60004":{"id":"11429","title":" 60k "}}}},
  161.             fixtures: {"11425":["OKST @ KANS 7pm EST","VTECH @ LOUIS 7pm EST","OKLA @ WSTVA 7pm EST","PENST @ INDNA 7pm EST","MICH @ OHSTA 7pm EST","BUTLR @ STNHL 7pm EST","ARK @ TENN 7pm EST","WAKE @ SYRCS 8pm EST","CLEMS @ VIRG 8pm EST","MIAMI @ DUKE 9pm EST","GTOWN @ DPAUL 9pm EST","IOWA @ MINN 9pm EST","ALBMA @ SOCAR 9pm EST","MISSR @ KTCKY 9pm EST","MISST @ TEXAM 9pm EST","UCONN @ TULSA 9:30pm EST"],"11430":["MIN @ IND 7pm EST","ATL @ PHI 7pm EST","SA @ WAS 7pm EST","CLE @ PHO 9pm EST","GS @ UTA 9pm EST","DAL @ SAC 10pm EST","MIA @ LAL 10:30pm EST"],"11433":["COL @ CAR 7pm EST","DET @ BUF 7pm EST","MIN @ PIT 7pm EST","NYI @ NYR 7pm EST","TB @ BOS 7pm EST","VAN @ NSH 8pm EST","FLA @ WPG 8pm EST","EDM @ STL 8pm EST","OTT @ DAL 8:30pm EST","SJ @ ARI 9pm EST"],"11431":["CLE @ PHO 9pm EST","GS @ UTA 9pm EST","DAL @ SAC 10pm EST","MIA @ LAL 10:30pm EST"],"11429":["GB @ SEA 3:05pm EST","IND @ NE 6:40pm EST"]},
  162.             privateLeaguePrizeTypes: ["winner","top3","3rd"],
  163.             privateLeaguePrizeStructures: {"winner":"Winner takes all","top3":"Top 3 get prizes","3rd":"Top third get prizes"},
  164.             privateLeaguePrizes: {"winner":{"3":[1],"4":[1],"5":[1],"6":[1],"7":[1],"8":[1],"9":[1],"10":[1],"11":[1],"12":[1],"13":[1],"14":[1],"15":[1],"16":[1],"17":[1],"18":[1],"19":[1],"20":[1]},"top3":{"3":[0.62963,0.37037],"4":[0.38889,0.33333,0.27778],"5":[0.44444,0.33333,0.22222],"6":[0.48148,0.31481,0.2037],"7":[0.50794,0.31746,0.1746],"8":[0.5,0.30556,0.19444],"9":[0.49383,0.30864,0.19753],"10":[0.5,0.3,0.2],"11":[0.50505,0.30303,0.19192],"12":[0.5,0.2963,0.2037],"13":[0.50427,0.2906,0.20513],"14":[0.50794,0.28571,0.20635],"15":[0.5037,0.28889,0.20741],"16":[0.50694,0.28472,0.20833],"17":[0.5098,0.28758,0.20261],"18":[0.50617,0.2963,0.19753],"19":[0.50292,0.30409,0.19298],"20":[0.5,0.31111,0.18889]},"3rd":{"3":[1],"4":[0.72222,0.27778],"5":[0.68889,0.31111],"6":[0.66667,0.33333],"7":[0.65079,0.34921],"8":[0.5,0.30556,0.19444],"9":[0.49383,0.30864,0.19753],"10":[0.5,0.3,0.2],"11":[0.45455,0.28283,0.16162,0.10101],"12":[0.44444,0.27778,0.16667,0.11111],"13":[0.4359,0.2735,0.17094,0.11966],"14":[0.37302,0.22222,0.18254,0.14286,0.07937],"15":[0.37037,0.22222,0.18519,0.14074,0.08148],"16":[0.36806,0.22222,0.1875,0.13889,0.08333],"17":[0.3268,0.21569,0.1634,0.13072,0.09804,0.06536],"18":[0.33333,0.22222,0.16049,0.12963,0.09259,0.06173],"19":[0.33333,0.22222,0.15789,0.12865,0.09357,0.06433],"20":[0.33333,0.22222,0.15556,0.12222,0.1,0.06667]}},
  165.             h2hTableSpecs: {"1079":{"fee":1,"label":"$1 to win $1.80"},"1":{"fee":0,"label":"Free practice"},"5553":{"fee":2,"label":"$2 to win $3.60"},"2":{"fee":5,"label":"$5 to win $9.00"},"3":{"fee":10,"label":"$10 to win $18.00"},"4":{"fee":25,"label":"$25 to win $45.00"},"5":{"fee":50,"label":"$50 to win $90.00"},"370":{"fee":109,"label":"$109 to win $200.00"},"823":{"fee":270,"label":"$270 to win $500.00"},"979":{"fee":535,"label":"$535 to win $1,000.00"}},
  166.             sessionId: '4n389b5f7dmsdrkm6t6hdar280',
  167.             selectedSportId: 'nfl',
  168.             selectedPrivateLeagueSizeId: '3',
  169.             defaultH2HEntryFee: '5',
  170.             privateLeagueEntryFees: [{"fee":"0","label":"Free","isDefault":false},{"fee":"2","label":"$2","isDefault":false},{"fee":"5","label":"$5","isDefault":true},{"fee":"10","label":"$10","isDefault":false},{"fee":"25","label":"$25","isDefault":false},{"fee":"50","label":"$50","isDefault":false},{"fee":"100","label":"$100","isDefault":false}]       }
  171.     })(this);
  172. </script>
  173.  
  174. <script type="text/html" id="app-view" class="jst-template"><div class="column-12">
  175.     <h1>Create Contest</h1>
  176. </div>
  177. <div>
  178.     <div class="tab-content page-content">
  179.         <div data-subview="choose-sport-view" class="choose-sport-view column-12"></div>
  180.         <div data-subview="game-view" class="game-view column-12"></div>
  181.         <div data-subview="contest-type-view" class="contest-type-view column-12"></div>
  182.         <div data-subview="choose-public-status-view" class="choose-public-status-view column-12"></div>
  183.         <section id="create-h2h" data-subview="h2h-form-view" class="create-contest-view clearfix"></section>
  184.         <section id="create-league" data-subview="league-form-view" class="create-contest-view clearfix"></section>
  185.     </div>
  186. </div>
  187. </script><script type="text/html" id="h2h-form-view" class="jst-template"><div data-subview="h2h-choose-table-spec-view" class="h2h-choose-table-spec-view"></div>
  188. <div data-subview="h2h-submit-form-view"></div>
  189. <div data-subview="h2h-form-submit-button-view" class="h2h-form-submit-button-view clearfix"></div></script><script type="text/html" id="h2h-form-submit-button-view" class="jst-template"><div class="form-row ledger-line">
  190.     <div class="contests-total">
  191.         Total entry fee: <%= totalStaked %>
  192.     </div>
  193.     <div class="potential-winnings">
  194.         Potential winnings: <%= potentialWinnings %>
  195.     </div>
  196. </div>
  197.  
  198. <div class="form-row button-set">
  199.     <% if(count>50){ %><div class="alert">There is a limit of 50 total contests that can be created at a time.</div><% } %>
  200.     <% if(freeCount>3){ %><div class="alert">There is a limit of 3 practice contests per sport. Try a paid contest if you want to play more.</div><% } %>
  201.     <a href="<%= (count > 0 && count <= 50 && freeCount <=3) ? linkTarget : 'javascript:void(0);' %>" class="button jumbo primary select-team <%= (count > 0 && count <= 50 && freeCount <=3) ? '' : 'disabled' %>">
  202.         <%= 'Create ' + count + ' Head-to-Head' + ((count !== 1) ? 's' : '') %>
  203.     </a>
  204. </div>
  205.  
  206. <small class="helpText clear column-12" >
  207.     If your challenge is not accepted we will attempt to find you an opponent at game time.
  208. </small></script><script type="text/html" id="league-form-view" class="jst-template"><form method="post" action="<%= formAction %>">
  209.     <input type="hidden" name="cc_session_id" value="<%= sessionId %>" />
  210.     <input type="hidden" name="is_private" value="<%= isPublic ? 0 : 1 %>" />
  211.     <input type="hidden" name="game_id" value="<%= encodeURI(selectedGameId) %>" />
  212.     <div data-subview="league-choose-league-prizes-view" class="column-12 row league-choose-league-prizes-view"></div>
  213.     <div data-subview="league-choose-league-name-view" class="column-12 row"></div>
  214.     <div class="form-row button-set">
  215.         <button type="submit" class="button jumbo primary">Select Team</button>
  216.     </div>
  217. </form>
  218. </script><script type="text/html" id="choose-sport-view" class="jst-template"><div class="container form-inline">
  219.     <fieldset class="sport-view fancy-radios fancy-radios-tick form-fields">
  220.         <div class="sport-selectors">
  221.             <h2 class="form-section-title">Sport</h2>
  222.             <div class="form-section">
  223.                 <% _.each(sports, function(sport) { %>
  224.                     <div class="sport-selector">
  225.                         <label for="<%= contestType %>-spsel-<%= sport.label %>" class="boxed <%= sport.disabled ? 'disabled' : '' %> <%= sport.selected ? 'is-active' : '' %>">
  226.                             <input type="radio" name="spsel" id="<%= contestType %>-spsel-<%= sport.label %>" value="<%= sport.id %>" <%= sport.disabled ? 'disabled' : '' %> <%= sport.selected ? 'checked' : '' %> />
  227.                             <i class="icon"><%= sport.icon %></i>
  228.                             <b><%= sport.label.toUpperCase() %></b>
  229.                         </label>
  230.                     </div>
  231.                 <% }); %>
  232.             </div>
  233.         </div>
  234.     </fieldset>
  235. </div>
  236. </script><script type="text/html" id="contest-type-view" class="jst-template"><div class="form-inline contest-type-selectors">
  237.     <h5 class="form-section-title">Contest Type</h5>
  238.     <div class="form-section">
  239.         <div class="contest-type-selector">
  240.             <label class="boxed contest-type-selector-head-to-head <%= !isLeague ? 'is-active' : '' %>">
  241.                 <input type="radio" name="contest-type" <%= !isLeague ? 'checked="checked"' : '' %> value="h2h" class="contest-type-selector-head-to-head">
  242.                 <b>Head-to-Head</b>
  243.             </label>
  244.         </div>
  245.         <div class="contest-type-selector">
  246.             <label class="boxed contest-type-selector-league <%= isLeague ? 'is-active' : '' %>">
  247.                 <input type="radio" name="contest-type" <%= isLeague ? 'checked="checked"' : '' %> value="league" class="contest-type-selector-league">
  248.                 <b>League</b>
  249.             </label>
  250.         </div>
  251.     </div>
  252. </div></script><script type="text/html" id="choose-game-view" class="jst-template"><div class="container date-view">
  253.     <fieldset>
  254.         <h2 class="form-section-title"><label for="game_id">Date</label></h2>
  255.         <div class="form-section">
  256.             <select id="game_id" class="contest-timekey" name="game_id">
  257.                 <% _.each(games, function(game, index) { %>
  258.                     <option value="<%= game.id %>" <%= game.selected ? 'selected="selected"' : '' %>><%= game.label %></option>
  259.                 <% }); %>
  260.             </select>
  261.  
  262.             <div class="contest-fixtures expandable">
  263.                 <h3><a data-role="expandable-heading"></a></h3>
  264.                 <ol data-role="expandable-content">
  265.                     <% _.each(fixtures, function(fixture){ %>
  266.                         <li><%= fixture %></li>
  267.                     <% }); %>
  268.                 </ol>
  269.             </div>
  270.         </div>
  271.     </fieldset>
  272.  
  273. </div></script><script type="text/html" id="choose-public-status-view" class="jst-template"><fieldset class="form-fields">
  274.     <div class="form-row private-selectors">
  275.         <h2 class="form-section-title">Opponent</h2>
  276.         <div class="form-section">
  277.             <div class="private-selector">
  278.                 <label for="play-anyone" class="boxed <%= isPublic ? 'is-active' : '' %>">
  279.                     <input type="radio" name="is_public" id="play-anyone" value="1" <%= isPublic ? 'checked' : '' %> />
  280.                     <b>Anyone</b>
  281.                 </label>
  282.             </div>
  283.             <div class="private-selector">
  284.                 <label for="play-friends" class="boxed <%= isPublic ? '' : 'is-active' %>">
  285.                     <input type="radio" name="is_public" id="play-friends" value="0" <%= isPublic ? '' : 'checked' %> />
  286.                     <b>Friends Only</b>
  287.                 </label>
  288.             </div>
  289.  
  290.         </div>
  291.     </div>
  292. </fieldset></script><script type="text/html" id="choose-league-prizes-view" class="jst-template"><div class="league-size form-row">
  293.     <h2 class="form-section-title"><label for="minSeats">League Size</label></h2>
  294.     <div class="form-section">
  295.         <select id="minSeats" name="minSeats">
  296.             <% _.each(leagueSizes, function(leagueSize) { %>
  297.                 <option value="<%= leagueSize.id %>" <%= leagueSize.selected ? 'selected' : '' %>><%= leagueSize.label %></option>
  298.             <% }); %>
  299.         </select>
  300.     </div>
  301. </div>
  302.  
  303. <div class="entry-fee-and-prize-structure">
  304.     <div class="entry-fee form-row">
  305.         <h2 class="form-section-title"><label for="stake">Entry Fee</label></h2>
  306.         <div class="form-section">
  307.             <select id="stake" name="stake">
  308.                 <% _.each(entryFees, function(entryFee) { %>
  309.                     <option value="<%= entryFee.id %>" <%= entryFee.selected ? 'selected' : '' %>><%= entryFee.label %></option>
  310.                 <% }); %>
  311.             </select>
  312.         </div>
  313.     </div>
  314.     <div class="prize-structure form-row">
  315.         <h2 class="form-section-title"><label for="contest-league-prize-structure">Prize structure</label></h2>
  316.         <div class="form-section">
  317.             <select id="contest-league-prize-structure" name="contest-league-prize-structure" <%= isFreeLeague ? 'disabled' : '' %> >
  318.                 <% _.each(prizeStructures, function(prizeStructure) { %>
  319.                     <option value="<%= prizeStructure.id %>" <%= prizeStructure.selected ? 'selected' : '' %>><%= prizeStructure.label %></option>
  320.                 <% }); %>
  321.             </select>
  322.         </div>
  323.     </div>
  324. </div>
  325.  
  326. <div class="contest-league-prizes form-row">
  327.     <h2 class="form-section-title">Prizes</h2>
  328.  
  329.     <div class="form-section">
  330.         <% if (isFreeLeague) { %>
  331.         None
  332.         <% } else { %>
  333.         <ol class="prizes clearfix">
  334.             <% _.each(leaguePrizes, function(leaguePrize) { %>
  335.                 <li><%= leaguePrize %></li>
  336.             <% }); %>
  337.         </ol>
  338.         <% } %>
  339.     </div>
  340. </div>
  341.  
  342. <div class="hidden league-fields">
  343.     <input type="hidden" name="cc_action" value="cca_create" />
  344.     <input type="hidden" name="instructions" value="" />
  345.     <input type="hidden" name="commission" value="10" />
  346.     <input type="hidden" name="size" value="-1" />
  347.     <input type="hidden" name="maxSeats" value="-1" />
  348.     <input type="hidden" name="question" value="" />
  349.     <input type="hidden" name="ruleId" value="false" />
  350.     <input type="hidden" name="is_allowedmultipleentries" value="false" />
  351.     <textarea style="display:none" name="winnings_by_pos_json"><%= winningsByPosJSON %></textarea>
  352.     <textarea style="display:none" name="prizename_by_pos_json"></textarea>
  353. </div>
  354. </script><script type="text/html" id="choose-h2h-table-spec-view" class="jst-template"><div class="entry-fee-selectors clearfix">
  355.     <fieldset class="column-12">
  356.         <h2 class="form-section-title">Entry Fee</h2>
  357.         <div class="form-section">
  358.             <div class="entry-fee-selector-options" data-contest-type="0">
  359.                 <% stakeCollection.forEach(function(stake) { %>
  360.                     <% if(isPublic){ %>
  361.                     <div class="entry-fee-option">
  362.                         <label class="boxed <%= stake.selected ? 'is-active' : '' %>">
  363.                             <input class="h2hEFee" type="checkbox" value="<%= stake.id %>" <%= stake.selected ? 'checked' : '' %>>
  364.                             <%= stake.label %>
  365.                         </label>
  366.                         <div class="contest-quantity">
  367.                             <input data-id="<%= stake.id %>" type="number" pattern="\d*" min="1" max="<%= stake.fee ? 50 : 3 %>" value="<%= stake.count %>">
  368.                         </div>
  369.                     </div>
  370.                     <% }else{ %>
  371.                     <div class="entry-fee-option">
  372.                         <label class="boxed <%= stake.selected ? 'is-active' : '' %>">
  373.                             <input class="h2hEFee" type="radio" value="<%= stake.id %>" name="privateH2HStake" <%= stake.selected ? 'checked' : '' %>>
  374.                             <%= stake.label %>
  375.                         </label>
  376.                         <div class="contest-quantity hidden">
  377.                             <input data-id="<%= stake.id %>" type="number" pattern="\d*" min="1" max="1" value="1">
  378.                         </div>
  379.                     </div>
  380.                     <% } %>
  381.                 <% }); %>
  382.             </div>
  383.         </div>
  384.     </fieldset>
  385. </div></script><script type="text/html" id="choose-league-name-view" class="jst-template"><div class="form-row league-name">
  386.     <h2 class="form-section-title"><label class="control-label" for="title">Name your league (optional)</label></h2>
  387.     <div class="controls">
  388.         <input id="title" type="text" name="title" value="<%= leagueName %>" />
  389.     </div>
  390. </div></script>
  391. </section><footer class="global-footer">
  392.                 <div class="row">
  393.                     <nav class="footer-navigation">
  394.                         <ul>
  395.                             <li><a href="/about">About</a></li>
  396.                             <li><a href="/how-it-works">How it works</a></li>
  397.                             <li><a href="/promos">Promos</a></li>
  398.                             <li><a href="//www.fanduel.com/support">Support</a></li>
  399.                             <li><a href="/careers">Careers</a></li>
  400.                             <li><a href="/affiliates">Affiliates</a></li>
  401.                             <li><a href="/legal">Legal</a></li>
  402.                             <li><a href="/insider">FanDuel Insider</a></li>
  403.                             <li><a href="/pg/Switcher/toMobile" onclick="document.cookie='renderMode=Smartphone;path=/;domain=.fanduel.com;expires=Fri, 10 Jan 2025 09:12:35 UTC';window.location='/';return false;" class="mobile">Mobile site</a></li>
  404.                         </ul>
  405.                     </nav>
  406.                     <ul class="footer-contact-details">
  407.                         <li class="support"><a href="mailto:support@fanduel.com">support@fanduel.com</a></li>
  408.                     </ul>
  409.                 </div>
  410.                 <div class="row">
  411.                     <ul class="footer-copyright">
  412.                         <li>&copy; 2009&mdash;2014 FanDuel Inc. All Rights Reserved</li>
  413.                         <li><a href="/terms">Terms of Use</a></li>
  414.                         <li><a href="/privacy">Privacy Policy</a></li>
  415.                         <li><a href="//twitter.com/fanduel" class="social-button social-button-twitter" target="_blank"><i class="icon">&#x26b4;</i></a></li>
  416.                         <li><a href="//facebook.com/fanduel" class="social-button social-button-facebook" target="_blank"><i class="icon">&#x26b5;</i></a></li>
  417.                     </ul>
  418.                     <ul class="footer-partner-logos">
  419.                         <li class="payment-logo paypal">PayPal</li>
  420.                         <li class="payment-logo visa">Visa</li>
  421.                         <li class="payment-logo discover">Discover</li>
  422.                         <li class="payment-logo mastercard">MasterCard</li>
  423.                         <li><a href="http://www.stats.com" target="_blank" class="partner stats">STATS</a></li>
  424.                         <li><a href="http://www.fsta.org" target="_blank" class="partner fsta">FSTA</a></li>
  425.                         <li><span class="partner nbc">NBC Sports Official Partner</span></li>
  426.                     </ul>
  427.                 </div>
  428.                 <div class="row footer-company-address">
  429.                     FanDuel, Inc. New York City
  430.                 </div>
  431.             </footer>           <script type="text/javascript">
  432.                 var _adblock = true;
  433.             </script>
  434.             <script type="text/javascript" src="/scripts/advertising.js"></script>
  435.             <script type="text/javascript">
  436.                 var _gaq = _gaq || [];
  437.                 _gaq.push(['_setAccount', 'UA-3384372-6']);
  438.                 _gaq.push(['_setDomainName', 'fanduel.com']);
  439.                 _gaq.push(['_setCustomVar', 1, 'Render mode', 'Default', 3]);
  440.                 _gaq.push(['_setCustomVar', 2, 'Is a mobile device', false, 1]);
  441.                 _gaq.push(['_setCustomVar', 3, 'renderMode cookie', '', 3]);
  442.                 _gaq.push(['_setCustomVar', 4, 'AdBlocked', _adblock, 3]);
  443.                 _gaq.push(['_setCustomVar', 5, 'Navigation header style', 'new']);
  444.                 _gaq.push(['_trackPageview']);
  445.  
  446.                 (function() {
  447.                     var url;
  448.                     if (_adblock) {
  449.                         url = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  450.                     } else {
  451.                         url = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';
  452.                     }
  453.  
  454.                     var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  455.                     ga.src = url;
  456.                     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  457.                 })();
  458.             </script>
  459.         <script src="https://www.fanduel.com/scripts/compiled/core.backbone1.6d00a5aad685c05f9c85948a6f47347e.js"></script><script src="https://www.fanduel.com/scripts/compiled/core.smartphonebase.e4ed051afb898c7eaac4073a8d4fcbd5.js"></script><script src="https://www.fanduel.com/scripts/compiled/createcontest.base.f7fca8fb07163fd9c9c2033167618ca7.js"></script></body></html>
RAW Paste Data