<?php
// Version: 1.0; Reminder

function template_main()
{
	global $context, $settings, $options, $txt, $scripturl;

	echo '
	<br />
	<form action="', $scripturl, '?action=reminder;sa=mail" method="post">
		<table border="0" width="400" cellspacing="0" cellpadding="4" align="center" class="tborder">
			<tr class="titlebg">
				<td colspan="2">
					', $txt[36], ' ', $txt[194], '
				</td>
			</tr><tr class="windowbg">
				<td colspan="2">', $txt['smf100'], ': <input type="text" name="user" size="30" /> <input type="submit" value="', $txt['sendtopic_send'], '" /></td>
			</tr><tr class="windowbg">
				<td align="center"><input type="radio" name="searchtype" value="usearch" checked="checked" id="usearch" class="check" /> <label for="usearch">', $txt['smf101'], '</label></td>
				<td align="center"><input type="radio" name="searchtype" value="esearch" id="esearch" class="check" /> <label for="esearch">', $txt['smf102'], '</label></td>
			</tr><tr class="windowbg">
				<td colspan="2" align="center"><input type="checkbox" name="sa" value="secret" id="secret" class="check" /> <label for="secret">', $txt['pswd3'], '</label></td>
			</tr><tr class="windowbg">
				<td colspan="2" align="center" class="smalltext">', $txt['pswd4'], '</td>
			</tr>
		</table>
		<input type="hidden" name="sc" value="', $context['session_id'], '" />
	</form>';
}

function template_sent()
{
	global $context, $settings, $options, $txt, $scripturl;

	echo '
		<br />
		<table border="0" width="80%" cellspacing="0" cellpadding="4" class="tborder" align="center">
			<tr class="titlebg">
				<td>' . $context['page_title'] . '</td>
			</tr><tr>
				<td class="windowbg" align="left" cellpadding="3" style="padding-top: 3ex; padding-bottom: 3ex;">
					' . $context['description'] . '
				</td>
			</tr>
		</table>';
}

function template_set_password()
{
	global $context, $settings, $options, $txt, $scripturl;

	echo '
	<br />
	<form action="', $scripturl, '?action=reminder;sa=setpassword2" method="post">
		<table border="0" width="440" cellspacing="0" cellpadding="4" class="tborder" align="center">
			<tr class="titlebg">
				<td colspan="2">', $context['page_title'], '</td>
			</tr><tr class="windowbg">
				<td width="45%">
					<b>', $txt[81], ': </b><br />
					<span class="smalltext">', $txt[596], '</span>
				</td>
				<td valign="top"><input type="password" name="passwrd1" size="22" /></td>
			</tr><tr class="windowbg">
				<td width="45%"><b>', $txt[82], ': </b></td>
				<td><input type="password" name="passwrd2" size="22" /></td>
			</tr><tr class="windowbg">
				<td colspan="2" align="right"><input type="submit" value="', $txt[10], '" /></td>
			</tr>
		</table>
		<input type="hidden" name="code" value="', $context['code'], '" />
		<input type="hidden" name="u" value="', $context['memID'], '" />
		<input type="hidden" name="sc" value="', $context['session_id'], '" />
	</form>';
}

function template_ask()
{
	global $context, $settings, $options, $txt, $scripturl;

	echo '
	<br />
	<form action="', $scripturl, '?action=reminder;sa=secret2" method="post">
		<table border="0" width="440" cellspacing="0" cellpadding="3" class="tborder" align="center">
			<tr class="titlebg">
				<td colspan="2">', $txt[36], ' ', $txt[194], '</td>
			</tr><tr class="windowbg">
				<td colspan="2">', $txt['pswd6'], '</td>
			</tr><tr class="windowbg2">
				<td width="45%"><b>', $txt['pswd1'], ':</b> </td>
				<td>', $context['secret_question'], '</td>
			</tr><tr class="windowbg2">
				<td width="45%"><b>', $txt['pswd2'], ':</b> </td>
				<td><input type="text" name="secretAnswer" size="22" /></td>
			</tr><tr class="windowbg2">
				<td width="45%">
					<b>', $txt[81], ': </b><br />
					<span class="smalltext">', $txt[596], '</span>
				</td>
				<td valign="top"><input type="password" name="passwrd1" size="22" /></td>
			</tr><tr class="windowbg2">
				<td width="45%"><b>', $txt[82], ': </b></td>
				<td><input type="password" name="passwrd2" size="22" /></td>
			</tr><tr class="windowbg2">
				<td colspan="2" align="right"><input type="submit" value="', $txt[10], '" /></td>
			</tr>
		</table>
		<input type="hidden" name="searchtype" value="', $context['remind_type'], '" />
		<input type="hidden" name="user" value="', $context['remind_user'], '" />
		<input type="hidden" name="sc" value="', $context['session_id'], '" />
	</form>';
}

?>