File size: 1.34Kb
<?php include 'header.php'; ?>
<div style="background-color:#B40204;" class="entry">
<b>Wapirate Surf</b>
<form method="post" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
<?php echo $_lang['address']; ?>: <input type="text" name="<?php echo $_config['url_var_name']; ?>" size="15" value="<?php echo $_data['url']; ?>" class="text"/>
<input type="submit" name="submit" value="<?php echo $_lang['submit']; ?>">
<?php if(isset($_data['error']) and $_data['error']) { ?>
<?php if($_data['error'] == 'authorization_required') { ?>
<strong><p><?php echo $_lang['authorization_required']; ?>:</p></strong>
<blockquote>
<?php echo $_lang['enter_username_password']; ?><br />
<?php echo $_lang['username']; ?>: <input type="text" name="username" id="username" size="30" value="<?php echo $_data['username']; ?>" class="text" />
<br />
<?php echo $_lang['password']; ?>: <input type="password" name="password" id="password" size="30" value="<?php echo $_data['password']; ?>" class="text" />
</blockquote>
<?php } else { ?>
<strong><p><?php echo $_lang['error']; ?></p></strong>
<blockquote>
<?php echo $_lang[$_data['error']]; ?>
</blockquote>
<?php } ?>
<?php } ?>
</form>
</div>
<?php include 'footer.php'; ?>