<?php

/* ucp_register.html */
class __TwigTemplate_34835f46810f1802bda002c717cd3420667bb87dc185436938ed781ddfa1f85c extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = array(
        );
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 1
        $location = "overall_header.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("overall_header.html", "ucp_register.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
<script type=\"text/javascript\">
// <![CDATA[
\t/**
\t* Change language
\t*/
\tfunction change_language(lang_iso)
\t{
\t\tdocument.cookie = '";
        // line 10
        if (isset($context["COOKIE_NAME"])) { $_COOKIE_NAME_ = $context["COOKIE_NAME"]; } else { $_COOKIE_NAME_ = null; }
        echo $_COOKIE_NAME_;
        echo "_lang=' + lang_iso + '; path=";
        if (isset($context["COOKIE_PATH"])) { $_COOKIE_PATH_ = $context["COOKIE_PATH"]; } else { $_COOKIE_PATH_ = null; }
        echo $_COOKIE_PATH_;
        echo "';
\t\tdocument.forms['register'].change_lang.value = lang_iso;
\t\tdocument.forms['register'].submit.click();
\t}

// ]]>
</script>

<form name=\"register\" method=\"post\" action=\"";
        // line 18
        if (isset($context["S_UCP_ACTION"])) { $_S_UCP_ACTION_ = $context["S_UCP_ACTION"]; } else { $_S_UCP_ACTION_ = null; }
        echo $_S_UCP_ACTION_;
        echo "\">

<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
<tr>
\t<th colspan=\"2\" valign=\"middle\">";
        // line 22
        echo $this->env->getExtension('phpbb')->lang("REGISTRATION");
        echo "</th>
</tr>

";
        // line 25
        if (isset($context["ERROR"])) { $_ERROR_ = $context["ERROR"]; } else { $_ERROR_ = null; }
        if ($_ERROR_) {
            // line 26
            echo "\t<tr>
\t\t<td class=\"row3\" colspan=\"2\" align=\"center\"><span class=\"gensmall error\">";
            // line 27
            if (isset($context["ERROR"])) { $_ERROR_ = $context["ERROR"]; } else { $_ERROR_ = null; }
            echo $_ERROR_;
            echo "</span></td>
\t</tr>
";
        }
        // line 30
        echo "
";
        // line 31
        if (isset($context["L_REG_COND"])) { $_L_REG_COND_ = $context["L_REG_COND"]; } else { $_L_REG_COND_ = null; }
        if ($_L_REG_COND_) {
            // line 32
            echo "\t<tr>
\t\t<td class=\"row2\" colspan=\"2\"><span class=\"gensmall\">";
            // line 33
            echo $this->env->getExtension('phpbb')->lang("REG_COND");
            echo "</span></td>
\t</tr>
";
        }
        // line 36
        echo "
";
        // line 37
        if (isset($context["ucp_register_credentials_before"])) { $_ucp_register_credentials_before_ = $context["ucp_register_credentials_before"]; } else { $_ucp_register_credentials_before_ = null; }
        // line 38
        echo "<tr>
\t<td class=\"row1\" width=\"38%\"><b class=\"genmed\">";
        // line 39
        echo $this->env->getExtension('phpbb')->lang("USERNAME");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b><br /><span class=\"gensmall\">";
        echo $this->env->getExtension('phpbb')->lang("USERNAME_EXPLAIN");
        echo "</span></td>
\t<td class=\"row2\"><input class=\"post\" type=\"text\" name=\"username\" size=\"25\" value=\"";
        // line 40
        if (isset($context["USERNAME"])) { $_USERNAME_ = $context["USERNAME"]; } else { $_USERNAME_ = null; }
        echo $_USERNAME_;
        echo "\" /></td>
</tr>
<tr>
\t<td class=\"row1\"><b class=\"genmed\">";
        // line 43
        echo $this->env->getExtension('phpbb')->lang("EMAIL_ADDRESS");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b></td>
\t<td class=\"row2\"><input class=\"post\" type=\"email\" name=\"email\" size=\"25\" maxlength=\"100\" value=\"";
        // line 44
        if (isset($context["EMAIL"])) { $_EMAIL_ = $context["EMAIL"]; } else { $_EMAIL_ = null; }
        echo $_EMAIL_;
        echo "\" autocomplete=\"off\" /></td>
</tr>
<tr>
\t<td class=\"row1\"><b class=\"genmed\">";
        // line 47
        echo $this->env->getExtension('phpbb')->lang("PASSWORD");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b><br /><span class=\"gensmall\">";
        echo $this->env->getExtension('phpbb')->lang("PASSWORD_EXPLAIN");
        echo "</span></td>
