File: /var/www/ilya/data/www/irkboard.ru/cache/cacheid_6/skin_register.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD */
/* CACHE FILE: Skin set id: 6 */
/* CACHE FILE: Generated: Sat, 12 Aug 2006 15:09:51 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_register_6 {
var $ipsclass;
//===========================================================================
// <ips:bot_antispam:desc:>
//===========================================================================
function bot_antispam($regid="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<input type="hidden" name="regid" value="$regid" />
<fieldset class="row3">
<legend><b>{$this->ipsclass->lang['las_title']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td width="1%">
{$this->ipsclass->lang['las_input']}<div class="desc">{$this->ipsclass->lang['las_input_text']}</div>
<input type="text" size="25" maxlength="32" name="reg_code" />
</td>
<td align="center">
<img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}&p=1" alt="Code Bit" />
<img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}&p=2" alt="{$this->ipsclass->lang['alt_codebit']}" />
<img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}&p=3" alt="{$this->ipsclass->lang['alt_codebit']}" />
<img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}&p=4" alt="{$this->ipsclass->lang['alt_codebit']}" />
<img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}&p=5" alt="{$this->ipsclass->lang['alt_codebit']}" />
<img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}&p=6" alt="{$this->ipsclass->lang['alt_codebit']}" />
</td>
</tr>
</table>
</fieldset>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:bot_antispam_gd:desc:>
//===========================================================================
function bot_antispam_gd($regid="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<input type="hidden" name="regid" value="$regid" />
<fieldset class="row3">
<legend><b>{$this->ipsclass->lang['las_title']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td width="1%">
{$this->ipsclass->lang['las_input']}<div class="desc">{$this->ipsclass->lang['las_input_text']}</div>
<input type="text" size="25" maxlength="32" name="reg_code" />
</td>
<td align="center"><img src="{$this->ipsclass->base_url}act=Reg&CODE=image&rc={$regid}" alt="{$this->ipsclass->lang['alt_loadingimg']}" /></td>
</tr>
</table>
</fieldset>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:coppa_form:desc:>
//===========================================================================
function coppa_form() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<% CHARSET %>" />
<title>{$this->ipsclass->lang['cpf_title']}</title>
<!--<link rel="stylesheet" href="style_sheets/stylesheet_<{css_id}>.css" type="text/css">-->
</head>
<body>
<table class='ipbtable' cellspacing="1">
<tr>
<td valign="middle">
<span class="pagetitle">{$this->ipsclass->vars['board_name']}: {$this->ipsclass->lang['cpf_title']}</span><br /><br />
<b><span>{$this->ipsclass->lang['cpf_perm_parent']}</span></b><br /><br />
{$this->ipsclass->lang['cpf_fax']} {$this->ipsclass->vars['coppa_fax']}<br /><br />{$this->ipsclass->lang['cpf_address']}<br />
{$this->ipsclass->vars['coppa_address']}
</td>
</tr>
</table>
<br />
<table class='ipbtable' cellspacing="1">
<tr>
<td width="40%">{$this->ipsclass->lang['user_name']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['pass_word']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['email_address']}</td>
<td> </td>
</tr>
</table>
<br />
<table class='ipbtable' cellspacing="1">
<tr>
<td valign="middle"><b><span>{$this->ipsclass->lang['cpf_sign']}</span></b></td>
</tr>
</table>
<br />
<table class='ipbtable' cellspacing="1">
<tr>
<td width="40%">{$this->ipsclass->lang['cpf_name']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['cpf_relation']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['cpf_signature']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['cpf_email']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['cpf_phone']}</td>
<td> </td>
</tr>
<tr>
<td width="40%">{$this->ipsclass->lang['cpf_date']}</td>
<td> </td>
</tr>
</table>
</body>
</html>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:coppa_start:desc:>
//===========================================================================
function coppa_start($coppadate="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<script type="text/javascript">
//<![CDATA[
var coppa_bounce = '{$this->ipsclass->lang['coppa_bounce']}';
coppa_check();
//]]>
</script>
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['registration_form']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['coppa_info']}</div>
<div class="tablepad" align="center">
<span class="postcolor">
<b>{$this->ipsclass->lang['coppa_link']}<br /><br />
< <a href="{$this->ipsclass->base_url}act=Reg&coppa_pass=1">{$this->ipsclass->lang['coppa_date_before']} $coppadate</a>
- <a href="{$this->ipsclass->base_url}act=Reg&CODE=coppa_two">{$this->ipsclass->lang['coppa_date_after']} $coppadate</a> >
</b>
</span>
</div>
<div class="formsubtitle">{$this->ipsclass->lang['coppa_form']}</div>
<div class="tablepad">{$this->ipsclass->lang['coppa_form_text']} <a href="mailto:{$this->ipsclass->vars['email_in']}">{$this->ipsclass->vars['email_in']}</a></div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:coppa_two:desc:>
//===========================================================================
function coppa_two() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<script type="text/javascript">
//<![CDATA[
coppa_save();
//]]>
</script>
<div class="borderwrap">
<div class="maintitle">{$this->ipsclass->lang['cp2_title']}</div>
<table class='ipbtable' cellspacing="1">
<tr>
<td class="row1">
{$this->ipsclass->lang['cp2_text']}<br /><br />
<div>
<span>
<< <a href="#" onclick="coppa_cancel()">{$this->ipsclass->lang['cp2_cancel']}</a>
- <a href="{$this->ipsclass->base_url}act=Reg&coppa_pass=1&coppa_user=1">{$this->ipsclass->lang['cp2_continue']}</a> >>
</span>
</div>
</td>
</tr>
<tr>
<td class="formsubtitle">{$this->ipsclass->lang['coppa_form']}</td>
</tr>
<tr>
<td class="row1">{$this->ipsclass->lang['coppa_form_text']} <a href="mailto:{$this->ipsclass->vars['email_in']}">{$this->ipsclass->vars['email_in']}</a></td>
</tr>
</table>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:errors:desc:>
//===========================================================================
function errors($data="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="formsubtitle">{$this->ipsclass->lang['errors_found']}</div>
<div class="tablepad"><span class="postcolor">$data</span></div>
</div>
<br />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:field_dropdown:desc:>
//===========================================================================
function field_dropdown($name="",$options="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<select name="$name">$options</select>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:field_entry:desc:>
//===========================================================================
function field_entry($title="",$desc="",$content="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<fieldset>
<legend><strong>$title</strong></legend>
<div class="desc">$desc</div><br />
$content
</fieldset>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:field_textarea:desc:>
//===========================================================================
function field_textarea($name="",$value="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<textarea cols="60" rows="5" name="$name">$value</textarea>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:field_textinput:desc:>
//===========================================================================
function field_textinput($name="",$value="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<input type="text" size="30" name="$name" value="$value" />
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:lost_pass_form:desc:>
//===========================================================================
function lost_pass_form($lasid="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form action="{$this->ipsclass->base_url}" method="post">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="11" />
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['lost_pass_form']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['lp_header']}</div>
<div class="tablepad"><span>
EOF;
//startif
if ( $this->ipsclass->vars['converge_login_method'] == 'username' )
{
$IPBHTML .= <<<EOF
{$this->ipsclass->lang['lp_text']}
EOF;
}//endif
//startelse
else
{
$IPBHTML .= <<<EOF
{$this->ipsclass->lang['lp_text_email']}
EOF;
}//endelse
$IPBHTML .= <<<EOF
</span></div>
<div class="formsubtitle">{$this->ipsclass->lang['complete_form']}</div>
<table class='ipbtable' cellspacing="0">
<tr>
<td class="pformleft">
EOF;
//startif
if ( $this->ipsclass->vars['converge_login_method'] == 'username' )
{
$IPBHTML .= <<<EOF
<strong>{$this->ipsclass->lang['lp_user_name']}</strong>
EOF;
}//endif
//startelse
else
{
$IPBHTML .= <<<EOF
<strong>{$this->ipsclass->lang['lp_email_address']}</strong>
EOF;
}//endelse
$IPBHTML .= <<<EOF
</td>
<td class="pformright"><input type="text" size="32" maxlength="32" name="member_name" /></td>
</tr>
</table>
<!--{REG.ANTISPAM}--><br />
</div>
<br />
<div class="borderwrap">
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['lp_send']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:optional_title:desc:>
//===========================================================================
function optional_title() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<!--
<tr>
<td colspan="2" class="formsubtitle">{$this->ipsclass->lang['cf_optional']}</td>
</tr>
-->
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:reg_complete_login:desc:>
//===========================================================================
function reg_complete_login($mid="",$key="",$required_fields="",$errors="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<form action="{$this->ipsclass->base_url}act=reg&CODE=complete_login_do&key=$key&mid=$mid" method="POST" onsubmit="return validate_complete_login_form(event)">
<input type="hidden" name="termsread" value="1" />
<input type="hidden" name="agree_to_terms" value="1" />
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['clogin_title']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['clogin_text']}</div>
<div class="tablepad">
EOF;
//startif
if ( $this->ipsclass->vars['auth_allow_dnames'] == 1 )
{
$IPBHTML .= <<<EOF
<fieldset class="row3">
<legend><b>{$this->ipsclass->lang['user_name_title']}</b></legend>
<div class='input-warn-content' id='box-dname'><div id='msg-dname'>{$errors['dname']}</div></div>
<table class='ipbtable' cellspacing="0">
<tr>
<td>{$this->ipsclass->lang['dname_name']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['dname_text']}">?</a>)</span></td>
</tr>
<tr>
<td>
<input type="text" size="50" maxlength="64" value="{$this->ipsclass->input['members_display_name']}" id='reg-members-display-name' name="members_display_name" />
<img id='img-members-display-name' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
</td>
</tr>
</table>
</fieldset>
EOF;
}//endif
$IPBHTML .= <<<EOF
<fieldset class="row3">
<div class='input-warn-content' id='box-emailaddress'><div id='msg-emailaddress'>{$errors['email']}</div></div>
<legend><b>{$this->ipsclass->lang['email_address_title']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td width="1%" nowrap="nowrap">{$this->ipsclass->lang['email_address']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['email_address_text']}">?</a>)</span></td>
<td width="100%">{$this->ipsclass->lang['email_address_confirm']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['email_address_confirm_text']}">?</a>)</span></td>
</tr>
<tr>
<td><input type="text" size="25" maxlength="50" value="{$this->ipsclass->input['EmailAddress']}" id='reg-emailaddress' name="EmailAddress" /></td>
<td><input type="text" size="25" maxlength="50" value="{$this->ipsclass->input['EmailAddress_two']}" id='reg-emailaddress-two' name="EmailAddress_two" /></td>
<td width='12'>
<img id='img-emailaddress' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
</td>
</tr>
</table>
</fieldset>
EOF;
//startif
if ( $required_fields != '' )
{
$IPBHTML .= <<<EOF
$required_fields
EOF;
}//endif
$IPBHTML .= <<<EOF
</div>
<div align='center' style='padding:4px' class='darkrow3'><input type="submit" value="{$this->ipsclass->lang['clogin_submit']} > >" /></div>
</div>
</form>
<script type="text/javascript">
//<![CDATA[
reg_error_no_name = "{$this->ipsclass->lang['reg_error_no_name']}";
reg_error_chars = "{$this->ipsclass->lang['reg_error_chars']}";
reg_error_taken = "{$this->ipsclass->lang['reg_error_taken']}";
reg_error_email_missing = "{$this->ipsclass->lang['reg_error_email_missing']}";
reg_error_email_nm = "{$this->ipsclass->lang['reg_error_email_nm']}";
reg_error_email_taken = "{$this->ipsclass->lang['reg_error_email_taken']}";
var got_dname = 0;
EOF;
//startif
if ( $this->ipsclass->vars['auth_allow_dnames'] == 1 )
{
$IPBHTML .= <<<EOF
got_dname = 1;
EOF;
}//endif
$IPBHTML .= <<<EOF
var member_id = parseInt("{$mid}");
init_complete_login_form();
//]]>
</script>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_authorise:desc:>
//===========================================================================
function show_authorise($member="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><!-- --></div>
<div class="formsubtitle">{$this->ipsclass->lang['registration_process']}</div>
<div class="tablepad">{$this->ipsclass->lang['thank_you']} {$member['members_display_name']}. {$this->ipsclass->lang['auth_text']} {$member['email']}</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_dumb_form:desc:>
//===========================================================================
function show_dumb_form($type="reg") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript">
<!--
function Validate(){
// Check for Empty fields
if (document.REG.uid.value == "" || document.REG.aid.value == ""){
alert ("{$this->ipsclass->lang['js_blanks']}");
return false;
}
}
-->
</script>
<form action="{$this->ipsclass->base_url}" method="post" name="REG" onsubmit="return Validate()">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="type" value="$type" />
<div class="borderwrap">
<div class="maintitle">{$this->ipsclass->lang['dumb_header']}</div>
<div class="tablepad">{$this->ipsclass->lang['dumb_text']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['complete_form']}</div>
<table class='ipbtable' cellspacing="0">
<tr>
<td class="pformleft">{$this->ipsclass->lang['user_id']}</td>
<td class="pformright"><input type="text" size="32" maxlength="32" name="uid" /></td>
</tr>
<tr>
<td class="pformleft">{$this->ipsclass->lang['val_key']}</td>
<td class="pformright"><input type="text" size="32" maxlength="50" name="aid" /></td>
</tr>
</table>
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['dumb_submit']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_lostpass_form:desc:>
//===========================================================================
function show_lostpass_form() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script language="javascript" type="text/javascript">
<!--
function Validate(){
// Check for Empty fields
if (document.REG.uid.value == "" || document.REG.aid.value == ""){
alert ("{$this->ipsclass->lang['js_blanks']}");
return false;
}
}
-->
</script>
<form action="{$this->ipsclass->base_url}" method="post" name="REG" onsubmit="return Validate()">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="03" />
<input type="hidden" name="type" value="lostpass" />
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['dumb_header']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['lpf_title']}</div>
<!--IBF.INPUT_TYPE-->
<tr>
<td class="pformleft"><b>{$this->ipsclass->lang['lpf_pass1']}</b><br><i>{$this->ipsclass->lang['lpf_pass11']}</i></td>
<td class="pformright"><input type="password" size="32" maxlength="32" name="pass1" /></td>
</tr>
<tr>
<td class="pformleft"><b>{$this->ipsclass->lang['lpf_pass2']}</b><br><i>{$this->ipsclass->lang['lpf_pass22']}</i></td>
<td class="pformright"><input type="password" size="32" maxlength="32" name="pass2" /></td>
</tr>
</table>
<div class='tablepad'>
<!--{REG.ANTISPAM}-->
</div>
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['dumb_submit']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_lostpass_form_auto:desc:>
//===========================================================================
function show_lostpass_form_auto($aid="",$uid="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<input type="hidden" name="uid" value="$uid" />
<input type="hidden" name="aid" value="$aid" />
<table class='ipbtable' cellspacing="0">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_lostpass_form_manual:desc:>
//===========================================================================
function show_lostpass_form_manual() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="tablepad">{$this->ipsclass->lang['dumb_text']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['complete_form']}</div>
<table class='ipbtable' cellspacing="0">
<tr>
<td class="pformleft"><b>{$this->ipsclass->lang['user_id']}</b></td>
<td class="pformright"><input type="text" size="32" maxlength="32" name="uid" /></td>
</tr>
<tr>
<td class="pformleft"><b>{$this->ipsclass->lang['val_key']}</b></td>
<td class="pformright"><input type="text" size="32" maxlength="50" name="aid" /></td>
</tr>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_lostpasswait:desc:>
//===========================================================================
function show_lostpasswait($member="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['lpf_title']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['registration_process']}</div>
<div class="tablepad">{$this->ipsclass->lang['lpass_text']}</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_preview:desc:>
//===========================================================================
function show_preview($member="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><!-- --></div>
<div class="formsubtitle">{$this->ipsclass->lang['registration_process']}</div>
<div class="tablepad">{$this->ipsclass->lang['thank_you']} {$member['members_display_name']}. {$this->ipsclass->lang['preview_reg_text']}</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_revalidate_form:desc:>
//===========================================================================
function show_revalidate_form($name="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form action="{$this->ipsclass->base_url}" method="post" name="REG">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="CODE" value="reval2" />
<div>{$this->ipsclass->lang['rv_ins']}</div><br />
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['rv_title']}</div>
<table class='ipbtable' cellspacing="0">
<tr>
<td class="pformleft"><b>{$this->ipsclass->lang['rv_name']}</b></td>
<td class="pformright"><input type="text" size="32" maxlength="64" name="username" value="$name" /></td>
</tr>
</table>
<div class="formsubtitle" align="center"><input type="submit" value="{$this->ipsclass->lang['rv_go']}" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_revalidated:desc:>
//===========================================================================
function show_revalidated() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['rv_title']}</div>
<div class="formsubtitle">{$this->ipsclass->lang['rv_process']}</div>
<div class="tablepad">{$this->ipsclass->lang['rv_done']}</div>
</div>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:show_terms:desc:>
//===========================================================================
function show_terms($text="",$coppa_user="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form action="{$this->ipsclass->base_url}act=Reg&coppa_user={$coppa_user}&termsread=1&coppa_pass=1" method="post">
<div class="borderwrap">
<div class="maintitle">{$this->ipsclass->lang['tc_title']}</div>
<table class='ipbtable' cellspacing="1">
<tr>
<th>{$this->ipsclass->lang['tc_text']}</th>
</tr>
<tr>
<td class="row1">{$text}</td>
</tr>
<tr>
<td class="row2"><label for="agree_cbox"><input type="checkbox" id="agree_cbox" name="agree_to_terms" value="1" /> <b>{$this->ipsclass->lang['agree_submit']}</b></label></td>
</tr>
<tr>
<td class="formbuttonrow"><input type="submit" value="{$this->ipsclass->lang['tc_regbut']}" class="button"></td>
</tr>
<tr>
<td class="catend" colspan="2"><!-- no content --></td>
</tr>
</table>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:ShowForm:desc:>
//===========================================================================
function ShowForm($data="",$errors=array()) {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<script type="text/javascript">
<!--
var ipb_lang_js_blanks = "{$this->ipsclass->lang['js_blanks']}";
var ipb_lang_js_no_check = "{$this->ipsclass->lang['js_no_check']}";
var subsdesc_0 = "{$this->ipsclass->lang['subsm_no_desc']}";
var subdesc = new Array(); <!--{SUBS.JSCRIPT}-->
var register_method = "{$this->ipsclass->vars['converge_login_method']}";
-->
</script>
<script type="text/javascript" src="jscripts/ipb_register.js"></script>
<form action="{$this->ipsclass->vars['board_url']}/index.{$this->ipsclass->vars['php_ext']}" method="post" name="REG" onsubmit="return validate_reg_form(event)">
<input type="hidden" name="act" value="Reg" />
<input type="hidden" name="termsread" value="1" />
<input type="hidden" name="agree_to_terms" value="1" />
<input type="hidden" name="CODE" value="02" />
<input type="hidden" name="coppa_user" value="{$data['coppa_user']}" />
<div class="borderwrap">
<div class="maintitle"><{CAT_IMG}> {$this->ipsclass->lang['registration_form']}</div>
<div class="formsubtitle">{$data['TEXT']}</div>
<div class="tablepad">
<table class='ipbtable' cellspacing="0">
<tr>
<td width="50%">
<fieldset class="row3">
<legend><b>{$this->ipsclass->lang['user_name_title']}</b></legend>
EOF;
//startif
if ( $this->ipsclass->vars['converge_login_method'] == 'username' )
{
$IPBHTML .= <<<EOF
<div class='input-warn-content' id='box-name'><div id='msg-name'>{$errors['username']}</div></div>
<table class='ipbtable' cellspacing="0">
<tr>
<td>{$this->ipsclass->lang['user_name']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['user_name_text']}">?</a>)</span></td>
</tr>
<tr>
<td>
<input type="text" size="50" maxlength="64" value="{$this->ipsclass->input['UserName']}" id='reg-name' name="UserName" />
<img id='img-name' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
</td>
</tr>
</table>
EOF;
}//endif
//startif
if ( $this->ipsclass->vars['auth_allow_dnames'] == 1 OR $this->ipsclass->vars['converge_login_method'] == 'email' )
{
$IPBHTML .= <<<EOF
<div class='input-warn-content' id='box-dname'><div id='msg-dname'>{$errors['dname']}</div></div>
<table class='ipbtable' cellspacing="0">
<tr>
<td>{$this->ipsclass->lang['dname_name']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['dname_text']}">?</a>)</span></td>
</tr>
<tr>
<td>
<input type="text" size="50" maxlength="64" value="{$this->ipsclass->input['members_display_name']}" id='reg-members-display-name' name="members_display_name" />
<img id='img-members-display-name' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
</td>
</tr>
</table>
EOF;
}//endif
$IPBHTML .= <<<EOF
</fieldset><br />
<fieldset class="row3">
<div class='input-warn-content' id='box-password'><div id='msg-password'>{$errors['password']}</div></div>
<legend><b>{$this->ipsclass->lang['password_title']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td width="1%" nowrap="nowrap">{$this->ipsclass->lang['password']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['password_text']}">?</a>)</span></td>
<td width="100%">{$this->ipsclass->lang['password_confirm']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['password_confirm_text']}">?</a>)</span></td>
</tr>
<tr>
<td><input type="password" size="25" maxlength="32" value="{$this->ipsclass->input['PassWord']}" id='reg-password' name="PassWord" /></td>
<td><input type="password" size="25" maxlength="32" value="{$this->ipsclass->input['PassWord_Check']}" id='reg-password-check' name="PassWord_Check" /></td>
<td width='12'>
<img id='img-password' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
</td>
</tr>
</table>
</fieldset><br />
<fieldset class="row3">
<div class='input-warn-content' id='box-emailaddress'><div id='msg-emailaddress'>{$errors['email']}</div></div>
<legend><b>{$this->ipsclass->lang['email_address_title']}</b></legend>
<table class='ipbtable' cellspacing="0">
<tr>
<td width="1%" nowrap="nowrap">{$this->ipsclass->lang['email_address']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['email_address_text']}">?</a>)</span></td>
<td width="100%">{$this->ipsclass->lang['email_address_confirm']} <span>(<a href="#" style="cursor: help; color: #555;" title="{$this->ipsclass->lang['email_address_confirm_text']}">?</a>)</span></td>
</tr>
<tr>
<td><input type="text" size="25" maxlength="150" value="{$this->ipsclass->input['EmailAddress']}" id='reg-emailaddress' name="EmailAddress" /></td>
<td><input type="text" size="25" maxlength="150" value="{$this->ipsclass->input['EmailAddress_two']}" id='reg-emailaddress-two' name="EmailAddress_two" /></td>
<td width='12'>
<img id='img-emailaddress' src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" width='12' height='12' />
</td>
</tr>
</table>
</fieldset>
<!--{REQUIRED.FIELDS}-->
<!--{SUBS.MANAGER}-->
<!--IBF.MODULES.EXTRA-->
</td>
<td width="50%" valign="top">
<div>
<b>{$this->ipsclass->lang['cf_optional']}</b><br /><br />
<table class='ipbtable' cellspacing="0">
<tr>
<td>
<fieldset>
<legend>{$this->ipsclass->lang['op_email_title']}</legend>
<div class="desc">{$this->ipsclass->lang['op_email_text']}</div><br />
<input type="checkbox" name="allow_admin_mail" value="1" class="checkbox" <!--[admin.checked]--> /> {$this->ipsclass->lang['op_email_ad']}<br />
<input type="checkbox" name="allow_member_mail" value="1" class="checkbox" <!--[member.checked]--> /> {$this->ipsclass->lang['op_email_mem']}
</fieldset><br />
<fieldset>
<legend>{$this->ipsclass->lang['op_tz_title']}</legend>
<div class="desc">{$this->ipsclass->lang['op_tz_text']}</div><br />
<!--{TIME_ZONE}--><br /><br />
<!--<input type="checkbox" name="dst" value="1" class="checkbox" <!--[dst.checked]--> /> {$this->ipsclass->lang['op_tz_dst']}<br />-->
</fieldset>
<!--{OPTIONAL.FIELDS}-->
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>
<td><!--{REG.ANTISPAM}--></td>
<td valign="middle" align="center">
<div class="desc">{$this->ipsclass->lang['submit_text']}</div><br />
<input type="submit" value="{$this->ipsclass->lang['submit_form']} > >" />
</div>
</td>
</tr>
</table>
</div>
</div>
</form>
<script type="text/javascript">
//<![CDATA[
reg_error_no_name = "{$this->ipsclass->lang['reg_error_no_name']}";
reg_error_no_pass = "{$this->ipsclass->lang['reg_error_no_pass']}";
reg_error_pass_nm = "{$this->ipsclass->lang['reg_error_pass_nm']}";
reg_error_chars = "{$this->ipsclass->lang['reg_error_chars']}";
reg_error_taken = "{$this->ipsclass->lang['reg_error_taken']}";
reg_error_username_taken = "{$this->ipsclass->lang['reg_error_username_taken']}";
reg_error_username_none = "{$this->ipsclass->lang['reg_error_username_none']}";
reg_error_email_missing = "{$this->ipsclass->lang['reg_error_email_missing']}";
reg_error_email_nm = "{$this->ipsclass->lang['reg_error_email_nm']}";
reg_error_email_taken = "{$this->ipsclass->lang['reg_error_email_taken']}";
reg_error_email_ban = "{$this->ipsclass->lang['reg_error_email_ban']}";
var got_dname = 0;
EOF;
//startif
if ( $this->ipsclass->vars['auth_allow_dnames'] == 1 OR $this->ipsclass->vars['converge_login_method'] == 'email' )
{
$IPBHTML .= <<<EOF
got_dname = 1;
EOF;
}//endif
$IPBHTML .= <<<EOF
init_reg_form(got_dname, register_method);
//]]>
</script>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:subsm_end:desc:>
//===========================================================================
function subsm_end() {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
</select>
<div style="display: none; position: absolute; border: 3px outset #000;width:300px;background-color:#FFF" class="tableborder" id="subspkdiv">
<div class='row1' style='padding:4px' id="pkdesc"></div>
<div class='row2' style='padding:4px' align="right"><a href="#" onclick='toggleview("subspkdiv"); return false;'>{$this->ipsclass->lang['subsm_close']}</a></div>
</div>
</td>
<td align="center">
<input type="button" class="button" onclick="get_more_info()" style='display:none' id='reg-get-more-info' value="{$this->ipsclass->lang['subsm_more']}" />
</td>
</tr>
</table>
</fieldset>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:subsm_row:desc:>
//===========================================================================
function subsm_row($id="",$title="",$cost="",$duration="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<option value="{$id}">$title ($duration) - $cost</option>
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:subsm_start:desc:>
//===========================================================================
function subsm_start($cur="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<br />
<fieldset class="row3">
<legend><b>{$this->ipsclass->lang['subsm_title']}</b></legend>
<div class="desc"> {$this->ipsclass->lang['cc_currency_in']} $cur</div>
<table class='ipbtable' cellspacing="0">
<tr>
<td width="1%">
<select class="dropdown" onchange='reg_get_more_check()' style='width:300px' name='subspackage' id="subspackage">
EOF;
//--endhtml--//
return $IPBHTML;
}
//===========================================================================
// <ips:tmpl_form:desc:>
//===========================================================================
function tmpl_form($action="",$hidden="",$title="",$content="") {
$IPBHTML = "";
//--starthtml--//
$IPBHTML .= <<<EOF
<form method="post" action="$action">
$hidden
<div class="borderwrap">
<div class="maintitle">$title</div>
<table class='ipbtable' cellspacing="0">
$content
</table>
<div class="formsubtitle" align="center"><input type="submit" /></div>
</div>
</form>
EOF;
//--endhtml--//
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/*<changed bits>
</changed bits>*/
/* END OF FILE */
/*--------------------------------------------------*/
?>