Просмотр файла mobile/template/ucp_agreement.html

Размер файла: 1.26Kb
<!-- INCLUDE overall_header.html -->
<script type="text/javascript" defer="defer" >
// <![CDATA[

	var old_func = window.onload;

	function disable(disabl)
	{
		document.getElementById("agreed").disabled = disabl;
	}

	function disable_and_handle()
	{
		if (old_func)
		{
			old_func();
		}
		disable(true);
	}

	<!-- IF S_TIME -->
		window.onload = disable_and_handle;
		setInterval("disable(false)", {S_TIME});
	<!-- ENDIF -->
// ]]>
</script>
<!-- IF S_SHOW_COPPA or S_REGISTRATION -->
	<form method="post" action="{S_UCP_ACTION}">
	<center>{SITENAME} - {L_REGISTRATION}</center>
				<!-- IF S_SHOW_COPPA -->
<div class="row1">{L_COPPA_BIRTHDAY}<br />
<a href="{U_COPPA_NO}">{L_COPPA_NO}</a>::<a href="{U_COPPA_YES}">{L_COPPA_YES}</a></div>
				<!-- ELSE -->
<span class="genmed">{L_TERMS_OF_USE}</span><br />
<input class="btnlite" type="submit" id="agreed" name="agreed" value="{L_AGREE}" /><br />
<input class="btnlite" type="submit" name="not_agreed" value="{L_NOT_AGREE}" />				
				<!-- ENDIF -->
	{S_HIDDEN_FIELDS}
	{S_FORM_TOKEN}
	</form>
<!-- ELSEIF S_AGREEMENT -->
<center>{SITENAME} - {AGREEMENT_TITLE}</center>
<div class="row1">
<span class="genmed">{AGREEMENT_TEXT}</span><br />
<a href="{U_BACK}">{L_BACK}</a></div>	
<!-- ENDIF -->
<!-- INCLUDE overall_footer.html -->