';
if ($_SESSION['login'] ==='true') {
header('Location: http://'.$domain.'/cms/admin.php');
}else {
//header('Location: http://'.$domain.'/cms/index.php');
//die ();
}
if (empty($rpcusername)){
echo '
';
}else{
if ($rpcusername == $rpcuser && $rpcpassword1 == $rpcpassword) {
$_SESSION['login']='true';
$_SESSION['language']=$language;
header('Location: http://'.$domain.'/cms/admin.php');
}else {
//echo $rpcpassword .' / '.$rpcpassword1 . ' / '.$rpcuser.' / '.$rpcusername;
die ('Bad username/password');
}
}
echo '