\t<td class=\"row2\"><input class=\"post\" type=\"password\" name=\"new_password\" size=\"25\" value=\"";
        // line 48
        if (isset($context["PASSWORD"])) { $_PASSWORD_ = $context["PASSWORD"]; } else { $_PASSWORD_ = null; }
        echo $_PASSWORD_;
        echo "\" autocomplete=\"off\" /></td>
</tr>
<tr>
\t<td class=\"row1\"><b class=\"genmed\">";
        // line 51
        echo $this->env->getExtension('phpbb')->lang("CONFIRM_PASSWORD");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b></td>
\t<td class=\"row2\"><input class=\"post\" type=\"password\" name=\"password_confirm\" size=\"25\" value=\"";
        // line 52
        if (isset($context["PASSWORD_CONFIRM"])) { $_PASSWORD_CONFIRM_ = $context["PASSWORD_CONFIRM"]; } else { $_PASSWORD_CONFIRM_ = null; }
        echo $_PASSWORD_CONFIRM_;
        echo "\" autocomplete=\"off\" /></td>
</tr>
";
        // line 54
        if (isset($context["ucp_register_credentials_after"])) { $_ucp_register_credentials_after_ = $context["ucp_register_credentials_after"]; } else { $_ucp_register_credentials_after_ = null; }
        // line 55
        if (isset($context["ucp_register_options_before"])) { $_ucp_register_options_before_ = $context["ucp_register_options_before"]; } else { $_ucp_register_options_before_ = null; }
        // line 56
        echo "<tr>
\t<td class=\"row1\"><b class=\"genmed\">";
        // line 57
        echo $this->env->getExtension('phpbb')->lang("LANGUAGE");
        echo $this->env->getExtension('phpbb')->lang("COLON");
        echo " </b></td>
\t<td class=\"row2\"><select name=\"lang\" onchange=\"change_language(this.value); return false;\">";
        // line 58
        if (isset($context["S_LANG_OPTIONS"])) { $_S_LANG_OPTIONS_ = $context["S_LANG_OPTIONS"]; } else { $_S_LANG_OPTIONS_ = null; }
        echo $_S_LANG_OPTIONS_;
        echo "</select></td>
</tr>

";
        // line 61
        $location = "timezone_option.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("timezone_option.html", "ucp_register.html", 61)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 62
        echo "
