<?php

/* ucp_agreement.html */
class __TwigTemplate_ea020e9dc15dedd48376d614e6743fe4825c722287ecdb9464556b6cac22d491 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_agreement.html", 1)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
        // line 2
        echo "
";
        // line 3
        if (isset($context["S_SHOW_COPPA"])) { $_S_SHOW_COPPA_ = $context["S_SHOW_COPPA"]; } else { $_S_SHOW_COPPA_ = null; }
        if (isset($context["S_REGISTRATION"])) { $_S_REGISTRATION_ = $context["S_REGISTRATION"]; } else { $_S_REGISTRATION_ = null; }
        if (isset($context["S_AGREEMENT"])) { $_S_AGREEMENT_ = $context["S_AGREEMENT"]; } else { $_S_AGREEMENT_ = null; }
        if (($_S_SHOW_COPPA_ || $_S_REGISTRATION_)) {
            // line 4
            echo "
";
            // line 5
            if (isset($context["S_LANG_OPTIONS"])) { $_S_LANG_OPTIONS_ = $context["S_LANG_OPTIONS"]; } else { $_S_LANG_OPTIONS_ = null; }
            if ($_S_LANG_OPTIONS_) {
                // line 6
                echo "<script type=\"text/javascript\">
// <![CDATA[
\t/**
\t* Change language
\t*/
\tfunction change_language(lang_iso)
\t{
\t\tdocument.cookie = '";
                // line 13
                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();
\t}

// ]]>
</script>

\t<form method=\"post\" action=\"";
                // line 21
                if (isset($context["S_UCP_ACTION"])) { $_S_UCP_ACTION_ = $context["S_UCP_ACTION"]; } else { $_S_UCP_ACTION_ = null; }
                echo $_S_UCP_ACTION_;
                echo "\" id=\"register\">
\t\t<table width=\"100%\" cellspacing=\"0\">
\t\t\t<tr>
\t\t\t\t<td class=\"gensmall\" align=\"";
                // line 24
                if (isset($context["S_CONTENT_FLOW_END"])) { $_S_CONTENT_FLOW_END_ = $context["S_CONTENT_FLOW_END"]; } else { $_S_CONTENT_FLOW_END_ = null; }
                echo $_S_CONTENT_FLOW_END_;
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("LANGUAGE");
                echo $this->env->getExtension('phpbb')->lang("COLON");
                echo " <select name=\"lang\" id=\"lang\" onchange=\"change_language(this.value); return false;\" title=\"";
                echo $this->env->getExtension('phpbb')->lang("LANGUAGE");
                echo "\">";
                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>
\t\t\t</tr>
\t\t</table>
\t\t";
                // line 27
                if (isset($context["S_HIDDEN_FIELDS"])) { $_S_HIDDEN_FIELDS_ = $context["S_HIDDEN_FIELDS"]; } else { $_S_HIDDEN_FIELDS_ = null; }
                echo $_S_HIDDEN_FIELDS_;
                echo "
\t</form>
";
            }
            // line 30
            echo "
\t<form method=\"post\" action=\"";
            // line 31
            if (isset($context["S_UCP_ACTION"])) { $_S_UCP_ACTION_ = $context["S_UCP_ACTION"]; } else { $_S_UCP_ACTION_ = null; }
            echo $_S_UCP_ACTION_;
            echo "\">

\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th height=\"25\">";
            // line 35
            if (isset($context["SITENAME"])) { $_SITENAME_ = $context["SITENAME"]; } else { $_SITENAME_ = null; }
            echo $_SITENAME_;
            echo " - ";
            echo $this->env->getExtension('phpbb')->lang("REGISTRATION");
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row1\" align=\"center\">
\t\t\t<table width=\"90%\" cellspacing=\"2\" cellpadding=\"2\" border=\"0\" align=\"center\">
\t\t\t<tr>
\t\t\t\t";
            // line 41
            if (isset($context["S_SHOW_COPPA"])) { $_S_SHOW_COPPA_ = $context["S_SHOW_COPPA"]; } else { $_S_SHOW_COPPA_ = null; }
            if ($_S_SHOW_COPPA_) {
                // line 42
                echo "\t\t\t\t\t<td class=\"gen\" align=\"center\"><br />";
                echo $this->env->getExtension('phpbb')->lang("COPPA_BIRTHDAY");
                echo "<br /><br /><a href=\"";
                if (isset($context["U_COPPA_NO"])) { $_U_COPPA_NO_ = $context["U_COPPA_NO"]; } else { $_U_COPPA_NO_ = null; }
                echo $_U_COPPA_NO_;
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("COPPA_NO");
                echo "</a> :: <a href=\"";
                if (isset($context["U_COPPA_YES"])) { $_U_COPPA_YES_ = $context["U_COPPA_YES"]; } else { $_U_COPPA_YES_ = null; }
                echo $_U_COPPA_YES_;
                echo "\">";
                echo $this->env->getExtension('phpbb')->lang("COPPA_YES");
                echo "</a><br /><br /></td>
\t\t\t\t";
            } else {
                // line 44
                echo "\t\t\t\t\t<td>
\t\t\t\t\t\t";
                // line 45
                if (isset($context["ucp_agreement_terms_before"])) { $_ucp_agreement_terms_before_ = $context["ucp_agreement_terms_before"]; } else { $_ucp_agreement_terms_before_ = null; }
                // line 46
                echo "\t\t\t\t\t\t<span class=\"genmed\"><br />";
                echo $this->env->getExtension('phpbb')->lang("TERMS_OF_USE");
                echo "<br /><br /></span>
\t\t\t\t\t\t";
                // line 47
                if (isset($context["ucp_agreement_terms_after"])) { $_ucp_agreement_terms_after_ = $context["ucp_agreement_terms_after"]; } else { $_ucp_agreement_terms_after_ = null; }
                // line 48
                echo "\t\t\t\t\t\t<div align=\"center\">
\t\t\t\t\t\t\t<input class=\"btnlite\" type=\"submit\" id=\"agreed\" name=\"agreed\" value=\"";
                // line 49
                echo $this->env->getExtension('phpbb')->lang("AGREE");
                echo "\" /><br /><br />
\t\t\t\t\t\t\t<input class=\"btnlite\" type=\"submit\" name=\"not_agreed\" value=\"";
                // line 50
                echo $this->env->getExtension('phpbb')->lang("NOT_AGREE");
                echo "\" />
\t\t\t\t\t\t</div>
\t\t\t\t\t</td>
\t\t\t\t";
            }
            // line 54
            echo "\t\t\t</tr>
\t\t\t</table>
\t\t</td>
\t</tr>
\t</table>
\t";
            // line 59
            if (isset($context["S_HIDDEN_FIELDS"])) { $_S_HIDDEN_FIELDS_ = $context["S_HIDDEN_FIELDS"]; } else { $_S_HIDDEN_FIELDS_ = null; }
            echo $_S_HIDDEN_FIELDS_;
            echo "
\t";
            // line 60
            if (isset($context["S_FORM_TOKEN"])) { $_S_FORM_TOKEN_ = $context["S_FORM_TOKEN"]; } else { $_S_FORM_TOKEN_ = null; }
            echo $_S_FORM_TOKEN_;
            echo "
\t</form>

";
        } elseif ($_S_AGREEMENT_) {
            // line 64
            echo "
\t<table class=\"tablebg\" width=\"100%\" cellspacing=\"1\">
\t<tr>
\t\t<th height=\"25\">";
            // line 67
            if (isset($context["SITENAME"])) { $_SITENAME_ = $context["SITENAME"]; } else { $_SITENAME_ = null; }
            echo $_SITENAME_;
            echo " - ";
            if (isset($context["AGREEMENT_TITLE"])) { $_AGREEMENT_TITLE_ = $context["AGREEMENT_TITLE"]; } else { $_AGREEMENT_TITLE_ = null; }
            echo $_AGREEMENT_TITLE_;
            echo "</th>
\t</tr>
\t<tr>
\t\t<td class=\"row1\" align=\"center\">
\t\t\t<table width=\"90%\" cellspacing=\"2\" cellpadding=\"2\" border=\"0\" align=\"center\">
\t\t\t<tr>
\t\t\t\t<td>
\t\t\t\t\t<span class=\"genmed\"><br />";
            // line 74
            if (isset($context["AGREEMENT_TEXT"])) { $_AGREEMENT_TEXT_ = $context["AGREEMENT_TEXT"]; } else { $_AGREEMENT_TEXT_ = null; }
            echo $_AGREEMENT_TEXT_;
            echo "<br /><br /></span>
\t\t\t\t\t<div align=\"center\">
\t\t\t\t\t\t<a href=\"";
            // line 76
            if (isset($context["U_BACK"])) { $_U_BACK_ = $context["U_BACK"]; } else { $_U_BACK_ = null; }
            echo $_U_BACK_;
            echo "\">";
            echo $this->env->getExtension('phpbb')->lang("BACK");
            echo "</a>
\t\t\t\t\t</div>
\t\t\t\t</td>
\t\t\t</tr>
\t\t\t</table>
\t\t</td>
\t</tr>
\t</table>

";
        }
        // line 86
        echo "
