Пример #1
0
function show_password_form()
{
    global $txt, $boardurl;
    load_txt_strings();
    show_header();
    echo '
			<div class="tab-page" id="main"><h2 class="tab">', $txt['password_title'], '</h2>
				<script type="text/javascript">addSection("main", "', $txt['password_title'], '");</script>
				<form action="', $boardurl, '/smfinfo.php" method="post"
				<table border="0" width="50%" cellpadding="2" cellspacing="2">
					<tr>
						<td>', $txt['password'], '</td><td><input type="text" size="20" name="pass" /></td><td><input type="submit" value="', $txt['submit'], '" /></td>
					</tr>
				</table>
				</form>
			</div>
			</div>
		</div>
	</body>
</html>';
    exit;
}
Пример #2
0
function show_password_form()
{
    global $txt, $boardurl;
    load_txt_strings();
    show_header();
    echo '
				<div class="tab-page" id="main">
					<h2 class="tab">', $txt['password_title'], '</h2>
					<script>addSection("main", "', $txt['password_title'], '");</script>
					<form action="', $boardurl, '/elkinfo.php" method="post">
						<table style="width:40%; padding: 2px;	border-collapse: collapse; border-spacing: 2px;">
							<tr>
								<td>', $txt['password'], '</td>
								<td>
									<input type="text" name="pass" />
									<input type="submit" value="', $txt['submit'], '" />
								</td>
							</tr>
						</table>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>';
    exit;
}