var/cache/dev/twig/07/07c3da8434111ddef4b58492870b5eb1.php line 38

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* forms/new-sign-up.html.twig */
  14. class __TwigTemplate_b3e0ca7cfacc131f298ecfb4452a89b8 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'body' => [$this'block_body'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "base.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""forms/new-sign-up.html.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""forms/new-sign-up.html.twig"));
  38.         $this->parent $this->loadTemplate("base.html.twig""forms/new-sign-up.html.twig"1);
  39.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     // line 2
  46.     public function block_body($context, array $blocks = [])
  47.     {
  48.         $macros $this->macros;
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  53.         // line 3
  54.         echo "
  55. ";
  56.         // line 4
  57.         $this->loadTemplate("forms/new-sign-up.html.twig""forms/new-sign-up.html.twig"4"1852871478")->display($context);
  58.         
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  60.         
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  62.     }
  63.     public function getTemplateName()
  64.     {
  65.         return "forms/new-sign-up.html.twig";
  66.     }
  67.     public function isTraitable()
  68.     {
  69.         return false;
  70.     }
  71.     public function getDebugInfo()
  72.     {
  73.         return array (  71 => 4,  68 => 3,  58 => 2,  35 => 1,);
  74.     }
  75.     public function getSourceContext()
  76.     {
  77.         return new Source("{% extends \"base.html.twig\" %}
  78. {% block body %}
  79. {% embed \"1-col-sidebar.html.twig\" %}
  80. {% block column %}
  81.     {% if message %}
  82.         <div class=\"alert alert-{{ message.type }}\">
  83.         {% if message.type == 'warning' %}
  84.             <i class=\"fa fa-exclamation-triangle\"></i> 
  85.         {% elseif message.type == 'success' %}
  86.             <i class=\"fa fa-check\"></i> 
  87.         {% endif %}
  88.         {{ message.text | raw}}
  89.         </div>
  90.     {% endif %}
  91. \t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  92. \t\t{% include  \"includes/curtain-ads/rclub.html.twig\" %}
  93. \t{% endif %}
  94. \t
  95. \t{% if app.user is empty %}
  96. \t\t{# Not a user, show the user sign up form w/ Week in Roofing section #}
  97. \t\t<form method=\"post\" action=\"\">
  98. \t\t\t{# <img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/09/be-a-part-of-r-club.png\" alt=\"Be a part of R-Club\" loading='lazy'> #}
  99. \t\t\t{#<h3>3 SIGN UP OPTIONS</h3><br>#}
  100. \t\t\t<h6>{#1. #}Sign-up for an account to place a classified and to participate in the forum.</h6>
  101. \t\t\t<p>Register for an account with RoofersCoffeeShop using the form below!</p>
  102. \t\t\t
  103. \t\t\t<input type=\"hidden\" id=\"site-signup\" name=\"site-signup\" value=\"1\">
  104. \t\t\t
  105. \t\t\t<div class=\"row\">
  106. \t\t\t\t<div class=\"col-sm-6\">
  107. \t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
  108. \t\t\t\t\t\t<input
  109. \t\t\t\t\t\t\tclass=\"form-control\"
  110. \t\t\t\t\t\t\ttype=\"text\"
  111. \t\t\t\t\t\t\tname=\"lead[firstname]\"
  112. \t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  113. \t\t\t\t\t\t\tvalue=\"{{ firstname }}\"
  114. \t\t\t\t\t\t\trequired
  115. \t\t\t\t\t\t/>
  116. \t\t\t\t\t</label>\t
  117. \t\t\t\t</div>
  118. \t\t\t\t<div class=\"col-sm-6\">
  119. \t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
  120. \t\t\t\t\t\t<input
  121. \t\t\t\t\t\t\tclass=\"form-control\"
  122. \t\t\t\t\t\t\ttype=\"text\"
  123. \t\t\t\t\t\t\tname=\"lead[lastname]\"
  124. \t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  125. \t\t\t\t\t\t\tvalue=\"{{ lastname }}\"
  126. \t\t\t\t\t\t\trequired
  127. \t\t\t\t\t\t/>
  128. \t\t\t\t\t</label>
  129. \t\t\t\t</div>
  130. \t\t\t\t
  131. \t\t\t\t<div class=\"col-sm-6\">
  132. \t\t\t\t\t<label class=\"btn-block\">Your Username<span style=\"color:red\"> *</span>
  133. \t\t\t\t\t\t<input
  134. \t\t\t\t\t\t\tclass=\"form-control\"
  135. \t\t\t\t\t\t\ttype=\"text\"
  136. \t\t\t\t\t\t\tname=\"lead[username]\"
  137. \t\t\t\t\t\t\tplaceholder=\"Your Username\"
  138. \t\t\t\t\t\t\tvalue=\"{{ username }}\"
  139. \t\t\t\t\t\t\trequired
  140. \t\t\t\t\t\t/>
  141. \t\t\t\t\t</label>
  142. \t\t\t\t\t<span><i class=\"fa fa-exclamation-triangle\"></i> Username must be greater than 5 characters in length.</span>
  143. \t\t\t\t</div>
  144. \t\t\t\t<div class=\"col-sm-6\">
  145. \t\t\t\t\t<label class=\"btn-block\">Your E-mail Address<span style=\"color:red\"> *</span>
  146. \t\t\t\t\t\t<input
  147. \t\t\t\t\t\t\tclass=\"form-control\"
  148. \t\t\t\t\t\t\ttype=\"text\"
  149. \t\t\t\t\t\t\tname=\"lead[email]\"
  150. \t\t\t\t\t\t\tplaceholder=\"Your E-mail Address\"
  151. \t\t\t\t\t\t\tvalue=\"{{ email }}\"
  152. \t\t\t\t\t\t\trequired
  153. \t\t\t\t\t\t/>
  154. \t\t\t\t\t</label>
  155. \t\t\t\t</div>
  156. \t\t\t\t
  157. \t\t\t\t<div class=\"col-sm-6\">
  158. \t\t\t\t\t<label class=\"btn-block\">Your Password<span style=\"color:red\"> *</span>
  159. \t\t\t\t\t\t<input
  160. \t\t\t\t\t\t\tclass=\"form-control\"
  161. \t\t\t\t\t\t\ttype=\"password\"
  162. \t\t\t\t\t\t\tname=\"password1\"
  163. \t\t\t\t\t\t\tplaceholder=\"Your Password\"
  164. \t\t\t\t\t\t\trequired
  165. \t\t\t\t\t\t/>
  166. \t\t\t\t\t</label>
  167. \t\t\t\t</div>
  168. \t\t\t\t<div class=\"col-sm-6\">
  169. \t\t\t\t\t<label class=\"btn-block\">Confirm Password<span style=\"color:red\"> *</span>
  170. \t\t\t\t\t\t<input
  171. \t\t\t\t\t\t\tclass=\"form-control\"
  172. \t\t\t\t\t\t\ttype=\"password\"
  173. \t\t\t\t\t\t\tname=\"password2\"
  174. \t\t\t\t\t\t\tplaceholder=\"Confirm Your Password\"
  175. \t\t\t\t\t\t\trequired
  176. \t\t\t\t\t\t/>
  177. \t\t\t\t\t</label>
  178. \t\t\t\t</div>
  179. \t\t\t\t
  180. \t\t\t\t<div class=\"col-sm-6\">
  181. \t\t\t\t\t<label class=\"btn-block\">Address Line 1<span style=\"color:red\"> *</span>
  182. \t\t\t\t\t\t<input
  183. \t\t\t\t\t\t\tclass=\"form-control\"
  184. \t\t\t\t\t\t\ttype=\"text\"
  185. \t\t\t\t\t\t\tname=\"lead[address1]\"
  186. \t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
  187. \t\t\t\t\t\t\tvalue=\"{{ address1 }}\"
  188. \t\t\t\t\t\t\trequired
  189. \t\t\t\t\t\t/>
  190. \t\t\t\t\t</label>
  191. \t\t\t\t</div>
  192. \t\t\t\t<div class=\"col-sm-6\">
  193. \t\t\t\t\t<label class=\"btn-block\">Address Line 2<span style=\"color:red\"></span>
  194. \t\t\t\t\t\t<input
  195. \t\t\t\t\t\t\tclass=\"form-control\"
  196. \t\t\t\t\t\t\ttype=\"text\"
  197. \t\t\t\t\t\t\tname=\"lead[address2]\"
  198. \t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
  199. \t\t\t\t\t\t\tvalue=\"{{ address2 }}\"
  200. \t\t\t\t\t\t/>
  201. \t\t\t\t\t</label>
  202. \t\t\t\t</div>
  203. \t\t\t\t<div class=\"col-sm-6\">
  204. \t\t\t\t\t<label class=\"btn-block\">City<span style=\"color:red\"> *</span>
  205. \t\t\t\t\t\t<input
  206. \t\t\t\t\t\t\tclass=\"form-control\"
  207. \t\t\t\t\t\t\ttype=\"text\"
  208. \t\t\t\t\t\t\tname=\"lead[city]\"
  209. \t\t\t\t\t\t\tplaceholder=\"Your City\"
  210. \t\t\t\t\t\t\tvalue=\"{{ city }}\"
  211. \t\t\t\t\t\t\trequired
  212. \t\t\t\t\t\t/>
  213. \t\t\t\t\t</label>
  214. \t\t\t\t</div>
  215. \t\t\t\t<div class=\"col-sm-6\">
  216. \t\t\t\t\t<label class=\"btn-block\">State / Region<span style=\"color:red\"> *</span>
  217. \t\t\t\t\t\t<input
  218. \t\t\t\t\t\t\tclass=\"form-control\"
  219. \t\t\t\t\t\t\ttype=\"text\"
  220. \t\t\t\t\t\t\tname=\"lead[state]\"
  221. \t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
  222. \t\t\t\t\t\t\tvalue=\"{{ state }}\"
  223. \t\t\t\t\t\t\trequired
  224. \t\t\t\t\t\t/>
  225. \t\t\t\t\t</label>
  226. \t\t\t\t</div>
  227. \t\t\t\t<div class=\"col-sm-6\">
  228. \t\t\t\t\t<label class=\"btn-block\">Zip Code<span style=\"color:red\"> *</span>
  229. \t\t\t\t\t\t<input
  230. \t\t\t\t\t\t\tclass=\"form-control\"
  231. \t\t\t\t\t\t\ttype=\"text\"
  232. \t\t\t\t\t\t\tname=\"lead[zip]\"
  233. \t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
  234. \t\t\t\t\t\t\tvalue=\"{{ zip }}\"
  235. \t\t\t\t\t\t\trequired
  236. \t\t\t\t\t\t/>
  237. \t\t\t\t\t</label>
  238. \t\t\t\t</div>
  239. \t\t\t\t<div class=\"col-sm-6\" id=\"outer-company-div\" {#style=\"display:none;\"#}>
  240. \t\t\t\t\t<label class=\"btn-block\">Company<span style=\"color:red\"> *</span>
  241. \t\t\t\t\t\t<input
  242. \t\t\t\t\t\t\tclass=\"form-control\"
  243. \t\t\t\t\t\t\ttype=\"text\"
  244. \t\t\t\t\t\t\t{#name=\"lead[company_inactive]\"#}
  245. \t\t\t\t\t\t\tname=\"lead[company]\"
  246. \t\t\t\t\t\t\tplaceholder=\"Your Company\"
  247. \t\t\t\t\t\t\tvalue=\"{% if company is defined %}{{company}}{% endif %}\"
  248. \t\t\t\t\t\t\tid=\"company1\"
  249. \t\t\t\t\t\t\trequired
  250. \t\t\t\t\t\t/>
  251. \t\t\t\t\t</label>
  252. \t\t\t\t</div>
  253. \t\t\t\t
  254. \t\t\t\t<div class=\"col-sm-6\">
  255. \t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:{#<span style=\"color:red\"> *</span>#}</span>
  256. \t\t\t\t\t\t<input
  257. \t\t\t\t\t\t\ttype=\"text\"
  258. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  259. \t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
  260. \t\t\t\t\t\t\tname=\"lead[phone]\"
  261. \t\t\t\t\t\t\tvalue=\"{% if phone is defined %}{{phone}}{% endif %}\"
  262. \t\t\t\t\t\t\t{#required#}
  263. \t\t\t\t\t\t/>
  264. \t\t\t\t\t</label>
  265. \t\t\t\t</div>
  266. \t\t\t\t
  267. \t\t\t\t<div class=\"col-sm-6\">
  268. \t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  269. \t\t\t\t\t\t<select
  270. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  271. \t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  272. \t\t\t\t\t\t\trequired
  273. \t\t\t\t\t\t>
  274. \t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  275. \t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  276. \t\t\t\t\t\t<option value=\"Both\">Both</option>
  277. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  278. \t\t\t\t\t\t<option value=\"Not a Contractor\">Not a Contractor</option>
  279. \t\t\t\t\t\t</select>
  280. \t\t\t\t\t</label>
  281. \t\t\t\t</div>
  282. \t\t\t\t
  283. \t\t\t\t<div class=\"col-sm-6\">
  284. \t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  285. \t\t\t\t\t<label class=\"btn-block\">
  286. \t\t\t\t\t\t<input
  287. \t\t\t\t\t\t\ttype=\"radio\"
  288. \t\t\t\t\t\t\tname=\"lead[country]\"
  289. \t\t\t\t\t\t\tvalue=\"United States\"
  290. \t\t\t\t\t\t\tclass=\"enews-field\"
  291. \t\t\t\t\t\t\tchecked
  292. \t\t\t\t\t\t\trequired
  293. \t\t\t\t\t\t/>
  294. \t\t\t\t\t\t<span>United States</span>
  295. \t\t\t\t\t</label>
  296. \t\t\t\t\t<label class=\"btn-block\">
  297. \t\t\t\t\t\t<input
  298. \t\t\t\t\t\t\ttype=\"radio\"
  299. \t\t\t\t\t\t\tname=\"lead[country]\"
  300. \t\t\t\t\t\t\tvalue=\"Canada\"
  301. \t\t\t\t\t\t\tclass=\"enews-field\"
  302. \t\t\t\t\t\t\trequired
  303. \t\t\t\t\t\t/>
  304. \t\t\t\t\t\t<span>Canada</span>
  305. \t\t\t\t\t</label>
  306. \t\t\t\t\t<label class=\"btn-block\">
  307. \t\t\t\t\t\t<input
  308. \t\t\t\t\t\t\ttype=\"radio\"
  309. \t\t\t\t\t\t\tname=\"lead[country]\"
  310. \t\t\t\t\t\t\tvalue=\"European Countries\"
  311. \t\t\t\t\t\t\tclass=\"enews-field\"
  312. \t\t\t\t\t\t\trequired
  313. \t\t\t\t\t\t/>
  314. \t\t\t\t\t\t<span>European Countries</span>
  315. \t\t\t\t\t</label>
  316. \t\t\t\t\t<label class=\"btn-block\">
  317. \t\t\t\t\t\t<input
  318. \t\t\t\t\t\t\ttype=\"radio\"
  319. \t\t\t\t\t\t\tname=\"lead[country]\"
  320. \t\t\t\t\t\t\tvalue=\"Other\"
  321. \t\t\t\t\t\t\tclass=\"enews-field\"
  322. \t\t\t\t\t\t\trequired
  323. \t\t\t\t\t\t/>
  324. \t\t\t\t\t\t<span><input
  325. \t\t\t\t\t\t\ttype=\"text\"
  326. \t\t\t\t\t\t\tplaceholder=\"Other\"
  327. \t\t\t\t\t\t\tname=\"lead[country_other]\"
  328. \t\t\t\t\t\t\tclass=\"enews-field\"
  329. \t\t\t\t\t\t/></span>
  330. \t\t\t\t\t</label>
  331. \t\t\t\t</div>
  332. \t\t\t\t
  333. \t\t\t\t<div class=\"col-sm-6\">
  334. \t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  335. \t\t\t\t\t\t<select
  336. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  337. \t\t\t\t\t\t\tname=\"lead[business_type]\"
  338. \t\t\t\t\t\t\trequired
  339. \t\t\t\t\t\t>
  340. \t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  341. \t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  342. \t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  343. \t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  344. \t\t\t\t\t\t\t<option value=\"Other\">Other</option>
  345. \t\t\t\t\t\t</select>
  346. \t\t\t\t\t</label>
  347. \t\t\t\t</div>
  348. \t\t\t\t
  349. \t\t\t\t
  350. \t\t\t\t{#<h6>2. Add the \"Week In Roofing\" E-news</h6>#}
  351. \t\t\t\t
  352. \t\t\t\t<div class=\"col-sm-12\" {# class=\"form-check\" #} style=\"margin-top:30px;padding-left:25px;\">
  353. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" {#onclick=\"clickEnews()\"#} checked>
  354. \t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  355. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  356. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  357. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  358. \t\t\t\t\t\t\t</div>
  359. \t\t\t\t\t\t</span>
  360. \t\t\t\t\t</label>
  361. \t\t\t\t</div>
  362. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  363. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  364. \t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  365. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  366. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  367. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  368. \t\t\t\t\t\t\t</div>
  369. \t\t\t\t\t\t</span>
  370. \t\t\t\t\t</label>
  371. \t\t\t\t</div>
  372. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  373. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  374. \t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  375. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  376. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  377. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  378. \t\t\t\t\t\t\t</div>
  379. \t\t\t\t\t\t</span>
  380. \t\t\t\t\t</label>
  381. \t\t\t\t</div>
  382. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  383. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"yes\" id=\"rclub_interest\" name=\"lead_custom[rclub_interest]\">
  384. \t\t\t\t\t<label class=\"form-check-label\" for=\"rclub_interest\">
  385. \t\t\t\t\t\t<span class=\"rtooltip\">Interested in R-Club? <i class=\"fa fa-info-circle\"></i>
  386. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:165px;width:210px;padding-left:10px;\">
  387. \t\t\t\t\t\t\t\tThe most exclusive roofing contractors club in the world!
  388. \t\t\t\t\t\t\t</div>
  389. \t\t\t\t\t\t</span>
  390. \t\t\t\t\t</label>
  391. \t\t\t\t</div>
  392. \t\t\t\t
  393. \t\t\t\t
  394. \t\t\t</div>
  395. \t\t\t
  396. \t\t\t
  397. \t\t\t{#
  398. \t\t\t<div id=\"enews-fields\">
  399. \t\t\t\t<div class=\"row\">
  400. \t\t\t\t\t<div class=\"col-8\">
  401. \t\t\t\t\t\t
  402. \t\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
  403. \t\t\t\t\t\t\t<input
  404. \t\t\t\t\t\t\t\ttype=\"text\"
  405. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  406. \t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
  407. \t\t\t\t\t\t\t\tname=\"lead[company]\"
  408. \t\t\t\t\t\t\t\tid=\"company2\"
  409. \t\t\t\t\t\t\t\trequired
  410. \t\t\t\t\t\t\t/>
  411. \t\t\t\t\t\t</label>
  412. \t\t\t\t\t\t
  413. \t\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:<span style=\"color:red\"> *</span></span>
  414. \t\t\t\t\t\t\t<input
  415. \t\t\t\t\t\t\t\ttype=\"text\"
  416. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  417. \t\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
  418. \t\t\t\t\t\t\t\tname=\"lead[phone]\"
  419. \t\t\t\t\t\t\t\trequired
  420. \t\t\t\t\t\t\t/>
  421. \t\t\t\t\t\t</label>
  422. \t\t\t\t\t\t
  423. \t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  424. \t\t\t\t\t\t\t<select
  425. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  426. \t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  427. \t\t\t\t\t\t\t\trequired
  428. \t\t\t\t\t\t\t>
  429. \t\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  430. \t\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  431. \t\t\t\t\t\t\t<option value=\"Both\">Both</option>
  432. \t\t\t\t\t\t\t</select>
  433. \t\t\t\t\t\t</label>
  434. \t\t\t\t\t\t
  435. \t\t\t\t\t\t
  436. \t\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  437. \t\t\t\t\t\t<label class=\"btn-block\">
  438. \t\t\t\t\t\t\t<input
  439. \t\t\t\t\t\t\t\ttype=\"radio\"
  440. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  441. \t\t\t\t\t\t\t\tvalue=\"United States\"
  442. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  443. \t\t\t\t\t\t\t\tchecked
  444. \t\t\t\t\t\t\t\trequired
  445. \t\t\t\t\t\t\t/>
  446. \t\t\t\t\t\t\t<span>United States</span>
  447. \t\t\t\t\t\t</label>
  448. \t\t\t\t\t\t<label class=\"btn-block\">
  449. \t\t\t\t\t\t\t<input
  450. \t\t\t\t\t\t\t\ttype=\"radio\"
  451. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  452. \t\t\t\t\t\t\t\tvalue=\"Canada\"
  453. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  454. \t\t\t\t\t\t\t\trequired
  455. \t\t\t\t\t\t\t/>
  456. \t\t\t\t\t\t\t<span>Canada</span>
  457. \t\t\t\t\t\t</label>
  458. \t\t\t\t\t\t<label class=\"btn-block\">
  459. \t\t\t\t\t\t\t<input
  460. \t\t\t\t\t\t\t\ttype=\"radio\"
  461. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  462. \t\t\t\t\t\t\t\tvalue=\"European Countries\"
  463. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  464. \t\t\t\t\t\t\t\trequired
  465. \t\t\t\t\t\t\t/>
  466. \t\t\t\t\t\t\t<span>European Countries</span>
  467. \t\t\t\t\t\t</label>
  468. \t\t\t\t\t\t<label class=\"btn-block\">
  469. \t\t\t\t\t\t\t<input
  470. \t\t\t\t\t\t\t\ttype=\"radio\"
  471. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  472. \t\t\t\t\t\t\t\tvalue=\"Other\"
  473. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  474. \t\t\t\t\t\t\t\trequired
  475. \t\t\t\t\t\t\t/>
  476. \t\t\t\t\t\t\t<span><input
  477. \t\t\t\t\t\t\t\ttype=\"text\"
  478. \t\t\t\t\t\t\t\tplaceholder=\"Other\"
  479. \t\t\t\t\t\t\t\tname=\"lead[country_other]\"
  480. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  481. \t\t\t\t\t\t\t/></span>
  482. \t\t\t\t\t\t</label>
  483. \t\t\t\t\t\t
  484. \t\t\t\t\t\t
  485. \t\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  486. \t\t\t\t\t\t\t<select
  487. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  488. \t\t\t\t\t\t\t\tname=\"lead[business_type]\"
  489. \t\t\t\t\t\t\t\trequired
  490. \t\t\t\t\t\t\t>
  491. \t\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  492. \t\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  493. \t\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  494. \t\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  495. \t\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
  496. \t\t\t\t\t\t\t</select>
  497. \t\t\t\t\t\t</label>
  498. \t\t\t\t\t</div>
  499. \t\t\t\t\t
  500. \t\t\t\t\t<div class=\"col-4\">
  501. \t\t\t\t\t\t<p>We send our “<strong>Week In Roofing</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
  502. \t\t\t\t\t\t{ #<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p># }
  503. \t\t\t\t\t</div>
  504. \t\t\t\t</div>
  505. \t\t\t</div>
  506. \t\t\t#}
  507. \t\t\t
  508. \t\t\t
  509. \t\t\t
  510. \t\t\t{# Members section #}
  511. \t\t\t{#
  512. \t\t\t<br><hr><br>
  513. \t\t\t<h6>3. Sign up for complete access for all the RoofersCoffeeShop has to offer.</h6>
  514. \t\t\t{% if app.user and app.user.isMember() %}
  515. \t\t\t\t<!--Already a member. Leave blank?-->
  516. \t\t\t{% else %}
  517. \t\t\t\t<center>
  518. \t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
  519. \t\t\t\t<p>Want exclusive access?</p>
  520. \t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
  521. \t\t\t\t</center>
  522. \t\t\t\t<hr>
  523. \t\t\t{% endif %}
  524. \t\t\t#}
  525. \t\t\t
  526. \t\t\t<br><div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  527. \t\t\t<div style=\"text-align:center;\">
  528. \t\t\t\t<button
  529. \t\t\t\t\ttype=\"submit\" 
  530. \t\t\t\t\tclass=\"btn btn-secondary mt-2\"
  531. \t\t\t\t\tstyle=\"font-size: 22px;\"
  532. \t\t\t\t>Sign Up</button>
  533. \t\t\t</div>
  534. \t\t\t
  535. \t\t\t<br>
  536. \t\t\t<p>*Please check your spam folder if you don't receive an activation e-mail after several minutes. Contact us at info@rooferscoffeeshop.com if you need any additional help.</p> {#'#}
  537. \t\t\t
  538. \t\t</form>
  539. \t\t
  540. \t\t
  541. \t{% else %}
  542. \t\t{# Already a user, just show the Week in Roofing sign up #}
  543. \t\t
  544. \t\t{% set week_in = 'Roofing' %}
  545. \t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  546. \t\t\t{% set week_in = 'Metal' %}
  547. \t\t{% endif %}
  548. \t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
  549. \t\t\t{% set week_in = 'Coatings' %}
  550. \t\t{% endif %}
  551. \t\t<div class=\"row\">
  552. \t\t\t<div class=\"col-9\">
  553. \t\t\t\t<h3>Sign Up for the \"Week in {{week_in}}\"</h3>
  554. \t\t\t\t<p>Don't miss our recap of the week's best industry posts!</p>
  555. \t\t\t\t\t
  556. \t\t\t\t<form method=\"post\" class=\"py-4\">
  557. \t\t\t\t\t
  558. \t\t\t\t\t<input type=\"hidden\" id=\"enews-signup\" name=\"enews-signup\" value=\"1\">
  559. \t\t\t\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  560. \t\t\t\t\t\t<input type=\"hidden\" id=\"enews\" name=\"enews\" value=\"1\">
  561. \t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  562. \t\t\t\t\t\t<input type=\"hidden\" id=\"metal-enews\" name=\"metal-enews\" value=\"1\">
  563. \t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
  564. \t\t\t\t\t\t<input type=\"hidden\" id=\"coatings-enews\" name=\"coatings-enews\" value=\"1\">
  565. \t\t\t\t\t{% endif %}
  566. \t\t\t\t\t
  567. \t\t\t\t\t<div class=\"row\">
  568. \t\t\t\t\t<div class=\"col-sm-6\">
  569. \t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
  570. \t\t\t\t\t\t<input
  571. \t\t\t\t\t\t\ttype=\"text\"
  572. \t\t\t\t\t\t\tclass=\"form-control\"
  573. \t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  574. \t\t\t\t\t\t\tname=\"lead[firstname]\"
  575. \t\t\t\t\t\t\trequired
  576. \t\t\t\t\t\t/>
  577. \t\t\t\t\t</label>
  578. \t\t\t\t\t
  579. \t\t\t\t\t</div>
  580. \t\t\t\t\t<div class=\"col-sm-6\">
  581. \t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
  582. \t\t\t\t\t\t<input
  583. \t\t\t\t\t\t\ttype=\"text\"
  584. \t\t\t\t\t\t\tclass=\"form-control\"
  585. \t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  586. \t\t\t\t\t\t\tname=\"lead[lastname]\"
  587. \t\t\t\t\t\t\trequired
  588. \t\t\t\t\t\t/>
  589. \t\t\t\t\t</label>
  590. \t\t\t\t\t</div>
  591. \t\t\t\t\t</div>
  592. \t\t\t\t\t
  593. \t\t\t\t\t<label class=\"btn-block\"><span>Email:<span style=\"color:red\"> *</span></span>
  594. \t\t\t\t\t\t<input
  595. \t\t\t\t\t\t\ttype=\"text\"
  596. \t\t\t\t\t\t\tclass=\"form-control\"
  597. \t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
  598. \t\t\t\t\t\t\tname=\"lead[email]\"
  599. \t\t\t\t\t\t\trequired
  600. \t\t\t\t\t\t/>
  601. \t\t\t\t\t</label>
  602. \t\t\t\t\t
  603. \t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
  604. \t\t\t\t\t\t<input
  605. \t\t\t\t\t\t\ttype=\"text\"
  606. \t\t\t\t\t\t\tclass=\"form-control\"
  607. \t\t\t\t\t\t\tplaceholder=\"Your Company\"
  608. \t\t\t\t\t\t\tname=\"lead[company]\"
  609. \t\t\t\t\t\t\trequired
  610. \t\t\t\t\t\t/>
  611. \t\t\t\t\t</label>
  612. \t\t\t\t\t
  613. \t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  614. \t\t\t\t\t\t<select
  615. \t\t\t\t\t\t\tclass=\"form-control\"
  616. \t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  617. \t\t\t\t\t\t\trequired
  618. \t\t\t\t\t\t>
  619. \t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  620. \t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  621. \t\t\t\t\t\t<option value=\"Both\">Both</option>
  622. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  623. \t\t\t\t\t\t</select>
  624. \t\t\t\t\t</label>
  625. \t\t\t\t\t
  626. \t\t\t\t\t
  627. \t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  628. \t\t\t\t\t<label class=\"btn-block\">
  629. \t\t\t\t\t\t<input
  630. \t\t\t\t\t\t\ttype=\"radio\"
  631. \t\t\t\t\t\t\tname=\"lead[country]\"
  632. \t\t\t\t\t\t\tvalue=\"United States\"
  633. \t\t\t\t\t\t\tchecked
  634. \t\t\t\t\t\t\trequired
  635. \t\t\t\t\t\t/>
  636. \t\t\t\t\t\t<span>United States</span>
  637. \t\t\t\t\t</label>
  638. \t\t\t\t\t<label class=\"btn-block\">
  639. \t\t\t\t\t\t<input
  640. \t\t\t\t\t\t\ttype=\"radio\"
  641. \t\t\t\t\t\t\tname=\"lead[country]\"
  642. \t\t\t\t\t\t\tvalue=\"Canada\"
  643. \t\t\t\t\t\t\trequired
  644. \t\t\t\t\t\t/>
  645. \t\t\t\t\t\t<span>Canada</span>
  646. \t\t\t\t\t</label>
  647. \t\t\t\t\t<label class=\"btn-block\">
  648. \t\t\t\t\t\t<input
  649. \t\t\t\t\t\t\ttype=\"radio\"
  650. \t\t\t\t\t\t\tname=\"lead[country]\"
  651. \t\t\t\t\t\t\tvalue=\"European Countries\"
  652. \t\t\t\t\t\t\trequired
  653. \t\t\t\t\t\t/>
  654. \t\t\t\t\t\t<span>European Countries</span>
  655. \t\t\t\t\t</label>
  656. \t\t\t\t\t<label class=\"btn-block\">
  657. \t\t\t\t\t\t<input
  658. \t\t\t\t\t\t\ttype=\"radio\"
  659. \t\t\t\t\t\t\tname=\"lead[country]\"
  660. \t\t\t\t\t\t\tvalue=\"Other\"
  661. \t\t\t\t\t\t\trequired
  662. \t\t\t\t\t\t/>
  663. \t\t\t\t\t\t<span><input
  664. \t\t\t\t\t\t\ttype=\"text\"
  665. \t\t\t\t\t\t\tplaceholder=\"Other\"
  666. \t\t\t\t\t\t\tname=\"lead[country_other]\"
  667. \t\t\t\t\t\t/></span>
  668. \t\t\t\t\t</label>
  669. \t\t\t\t\t
  670. \t\t\t\t\t
  671. \t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  672. \t\t\t\t\t\t<select
  673. \t\t\t\t\t\t\tclass=\"form-control\"
  674. \t\t\t\t\t\t\tname=\"lead[business_type]\"
  675. \t\t\t\t\t\t\trequired
  676. \t\t\t\t\t\t>
  677. \t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  678. \t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  679. \t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  680. \t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  681. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  682. \t\t\t\t\t\t</select>
  683. \t\t\t\t\t</label>
  684. \t\t\t\t\t
  685. \t\t\t\t\t{% if week_in == 'Roofing' %}
  686. \t\t\t\t\t
  687. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  688. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  689. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  690. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  691. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  692. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  693. \t\t\t\t\t\t\t\t\t</div>
  694. \t\t\t\t\t\t\t\t</span>
  695. \t\t\t\t\t\t\t</label>
  696. \t\t\t\t\t\t</div>
  697. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  698. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  699. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  700. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  701. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  702. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  703. \t\t\t\t\t\t\t\t\t</div>
  704. \t\t\t\t\t\t\t\t</span>
  705. \t\t\t\t\t\t\t</label>
  706. \t\t\t\t\t\t</div>
  707. \t\t\t\t\t{% elseif week_in == 'Metal' %}
  708. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  709. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
  710. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  711. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  712. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  713. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  714. \t\t\t\t\t\t\t\t\t</div>
  715. \t\t\t\t\t\t\t\t</span>
  716. \t\t\t\t\t\t\t</label>
  717. \t\t\t\t\t\t</div>
  718. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  719. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  720. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  721. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  722. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  723. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  724. \t\t\t\t\t\t\t\t\t</div>
  725. \t\t\t\t\t\t\t\t</span>
  726. \t\t\t\t\t\t\t</label>
  727. \t\t\t\t\t\t</div>
  728. \t\t\t\t\t{% elseif week_in == 'Coatings' %}
  729. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  730. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
  731. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  732. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  733. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  734. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  735. \t\t\t\t\t\t\t\t\t</div>
  736. \t\t\t\t\t\t\t\t</span>
  737. \t\t\t\t\t\t\t</label>
  738. \t\t\t\t\t\t</div>
  739. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  740. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  741. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  742. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  743. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  744. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  745. \t\t\t\t\t\t\t\t\t</div>
  746. \t\t\t\t\t\t\t\t</span>
  747. \t\t\t\t\t\t\t</label>
  748. \t\t\t\t\t\t</div>
  749. \t\t\t\t\t{% endif %}
  750. \t\t\t\t\t
  751. \t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  752. \t\t\t\t\t
  753. \t\t\t\t\t<div style=\"text-align: center;\">
  754. \t\t\t\t\t<button 
  755. \t\t\t\t\t\ttype=\"submit\" 
  756. \t\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
  757. \t\t\t\t\t>Sign Up</button>
  758. \t\t\t\t\t</div>
  759. \t\t\t\t\t</form>
  760. \t\t\t\t</div>
  761. \t\t\t\t
  762. \t\t\t\t<div class=\"col-3\">
  763. \t\t\t\t\t<p><br>We send our “<strong>Week in {{week_in}}</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
  764. \t\t\t\t\t{#<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p>#}
  765. \t\t\t\t</div>
  766. \t\t\t</div>
  767. \t\t\t
  768. \t\t\t{# Members section #}
  769. \t\t\t<br><hr><br>
  770. \t\t\t{% if app.user and app.user.isMember() %}
  771. \t\t\t\t{# Already a member. Leave blank? #}
  772. \t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  773. \t\t\t\t<center>
  774. \t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
  775. \t\t\t\t<p>Want exclusive access?</p>
  776. \t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
  777. \t\t\t\t</center>
  778. \t\t\t\t<hr>
  779. \t\t\t{% endif %}
  780. \t\t
  781. \t{% endif %}
  782. \t
  783. \t
  784. \t<script>
  785. \t\t window.onload = () => {
  786. \t\t \t\$('body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form').submit((e) => {
  787. \t\t \t\tdocument.querySelector(\"body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form > button\").disabled = true
  788. \t\t \t});
  789. \t\t };
  790. \t\tfunction clickEnews() {
  791. \t\t\tvar checkBox = document.getElementById(\"enews\");
  792. \t\t\tvar enewsFields = document.getElementById(\"enews-fields\");
  793. \t\t\tif (checkBox.checked == true){
  794. \t\t\t\tenewsFields.style.display = \"block\";
  795. \t\t\t\t\$(\".enews-field\").attr('required', true);
  796. \t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"none\");
  797. \t\t\t\t\$(\"#company2\").val(\$(\"#company1\").val());
  798. \t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company_inactive]\");
  799. \t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company]\");
  800. \t\t\t} else {
  801. \t\t\t\tenewsFields.style.display = \"none\";
  802. \t\t\t\t\$(\".enews-field\").attr('required', false);
  803. \t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"block\");
  804. \t\t\t\t\$(\"#company1\").val(\$(\"#company2\").val());
  805. \t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company]\");
  806. \t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company_inactive]\");
  807. \t\t\t}
  808. \t\t}
  809. \t</script>
  810. {% endblock %}
  811. {% endembed %}
  812. {% endblock %}""forms/new-sign-up.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/new-sign-up.html.twig");
  813.     }
  814. }
  815. /* forms/new-sign-up.html.twig */
  816. class __TwigTemplate_b3e0ca7cfacc131f298ecfb4452a89b8___1852871478 extends Template
  817. {
  818.     private $source;
  819.     private $macros = [];
  820.     public function __construct(Environment $env)
  821.     {
  822.         parent::__construct($env);
  823.         $this->source $this->getSourceContext();
  824.         $this->blocks = [
  825.             'column' => [$this'block_column'],
  826.         ];
  827.     }
  828.     protected function doGetParent(array $context)
  829.     {
  830.         return "1-col-sidebar.html.twig";
  831.     }
  832.     protected function doDisplay(array $context, array $blocks = [])
  833.     {
  834.         $macros $this->macros;
  835.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  836.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""forms/new-sign-up.html.twig"));
  837.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  838.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""forms/new-sign-up.html.twig"));
  839.         $this->parent $this->loadTemplate("1-col-sidebar.html.twig""forms/new-sign-up.html.twig"4);
  840.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  841.         
  842.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  843.         
  844.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  845.     }
  846.     // line 6
  847.     public function block_column($context, array $blocks = [])
  848.     {
  849.         $macros $this->macros;
  850.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  851.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  852.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  853.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""column"));
  854.         // line 7
  855.         echo "
  856.     ";
  857.         // line 8
  858.         if ((isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'8$this->source); })())) {
  859.             // line 9
  860.             echo "        <div class=\"alert alert-";
  861.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'9$this->source); })()), "type", [], "any"falsefalsefalse9), "html"nulltrue);
  862.             echo "\">
  863.         ";
  864.             // line 10
  865.             if ((twig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'10$this->source); })()), "type", [], "any"falsefalsefalse10) == "warning")) {
  866.                 // line 11
  867.                 echo "            <i class=\"fa fa-exclamation-triangle\"></i> 
  868.         ";
  869.             } elseif ((twig_get_attribute($this->env$this->source,             // line 12
  870. (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'12$this->source); })()), "type", [], "any"falsefalsefalse12) == "success")) {
  871.                 // line 13
  872.                 echo "            <i class=\"fa fa-check\"></i> 
  873.         ";
  874.             }
  875.             // line 15
  876.             echo "        ";
  877.             echo twig_get_attribute($this->env$this->source, (isset($context["message"]) || array_key_exists("message"$context) ? $context["message"] : (function () { throw new RuntimeError('Variable "message" does not exist.'15$this->source); })()), "text", [], "any"falsefalsefalse15);
  878.             echo "
  879.         </div>
  880.     ";
  881.         }
  882.         // line 18
  883.         echo "
  884. \t";
  885.         // line 19
  886.         if (((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'19$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS"))) {
  887.             // line 20
  888.             echo "\t\t";
  889.             $this->loadTemplate("includes/curtain-ads/rclub.html.twig""forms/new-sign-up.html.twig"20)->display($context);
  890.             // line 21
  891.             echo "\t";
  892.         }
  893.         // line 22
  894.         echo "\t
  895. \t";
  896.         // line 23
  897.         if (twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'23$this->source); })()), "user", [], "any"falsefalsefalse23))) {
  898.             // line 24
  899.             echo "\t\t";
  900.             // line 25
  901.             echo "\t\t<form method=\"post\" action=\"\">
  902. \t\t\t";
  903.             // line 27
  904.             echo "\t\t\t";
  905.             // line 28
  906.             echo "\t\t\t<h6>";
  907.             echo "Sign-up for an account to place a classified and to participate in the forum.</h6>
  908. \t\t\t<p>Register for an account with RoofersCoffeeShop using the form below!</p>
  909. \t\t\t
  910. \t\t\t<input type=\"hidden\" id=\"site-signup\" name=\"site-signup\" value=\"1\">
  911. \t\t\t
  912. \t\t\t<div class=\"row\">
  913. \t\t\t\t<div class=\"col-sm-6\">
  914. \t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
  915. \t\t\t\t\t\t<input
  916. \t\t\t\t\t\t\tclass=\"form-control\"
  917. \t\t\t\t\t\t\ttype=\"text\"
  918. \t\t\t\t\t\t\tname=\"lead[firstname]\"
  919. \t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  920. \t\t\t\t\t\t\tvalue=\"";
  921.             // line 41
  922.             echo twig_escape_filter($this->env, (isset($context["firstname"]) || array_key_exists("firstname"$context) ? $context["firstname"] : (function () { throw new RuntimeError('Variable "firstname" does not exist.'41$this->source); })()), "html"nulltrue);
  923.             echo "\"
  924. \t\t\t\t\t\t\trequired
  925. \t\t\t\t\t\t/>
  926. \t\t\t\t\t</label>\t
  927. \t\t\t\t</div>
  928. \t\t\t\t<div class=\"col-sm-6\">
  929. \t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
  930. \t\t\t\t\t\t<input
  931. \t\t\t\t\t\t\tclass=\"form-control\"
  932. \t\t\t\t\t\t\ttype=\"text\"
  933. \t\t\t\t\t\t\tname=\"lead[lastname]\"
  934. \t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  935. \t\t\t\t\t\t\tvalue=\"";
  936.             // line 53
  937.             echo twig_escape_filter($this->env, (isset($context["lastname"]) || array_key_exists("lastname"$context) ? $context["lastname"] : (function () { throw new RuntimeError('Variable "lastname" does not exist.'53$this->source); })()), "html"nulltrue);
  938.             echo "\"
  939. \t\t\t\t\t\t\trequired
  940. \t\t\t\t\t\t/>
  941. \t\t\t\t\t</label>
  942. \t\t\t\t</div>
  943. \t\t\t\t
  944. \t\t\t\t<div class=\"col-sm-6\">
  945. \t\t\t\t\t<label class=\"btn-block\">Your Username<span style=\"color:red\"> *</span>
  946. \t\t\t\t\t\t<input
  947. \t\t\t\t\t\t\tclass=\"form-control\"
  948. \t\t\t\t\t\t\ttype=\"text\"
  949. \t\t\t\t\t\t\tname=\"lead[username]\"
  950. \t\t\t\t\t\t\tplaceholder=\"Your Username\"
  951. \t\t\t\t\t\t\tvalue=\"";
  952.             // line 66
  953.             echo twig_escape_filter($this->env, (isset($context["username"]) || array_key_exists("username"$context) ? $context["username"] : (function () { throw new RuntimeError('Variable "username" does not exist.'66$this->source); })()), "html"nulltrue);
  954.             echo "\"
  955. \t\t\t\t\t\t\trequired
  956. \t\t\t\t\t\t/>
  957. \t\t\t\t\t</label>
  958. \t\t\t\t\t<span><i class=\"fa fa-exclamation-triangle\"></i> Username must be greater than 5 characters in length.</span>
  959. \t\t\t\t</div>
  960. \t\t\t\t<div class=\"col-sm-6\">
  961. \t\t\t\t\t<label class=\"btn-block\">Your E-mail Address<span style=\"color:red\"> *</span>
  962. \t\t\t\t\t\t<input
  963. \t\t\t\t\t\t\tclass=\"form-control\"
  964. \t\t\t\t\t\t\ttype=\"text\"
  965. \t\t\t\t\t\t\tname=\"lead[email]\"
  966. \t\t\t\t\t\t\tplaceholder=\"Your E-mail Address\"
  967. \t\t\t\t\t\t\tvalue=\"";
  968.             // line 80
  969.             echo twig_escape_filter($this->env, (isset($context["email"]) || array_key_exists("email"$context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.'80$this->source); })()), "html"nulltrue);
  970.             echo "\"
  971. \t\t\t\t\t\t\trequired
  972. \t\t\t\t\t\t/>
  973. \t\t\t\t\t</label>
  974. \t\t\t\t</div>
  975. \t\t\t\t
  976. \t\t\t\t<div class=\"col-sm-6\">
  977. \t\t\t\t\t<label class=\"btn-block\">Your Password<span style=\"color:red\"> *</span>
  978. \t\t\t\t\t\t<input
  979. \t\t\t\t\t\t\tclass=\"form-control\"
  980. \t\t\t\t\t\t\ttype=\"password\"
  981. \t\t\t\t\t\t\tname=\"password1\"
  982. \t\t\t\t\t\t\tplaceholder=\"Your Password\"
  983. \t\t\t\t\t\t\trequired
  984. \t\t\t\t\t\t/>
  985. \t\t\t\t\t</label>
  986. \t\t\t\t</div>
  987. \t\t\t\t<div class=\"col-sm-6\">
  988. \t\t\t\t\t<label class=\"btn-block\">Confirm Password<span style=\"color:red\"> *</span>
  989. \t\t\t\t\t\t<input
  990. \t\t\t\t\t\t\tclass=\"form-control\"
  991. \t\t\t\t\t\t\ttype=\"password\"
  992. \t\t\t\t\t\t\tname=\"password2\"
  993. \t\t\t\t\t\t\tplaceholder=\"Confirm Your Password\"
  994. \t\t\t\t\t\t\trequired
  995. \t\t\t\t\t\t/>
  996. \t\t\t\t\t</label>
  997. \t\t\t\t</div>
  998. \t\t\t\t
  999. \t\t\t\t<div class=\"col-sm-6\">
  1000. \t\t\t\t\t<label class=\"btn-block\">Address Line 1<span style=\"color:red\"> *</span>
  1001. \t\t\t\t\t\t<input
  1002. \t\t\t\t\t\t\tclass=\"form-control\"
  1003. \t\t\t\t\t\t\ttype=\"text\"
  1004. \t\t\t\t\t\t\tname=\"lead[address1]\"
  1005. \t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
  1006. \t\t\t\t\t\t\tvalue=\"";
  1007.             // line 116
  1008.             echo twig_escape_filter($this->env, (isset($context["address1"]) || array_key_exists("address1"$context) ? $context["address1"] : (function () { throw new RuntimeError('Variable "address1" does not exist.'116$this->source); })()), "html"nulltrue);
  1009.             echo "\"
  1010. \t\t\t\t\t\t\trequired
  1011. \t\t\t\t\t\t/>
  1012. \t\t\t\t\t</label>
  1013. \t\t\t\t</div>
  1014. \t\t\t\t<div class=\"col-sm-6\">
  1015. \t\t\t\t\t<label class=\"btn-block\">Address Line 2<span style=\"color:red\"></span>
  1016. \t\t\t\t\t\t<input
  1017. \t\t\t\t\t\t\tclass=\"form-control\"
  1018. \t\t\t\t\t\t\ttype=\"text\"
  1019. \t\t\t\t\t\t\tname=\"lead[address2]\"
  1020. \t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
  1021. \t\t\t\t\t\t\tvalue=\"";
  1022.             // line 128
  1023.             echo twig_escape_filter($this->env, (isset($context["address2"]) || array_key_exists("address2"$context) ? $context["address2"] : (function () { throw new RuntimeError('Variable "address2" does not exist.'128$this->source); })()), "html"nulltrue);
  1024.             echo "\"
  1025. \t\t\t\t\t\t/>
  1026. \t\t\t\t\t</label>
  1027. \t\t\t\t</div>
  1028. \t\t\t\t<div class=\"col-sm-6\">
  1029. \t\t\t\t\t<label class=\"btn-block\">City<span style=\"color:red\"> *</span>
  1030. \t\t\t\t\t\t<input
  1031. \t\t\t\t\t\t\tclass=\"form-control\"
  1032. \t\t\t\t\t\t\ttype=\"text\"
  1033. \t\t\t\t\t\t\tname=\"lead[city]\"
  1034. \t\t\t\t\t\t\tplaceholder=\"Your City\"
  1035. \t\t\t\t\t\t\tvalue=\"";
  1036.             // line 139
  1037.             echo twig_escape_filter($this->env, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'139$this->source); })()), "html"nulltrue);
  1038.             echo "\"
  1039. \t\t\t\t\t\t\trequired
  1040. \t\t\t\t\t\t/>
  1041. \t\t\t\t\t</label>
  1042. \t\t\t\t</div>
  1043. \t\t\t\t<div class=\"col-sm-6\">
  1044. \t\t\t\t\t<label class=\"btn-block\">State / Region<span style=\"color:red\"> *</span>
  1045. \t\t\t\t\t\t<input
  1046. \t\t\t\t\t\t\tclass=\"form-control\"
  1047. \t\t\t\t\t\t\ttype=\"text\"
  1048. \t\t\t\t\t\t\tname=\"lead[state]\"
  1049. \t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
  1050. \t\t\t\t\t\t\tvalue=\"";
  1051.             // line 151
  1052.             echo twig_escape_filter($this->env, (isset($context["state"]) || array_key_exists("state"$context) ? $context["state"] : (function () { throw new RuntimeError('Variable "state" does not exist.'151$this->source); })()), "html"nulltrue);
  1053.             echo "\"
  1054. \t\t\t\t\t\t\trequired
  1055. \t\t\t\t\t\t/>
  1056. \t\t\t\t\t</label>
  1057. \t\t\t\t</div>
  1058. \t\t\t\t<div class=\"col-sm-6\">
  1059. \t\t\t\t\t<label class=\"btn-block\">Zip Code<span style=\"color:red\"> *</span>
  1060. \t\t\t\t\t\t<input
  1061. \t\t\t\t\t\t\tclass=\"form-control\"
  1062. \t\t\t\t\t\t\ttype=\"text\"
  1063. \t\t\t\t\t\t\tname=\"lead[zip]\"
  1064. \t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
  1065. \t\t\t\t\t\t\tvalue=\"";
  1066.             // line 163
  1067.             echo twig_escape_filter($this->env, (isset($context["zip"]) || array_key_exists("zip"$context) ? $context["zip"] : (function () { throw new RuntimeError('Variable "zip" does not exist.'163$this->source); })()), "html"nulltrue);
  1068.             echo "\"
  1069. \t\t\t\t\t\t\trequired
  1070. \t\t\t\t\t\t/>
  1071. \t\t\t\t\t</label>
  1072. \t\t\t\t</div>
  1073. \t\t\t\t<div class=\"col-sm-6\" id=\"outer-company-div\" ";
  1074.             // line 168
  1075.             echo ">
  1076. \t\t\t\t\t<label class=\"btn-block\">Company<span style=\"color:red\"> *</span>
  1077. \t\t\t\t\t\t<input
  1078. \t\t\t\t\t\t\tclass=\"form-control\"
  1079. \t\t\t\t\t\t\ttype=\"text\"
  1080. \t\t\t\t\t\t\t";
  1081.             // line 174
  1082.             echo "\t\t\t\t\t\t\tname=\"lead[company]\"
  1083. \t\t\t\t\t\t\tplaceholder=\"Your Company\"
  1084. \t\t\t\t\t\t\tvalue=\"";
  1085.             // line 176
  1086.             if (array_key_exists("company"$context)) {
  1087.                 echo twig_escape_filter($this->env, (isset($context["company"]) || array_key_exists("company"$context) ? $context["company"] : (function () { throw new RuntimeError('Variable "company" does not exist.'176$this->source); })()), "html"nulltrue);
  1088.             }
  1089.             echo "\"
  1090. \t\t\t\t\t\t\tid=\"company1\"
  1091. \t\t\t\t\t\t\trequired
  1092. \t\t\t\t\t\t/>
  1093. \t\t\t\t\t</label>
  1094. \t\t\t\t</div>
  1095. \t\t\t\t
  1096. \t\t\t\t<div class=\"col-sm-6\">
  1097. \t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:";
  1098.             // line 184
  1099.             echo "</span>
  1100. \t\t\t\t\t\t<input
  1101. \t\t\t\t\t\t\ttype=\"text\"
  1102. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1103. \t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
  1104. \t\t\t\t\t\t\tname=\"lead[phone]\"
  1105. \t\t\t\t\t\t\tvalue=\"";
  1106.             // line 190
  1107.             if (array_key_exists("phone"$context)) {
  1108.                 echo twig_escape_filter($this->env, (isset($context["phone"]) || array_key_exists("phone"$context) ? $context["phone"] : (function () { throw new RuntimeError('Variable "phone" does not exist.'190$this->source); })()), "html"nulltrue);
  1109.             }
  1110.             echo "\"
  1111. \t\t\t\t\t\t\t";
  1112.             // line 192
  1113.             echo "\t\t\t\t\t\t/>
  1114. \t\t\t\t\t</label>
  1115. \t\t\t\t</div>
  1116. \t\t\t\t
  1117. \t\t\t\t<div class=\"col-sm-6\">
  1118. \t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  1119. \t\t\t\t\t\t<select
  1120. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1121. \t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1122. \t\t\t\t\t\t\trequired
  1123. \t\t\t\t\t\t>
  1124. \t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  1125. \t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  1126. \t\t\t\t\t\t<option value=\"Both\">Both</option>
  1127. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  1128. \t\t\t\t\t\t<option value=\"Not a Contractor\">Not a Contractor</option>
  1129. \t\t\t\t\t\t</select>
  1130. \t\t\t\t\t</label>
  1131. \t\t\t\t</div>
  1132. \t\t\t\t
  1133. \t\t\t\t<div class=\"col-sm-6\">
  1134. \t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  1135. \t\t\t\t\t<label class=\"btn-block\">
  1136. \t\t\t\t\t\t<input
  1137. \t\t\t\t\t\t\ttype=\"radio\"
  1138. \t\t\t\t\t\t\tname=\"lead[country]\"
  1139. \t\t\t\t\t\t\tvalue=\"United States\"
  1140. \t\t\t\t\t\t\tclass=\"enews-field\"
  1141. \t\t\t\t\t\t\tchecked
  1142. \t\t\t\t\t\t\trequired
  1143. \t\t\t\t\t\t/>
  1144. \t\t\t\t\t\t<span>United States</span>
  1145. \t\t\t\t\t</label>
  1146. \t\t\t\t\t<label class=\"btn-block\">
  1147. \t\t\t\t\t\t<input
  1148. \t\t\t\t\t\t\ttype=\"radio\"
  1149. \t\t\t\t\t\t\tname=\"lead[country]\"
  1150. \t\t\t\t\t\t\tvalue=\"Canada\"
  1151. \t\t\t\t\t\t\tclass=\"enews-field\"
  1152. \t\t\t\t\t\t\trequired
  1153. \t\t\t\t\t\t/>
  1154. \t\t\t\t\t\t<span>Canada</span>
  1155. \t\t\t\t\t</label>
  1156. \t\t\t\t\t<label class=\"btn-block\">
  1157. \t\t\t\t\t\t<input
  1158. \t\t\t\t\t\t\ttype=\"radio\"
  1159. \t\t\t\t\t\t\tname=\"lead[country]\"
  1160. \t\t\t\t\t\t\tvalue=\"European Countries\"
  1161. \t\t\t\t\t\t\tclass=\"enews-field\"
  1162. \t\t\t\t\t\t\trequired
  1163. \t\t\t\t\t\t/>
  1164. \t\t\t\t\t\t<span>European Countries</span>
  1165. \t\t\t\t\t</label>
  1166. \t\t\t\t\t<label class=\"btn-block\">
  1167. \t\t\t\t\t\t<input
  1168. \t\t\t\t\t\t\ttype=\"radio\"
  1169. \t\t\t\t\t\t\tname=\"lead[country]\"
  1170. \t\t\t\t\t\t\tvalue=\"Other\"
  1171. \t\t\t\t\t\t\tclass=\"enews-field\"
  1172. \t\t\t\t\t\t\trequired
  1173. \t\t\t\t\t\t/>
  1174. \t\t\t\t\t\t<span><input
  1175. \t\t\t\t\t\t\ttype=\"text\"
  1176. \t\t\t\t\t\t\tplaceholder=\"Other\"
  1177. \t\t\t\t\t\t\tname=\"lead[country_other]\"
  1178. \t\t\t\t\t\t\tclass=\"enews-field\"
  1179. \t\t\t\t\t\t/></span>
  1180. \t\t\t\t\t</label>
  1181. \t\t\t\t</div>
  1182. \t\t\t\t
  1183. \t\t\t\t<div class=\"col-sm-6\">
  1184. \t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  1185. \t\t\t\t\t\t<select
  1186. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1187. \t\t\t\t\t\t\tname=\"lead[business_type]\"
  1188. \t\t\t\t\t\t\trequired
  1189. \t\t\t\t\t\t>
  1190. \t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  1191. \t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  1192. \t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  1193. \t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  1194. \t\t\t\t\t\t\t<option value=\"Other\">Other</option>
  1195. \t\t\t\t\t\t</select>
  1196. \t\t\t\t\t</label>
  1197. \t\t\t\t</div>
  1198. \t\t\t\t
  1199. \t\t\t\t
  1200. \t\t\t\t";
  1201.             // line 280
  1202.             echo "\t\t\t\t
  1203. \t\t\t\t<div class=\"col-sm-12\" ";
  1204.             // line 281
  1205.             echo " style=\"margin-top:30px;padding-left:25px;\">
  1206. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" ";
  1207.             // line 282
  1208.             echo " checked>
  1209. \t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  1210. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  1211. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1212. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  1213. \t\t\t\t\t\t\t</div>
  1214. \t\t\t\t\t\t</span>
  1215. \t\t\t\t\t</label>
  1216. \t\t\t\t</div>
  1217. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  1218. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  1219. \t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  1220. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  1221. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1222. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  1223. \t\t\t\t\t\t\t</div>
  1224. \t\t\t\t\t\t</span>
  1225. \t\t\t\t\t</label>
  1226. \t\t\t\t</div>
  1227. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  1228. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  1229. \t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  1230. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  1231. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1232. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  1233. \t\t\t\t\t\t\t</div>
  1234. \t\t\t\t\t\t</span>
  1235. \t\t\t\t\t</label>
  1236. \t\t\t\t</div>
  1237. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  1238. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"yes\" id=\"rclub_interest\" name=\"lead_custom[rclub_interest]\">
  1239. \t\t\t\t\t<label class=\"form-check-label\" for=\"rclub_interest\">
  1240. \t\t\t\t\t\t<span class=\"rtooltip\">Interested in R-Club? <i class=\"fa fa-info-circle\"></i>
  1241. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:165px;width:210px;padding-left:10px;\">
  1242. \t\t\t\t\t\t\t\tThe most exclusive roofing contractors club in the world!
  1243. \t\t\t\t\t\t\t</div>
  1244. \t\t\t\t\t\t</span>
  1245. \t\t\t\t\t</label>
  1246. \t\t\t\t</div>
  1247. \t\t\t\t
  1248. \t\t\t\t
  1249. \t\t\t</div>
  1250. \t\t\t
  1251. \t\t\t
  1252. \t\t\t";
  1253.             // line 439
  1254.             echo "\t\t\t
  1255. \t\t\t
  1256. \t\t\t
  1257. \t\t\t";
  1258.             // line 443
  1259.             echo "\t\t\t";
  1260.             // line 457
  1261.             echo "\t\t\t
  1262. \t\t\t<br><div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  1263. \t\t\t<div style=\"text-align:center;\">
  1264. \t\t\t\t<button
  1265. \t\t\t\t\ttype=\"submit\" 
  1266. \t\t\t\t\tclass=\"btn btn-secondary mt-2\"
  1267. \t\t\t\t\tstyle=\"font-size: 22px;\"
  1268. \t\t\t\t>Sign Up</button>
  1269. \t\t\t</div>
  1270. \t\t\t
  1271. \t\t\t<br>
  1272. \t\t\t<p>*Please check your spam folder if you don't receive an activation e-mail after several minutes. Contact us at info@rooferscoffeeshop.com if you need any additional help.</p> ";
  1273.             // line 469
  1274.             echo "\t\t\t
  1275. \t\t</form>
  1276. \t\t
  1277. \t\t
  1278. \t";
  1279.         } else {
  1280.             // line 474
  1281.             echo "\t\t";
  1282.             // line 475
  1283.             echo "\t\t
  1284. \t\t";
  1285.             // line 476
  1286.             $context["week_in"] = "Roofing";
  1287.             // line 477
  1288.             echo "\t\t";
  1289.             if ((array_key_exists("site_code"$context) && ((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'477$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_MCS")))) {
  1290.                 // line 478
  1291.                 echo "\t\t\t";
  1292.                 $context["week_in"] = "Metal";
  1293.                 // line 479
  1294.                 echo "\t\t";
  1295.             }
  1296.             // line 480
  1297.             echo "\t\t";
  1298.             if ((array_key_exists("site_code"$context) && ((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'480$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_CCS")))) {
  1299.                 // line 481
  1300.                 echo "\t\t\t";
  1301.                 $context["week_in"] = "Coatings";
  1302.                 // line 482
  1303.                 echo "\t\t";
  1304.             }
  1305.             // line 483
  1306.             echo "
  1307. \t\t<div class=\"row\">
  1308. \t\t\t<div class=\"col-9\">
  1309. \t\t\t\t<h3>Sign Up for the \"Week in ";
  1310.             // line 486
  1311.             echo twig_escape_filter($this->env, (isset($context["week_in"]) || array_key_exists("week_in"$context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.'486$this->source); })()), "html"nulltrue);
  1312.             echo "\"</h3>
  1313. \t\t\t\t<p>Don't miss our recap of the week's best industry posts!</p>
  1314. \t\t\t\t\t
  1315. \t\t\t\t<form method=\"post\" class=\"py-4\">
  1316. \t\t\t\t\t
  1317. \t\t\t\t\t<input type=\"hidden\" id=\"enews-signup\" name=\"enews-signup\" value=\"1\">
  1318. \t\t\t\t\t";
  1319.             // line 493
  1320.             if ((array_key_exists("site_code"$context) && ((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'493$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS")))) {
  1321.                 // line 494
  1322.                 echo "\t\t\t\t\t\t<input type=\"hidden\" id=\"enews\" name=\"enews\" value=\"1\">
  1323. \t\t\t\t\t";
  1324.             } elseif ((            // line 495
  1325. array_key_exists("site_code"$context) && ((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'495$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_MCS")))) {
  1326.                 // line 496
  1327.                 echo "\t\t\t\t\t\t<input type=\"hidden\" id=\"metal-enews\" name=\"metal-enews\" value=\"1\">
  1328. \t\t\t\t\t";
  1329.             } elseif ((            // line 497
  1330. array_key_exists("site_code"$context) && ((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'497$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_CCS")))) {
  1331.                 // line 498
  1332.                 echo "\t\t\t\t\t\t<input type=\"hidden\" id=\"coatings-enews\" name=\"coatings-enews\" value=\"1\">
  1333. \t\t\t\t\t";
  1334.             }
  1335.             // line 500
  1336.             echo "\t\t\t\t\t
  1337. \t\t\t\t\t<div class=\"row\">
  1338. \t\t\t\t\t<div class=\"col-sm-6\">
  1339. \t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
  1340. \t\t\t\t\t\t<input
  1341. \t\t\t\t\t\t\ttype=\"text\"
  1342. \t\t\t\t\t\t\tclass=\"form-control\"
  1343. \t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  1344. \t\t\t\t\t\t\tname=\"lead[firstname]\"
  1345. \t\t\t\t\t\t\trequired
  1346. \t\t\t\t\t\t/>
  1347. \t\t\t\t\t</label>
  1348. \t\t\t\t\t
  1349. \t\t\t\t\t</div>
  1350. \t\t\t\t\t<div class=\"col-sm-6\">
  1351. \t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
  1352. \t\t\t\t\t\t<input
  1353. \t\t\t\t\t\t\ttype=\"text\"
  1354. \t\t\t\t\t\t\tclass=\"form-control\"
  1355. \t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  1356. \t\t\t\t\t\t\tname=\"lead[lastname]\"
  1357. \t\t\t\t\t\t\trequired
  1358. \t\t\t\t\t\t/>
  1359. \t\t\t\t\t</label>
  1360. \t\t\t\t\t</div>
  1361. \t\t\t\t\t</div>
  1362. \t\t\t\t\t
  1363. \t\t\t\t\t<label class=\"btn-block\"><span>Email:<span style=\"color:red\"> *</span></span>
  1364. \t\t\t\t\t\t<input
  1365. \t\t\t\t\t\t\ttype=\"text\"
  1366. \t\t\t\t\t\t\tclass=\"form-control\"
  1367. \t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
  1368. \t\t\t\t\t\t\tname=\"lead[email]\"
  1369. \t\t\t\t\t\t\trequired
  1370. \t\t\t\t\t\t/>
  1371. \t\t\t\t\t</label>
  1372. \t\t\t\t\t
  1373. \t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
  1374. \t\t\t\t\t\t<input
  1375. \t\t\t\t\t\t\ttype=\"text\"
  1376. \t\t\t\t\t\t\tclass=\"form-control\"
  1377. \t\t\t\t\t\t\tplaceholder=\"Your Company\"
  1378. \t\t\t\t\t\t\tname=\"lead[company]\"
  1379. \t\t\t\t\t\t\trequired
  1380. \t\t\t\t\t\t/>
  1381. \t\t\t\t\t</label>
  1382. \t\t\t\t\t
  1383. \t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  1384. \t\t\t\t\t\t<select
  1385. \t\t\t\t\t\t\tclass=\"form-control\"
  1386. \t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1387. \t\t\t\t\t\t\trequired
  1388. \t\t\t\t\t\t>
  1389. \t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  1390. \t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  1391. \t\t\t\t\t\t<option value=\"Both\">Both</option>
  1392. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  1393. \t\t\t\t\t\t</select>
  1394. \t\t\t\t\t</label>
  1395. \t\t\t\t\t
  1396. \t\t\t\t\t
  1397. \t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  1398. \t\t\t\t\t<label class=\"btn-block\">
  1399. \t\t\t\t\t\t<input
  1400. \t\t\t\t\t\t\ttype=\"radio\"
  1401. \t\t\t\t\t\t\tname=\"lead[country]\"
  1402. \t\t\t\t\t\t\tvalue=\"United States\"
  1403. \t\t\t\t\t\t\tchecked
  1404. \t\t\t\t\t\t\trequired
  1405. \t\t\t\t\t\t/>
  1406. \t\t\t\t\t\t<span>United States</span>
  1407. \t\t\t\t\t</label>
  1408. \t\t\t\t\t<label class=\"btn-block\">
  1409. \t\t\t\t\t\t<input
  1410. \t\t\t\t\t\t\ttype=\"radio\"
  1411. \t\t\t\t\t\t\tname=\"lead[country]\"
  1412. \t\t\t\t\t\t\tvalue=\"Canada\"
  1413. \t\t\t\t\t\t\trequired
  1414. \t\t\t\t\t\t/>
  1415. \t\t\t\t\t\t<span>Canada</span>
  1416. \t\t\t\t\t</label>
  1417. \t\t\t\t\t<label class=\"btn-block\">
  1418. \t\t\t\t\t\t<input
  1419. \t\t\t\t\t\t\ttype=\"radio\"
  1420. \t\t\t\t\t\t\tname=\"lead[country]\"
  1421. \t\t\t\t\t\t\tvalue=\"European Countries\"
  1422. \t\t\t\t\t\t\trequired
  1423. \t\t\t\t\t\t/>
  1424. \t\t\t\t\t\t<span>European Countries</span>
  1425. \t\t\t\t\t</label>
  1426. \t\t\t\t\t<label class=\"btn-block\">
  1427. \t\t\t\t\t\t<input
  1428. \t\t\t\t\t\t\ttype=\"radio\"
  1429. \t\t\t\t\t\t\tname=\"lead[country]\"
  1430. \t\t\t\t\t\t\tvalue=\"Other\"
  1431. \t\t\t\t\t\t\trequired
  1432. \t\t\t\t\t\t/>
  1433. \t\t\t\t\t\t<span><input
  1434. \t\t\t\t\t\t\ttype=\"text\"
  1435. \t\t\t\t\t\t\tplaceholder=\"Other\"
  1436. \t\t\t\t\t\t\tname=\"lead[country_other]\"
  1437. \t\t\t\t\t\t/></span>
  1438. \t\t\t\t\t</label>
  1439. \t\t\t\t\t
  1440. \t\t\t\t\t
  1441. \t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  1442. \t\t\t\t\t\t<select
  1443. \t\t\t\t\t\t\tclass=\"form-control\"
  1444. \t\t\t\t\t\t\tname=\"lead[business_type]\"
  1445. \t\t\t\t\t\t\trequired
  1446. \t\t\t\t\t\t>
  1447. \t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  1448. \t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  1449. \t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  1450. \t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  1451. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  1452. \t\t\t\t\t\t</select>
  1453. \t\t\t\t\t</label>
  1454. \t\t\t\t\t
  1455. \t\t\t\t\t";
  1456.             // line 619
  1457.             if (((isset($context["week_in"]) || array_key_exists("week_in"$context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.'619$this->source); })()) == "Roofing")) {
  1458.                 // line 620
  1459.                 echo "\t\t\t\t\t
  1460. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  1461. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  1462. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  1463. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  1464. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1465. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  1466. \t\t\t\t\t\t\t\t\t</div>
  1467. \t\t\t\t\t\t\t\t</span>
  1468. \t\t\t\t\t\t\t</label>
  1469. \t\t\t\t\t\t</div>
  1470. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  1471. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  1472. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  1473. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  1474. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1475. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  1476. \t\t\t\t\t\t\t\t\t</div>
  1477. \t\t\t\t\t\t\t\t</span>
  1478. \t\t\t\t\t\t\t</label>
  1479. \t\t\t\t\t\t</div>
  1480. \t\t\t\t\t";
  1481.             } elseif ((            // line 643
  1482. (isset($context["week_in"]) || array_key_exists("week_in"$context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.'643$this->source); })()) == "Metal")) {
  1483.                 // line 644
  1484.                 echo "
  1485. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  1486. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
  1487. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  1488. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  1489. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1490. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  1491. \t\t\t\t\t\t\t\t\t</div>
  1492. \t\t\t\t\t\t\t\t</span>
  1493. \t\t\t\t\t\t\t</label>
  1494. \t\t\t\t\t\t</div>
  1495. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  1496. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  1497. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  1498. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  1499. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1500. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  1501. \t\t\t\t\t\t\t\t\t</div>
  1502. \t\t\t\t\t\t\t\t</span>
  1503. \t\t\t\t\t\t\t</label>
  1504. \t\t\t\t\t\t</div>
  1505. \t\t\t\t\t";
  1506.             } elseif ((            // line 667
  1507. (isset($context["week_in"]) || array_key_exists("week_in"$context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.'667$this->source); })()) == "Coatings")) {
  1508.                 // line 668
  1509.                 echo "
  1510. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  1511. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
  1512. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  1513. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  1514. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1515. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  1516. \t\t\t\t\t\t\t\t\t</div>
  1517. \t\t\t\t\t\t\t\t</span>
  1518. \t\t\t\t\t\t\t</label>
  1519. \t\t\t\t\t\t</div>
  1520. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  1521. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  1522. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  1523. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  1524. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1525. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  1526. \t\t\t\t\t\t\t\t\t</div>
  1527. \t\t\t\t\t\t\t\t</span>
  1528. \t\t\t\t\t\t\t</label>
  1529. \t\t\t\t\t\t</div>
  1530. \t\t\t\t\t";
  1531.             }
  1532.             // line 692
  1533.             echo "\t\t\t\t\t
  1534. \t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  1535. \t\t\t\t\t
  1536. \t\t\t\t\t<div style=\"text-align: center;\">
  1537. \t\t\t\t\t<button 
  1538. \t\t\t\t\t\ttype=\"submit\" 
  1539. \t\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
  1540. \t\t\t\t\t>Sign Up</button>
  1541. \t\t\t\t\t</div>
  1542. \t\t\t\t\t</form>
  1543. \t\t\t\t</div>
  1544. \t\t\t\t
  1545. \t\t\t\t<div class=\"col-3\">
  1546. \t\t\t\t\t<p><br>We send our “<strong>Week in ";
  1547.             // line 705
  1548.             echo twig_escape_filter($this->env, (isset($context["week_in"]) || array_key_exists("week_in"$context) ? $context["week_in"] : (function () { throw new RuntimeError('Variable "week_in" does not exist.'705$this->source); })()), "html"nulltrue);
  1549.             echo "</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
  1550. \t\t\t\t\t";
  1551.             // line 707
  1552.             echo "\t\t\t\t</div>
  1553. \t\t\t</div>
  1554. \t\t\t
  1555. \t\t\t";
  1556.             // line 711
  1557.             echo "\t\t\t<br><hr><br>
  1558. \t\t\t";
  1559.             // line 712
  1560.             if ((twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'712$this->source); })()), "user", [], "any"falsefalsefalse712) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'712$this->source); })()), "user", [], "any"falsefalsefalse712), "isMember", [], "method"falsefalsefalse712))) {
  1561.                 // line 713
  1562.                 echo "\t\t\t\t";
  1563.                 // line 714
  1564.                 echo "\t\t\t";
  1565.             } elseif ((array_key_exists("site_code"$context) && ((isset($context["site_code"]) || array_key_exists("site_code"$context) ? $context["site_code"] : (function () { throw new RuntimeError('Variable "site_code" does not exist.'714$this->source); })()) == twig_constant("App\\Entity\\Content::SITE_RCS")))) {
  1566.                 // line 715
  1567.                 echo "\t\t\t\t<center>
  1568. \t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
  1569. \t\t\t\t<p>Want exclusive access?</p>
  1570. \t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
  1571. \t\t\t\t</center>
  1572. \t\t\t\t<hr>
  1573. \t\t\t";
  1574.             }
  1575.             // line 722
  1576.             echo "\t\t
  1577. \t";
  1578.         }
  1579.         // line 724
  1580.         echo "\t
  1581. \t
  1582. \t<script>
  1583. \t\t window.onload = () => {
  1584. \t\t \t\$('body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form').submit((e) => {
  1585. \t\t \t\tdocument.querySelector(\"body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form > button\").disabled = true
  1586. \t\t \t});
  1587. \t\t };
  1588. \t\tfunction clickEnews() {
  1589. \t\t\tvar checkBox = document.getElementById(\"enews\");
  1590. \t\t\tvar enewsFields = document.getElementById(\"enews-fields\");
  1591. \t\t\tif (checkBox.checked == true){
  1592. \t\t\t\tenewsFields.style.display = \"block\";
  1593. \t\t\t\t\$(\".enews-field\").attr('required', true);
  1594. \t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"none\");
  1595. \t\t\t\t\$(\"#company2\").val(\$(\"#company1\").val());
  1596. \t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company_inactive]\");
  1597. \t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company]\");
  1598. \t\t\t} else {
  1599. \t\t\t\tenewsFields.style.display = \"none\";
  1600. \t\t\t\t\$(\".enews-field\").attr('required', false);
  1601. \t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"block\");
  1602. \t\t\t\t\$(\"#company1\").val(\$(\"#company2\").val());
  1603. \t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company]\");
  1604. \t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company_inactive]\");
  1605. \t\t\t}
  1606. \t\t}
  1607. \t</script>
  1608. ";
  1609.         
  1610.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1611.         
  1612.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1613.     }
  1614.     public function getTemplateName()
  1615.     {
  1616.         return "forms/new-sign-up.html.twig";
  1617.     }
  1618.     public function isTraitable()
  1619.     {
  1620.         return false;
  1621.     }
  1622.     public function getDebugInfo()
  1623.     {
  1624.         return array (  1647 => 724,  1643 => 722,  1634 => 715,  1631 => 714,  1629 => 713,  1627 => 712,  1624 => 711,  1619 => 707,  1615 => 705,  1600 => 692,  1574 => 668,  1572 => 667,  1547 => 644,  1545 => 643,  1520 => 620,  1518 => 619,  1397 => 500,  1393 => 498,  1391 => 497,  1388 => 496,  1386 => 495,  1383 => 494,  1381 => 493,  1371 => 486,  1366 => 483,  1363 => 482,  1360 => 481,  1357 => 480,  1354 => 479,  1351 => 478,  1348 => 477,  1346 => 476,  1343 => 475,  1341 => 474,  1334 => 469,  1321 => 457,  1319 => 443,  1314 => 439,  1265 => 282,  1262 => 281,  1259 => 280,  1170 => 192,  1164 => 190,  1156 => 184,  1143 => 176,  1139 => 174,  1132 => 168,  1124 => 163,  1109 => 151,  1094 => 139,  1080 => 128,  1065 => 116,  1026 => 80,  1009 => 66,  993 => 53,  978 => 41,  962 => 28,  960 => 27,  957 => 25,  955 => 24,  953 => 23,  950 => 22,  947 => 21,  944 => 20,  942 => 19,  939 => 18,  932 => 15,  928 => 13,  926 => 12,  923 => 11,  921 => 10,  916 => 9,  914 => 8,  911 => 7,  901 => 6,  71 => 4,  68 => 3,  58 => 2,  35 => 1,);
  1625.     }
  1626.     public function getSourceContext()
  1627.     {
  1628.         return new Source("{% extends \"base.html.twig\" %}
  1629. {% block body %}
  1630. {% embed \"1-col-sidebar.html.twig\" %}
  1631. {% block column %}
  1632.     {% if message %}
  1633.         <div class=\"alert alert-{{ message.type }}\">
  1634.         {% if message.type == 'warning' %}
  1635.             <i class=\"fa fa-exclamation-triangle\"></i> 
  1636.         {% elseif message.type == 'success' %}
  1637.             <i class=\"fa fa-check\"></i> 
  1638.         {% endif %}
  1639.         {{ message.text | raw}}
  1640.         </div>
  1641.     {% endif %}
  1642. \t{% if site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  1643. \t\t{% include  \"includes/curtain-ads/rclub.html.twig\" %}
  1644. \t{% endif %}
  1645. \t
  1646. \t{% if app.user is empty %}
  1647. \t\t{# Not a user, show the user sign up form w/ Week in Roofing section #}
  1648. \t\t<form method=\"post\" action=\"\">
  1649. \t\t\t{# <img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/09/be-a-part-of-r-club.png\" alt=\"Be a part of R-Club\" loading='lazy'> #}
  1650. \t\t\t{#<h3>3 SIGN UP OPTIONS</h3><br>#}
  1651. \t\t\t<h6>{#1. #}Sign-up for an account to place a classified and to participate in the forum.</h6>
  1652. \t\t\t<p>Register for an account with RoofersCoffeeShop using the form below!</p>
  1653. \t\t\t
  1654. \t\t\t<input type=\"hidden\" id=\"site-signup\" name=\"site-signup\" value=\"1\">
  1655. \t\t\t
  1656. \t\t\t<div class=\"row\">
  1657. \t\t\t\t<div class=\"col-sm-6\">
  1658. \t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
  1659. \t\t\t\t\t\t<input
  1660. \t\t\t\t\t\t\tclass=\"form-control\"
  1661. \t\t\t\t\t\t\ttype=\"text\"
  1662. \t\t\t\t\t\t\tname=\"lead[firstname]\"
  1663. \t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  1664. \t\t\t\t\t\t\tvalue=\"{{ firstname }}\"
  1665. \t\t\t\t\t\t\trequired
  1666. \t\t\t\t\t\t/>
  1667. \t\t\t\t\t</label>\t
  1668. \t\t\t\t</div>
  1669. \t\t\t\t<div class=\"col-sm-6\">
  1670. \t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
  1671. \t\t\t\t\t\t<input
  1672. \t\t\t\t\t\t\tclass=\"form-control\"
  1673. \t\t\t\t\t\t\ttype=\"text\"
  1674. \t\t\t\t\t\t\tname=\"lead[lastname]\"
  1675. \t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  1676. \t\t\t\t\t\t\tvalue=\"{{ lastname }}\"
  1677. \t\t\t\t\t\t\trequired
  1678. \t\t\t\t\t\t/>
  1679. \t\t\t\t\t</label>
  1680. \t\t\t\t</div>
  1681. \t\t\t\t
  1682. \t\t\t\t<div class=\"col-sm-6\">
  1683. \t\t\t\t\t<label class=\"btn-block\">Your Username<span style=\"color:red\"> *</span>
  1684. \t\t\t\t\t\t<input
  1685. \t\t\t\t\t\t\tclass=\"form-control\"
  1686. \t\t\t\t\t\t\ttype=\"text\"
  1687. \t\t\t\t\t\t\tname=\"lead[username]\"
  1688. \t\t\t\t\t\t\tplaceholder=\"Your Username\"
  1689. \t\t\t\t\t\t\tvalue=\"{{ username }}\"
  1690. \t\t\t\t\t\t\trequired
  1691. \t\t\t\t\t\t/>
  1692. \t\t\t\t\t</label>
  1693. \t\t\t\t\t<span><i class=\"fa fa-exclamation-triangle\"></i> Username must be greater than 5 characters in length.</span>
  1694. \t\t\t\t</div>
  1695. \t\t\t\t<div class=\"col-sm-6\">
  1696. \t\t\t\t\t<label class=\"btn-block\">Your E-mail Address<span style=\"color:red\"> *</span>
  1697. \t\t\t\t\t\t<input
  1698. \t\t\t\t\t\t\tclass=\"form-control\"
  1699. \t\t\t\t\t\t\ttype=\"text\"
  1700. \t\t\t\t\t\t\tname=\"lead[email]\"
  1701. \t\t\t\t\t\t\tplaceholder=\"Your E-mail Address\"
  1702. \t\t\t\t\t\t\tvalue=\"{{ email }}\"
  1703. \t\t\t\t\t\t\trequired
  1704. \t\t\t\t\t\t/>
  1705. \t\t\t\t\t</label>
  1706. \t\t\t\t</div>
  1707. \t\t\t\t
  1708. \t\t\t\t<div class=\"col-sm-6\">
  1709. \t\t\t\t\t<label class=\"btn-block\">Your Password<span style=\"color:red\"> *</span>
  1710. \t\t\t\t\t\t<input
  1711. \t\t\t\t\t\t\tclass=\"form-control\"
  1712. \t\t\t\t\t\t\ttype=\"password\"
  1713. \t\t\t\t\t\t\tname=\"password1\"
  1714. \t\t\t\t\t\t\tplaceholder=\"Your Password\"
  1715. \t\t\t\t\t\t\trequired
  1716. \t\t\t\t\t\t/>
  1717. \t\t\t\t\t</label>
  1718. \t\t\t\t</div>
  1719. \t\t\t\t<div class=\"col-sm-6\">
  1720. \t\t\t\t\t<label class=\"btn-block\">Confirm Password<span style=\"color:red\"> *</span>
  1721. \t\t\t\t\t\t<input
  1722. \t\t\t\t\t\t\tclass=\"form-control\"
  1723. \t\t\t\t\t\t\ttype=\"password\"
  1724. \t\t\t\t\t\t\tname=\"password2\"
  1725. \t\t\t\t\t\t\tplaceholder=\"Confirm Your Password\"
  1726. \t\t\t\t\t\t\trequired
  1727. \t\t\t\t\t\t/>
  1728. \t\t\t\t\t</label>
  1729. \t\t\t\t</div>
  1730. \t\t\t\t
  1731. \t\t\t\t<div class=\"col-sm-6\">
  1732. \t\t\t\t\t<label class=\"btn-block\">Address Line 1<span style=\"color:red\"> *</span>
  1733. \t\t\t\t\t\t<input
  1734. \t\t\t\t\t\t\tclass=\"form-control\"
  1735. \t\t\t\t\t\t\ttype=\"text\"
  1736. \t\t\t\t\t\t\tname=\"lead[address1]\"
  1737. \t\t\t\t\t\t\tplaceholder=\"Your Address Line 1\"
  1738. \t\t\t\t\t\t\tvalue=\"{{ address1 }}\"
  1739. \t\t\t\t\t\t\trequired
  1740. \t\t\t\t\t\t/>
  1741. \t\t\t\t\t</label>
  1742. \t\t\t\t</div>
  1743. \t\t\t\t<div class=\"col-sm-6\">
  1744. \t\t\t\t\t<label class=\"btn-block\">Address Line 2<span style=\"color:red\"></span>
  1745. \t\t\t\t\t\t<input
  1746. \t\t\t\t\t\t\tclass=\"form-control\"
  1747. \t\t\t\t\t\t\ttype=\"text\"
  1748. \t\t\t\t\t\t\tname=\"lead[address2]\"
  1749. \t\t\t\t\t\t\tplaceholder=\"Your Address Line 2\"
  1750. \t\t\t\t\t\t\tvalue=\"{{ address2 }}\"
  1751. \t\t\t\t\t\t/>
  1752. \t\t\t\t\t</label>
  1753. \t\t\t\t</div>
  1754. \t\t\t\t<div class=\"col-sm-6\">
  1755. \t\t\t\t\t<label class=\"btn-block\">City<span style=\"color:red\"> *</span>
  1756. \t\t\t\t\t\t<input
  1757. \t\t\t\t\t\t\tclass=\"form-control\"
  1758. \t\t\t\t\t\t\ttype=\"text\"
  1759. \t\t\t\t\t\t\tname=\"lead[city]\"
  1760. \t\t\t\t\t\t\tplaceholder=\"Your City\"
  1761. \t\t\t\t\t\t\tvalue=\"{{ city }}\"
  1762. \t\t\t\t\t\t\trequired
  1763. \t\t\t\t\t\t/>
  1764. \t\t\t\t\t</label>
  1765. \t\t\t\t</div>
  1766. \t\t\t\t<div class=\"col-sm-6\">
  1767. \t\t\t\t\t<label class=\"btn-block\">State / Region<span style=\"color:red\"> *</span>
  1768. \t\t\t\t\t\t<input
  1769. \t\t\t\t\t\t\tclass=\"form-control\"
  1770. \t\t\t\t\t\t\ttype=\"text\"
  1771. \t\t\t\t\t\t\tname=\"lead[state]\"
  1772. \t\t\t\t\t\t\tplaceholder=\"Your State / Region\"
  1773. \t\t\t\t\t\t\tvalue=\"{{ state }}\"
  1774. \t\t\t\t\t\t\trequired
  1775. \t\t\t\t\t\t/>
  1776. \t\t\t\t\t</label>
  1777. \t\t\t\t</div>
  1778. \t\t\t\t<div class=\"col-sm-6\">
  1779. \t\t\t\t\t<label class=\"btn-block\">Zip Code<span style=\"color:red\"> *</span>
  1780. \t\t\t\t\t\t<input
  1781. \t\t\t\t\t\t\tclass=\"form-control\"
  1782. \t\t\t\t\t\t\ttype=\"text\"
  1783. \t\t\t\t\t\t\tname=\"lead[zip]\"
  1784. \t\t\t\t\t\t\tplaceholder=\"Your Zip Code\"
  1785. \t\t\t\t\t\t\tvalue=\"{{ zip }}\"
  1786. \t\t\t\t\t\t\trequired
  1787. \t\t\t\t\t\t/>
  1788. \t\t\t\t\t</label>
  1789. \t\t\t\t</div>
  1790. \t\t\t\t<div class=\"col-sm-6\" id=\"outer-company-div\" {#style=\"display:none;\"#}>
  1791. \t\t\t\t\t<label class=\"btn-block\">Company<span style=\"color:red\"> *</span>
  1792. \t\t\t\t\t\t<input
  1793. \t\t\t\t\t\t\tclass=\"form-control\"
  1794. \t\t\t\t\t\t\ttype=\"text\"
  1795. \t\t\t\t\t\t\t{#name=\"lead[company_inactive]\"#}
  1796. \t\t\t\t\t\t\tname=\"lead[company]\"
  1797. \t\t\t\t\t\t\tplaceholder=\"Your Company\"
  1798. \t\t\t\t\t\t\tvalue=\"{% if company is defined %}{{company}}{% endif %}\"
  1799. \t\t\t\t\t\t\tid=\"company1\"
  1800. \t\t\t\t\t\t\trequired
  1801. \t\t\t\t\t\t/>
  1802. \t\t\t\t\t</label>
  1803. \t\t\t\t</div>
  1804. \t\t\t\t
  1805. \t\t\t\t<div class=\"col-sm-6\">
  1806. \t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:{#<span style=\"color:red\"> *</span>#}</span>
  1807. \t\t\t\t\t\t<input
  1808. \t\t\t\t\t\t\ttype=\"text\"
  1809. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1810. \t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
  1811. \t\t\t\t\t\t\tname=\"lead[phone]\"
  1812. \t\t\t\t\t\t\tvalue=\"{% if phone is defined %}{{phone}}{% endif %}\"
  1813. \t\t\t\t\t\t\t{#required#}
  1814. \t\t\t\t\t\t/>
  1815. \t\t\t\t\t</label>
  1816. \t\t\t\t</div>
  1817. \t\t\t\t
  1818. \t\t\t\t<div class=\"col-sm-6\">
  1819. \t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  1820. \t\t\t\t\t\t<select
  1821. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1822. \t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1823. \t\t\t\t\t\t\trequired
  1824. \t\t\t\t\t\t>
  1825. \t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  1826. \t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  1827. \t\t\t\t\t\t<option value=\"Both\">Both</option>
  1828. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  1829. \t\t\t\t\t\t<option value=\"Not a Contractor\">Not a Contractor</option>
  1830. \t\t\t\t\t\t</select>
  1831. \t\t\t\t\t</label>
  1832. \t\t\t\t</div>
  1833. \t\t\t\t
  1834. \t\t\t\t<div class=\"col-sm-6\">
  1835. \t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  1836. \t\t\t\t\t<label class=\"btn-block\">
  1837. \t\t\t\t\t\t<input
  1838. \t\t\t\t\t\t\ttype=\"radio\"
  1839. \t\t\t\t\t\t\tname=\"lead[country]\"
  1840. \t\t\t\t\t\t\tvalue=\"United States\"
  1841. \t\t\t\t\t\t\tclass=\"enews-field\"
  1842. \t\t\t\t\t\t\tchecked
  1843. \t\t\t\t\t\t\trequired
  1844. \t\t\t\t\t\t/>
  1845. \t\t\t\t\t\t<span>United States</span>
  1846. \t\t\t\t\t</label>
  1847. \t\t\t\t\t<label class=\"btn-block\">
  1848. \t\t\t\t\t\t<input
  1849. \t\t\t\t\t\t\ttype=\"radio\"
  1850. \t\t\t\t\t\t\tname=\"lead[country]\"
  1851. \t\t\t\t\t\t\tvalue=\"Canada\"
  1852. \t\t\t\t\t\t\tclass=\"enews-field\"
  1853. \t\t\t\t\t\t\trequired
  1854. \t\t\t\t\t\t/>
  1855. \t\t\t\t\t\t<span>Canada</span>
  1856. \t\t\t\t\t</label>
  1857. \t\t\t\t\t<label class=\"btn-block\">
  1858. \t\t\t\t\t\t<input
  1859. \t\t\t\t\t\t\ttype=\"radio\"
  1860. \t\t\t\t\t\t\tname=\"lead[country]\"
  1861. \t\t\t\t\t\t\tvalue=\"European Countries\"
  1862. \t\t\t\t\t\t\tclass=\"enews-field\"
  1863. \t\t\t\t\t\t\trequired
  1864. \t\t\t\t\t\t/>
  1865. \t\t\t\t\t\t<span>European Countries</span>
  1866. \t\t\t\t\t</label>
  1867. \t\t\t\t\t<label class=\"btn-block\">
  1868. \t\t\t\t\t\t<input
  1869. \t\t\t\t\t\t\ttype=\"radio\"
  1870. \t\t\t\t\t\t\tname=\"lead[country]\"
  1871. \t\t\t\t\t\t\tvalue=\"Other\"
  1872. \t\t\t\t\t\t\tclass=\"enews-field\"
  1873. \t\t\t\t\t\t\trequired
  1874. \t\t\t\t\t\t/>
  1875. \t\t\t\t\t\t<span><input
  1876. \t\t\t\t\t\t\ttype=\"text\"
  1877. \t\t\t\t\t\t\tplaceholder=\"Other\"
  1878. \t\t\t\t\t\t\tname=\"lead[country_other]\"
  1879. \t\t\t\t\t\t\tclass=\"enews-field\"
  1880. \t\t\t\t\t\t/></span>
  1881. \t\t\t\t\t</label>
  1882. \t\t\t\t</div>
  1883. \t\t\t\t
  1884. \t\t\t\t<div class=\"col-sm-6\">
  1885. \t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  1886. \t\t\t\t\t\t<select
  1887. \t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1888. \t\t\t\t\t\t\tname=\"lead[business_type]\"
  1889. \t\t\t\t\t\t\trequired
  1890. \t\t\t\t\t\t>
  1891. \t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  1892. \t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  1893. \t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  1894. \t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  1895. \t\t\t\t\t\t\t<option value=\"Other\">Other</option>
  1896. \t\t\t\t\t\t</select>
  1897. \t\t\t\t\t</label>
  1898. \t\t\t\t</div>
  1899. \t\t\t\t
  1900. \t\t\t\t
  1901. \t\t\t\t{#<h6>2. Add the \"Week In Roofing\" E-news</h6>#}
  1902. \t\t\t\t
  1903. \t\t\t\t<div class=\"col-sm-12\" {# class=\"form-check\" #} style=\"margin-top:30px;padding-left:25px;\">
  1904. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" {#onclick=\"clickEnews()\"#} checked>
  1905. \t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  1906. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  1907. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1908. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  1909. \t\t\t\t\t\t\t</div>
  1910. \t\t\t\t\t\t</span>
  1911. \t\t\t\t\t</label>
  1912. \t\t\t\t</div>
  1913. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  1914. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  1915. \t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  1916. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  1917. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1918. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  1919. \t\t\t\t\t\t\t</div>
  1920. \t\t\t\t\t\t</span>
  1921. \t\t\t\t\t</label>
  1922. \t\t\t\t</div>
  1923. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  1924. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  1925. \t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  1926. \t\t\t\t\t\t<span class=\"rtooltip\">Sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  1927. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  1928. \t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  1929. \t\t\t\t\t\t\t</div>
  1930. \t\t\t\t\t\t</span>
  1931. \t\t\t\t\t</label>
  1932. \t\t\t\t</div>
  1933. \t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:30px;padding-left:25px;\">
  1934. \t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"yes\" id=\"rclub_interest\" name=\"lead_custom[rclub_interest]\">
  1935. \t\t\t\t\t<label class=\"form-check-label\" for=\"rclub_interest\">
  1936. \t\t\t\t\t\t<span class=\"rtooltip\">Interested in R-Club? <i class=\"fa fa-info-circle\"></i>
  1937. \t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:165px;width:210px;padding-left:10px;\">
  1938. \t\t\t\t\t\t\t\tThe most exclusive roofing contractors club in the world!
  1939. \t\t\t\t\t\t\t</div>
  1940. \t\t\t\t\t\t</span>
  1941. \t\t\t\t\t</label>
  1942. \t\t\t\t</div>
  1943. \t\t\t\t
  1944. \t\t\t\t
  1945. \t\t\t</div>
  1946. \t\t\t
  1947. \t\t\t
  1948. \t\t\t{#
  1949. \t\t\t<div id=\"enews-fields\">
  1950. \t\t\t\t<div class=\"row\">
  1951. \t\t\t\t\t<div class=\"col-8\">
  1952. \t\t\t\t\t\t
  1953. \t\t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
  1954. \t\t\t\t\t\t\t<input
  1955. \t\t\t\t\t\t\t\ttype=\"text\"
  1956. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1957. \t\t\t\t\t\t\t\tplaceholder=\"Your Company\"
  1958. \t\t\t\t\t\t\t\tname=\"lead[company]\"
  1959. \t\t\t\t\t\t\t\tid=\"company2\"
  1960. \t\t\t\t\t\t\t\trequired
  1961. \t\t\t\t\t\t\t/>
  1962. \t\t\t\t\t\t</label>
  1963. \t\t\t\t\t\t
  1964. \t\t\t\t\t\t<label class=\"btn-block\"><span>Phone Number:<span style=\"color:red\"> *</span></span>
  1965. \t\t\t\t\t\t\t<input
  1966. \t\t\t\t\t\t\t\ttype=\"text\"
  1967. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1968. \t\t\t\t\t\t\t\tplaceholder=\"Your Phone Number\"
  1969. \t\t\t\t\t\t\t\tname=\"lead[phone]\"
  1970. \t\t\t\t\t\t\t\trequired
  1971. \t\t\t\t\t\t\t/>
  1972. \t\t\t\t\t\t</label>
  1973. \t\t\t\t\t\t
  1974. \t\t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  1975. \t\t\t\t\t\t\t<select
  1976. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  1977. \t\t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  1978. \t\t\t\t\t\t\t\trequired
  1979. \t\t\t\t\t\t\t>
  1980. \t\t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  1981. \t\t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  1982. \t\t\t\t\t\t\t<option value=\"Both\">Both</option>
  1983. \t\t\t\t\t\t\t</select>
  1984. \t\t\t\t\t\t</label>
  1985. \t\t\t\t\t\t
  1986. \t\t\t\t\t\t
  1987. \t\t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  1988. \t\t\t\t\t\t<label class=\"btn-block\">
  1989. \t\t\t\t\t\t\t<input
  1990. \t\t\t\t\t\t\t\ttype=\"radio\"
  1991. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  1992. \t\t\t\t\t\t\t\tvalue=\"United States\"
  1993. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  1994. \t\t\t\t\t\t\t\tchecked
  1995. \t\t\t\t\t\t\t\trequired
  1996. \t\t\t\t\t\t\t/>
  1997. \t\t\t\t\t\t\t<span>United States</span>
  1998. \t\t\t\t\t\t</label>
  1999. \t\t\t\t\t\t<label class=\"btn-block\">
  2000. \t\t\t\t\t\t\t<input
  2001. \t\t\t\t\t\t\t\ttype=\"radio\"
  2002. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  2003. \t\t\t\t\t\t\t\tvalue=\"Canada\"
  2004. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  2005. \t\t\t\t\t\t\t\trequired
  2006. \t\t\t\t\t\t\t/>
  2007. \t\t\t\t\t\t\t<span>Canada</span>
  2008. \t\t\t\t\t\t</label>
  2009. \t\t\t\t\t\t<label class=\"btn-block\">
  2010. \t\t\t\t\t\t\t<input
  2011. \t\t\t\t\t\t\t\ttype=\"radio\"
  2012. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  2013. \t\t\t\t\t\t\t\tvalue=\"European Countries\"
  2014. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  2015. \t\t\t\t\t\t\t\trequired
  2016. \t\t\t\t\t\t\t/>
  2017. \t\t\t\t\t\t\t<span>European Countries</span>
  2018. \t\t\t\t\t\t</label>
  2019. \t\t\t\t\t\t<label class=\"btn-block\">
  2020. \t\t\t\t\t\t\t<input
  2021. \t\t\t\t\t\t\t\ttype=\"radio\"
  2022. \t\t\t\t\t\t\t\tname=\"lead[country]\"
  2023. \t\t\t\t\t\t\t\tvalue=\"Other\"
  2024. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  2025. \t\t\t\t\t\t\t\trequired
  2026. \t\t\t\t\t\t\t/>
  2027. \t\t\t\t\t\t\t<span><input
  2028. \t\t\t\t\t\t\t\ttype=\"text\"
  2029. \t\t\t\t\t\t\t\tplaceholder=\"Other\"
  2030. \t\t\t\t\t\t\t\tname=\"lead[country_other]\"
  2031. \t\t\t\t\t\t\t\tclass=\"enews-field\"
  2032. \t\t\t\t\t\t\t/></span>
  2033. \t\t\t\t\t\t</label>
  2034. \t\t\t\t\t\t
  2035. \t\t\t\t\t\t
  2036. \t\t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  2037. \t\t\t\t\t\t\t<select
  2038. \t\t\t\t\t\t\t\tclass=\"form-control enews-field\"
  2039. \t\t\t\t\t\t\t\tname=\"lead[business_type]\"
  2040. \t\t\t\t\t\t\t\trequired
  2041. \t\t\t\t\t\t\t>
  2042. \t\t\t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  2043. \t\t\t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  2044. \t\t\t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  2045. \t\t\t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  2046. \t\t\t\t\t\t\t\t<option value=\"Other\">Other</option>
  2047. \t\t\t\t\t\t\t</select>
  2048. \t\t\t\t\t\t</label>
  2049. \t\t\t\t\t</div>
  2050. \t\t\t\t\t
  2051. \t\t\t\t\t<div class=\"col-4\">
  2052. \t\t\t\t\t\t<p>We send our “<strong>Week In Roofing</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
  2053. \t\t\t\t\t\t{ #<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p># }
  2054. \t\t\t\t\t</div>
  2055. \t\t\t\t</div>
  2056. \t\t\t</div>
  2057. \t\t\t#}
  2058. \t\t\t
  2059. \t\t\t
  2060. \t\t\t
  2061. \t\t\t{# Members section #}
  2062. \t\t\t{#
  2063. \t\t\t<br><hr><br>
  2064. \t\t\t<h6>3. Sign up for complete access for all the RoofersCoffeeShop has to offer.</h6>
  2065. \t\t\t{% if app.user and app.user.isMember() %}
  2066. \t\t\t\t<!--Already a member. Leave blank?-->
  2067. \t\t\t{% else %}
  2068. \t\t\t\t<center>
  2069. \t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
  2070. \t\t\t\t<p>Want exclusive access?</p>
  2071. \t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
  2072. \t\t\t\t</center>
  2073. \t\t\t\t<hr>
  2074. \t\t\t{% endif %}
  2075. \t\t\t#}
  2076. \t\t\t
  2077. \t\t\t<br><div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  2078. \t\t\t<div style=\"text-align:center;\">
  2079. \t\t\t\t<button
  2080. \t\t\t\t\ttype=\"submit\" 
  2081. \t\t\t\t\tclass=\"btn btn-secondary mt-2\"
  2082. \t\t\t\t\tstyle=\"font-size: 22px;\"
  2083. \t\t\t\t>Sign Up</button>
  2084. \t\t\t</div>
  2085. \t\t\t
  2086. \t\t\t<br>
  2087. \t\t\t<p>*Please check your spam folder if you don't receive an activation e-mail after several minutes. Contact us at info@rooferscoffeeshop.com if you need any additional help.</p> {#'#}
  2088. \t\t\t
  2089. \t\t</form>
  2090. \t\t
  2091. \t\t
  2092. \t{% else %}
  2093. \t\t{# Already a user, just show the Week in Roofing sign up #}
  2094. \t\t
  2095. \t\t{% set week_in = 'Roofing' %}
  2096. \t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  2097. \t\t\t{% set week_in = 'Metal' %}
  2098. \t\t{% endif %}
  2099. \t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
  2100. \t\t\t{% set week_in = 'Coatings' %}
  2101. \t\t{% endif %}
  2102. \t\t<div class=\"row\">
  2103. \t\t\t<div class=\"col-9\">
  2104. \t\t\t\t<h3>Sign Up for the \"Week in {{week_in}}\"</h3>
  2105. \t\t\t\t<p>Don't miss our recap of the week's best industry posts!</p>
  2106. \t\t\t\t\t
  2107. \t\t\t\t<form method=\"post\" class=\"py-4\">
  2108. \t\t\t\t\t
  2109. \t\t\t\t\t<input type=\"hidden\" id=\"enews-signup\" name=\"enews-signup\" value=\"1\">
  2110. \t\t\t\t\t{% if site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  2111. \t\t\t\t\t\t<input type=\"hidden\" id=\"enews\" name=\"enews\" value=\"1\">
  2112. \t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_MCS\") %}
  2113. \t\t\t\t\t\t<input type=\"hidden\" id=\"metal-enews\" name=\"metal-enews\" value=\"1\">
  2114. \t\t\t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_CCS\") %}
  2115. \t\t\t\t\t\t<input type=\"hidden\" id=\"coatings-enews\" name=\"coatings-enews\" value=\"1\">
  2116. \t\t\t\t\t{% endif %}
  2117. \t\t\t\t\t
  2118. \t\t\t\t\t<div class=\"row\">
  2119. \t\t\t\t\t<div class=\"col-sm-6\">
  2120. \t\t\t\t\t<label class=\"btn-block\"><span>First Name:<span style=\"color:red\"> *</span></span>
  2121. \t\t\t\t\t\t<input
  2122. \t\t\t\t\t\t\ttype=\"text\"
  2123. \t\t\t\t\t\t\tclass=\"form-control\"
  2124. \t\t\t\t\t\t\tplaceholder=\"Your First Name\"
  2125. \t\t\t\t\t\t\tname=\"lead[firstname]\"
  2126. \t\t\t\t\t\t\trequired
  2127. \t\t\t\t\t\t/>
  2128. \t\t\t\t\t</label>
  2129. \t\t\t\t\t
  2130. \t\t\t\t\t</div>
  2131. \t\t\t\t\t<div class=\"col-sm-6\">
  2132. \t\t\t\t\t<label class=\"btn-block\"><span>Last Name:<span style=\"color:red\"> *</span></span>
  2133. \t\t\t\t\t\t<input
  2134. \t\t\t\t\t\t\ttype=\"text\"
  2135. \t\t\t\t\t\t\tclass=\"form-control\"
  2136. \t\t\t\t\t\t\tplaceholder=\"Your Last Name\"
  2137. \t\t\t\t\t\t\tname=\"lead[lastname]\"
  2138. \t\t\t\t\t\t\trequired
  2139. \t\t\t\t\t\t/>
  2140. \t\t\t\t\t</label>
  2141. \t\t\t\t\t</div>
  2142. \t\t\t\t\t</div>
  2143. \t\t\t\t\t
  2144. \t\t\t\t\t<label class=\"btn-block\"><span>Email:<span style=\"color:red\"> *</span></span>
  2145. \t\t\t\t\t\t<input
  2146. \t\t\t\t\t\t\ttype=\"text\"
  2147. \t\t\t\t\t\t\tclass=\"form-control\"
  2148. \t\t\t\t\t\t\tplaceholder=\"Your Email Address\"
  2149. \t\t\t\t\t\t\tname=\"lead[email]\"
  2150. \t\t\t\t\t\t\trequired
  2151. \t\t\t\t\t\t/>
  2152. \t\t\t\t\t</label>
  2153. \t\t\t\t\t
  2154. \t\t\t\t\t<label class=\"btn-block\"><span>Company:<span style=\"color:red\"> *</span></span>
  2155. \t\t\t\t\t\t<input
  2156. \t\t\t\t\t\t\ttype=\"text\"
  2157. \t\t\t\t\t\t\tclass=\"form-control\"
  2158. \t\t\t\t\t\t\tplaceholder=\"Your Company\"
  2159. \t\t\t\t\t\t\tname=\"lead[company]\"
  2160. \t\t\t\t\t\t\trequired
  2161. \t\t\t\t\t\t/>
  2162. \t\t\t\t\t</label>
  2163. \t\t\t\t\t
  2164. \t\t\t\t\t<label class=\"btn-block\"><span>Type of Work Performed:<span style=\"color:red\"> *</span></span>
  2165. \t\t\t\t\t\t<select
  2166. \t\t\t\t\t\t\tclass=\"form-control\"
  2167. \t\t\t\t\t\t\tname=\"lead[contractor_type]\"
  2168. \t\t\t\t\t\t\trequired
  2169. \t\t\t\t\t\t>
  2170. \t\t\t\t\t\t<option value=\"Primarily Commercial\">Primarily Commercial</option>
  2171. \t\t\t\t\t\t<option value=\"Primarily Residential\">Primarily Residential</option>
  2172. \t\t\t\t\t\t<option value=\"Both\">Both</option>
  2173. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  2174. \t\t\t\t\t\t</select>
  2175. \t\t\t\t\t</label>
  2176. \t\t\t\t\t
  2177. \t\t\t\t\t
  2178. \t\t\t\t\t<label class=\"btn-block\"><span>Country:<span style=\"color:red\"> *</span></span></label>
  2179. \t\t\t\t\t<label class=\"btn-block\">
  2180. \t\t\t\t\t\t<input
  2181. \t\t\t\t\t\t\ttype=\"radio\"
  2182. \t\t\t\t\t\t\tname=\"lead[country]\"
  2183. \t\t\t\t\t\t\tvalue=\"United States\"
  2184. \t\t\t\t\t\t\tchecked
  2185. \t\t\t\t\t\t\trequired
  2186. \t\t\t\t\t\t/>
  2187. \t\t\t\t\t\t<span>United States</span>
  2188. \t\t\t\t\t</label>
  2189. \t\t\t\t\t<label class=\"btn-block\">
  2190. \t\t\t\t\t\t<input
  2191. \t\t\t\t\t\t\ttype=\"radio\"
  2192. \t\t\t\t\t\t\tname=\"lead[country]\"
  2193. \t\t\t\t\t\t\tvalue=\"Canada\"
  2194. \t\t\t\t\t\t\trequired
  2195. \t\t\t\t\t\t/>
  2196. \t\t\t\t\t\t<span>Canada</span>
  2197. \t\t\t\t\t</label>
  2198. \t\t\t\t\t<label class=\"btn-block\">
  2199. \t\t\t\t\t\t<input
  2200. \t\t\t\t\t\t\ttype=\"radio\"
  2201. \t\t\t\t\t\t\tname=\"lead[country]\"
  2202. \t\t\t\t\t\t\tvalue=\"European Countries\"
  2203. \t\t\t\t\t\t\trequired
  2204. \t\t\t\t\t\t/>
  2205. \t\t\t\t\t\t<span>European Countries</span>
  2206. \t\t\t\t\t</label>
  2207. \t\t\t\t\t<label class=\"btn-block\">
  2208. \t\t\t\t\t\t<input
  2209. \t\t\t\t\t\t\ttype=\"radio\"
  2210. \t\t\t\t\t\t\tname=\"lead[country]\"
  2211. \t\t\t\t\t\t\tvalue=\"Other\"
  2212. \t\t\t\t\t\t\trequired
  2213. \t\t\t\t\t\t/>
  2214. \t\t\t\t\t\t<span><input
  2215. \t\t\t\t\t\t\ttype=\"text\"
  2216. \t\t\t\t\t\t\tplaceholder=\"Other\"
  2217. \t\t\t\t\t\t\tname=\"lead[country_other]\"
  2218. \t\t\t\t\t\t/></span>
  2219. \t\t\t\t\t</label>
  2220. \t\t\t\t\t
  2221. \t\t\t\t\t
  2222. \t\t\t\t\t<label class=\"btn-block\"><span>Business Type:<span style=\"color:red\"> *</span></span>
  2223. \t\t\t\t\t\t<select
  2224. \t\t\t\t\t\t\tclass=\"form-control\"
  2225. \t\t\t\t\t\t\tname=\"lead[business_type]\"
  2226. \t\t\t\t\t\t\trequired
  2227. \t\t\t\t\t\t>
  2228. \t\t\t\t\t\t<option value=\"Roofing Contractor\">Roofing Contractor</option>
  2229. \t\t\t\t\t\t<option value=\"Exterior/General Contractor\">Exterior/General Contractor</option>
  2230. \t\t\t\t\t\t<option value=\"Distributor\">Distributor</option>
  2231. \t\t\t\t\t\t<option value=\"Manufacturer/Business Services\">Manufacturer/Business Services</option>
  2232. \t\t\t\t\t\t<option value=\"Other\">Other</option>
  2233. \t\t\t\t\t\t</select>
  2234. \t\t\t\t\t</label>
  2235. \t\t\t\t\t
  2236. \t\t\t\t\t{% if week_in == 'Roofing' %}
  2237. \t\t\t\t\t
  2238. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  2239. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  2240. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  2241. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  2242. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  2243. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  2244. \t\t\t\t\t\t\t\t\t</div>
  2245. \t\t\t\t\t\t\t\t</span>
  2246. \t\t\t\t\t\t\t</label>
  2247. \t\t\t\t\t\t</div>
  2248. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  2249. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  2250. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  2251. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  2252. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  2253. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  2254. \t\t\t\t\t\t\t\t\t</div>
  2255. \t\t\t\t\t\t\t\t</span>
  2256. \t\t\t\t\t\t\t</label>
  2257. \t\t\t\t\t\t</div>
  2258. \t\t\t\t\t{% elseif week_in == 'Metal' %}
  2259. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  2260. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
  2261. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  2262. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  2263. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  2264. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  2265. \t\t\t\t\t\t\t\t\t</div>
  2266. \t\t\t\t\t\t\t\t</span>
  2267. \t\t\t\t\t\t\t</label>
  2268. \t\t\t\t\t\t</div>
  2269. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  2270. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"coatings-enews\" name=\"coatings-enews\" checked>
  2271. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"coatings-enews\">
  2272. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Coatings? <i class=\"fa fa-info-circle\"></i>
  2273. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  2274. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the coatings industry, week by week!
  2275. \t\t\t\t\t\t\t\t\t</div>
  2276. \t\t\t\t\t\t\t\t</span>
  2277. \t\t\t\t\t\t\t</label>
  2278. \t\t\t\t\t\t</div>
  2279. \t\t\t\t\t{% elseif week_in == 'Coatings' %}
  2280. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  2281. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"enews\" name=\"enews\" checked>
  2282. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"enews\">
  2283. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Roofing? <i class=\"fa fa-info-circle\"></i>
  2284. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  2285. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the roofing industry, week by week!
  2286. \t\t\t\t\t\t\t\t\t</div>
  2287. \t\t\t\t\t\t\t\t</span>
  2288. \t\t\t\t\t\t\t</label>
  2289. \t\t\t\t\t\t</div>
  2290. \t\t\t\t\t\t<div class=\"col-sm-12\" style=\"margin-top:20px;padding-left:25px;\">
  2291. \t\t\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" id=\"metal-enews\" name=\"metal-enews\" checked>
  2292. \t\t\t\t\t\t\t<label class=\"form-check-label\" for=\"metal-enews\">
  2293. \t\t\t\t\t\t\t\t<span class=\"rtooltip\">Also sign up for Week In Metal? <i class=\"fa fa-info-circle\"></i>
  2294. \t\t\t\t\t\t\t\t\t<div class=\"rtooltiptext\" style=\"top:-30px;left:225px;width:260px;padding-left:10px;\">
  2295. \t\t\t\t\t\t\t\t\t\tOur weekly newsletter - an inside look <br>at the metal industry, week by week!
  2296. \t\t\t\t\t\t\t\t\t</div>
  2297. \t\t\t\t\t\t\t\t</span>
  2298. \t\t\t\t\t\t\t</label>
  2299. \t\t\t\t\t\t</div>
  2300. \t\t\t\t\t{% endif %}
  2301. \t\t\t\t\t
  2302. \t\t\t\t\t<div class=\"form-row g-recaptcha\" data-sitekey=\"6LeEIlMUAAAAAGhdmJJLdJHPxaWx2GqBjber5n6B\"></div>
  2303. \t\t\t\t\t
  2304. \t\t\t\t\t<div style=\"text-align: center;\">
  2305. \t\t\t\t\t<button 
  2306. \t\t\t\t\t\ttype=\"submit\" 
  2307. \t\t\t\t\t\tclass=\"btn btn-secondary mt-2\"
  2308. \t\t\t\t\t>Sign Up</button>
  2309. \t\t\t\t\t</div>
  2310. \t\t\t\t\t</form>
  2311. \t\t\t\t</div>
  2312. \t\t\t\t
  2313. \t\t\t\t<div class=\"col-3\">
  2314. \t\t\t\t\t<p><br>We send our “<strong>Week in {{week_in}}</strong>” directly to your inbox with interesting information, great photos and cool products. You can Opt-out at any time, but why would you want to? Remember, we respect your privacy and we will never sell your email address!</p>
  2315. \t\t\t\t\t{#<p><img class=\"alignnone size-full wp-image-12401\" src=\"https://rooferscoffeeshop.com/uploads/media/2016/05/week-in-review.jpg\" alt=\"RoofersCoffeeShop.com Week in Roofing\" loading='lazy'></p>#}
  2316. \t\t\t\t</div>
  2317. \t\t\t</div>
  2318. \t\t\t
  2319. \t\t\t{# Members section #}
  2320. \t\t\t<br><hr><br>
  2321. \t\t\t{% if app.user and app.user.isMember() %}
  2322. \t\t\t\t{# Already a member. Leave blank? #}
  2323. \t\t\t{% elseif site_code is defined and site_code == constant(\"App\\\\Entity\\\\Content::SITE_RCS\") %}
  2324. \t\t\t\t<center>
  2325. \t\t\t\t<a href=\"/rcs-club-sign-up\"><img src=\"https://www.rooferscoffeeshop.com/uploads/media/2019/04/rcs-r-club.png\" style=\"width:450px; align: center;\" loading='lazy' /></a>
  2326. \t\t\t\t<p>Want exclusive access?</p>
  2327. \t\t\t\t<p>Want to be a part of the most exclusive roofers club in the world? <a href=\"/rcs-club-sign-up\">Learn More</a></p>
  2328. \t\t\t\t</center>
  2329. \t\t\t\t<hr>
  2330. \t\t\t{% endif %}
  2331. \t\t
  2332. \t{% endif %}
  2333. \t
  2334. \t
  2335. \t<script>
  2336. \t\t window.onload = () => {
  2337. \t\t \t\$('body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form').submit((e) => {
  2338. \t\t \t\tdocument.querySelector(\"body > div.top-wrap > div > div > div > div.col-12.col-md-9 > form > button\").disabled = true
  2339. \t\t \t});
  2340. \t\t };
  2341. \t\tfunction clickEnews() {
  2342. \t\t\tvar checkBox = document.getElementById(\"enews\");
  2343. \t\t\tvar enewsFields = document.getElementById(\"enews-fields\");
  2344. \t\t\tif (checkBox.checked == true){
  2345. \t\t\t\tenewsFields.style.display = \"block\";
  2346. \t\t\t\t\$(\".enews-field\").attr('required', true);
  2347. \t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"none\");
  2348. \t\t\t\t\$(\"#company2\").val(\$(\"#company1\").val());
  2349. \t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company_inactive]\");
  2350. \t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company]\");
  2351. \t\t\t} else {
  2352. \t\t\t\tenewsFields.style.display = \"none\";
  2353. \t\t\t\t\$(\".enews-field\").attr('required', false);
  2354. \t\t\t\t\$(\"#outer-company-div\").css(\"display\",\"block\");
  2355. \t\t\t\t\$(\"#company1\").val(\$(\"#company2\").val());
  2356. \t\t\t\t\$(\"#company1\").attr(\"name\",\"lead[company]\");
  2357. \t\t\t\t\$(\"#company2\").attr(\"name\",\"lead[company_inactive]\");
  2358. \t\t\t}
  2359. \t\t}
  2360. \t</script>
  2361. {% endblock %}
  2362. {% endembed %}
  2363. {% endblock %}""forms/new-sign-up.html.twig""/var/www/vhosts/rooferscoffeeshop.com/staging.rooferscoffeeshop.com/rcs-website/templates/forms/new-sign-up.html.twig");
  2364.     }
  2365. }