Viewing file: login.php (1.39 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
include("../include/config.php");
include("../include/lib/libconfig.php");
include("../include/db/db_".$db_type.".inc.php");
include("../include/interface.php");
include("../include/lib/libnewsletter.php");
include("include/function.php");
$conf = new config();
$conf->getConfig($hostname,$login ,$pass,$database, $table_global_config);
$error = (isset($_GET['error']) ? $_GET['error'] : 0);
include("../include/lang/".$conf->language.".php");
html_header( translate("LOGIN_TITLE") , "../phpmynewsletter.css");
echo "<div class='subsection2'>";
echo "<div class='subtitle'>".translate("LOGIN_TITLE")."</div>";
echo "<div class='subcontent' align='center'>";
echo "<form action='index.php' method='post' class='form-light' name='loginform'>";
echo "<div class='info'>".translate("LOGIN_PLEASE_ENTER_PASSWORD")."</div>";
echo "<span class='field'>".translate("LOGIN_PASSWORD").": </span>";
echo "<input type='password' name='form_pass' /><br />";
if($error==1){
echo "<div align='center' class='error'>".translate("LOGIN_BAD_PASSWORD")." ! </div>";
} else {
echo "<br />";
}
echo "\n<input type='submit' value='".translate("LOGIN")."' />";
echo "<input type='hidden' name='form' value='1' />";
echo "</form></div>";
echo "<script type=\"text/javascript\"><!--
document.loginform.form_pass.focus();
//--></script>";
include("include/pagefooter.inc.php");
?>
|