{#include file="header.html"#}
<body>

<div id="topbar">
	<div class="toplinks"><a href="{#$cp_lang.officialLink#}" target="_blank">PBDigg {#$PB_ENV.PB_VERSION[0]#}</a></div>
</div>

<div id="loginbox">
	<table cellpadding="5" cellspacing="1" id="logonform">
		<form method="post" action="admincp.php?{#$jumpurl#}">
		<tr>
			<td>
				{#$cp_lang.userName#}:<br />
				<input type="text" name="admin_user" value="" size="25" maxLength="15" class="forminput loginusername" />
			</td>
		</tr>
		<tr>
			<td>
				{#$cp_lang.password#}:<br />
				<input type="password" name="admin_pw" value="" size="25" class="password loginpassword" />
			</td>
		</tr>
		{#if $siteconfig.pb_gdcheck.admin eq "1"#}
		<tr>
			<td>
				{#$cp_lang.checkcode#}:<br />
				<input type="text" name="checkcode" value="" class="forminput logincheckcode" maxLength="4" />
				<span style="vertical-align:middle"><img src="../checkcode.php" alt="{#$cp_lang.checkcodeTip#}" onClick="this.src='../checkcode.php'" style="cursor:pointer;" /></span>
			</td>
		</tr>
		{#/if#}
		{#if $siteconfig.pb_adminsafecode eq "1"#}
		<tr>
			<td>
				{#$cp_lang.adminsafecode#}:<br />
				<input type="password" name="adminsafecode" value="" class="forminput adminsafecode" size="25" />
			</td>
		</tr>
		{#/if#}
		<tr>
			<td>
				<input type="hidden" name="action" value="login" />
				<input type="submit" class="formbutton" value="{#$cp_lang.login#}" />
			</td>
		</tr>
		</form>
	</table>
</div>

{#include file="footer.html"#}