";
        // line 87
        $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_agreement.html", 87)->display($context);
        if ($namespace) {
            $this->env->setNamespaceLookUpOrder($previous_look_up_order);
        }
    }

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

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  230 => 87,  227 => 86,  211 => 76,  205 => 74,  191 => 67,  186 => 64,  178 => 60,  173 => 59,  166 => 54,  159 => 50,  155 => 49,  152 => 48,  150 => 47,  145 => 46,  143 => 45,  140 => 44,  124 => 42,  121 => 41,  109 => 35,  101 => 31,  98 => 30,  91 => 27,  76 => 24,  69 => 21,  54 => 13,  45 => 6,  42 => 5,  39 => 4,  34 => 3,  31 => 2,  19 => 1,);
    }
}
/* <!-- INCLUDE overall_header.html -->*/
/* */
/* <!-- IF S_SHOW_COPPA or S_REGISTRATION -->*/
/* */
/* <!-- IF S_LANG_OPTIONS -->*/
/* <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();*/
/* 	}*/
/* */
/* // ]]>*/
/* </script>*/
/* */
/* 	<form method="post" action="{S_UCP_ACTION}" id="register">*/
/* 		<table width="100%" cellspacing="0">*/
/* 			<tr>*/
/* 				<td class="gensmall" align="{S_CONTENT_FLOW_END}">{L_LANGUAGE}{L_COLON} <select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></td>*/
/* 			</tr>*/
/* 		</table>*/
/* 		{S_HIDDEN_FIELDS}*/
/* 	</form>*/
/* <!-- ENDIF -->*/
/* */
/* 	<form method="post" action="{S_UCP_ACTION}">*/
/* */
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th height="25">{SITENAME} - {L_REGISTRATION}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row1" align="center">*/
/* 			<table width="90%" cellspacing="2" cellpadding="2" border="0" align="center">*/
/* 			<tr>*/
/* 				<!-- IF S_SHOW_COPPA -->*/
/* 					<td class="gen" align="center"><br />{L_COPPA_BIRTHDAY}<br /><br /><a href="{U_COPPA_NO}">{L_COPPA_NO}</a> :: <a href="{U_COPPA_YES}">{L_COPPA_YES}</a><br /><br /></td>*/
/* 				<!-- ELSE -->*/
/* 					<td>*/
/* 						<!-- EVENT ucp_agreement_terms_before -->*/
/* 						<span class="genmed"><br />{L_TERMS_OF_USE}<br /><br /></span>*/
/* 						<!-- EVENT ucp_agreement_terms_after -->*/
/* 						<div align="center">*/
/* 							<input class="btnlite" type="submit" id="agreed" name="agreed" value="{L_AGREE}" /><br /><br />*/
/* 							<input class="btnlite" type="submit" name="not_agreed" value="{L_NOT_AGREE}" />*/
/* 						</div>*/
/* 					</td>*/
/* 				<!-- ENDIF -->*/
/* 			</tr>*/
/* 			</table>*/
/* 		</td>*/
/* 	</tr>*/
/* 	</table>*/
/* 	{S_HIDDEN_FIELDS}*/
/* 	{S_FORM_TOKEN}*/
/* 	</form>*/
/* */
/* <!-- ELSEIF S_AGREEMENT -->*/
/* */
/* 	<table class="tablebg" width="100%" cellspacing="1">*/
/* 	<tr>*/
/* 		<th height="25">{SITENAME} - {AGREEMENT_TITLE}</th>*/
/* 	</tr>*/
/* 	<tr>*/
/* 		<td class="row1" align="center">*/
/* 			<table width="90%" cellspacing="2" cellpadding="2" border="0" align="center">*/
/* 			<tr>*/
/* 				<td>*/
/* 					<span class="genmed"><br />{AGREEMENT_TEXT}<br /><br /></span>*/
/* 					<div align="center">*/
/* 						<a href="{U_BACK}">{L_BACK}</a>*/
/* 					</div>*/
/* 				</td>*/
/* 			</tr>*/
/* 			</table>*/
/* 		</td>*/
/* 	</tr>*/
/* 	</table>*/
/* */
/* <!-- ENDIF -->*/
/* */
/* <!-- INCLUDE overall_footer.html -->*/
/* */