";
        // line 63
        if (isset($context["ucp_register_profile_fields_before"])) { $_ucp_register_profile_fields_before_ = $context["ucp_register_profile_fields_before"]; } else { $_ucp_register_profile_fields_before_ = null; }
        // line 64
        if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
        if (twig_length_filter($this->env, $this->getAttribute($_loops_, "profile_fields", array()))) {
            // line 65
            echo "\t<tr>
\t\t<td class=\"row2\" colspan=\"2\"><span class=\"gensmall\">";
            // line 66
            echo $this->env->getExtension('phpbb')->lang("ITEMS_REQUIRED");
            echo "</span></td>
\t</tr>
";
            // line 68
            if (isset($context["loops"])) { $_loops_ = $context["loops"]; } else { $_loops_ = null; }
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute($_loops_, "profile_fields", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["profile_fields"]) {
                // line 69
                echo "\t<tr>
\t\t<td class=\"row1\" width=\"35%\">
\t\t\t<b class=\"genmed\">";
                // line 71
                if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                echo $this->getAttribute($_profile_fields_, "LANG_NAME", array());
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo " </b>
\t\t\t";
                // line 72
                if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                if ($this->getAttribute($_profile_fields_, "S_REQUIRED", array())) {
                    echo "<b>*</b>";
                }
                // line 73
                echo "\t\t\t";
                if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                if ($this->getAttribute($_profile_fields_, "LANG_EXPLAIN", array())) {
                    echo "<br /><span class=\"gensmall\">";
                    if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                    echo $this->getAttribute($_profile_fields_, "LANG_EXPLAIN", array());
                    echo "</span>";
                }
                // line 74
                echo "\t\t</td>
\t\t<td class=\"row2\">";
                // line 75
                if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                echo $this->getAttribute($_profile_fields_, "FIELD", array());
                if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                if ($this->getAttribute($_profile_fields_, "ERROR", array())) {
                    echo "<br /><span class=\"gensmall error\">";
                    if (isset($context["profile_fields"])) { $_profile_fields_ = $context["profile_fields"]; } else { $_profile_fields_ = null; }
                    echo $this->getAttribute($_profile_fields_, "ERROR", array());
                    echo "</span>";
                }
                echo "</td>
\t</tr>
\t
";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['profile_fields'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 80
        if (isset($context["ucp_register_profile_fields_after"])) { $_ucp_register_profile_fields_after_ = $context["ucp_register_profile_fields_after"]; } else { $_ucp_register_profile_fields_after_ = null; }
        // line 81
        echo "\t\t";
        if (isset($context["CAPTCHA_TEMPLATE"])) { $_CAPTCHA_TEMPLATE_ = $context["CAPTCHA_TEMPLATE"]; } else { $_CAPTCHA_TEMPLATE_ = null; }
        if ($_CAPTCHA_TEMPLATE_) {
            // line 82
            echo "\t\t";
            if (isset($context["CAPTCHA_TEMPLATE"])) { $_CAPTCHA_TEMPLATE_ = $context["CAPTCHA_TEMPLATE"]; } else { $_CAPTCHA_TEMPLATE_ = null; }
            $location = (("" . $_CAPTCHA_TEMPLATE_) . "");
            $namespace = false;
            if (strpos($location, '@') === 0) {
                $namespace = substr($location, 1, strpos($location, '/') - 1);
                $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
                $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
            }
            $this->loadTemplate((("" . $_CAPTCHA_TEMPLATE_) . ""), "ucp_register.html", 82)->display($context);
            if ($namespace) {
                $this->env->setNamespaceLookUpOrder($previous_look_up_order);
            }
            // line 83
            echo "\t\t";
        }
        // line 84
        echo "
";
        // line 85
        if (isset($context["S_COPPA"])) { $_S_COPPA_ = $context["S_COPPA"]; } else { $_S_COPPA_ = null; }
        if ($_S_COPPA_) {
            // line 86
            echo "\t<tr>
\t\t<th colspan=\"2\" valign=\"middle\">";
            // line 87
            echo $this->env->getExtension('phpbb')->lang("COPPA_COMPLIANCE");
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row3\" colspan=\"2\"><span class=\"gensmall\">";
            // line 90
            echo $this->env->getExtension('phpbb')->lang("COPPA_EXPLAIN");
            echo "</span></td>
\t</tr>
";
        }
        // line 93
        echo "
<tr>
\t<td class=\"cat\" colspan=\"2\" align=\"center\">";
        // line 95
        if (isset($context["S_HIDDEN_FIELDS"])) { $_S_HIDDEN_FIELDS_ = $context["S_HIDDEN_FIELDS"]; } else { $_S_HIDDEN_FIELDS_ = null; }
        echo $_S_HIDDEN_FIELDS_;
        echo "<input class=\"btnmain\" type=\"submit\" name=\"submit\" id=\"submit\" value=\"";
        echo $this->env->getExtension('phpbb')->lang("SUBMIT");
        echo "\" />&nbsp;&nbsp;<input class=\"btnlite\" type=\"reset\" value=\"";
        echo $this->env->getExtension('phpbb')->lang("RESET");
        echo "\" name=\"reset\" /></td>
</tr>
</table>
";
        // line 98
        if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
        echo $_S_FORM_TOKEN_;
        echo "
</form>

";
        // line 101
        $location = "overall_footer.html";
        $namespace = false;
        if (strpos($location, '@') === 0) {
            $namespace = substr($location, 1, strpos($location, '/') - 1);
            $previous_look_up_order = $this->env->getNamespaceLookUpOrder();
            $this->env->setNamespaceLookUpOrder(array($namespace, '__main__'));
        }
        $this->loadTemplate("overall_footer.html", "ucp_register.html", 101)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

    public function getTemplateName()
    {
        return "ucp_register.html";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  321 => 101,  314 => 98,  303 => 95,  299 => 93,  293 => 90,  287 => 87,  284 => 86,  281 => 85,  278 => 84,  275 => 83,  261 => 82,  257 => 81,  255 => 80,  236 => 75,  233 => 74,  224 => 73,  219 => 72,  213 => 71,  209 => 69,  204 => 68,  199 => 66,  196 => 65,  193 => 64,  191 => 63,  188 => 62,  176 => 61,  169 => 58,  164 => 57,  161 => 56,  159 => 55,  157 => 54,  151 => 52,  146 => 51,  139 => 48,  132 => 47,  125 => 44,  120 => 43,  113 => 40,  106 => 39,  103 => 38,  101 => 37,  98 => 36,  92 => 33,  89 => 32,  86 => 31,  83 => 30,  76 => 27,  73 => 26,  70 => 25,  64 => 22,  56 => 18,  41 => 10,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE overall_header.html -->*/
/* */
/* <script type="text/javascript">*/
/* // <![CDATA[*/
/* 	/***/
/* 	* Change language*/
/* 	*//* */
/* 	function change_language(lang_iso)*/
/* 	{*/
/* 		document.cookie = '{COOKIE_NAME}_lang=' + lang_iso + '; path={COOKIE_PATH}';*/
/* 		document.forms['register'].change_lang.value = lang_iso;*/
/* 		document.forms['register'].submit.click();*/
/* 	}*/
/* */
/* // ]]>*/
/* </script>*/
/* */
/* <form name="register" method="post" action="{S_UCP_ACTION}">*/
/* */
/* <table class="tablebg" width="100%" cellspacing="1">*/
/* <tr>*/
/* 	<th colspan="2" valign="middle">{L_REGISTRATION}</th>*/
/* </tr>*/
/* */
/* <!-- IF ERROR -->*/
/* 	<tr>*/
/* 		<td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- IF L_REG_COND -->*/
/* 	<tr>*/
/* 		<td class="row2" colspan="2"><span class="gensmall">{L_REG_COND}</span></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <!-- EVENT ucp_register_credentials_before -->*/
/* <tr>*/
/* 	<td class="row1" width="38%"><b class="genmed">{L_USERNAME}{L_COLON} </b><br /><span class="gensmall">{L_USERNAME_EXPLAIN}</span></td>*/
/* 	<td class="row2"><input class="post" type="text" name="username" size="25" value="{USERNAME}" /></td>*/
/* </tr>*/
/* <tr>*/
/* 	<td class="row1"><b class="genmed">{L_EMAIL_ADDRESS}{L_COLON} </b></td>*/
/* 	<td class="row2"><input class="post" type="email" name="email" size="25" maxlength="100" value="{EMAIL}" autocomplete="off" /></td>*/
/* </tr>*/
/* <tr>*/
/* 	<td class="row1"><b class="genmed">{L_PASSWORD}{L_COLON} </b><br /><span class="gensmall">{L_PASSWORD_EXPLAIN}</span></td>*/
/* 	<td class="row2"><input class="post" type="password" name="new_password" size="25" value="{PASSWORD}" autocomplete="off" /></td>*/
/* </tr>*/
/* <tr>*/
/* 	<td class="row1"><b class="genmed">{L_CONFIRM_PASSWORD}{L_COLON} </b></td>*/
/* 	<td class="row2"><input class="post" type="password" name="password_confirm" size="25" value="{PASSWORD_CONFIRM}" autocomplete="off" /></td>*/
/* </tr>*/
/* <!-- EVENT ucp_register_credentials_after -->*/
/* <!-- EVENT ucp_register_options_before -->*/
/* <tr>*/
/* 	<td class="row1"><b class="genmed">{L_LANGUAGE}{L_COLON} </b></td>*/
/* 	<td class="row2"><select name="lang" onchange="change_language(this.value); return false;">{S_LANG_OPTIONS}</select></td>*/
/* </tr>*/
/* */
/* <!-- INCLUDE timezone_option.html -->*/
/* */
/* <!-- EVENT ucp_register_profile_fields_before -->*/
/* <!-- IF .profile_fields -->*/
/* 	<tr>*/
/* 		<td class="row2" colspan="2"><span class="gensmall">{L_ITEMS_REQUIRED}</span></td>*/
/* 	</tr>*/
/* <!-- BEGIN profile_fields -->*/
/* 	<tr>*/
/* 		<td class="row1" width="35%">*/
/* 			<b class="genmed">{profile_fields.LANG_NAME}{L_COLON} </b>*/
/* 			<!-- IF profile_fields.S_REQUIRED --><b>*</b><!-- ENDIF -->*/
/* 			<!-- IF profile_fields.LANG_EXPLAIN --><br /><span class="gensmall">{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF -->*/
/* 		</td>*/
/* 		<td class="row2">{profile_fields.FIELD}<!-- IF profile_fields.ERROR --><br /><span class="gensmall error">{profile_fields.ERROR}</span><!-- ENDIF --></td>*/
/* 	</tr>*/
/* 	*/
/* <!-- END profile_fields -->*/
/* <!-- ENDIF -->*/
/* <!-- EVENT ucp_register_profile_fields_after -->*/
/* 		<!-- IF CAPTCHA_TEMPLATE -->*/
/* 		<!-- INCLUDE {CAPTCHA_TEMPLATE} -->*/
/* 		<!-- ENDIF -->*/
/* */
/* <!-- IF S_COPPA -->*/
/* 	<tr>*/
/* 		<th colspan="2" valign="middle">{L_COPPA_COMPLIANCE}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row3" colspan="2"><span class="gensmall">{L_COPPA_EXPLAIN}</span></td>*/
/* 	</tr>*/
/* <!-- ENDIF -->*/
/* */
/* <tr>*/
/* 	<td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" id="submit" value="{L_SUBMIT}" />&nbsp;&nbsp;<input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td>*/
/* </tr>*/
/* </table>*/
/* {S_FORM_TOKEN}*/
/* </form>*/
/* */
/* <!-- INCLUDE overall_footer.html -->*/
/* */
