• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Błąd Acc maker --> POMOCY REPUT

marcin1992

New Member
Joined
Apr 30, 2009
Messages
11
Reaction score
0
Witam , otóż mam dziwny błąd w Acc'makers gdy chcę założyć konto to nic nie widać przy wpisywaniu hasła , pomoże mi ktoś zmienić kolor.? albo może to jest coś innego czekam na odpowiedź

napisałem pasy ! "nic nie widać"
73203544.png

Zaznaczyłem obszar i "widać"
11673030.png


Proszę o Pomoc z góry dziękuje : *

evo-island.mine.nu
 
<?PHP
//CREATE ACCOUNT FORM PAGE
if($action == "")
{
$main_content .= '<script type="text/javascript">

var accountHttp;

//sprawdza czy dane konto istnieje czy nie
function checkAccount()
{
if(document.getElementById("account_name").value=="")
{
document.getElementById("acc_name_check").innerHTML = \'<b><font color="red">Please enter account name.</font></b>\';
return;
}
accountHttp=GetXmlHttpObject();
if (accountHttp==null)
{
return;
}
var account = document.getElementById("account_name").value;
var url="ajax/check_account.php?account=" + account + "&uid="+Math.random();
accountHttp.onreadystatechange=AccountStateChanged;
accountHttp.open("GET",url,true);
accountHttp.send(null);
}

function AccountStateChanged()
{
if (accountHttp.readyState==4)
{
document.getElementById("acc_name_check").innerHTML=accountHttp.responseText;
}
}

var emailHttp;

//sprawdza czy dane konto istnieje czy nie
function checkEmail()
{
if(document.getElementById("email").value=="")
{
document.getElementById("email_check").innerHTML = \'<b><font color="red">Please enter e-mail.</font></b>\';
return;
}
emailHttp=GetXmlHttpObject();
if (emailHttp==null)
{
return;
}
var email = document.getElementById("email").value;
var url="ajax/check_email.php?email=" + email + "&uid="+Math.random();
emailHttp.onreadystatechange=EmailStateChanged;
emailHttp.open("GET",url,true);
emailHttp.send(null);
}

function EmailStateChanged()
{
if (emailHttp.readyState==4)
{
document.getElementById("email_check").innerHTML=emailHttp.responseText;
}
}

function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value==""||value==" ")
{alert(alerttxt);return false;}
else {return true}
}
}

function validate_email(field,alerttxt)
{
with (field)
{
apos=value.indexOf("@");
dotpos=value.lastIndexOf(".");
if (apos<1||dotpos-apos<2)
{alert(alerttxt);return false;}
else {return true;}
}
}

function validate_form(thisform)
{
with (thisform)
{
if (validate_required(account_name,"Please enter name of new account!")==false)
{account_name.focus();return false;}
if (validate_required(email,"Please enter your e-mail!")==false)
{email.focus();return false;}
if (validate_email(email,"Invalid e-mail format!")==false)
{email.focus();return false;}
if (verifpass==1) {
if (validate_required(passor,"Please enter password!")==false)
{passor.focus();return false;}
if (validate_required(passor2,"Please repeat password!")==false)
{passor2.focus();return false;}
if (passor2.value!=passor.value)
{alert(\'Repeated password is not equal to password!\');return false;}
}
if (verifya==1) {
if (validate_required(verify,"Please enter verification code!")==false)
{verify.focus();return false;}
}
if(rules.checked==false)
{alert(\'To create account you must accept server rules!\');return false;}
}
}
</script>';
$main_content .= 'To play on '.$config['server']['serverName'].' you need an account.
All you have to do to create your new account is to enter your email address, password to new account, verification code from picture and to agree to the terms presented below.
If you have done so, your account name, password and e-mail address will be shown on the following page and your account and password will be sent
to your email address along with further instructions.<BR><BR>
<FORM ACTION="?subtopic=createaccount&action=saveaccount" onsubmit="return validate_form(this)" METHOD=post>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
<TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Create a '.$config['server']['serverName'].' Account</B></TD></TR>
<TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLSPACING=8 CELLPADDING=0>
<TR><TD>
<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0>';
$main_content .= '<TR><TD width="150" valign="top"><B>Account name: </B></TD><TD colspan="2"><INPUT id="account_name" NAME="reg_name" onkeyup="checkAccount();" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Please enter your new account name)</font></TD></TR>
<TR><TD width="150"><b>Name status:</b></TD><TD colspan="2"><b><div id="acc_name_check">Please enter your account name.</div></b></TD></TR>
<TR><TD width="150" valign="top"><B>Email address: </B></TD><TD colspan="2"><INPUT id="email" NAME="reg_email" onkeyup="checkEmail();" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Your email address is required to recovery a '.$config['server']['serverName'].' account)</font></TD></TR>
<TR><TD width="150"><b>Email status:</b></TD><TD colspan="2"><b><div id="email_check">Please enter your e-mail.</div></b></TD></TR>';
$main_content .= '<TR><TD width="150"><b>Select Country:</b></TD><TD colspan="2"><b><SELECT NAME=country>';
foreach($config['site']['countries'] as $name)
{
$main_content .= '<OPTION>'.$name.'</OPTION>';
}
$main_content .= '</SELECT></b></TD></TR>';
if(!$config['site']['create_account_verify_mail'])
$main_content .= '<script type="text/javascript">var verifpass=1;</script>
<TR><TD width="150" valign="top"><B>Password: </B></TD><TD colspan="2"><INPUT TYPE="password" id="passor" NAME="reg_password" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Here write your password to new account on '.$config['server']['serverName'].')</font></TD></TR>
<TR><TD width="150" valign="top"><B>Repeat password: </B></TD><TD colspan="2"><INPUT TYPE="password" id="passor2" NAME="reg_password2" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Repeat your password)</font></TD></TR>';
else
$main_content .= '<script type="text/javascript">var verifpass=0;</script>';
if($config['site']['verify_code'])
$main_content .= '<script type="text/javascript">var verifya=1;</script><TR><TD width="150"><B>Code: </B></TD><TD colspan="2"><img src="imgverification/imagebuilder.php" border="0" alt="Image Verification is missing, please contact the administrator"></TD></TR>
<TR><TD width="150" valign="top"><B>Verification Code: </B></TD><TD colspan="2"><INPUT id="verify" NAME="reg_code" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Here write verification code from picture)</font></TD></TR>';
else
$main_content .= '<script type="text/javascript">var verifya=0;</script>';
$main_content .= '</TABLE>
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0><TR><TD>
Please review the following terms and state your agreement below.
</TD></TR>
<TR><TD>
<B>'.$config['server']['serverName'].' Rules</B><BR>
<TEXTAREA ROWS="16" WRAP="physical" COLS="75" READONLY="true">';
//load server rules from file
include("tibiarules.php");
$main_content .= '</TEXTAREA>
</TD></TR></TABLE>
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0>
<TR><TD>
<INPUT TYPE="checkbox" NAME="rules" id="rules" value="true" /><label for="rules"><u> I agree to the '.$config['server']['serverName'].' Rules.</u></lable><BR>
</TD></TR>
<TR><TD>
If you fully agree to these terms, click on the "I Agree" button in order to create a '.$config['server']['serverName'].' account.<BR>
If you do not agree to these terms or do not want to create a '.$config['server']['serverName'].' account, please click on the "Cancel" button.
</TD></TR></TABLE>
</TD></TR>
</TABLE></TD></TR>
</TABLE>
<BR>
<TABLE BORDER=0 WIDTH=100%>
<TR><TD ALIGN=center>
<IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=120 HEIGHT=1 BORDER=0><BR>
</TD><TD ALIGN=center VALIGN=top>
<INPUT TYPE=image NAME="I Agree" SRC="'.$layout_name.'/images/buttons/sbutton_iagree.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</FORM>
</TD><TD ALIGN=center>
<FORM ACTION="?subtopic=latestnews" METHOD=post>
<INPUT TYPE=image NAME="Cancel" SRC="'.$layout_name.'/images/buttons/sbutton_cancel.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</FORM>
</TD><TD ALIGN=center>
<IMG SRC="/images/general/blank.gif" WIDTH=120 HEIGHT=1 BORDER=0><BR>
</TD></TR>
</TABLE>
</TD>
<TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
</TR>
</TABLE>';
}
//CREATE ACCOUNT PAGE (save account in database)
if($action == "saveaccount") {
$reg_country = trim($_POST['country']);
$reg_name = strtoupper(trim($_POST['reg_name']));
$reg_email = trim($_POST['reg_email']);
$reg_password = trim($_POST['reg_password']);
$reg_code = trim($_POST['reg_code']);
//FIRST check
//check e-mail
if(empty($reg_name))
$reg_form_errors[] = "Please enter account name.";
elseif(!check_account_name($reg_name))
$reg_form_errors[] = "Invalid account name format. Use only A-Z and numbers 0-9.";
if(empty($reg_email))
$reg_form_errors[] = "Please enter your email address.";
else
{
if(!check_mail($reg_email))
$reg_form_errors[] = "E-mail address is not correct.";
}
if($config['site']['verify_code'])
{
//check verification code
$string = strtoupper($_SESSION['string']);
$userstring = strtoupper($reg_code);
session_destroy();
if(empty($string))
$reg_form_errors[] = "Information about verification code in session is empty.";
else
{
if(empty($userstring))
$reg_form_errors[] = "Please enter verification code.";
else
{
if($string != $userstring)
$reg_form_errors[] = "Verification code is incorrect.";
}
}
}
//check password
if(empty($reg_password) && !$config['site']['create_account_verify_mail'])
$reg_form_errors[] = "Please enter password to your new account.";
elseif(!$config['site']['create_account_verify_mail'])
{
if(!check_password($reg_password))
$reg_form_errors[] = "Password contains illegal chars (a-z, A-Z and 0-9 only!) or lenght.";
}
//SECOND check
//check e-mail address in database
if(empty($reg_form_errors))
{
if($config['site']['one_email'])
{
$test_email_account = $ots->createObject('Account');
//load account with this e-mail
$test_email_account->findByEmail($reg_email);
if($test_email_account->isLoaded())
$reg_form_errors[] = "Account with this e-mail address already exist in database.";
}
$account_db = new OTS_Account();
$account_db->find($reg_name);
if($account_db->isLoaded())
$reg_form_errors[] = 'Account with this name already exist.';
}
// ----------creates account-------------(save in database)
if(empty($reg_form_errors))
{
//create object 'account' and generate new acc. number
if($config['site']['create_account_verify_mail'])
{
$reg_password = '';
for ($i = 1; $i <= 6; $i++)
$reg_password .= mt_rand(0,9);
}
$reg_account = $ots->createObject('Account');
$number = $reg_account->create(0, 9999999, $reg_name);
// saves account information in database
$reg_account->setPassword(password_ency($reg_password));
$reg_account->setEMail($reg_email);
$reg_account->unblock();
$reg_account->setCustomField("flag", $reg_country);
$reg_account->save();
if($config['site']['newaccount_premdays'])
{
$reg_account->setCustomField("premdays", $config['site']['newaccount_premdays']);
$reg_account->setCustomField("lastday", time());
}
//show information about registration
if($config['site']['send_emails'] && $config['site']['create_account_verify_mail'])
{
$mailBody = '<html>
<body>
<h3>Your account name and password!</h3>
<p>You or someone else registred on server <a href="'.$config['server']['url'].'"><b>'.$config['server']['serverName'].'</b></a> with this e-mail.</p>
<p>Account name: <b>'.$reg_name.'</b></p>
<p>Password: <b>'.trim($reg_password).'</b></p>
<br />
<p>After login you can:</p>
<li>Create new characters
<li>Change your current password
<li>Change your current e-mail
</body>
</html>';
require("phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
if ($config['site']['smtp_enabled'] == "yes")
{
$mail->IsSMTP();
$mail->Host = $config['site']['smtp_host'];
$mail->Port = (int)$config['site']['smtp_port'];
$mail->SMTPAuth = ($config['site']['smtp_auth'] ? true : false);
$mail->Username = $config['site']['smtp_user'];
$mail->Password = $config['site']['smtp_pass'];
}
else
$mail->IsMail();
$mail->IsHTML(true);
$mail->From = $config['site']['mail_address'];
$mail->AddAddress($reg_email);
$mail->Subject = $config['server']['serverName']." - Registration";
$mail->Body = $mailBody;
if($mail->Send())
{
$main_content .= 'Your account has been created. Check your e-mail. See you in Tibia!<BR><BR>';
$main_content .= '<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
<TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Account Created</B></TD></TR>
<TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
<TABLE BORDER=0 CELLPADDING=1><TR><TD>
<BR>Your account name is <b>'.$reg_name.'</b>.
<BR><b><i>You will receive e-mail (<b>'.$reg_email.'</b>) with your password.</b></i><br>';
$main_content .= 'You will need the account name and your password to play on '.$config['server']['serverName'].'.
Please keep your account name and password in a safe place and
never give your account name or password to anybody.<BR><BR>';
$main_content .= '<br /><small>These informations were send on email address <b>'.$reg_email.'</b>. Please check your inbox/spam folder.';
}
else
{
$main_content .= '<br /><small>An error occorred while sending email! Account not created. Try again.</small>';
$reg_account->delete();
}
}
else
{
$main_content .= 'Your account has been created. Now you can login and create your first character. See you in Tibia!<BR><BR>';
$main_content .= '<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
<TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Account Created</B></TD></TR>
<TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
<TABLE BORDER=0 CELLPADDING=1><TR><TD>
<BR>Your account name is <b>'.$reg_name.'</b><br>You will need the account name and your password to play on '.$config['server']['serverName'].'.
Please keep your account name and password in a safe place and
never give your account name or password to anybody.<BR><BR>';
if($config['site']['send_emails'] && $config['site']['send_register_email'])
{
$mailBody = '<html>
<body>
<h3>Your account name and password!</h3>
<p>You or someone else registred on server <a href="'.$config['server']['url'].'"><b>'.$config['server']['serverName'].'</b></a> with this e-mail.</p>
<p>Account name: <b>'.$reg_name.'</b></p>
<p>Password: <b>'.trim($reg_password).'</b></p>
<br />
<p>After login you can:</p>
<li>Create new characters
<li>Change your current password
<li>Change your current e-mail
</body>
</html>';
require("phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
if ($config['site']['smtp_enabled'] == "yes")
{
$mail->IsSMTP();
$mail->Host = $config['site']['smtp_host'];
$mail->Port = (int)$config['site']['smtp_port'];
$mail->SMTPAuth = ($config['site']['smtp_auth'] ? true : false);
$mail->Username = $config['site']['smtp_user'];
$mail->Password = $config['site']['smtp_pass'];
}
else
$mail->IsMail();
$mail->IsHTML(true);
$mail->From = $config['site']['mail_address'];
$mail->AddAddress($reg_email);
$mail->Subject = $config['server']['serverName']." - Registration";
$mail->Body = $mailBody;
if($mail->Send())
$main_content .= '<br /><small>These informations were send on email address <b>'.$reg_email.'</b>.';
else
$main_content .= '<br /><small>An error occorred while sending email (<b>'.$reg_email.'</b>)!</small>';
}
}
$main_content .= '</TD></TR></TABLE></TD></TR></TABLE><BR><BR>';
}
else
{
//SHOW ERRORs if data from form is wrong
$main_content .= '<div class="SmallBox" > <div class="MessageContainer" > <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div> <div class="BoxFrameEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="BoxFrameEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="ErrorMessage" > <div class="BoxFrameVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div> <div class="BoxFrameVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div> <div class="AttentionSign" style="background-image:url('.$layout_name.'/images/content/attentionsign.gif);" /></div><b>The Following Errors Have Occurred:</b><br/>';
foreach($reg_form_errors as $show_msg)
{
$main_content .= '<li>'.$show_msg;
}
$main_content .= '</div> <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div> <div class="BoxFrameEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="BoxFrameEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> </div></div><br/>
<BR>
<CENTER>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION=?subtopic=createaccount METHOD=post><TR><TD>
<INPUT TYPE=hidden NAME=email VALUE="">

<INPUT TYPE=image NAME="Back" ALT="Back" SRC="'.$layout_name.'/images/buttons/sbutton_back.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</TD></TR></FORM></TABLE>
</CENTER>';
}
}
?>
 
PHP:
<?PHP
//CREATE ACCOUNT FORM PAGE
if($action == "")
{
$main_content .= '<script type="text/javascript">

var accountHttp;

//sprawdza czy dane konto istnieje czy nie
function checkAccount()
{
if(document.getElementById("account_name").value== "")
{
document.getElementById("acc_name_check").innerHTM L = \'<b><font color="red">Please enter account name.</font></b>\';
return;
}
accountHttp=GetXmlHttpObject();
if (accountHttp==null)
{
return;
}
var account = document.getElementById("account_name").value;
var url="ajax/check_account.php?account=" + account + "&uid="+Math.random();
accountHttp.onreadystatechange=AccountStateChanged ;
accountHttp.open("GET",url,true);
accountHttp.send(null);
}

function AccountStateChanged()
{
if (accountHttp.readyState==4)
{
document.getElementById("acc_name_check").innerHTM L=accountHttp.responseText;
}
}

var emailHttp;

//sprawdza czy dane konto istnieje czy nie
function checkEmail()
{
if(document.getElementById("email").value=="")
{
document.getElementById("email_check").innerHTML = \'<b><font color="red">Please enter e-mail.</font></b>\';
return;
}
emailHttp=GetXmlHttpObject();
if (emailHttp==null)
{
return;
}
var email = document.getElementById("email").value;
var url="ajax/check_email.php?email=" + email + "&uid="+Math.random();
emailHttp.onreadystatechange=EmailStateChanged;
emailHttp.open("GET",url,true);
emailHttp.send(null);
}

function EmailStateChanged()
{
if (emailHttp.readyState==4)
{
document.getElementById("email_check").innerHTML=e mailHttp.responseText;
}
}

function validate_required(field,alerttxt)
{
with (field)
{
if (value==null||value==""||value==" ")
{alert(alerttxt);return false;}
else {return true}
}
}

function validate_email(field,alerttxt)
{
with (field)
{
apos=value.indexOf("@");
dotpos=value.lastIndexOf(".");
if (apos<1||dotpos-apos<2)
{alert(alerttxt);return false;}
else {return true;}
}
}

function validate_form(thisform)
{
with (thisform)
{
if (validate_required(account_name,"Please enter name of new account!")==false)
{account_name.focus();return false;}
if (validate_required(email,"Please enter your e-mail!")==false)
{email.focus();return false;}
if (validate_email(email,"Invalid e-mail format!")==false)
{email.focus();return false;}
if (verifpass==1) {
if (validate_required(passor,"Please enter password!")==false)
{passor.focus();return false;}
if (validate_required(passor2,"Please repeat password!")==false)
{passor2.focus();return false;}
if (passor2.value!=passor.value)
{alert(\'Repeated password is not equal to password!\');return false;}
}
if (verifya==1) {
if (validate_required(verify,"Please enter verification code!")==false)
{verify.focus();return false;}
}
if(rules.checked==false)
{alert(\'To create account you must accept server rules!\');return false;}
}
}
</script>';
$main_content .= 'To play on '.$config['server']['serverName'].' you need an account.
All you have to do to create your new account is to enter your email address, password to new account, verification code from picture and to agree to the terms presented below.
If you have done so, your account name, password and e-mail address will be shown on the following page and your account and password will be sent
to your email address along with further instructions.<BR><BR>
<FORM ACTION="?subtopic=createaccount&action=saveaccount " onsubmit="return validate_form(this)" METHOD=post>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
<TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Create a '.$config['server']['serverName'].' Account</B></TD></TR>
<TR><TD BGCOLOR="'.$config['site']['darkborder'].'"><TABLE BORDER=0 CELLSPACING=8 CELLPADDING=0>
<TR><TD>
<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0>';
$main_content .= '<TR><TD width="150" valign="top"><B>Account name: </B></TD><TD colspan="2"><INPUT STYLE="color:black" id="account_name" NAME="reg_name" onkeyup="checkAccount();" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Please enter your new account name)</font></TD></TR>
<TR><TD width="150"><b>Name status:</b></TD><TD colspan="2"><b><div id="acc_name_check">Please enter your account name.</div></b></TD></TR>
<TR><TD width="150" valign="top"><B>Email address: </B></TD><TD colspan="2"><INPUT STYLE="color:black" STYLE="color:black" id="email" NAME="reg_email" onkeyup="checkEmail();" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Your email address is required to recovery a '.$config['server']['serverName'].' account)</font></TD></TR>
<TR><TD width="150"><b>Email status:</b></TD><TD colspan="2"><b><div id="email_check">Please enter your e-mail.</div></b></TD></TR>';
$main_content .= '<TR><TD width="150"><b>Select Country:</b></TD><TD colspan="2"><b><SELECT NAME=country>';
foreach($config['site']['countries'] as $name)
{
$main_content .= '<OPTION>'.$name.'</OPTION>';
}
$main_content .= '</SELECT></b></TD></TR>';
if(!$config['site']['create_account_verify_mail'])
$main_content .= '<script type="text/javascript">var verifpass=1;</script>
<TR><TD width="150" valign="top"><B>Password: </B></TD><TD colspan="2"><INPUT STYLE="color:black" TYPE="password" id="passor" NAME="reg_password" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Here write your password to new account on '.$config['server']['serverName'].')</font></TD></TR>
<TR><TD width="150" valign="top"><B>Repeat password: </B></TD><TD colspan="2"><INPUT STYLE="color:black" TYPE="password" id="passor2" NAME="reg_password2" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Repeat your password)</font></TD></TR>';
else
$main_content .= '<script type="text/javascript">var verifpass=0;</script>';
if($config['site']['verify_code'])
$main_content .= '<script type="text/javascript">var verifya=1;</script><TR><TD width="150"><B>Code: </B></TD><TD colspan="2"><img src="imgverification/imagebuilder.php" border="0" alt="Image Verification is missing, please contact the administrator"></TD></TR>
<TR><TD width="150" valign="top"><B>Verification Code: </B></TD><TD colspan="2"><INPUT STYLE="color:black" id="verify" NAME="reg_code" VALUE="" SIZE=30 MAXLENGTH=50><BR><font size="1" face="verdana,arial,helvetica">(Here write verification code from picture)</font></TD></TR>';
else
$main_content .= '<script type="text/javascript">var verifya=0;</script>';
$main_content .= '</TABLE>
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0><TR><TD>
Please review the following terms and state your agreement below.
</TD></TR>
<TR><TD>
<B>'.$config['server']['serverName'].' Rules</B><BR>
<TEXTAREA ROWS="16" WRAP="physical" COLS="75" READONLY="true">';
//load server rules from file
include("tibiarules.php");
$main_content .= '</TEXTAREA>
</TD></TR></TABLE>
</TD></TR>
<TR><TD>
<TABLE BORDER=0 CELLSPACING=5 CELLPADDING=0>
<TR><TD>
<INPUT TYPE="checkbox" NAME="rules" id="rules" value="true" /><label for="rules"><u> I agree to the '.$config['server']['serverName'].' Rules.</u></lable><BR>
</TD></TR>
<TR><TD>
If you fully agree to these terms, click on the "I Agree" button in order to create a '.$config['server']['serverName'].' account.<BR>
If you do not agree to these terms or do not want to create a '.$config['server']['serverName'].' account, please click on the "Cancel" button.
</TD></TR></TABLE>
</TD></TR>
</TABLE></TD></TR>
</TABLE>
<BR>
<TABLE BORDER=0 WIDTH=100%>
<TR><TD ALIGN=center>
<IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=120 HEIGHT=1 BORDER=0><BR>
</TD><TD ALIGN=center VALIGN=top>
<INPUT TYPE=image NAME="I Agree" SRC="'.$layout_name.'/images/buttons/sbutton_iagree.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</FORM>
</TD><TD ALIGN=center>
<FORM ACTION="?subtopic=latestnews" METHOD=post>
<INPUT TYPE=image NAME="Cancel" SRC="'.$layout_name.'/images/buttons/sbutton_cancel.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</FORM>
</TD><TD ALIGN=center>
<IMG SRC="/images/general/blank.gif" WIDTH=120 HEIGHT=1 BORDER=0><BR>
</TD></TR>
</TABLE>
</TD>
<TD><IMG SRC="'.$layout_name.'/images/general/blank.gif" WIDTH=10 HEIGHT=1 BORDER=0></TD>
</TR>
</TABLE>';
}
//CREATE ACCOUNT PAGE (save account in database)
if($action == "saveaccount") {
$reg_country = trim($_POST['country']);
$reg_name = strtoupper(trim($_POST['reg_name']));
$reg_email = trim($_POST['reg_email']);
$reg_password = trim($_POST['reg_password']);
$reg_code = trim($_POST['reg_code']);
//FIRST check
//check e-mail
if(empty($reg_name))
$reg_form_errors[] = "Please enter account name.";
elseif(!check_account_name($reg_name))
$reg_form_errors[] = "Invalid account name format. Use only A-Z and numbers 0-9.";
if(empty($reg_email))
$reg_form_errors[] = "Please enter your email address.";
else
{
if(!check_mail($reg_email))
$reg_form_errors[] = "E-mail address is not correct.";
}
if($config['site']['verify_code'])
{
//check verification code
$string = strtoupper($_SESSION['string']);
$userstring = strtoupper($reg_code);
session_destroy();
if(empty($string))
$reg_form_errors[] = "Information about verification code in session is empty.";
else
{
if(empty($userstring))
$reg_form_errors[] = "Please enter verification code.";
else
{
if($string != $userstring)
$reg_form_errors[] = "Verification code is incorrect.";
}
}
}
//check password
if(empty($reg_password) && !$config['site']['create_account_verify_mail'])
$reg_form_errors[] = "Please enter password to your new account.";
elseif(!$config['site']['create_account_verify_mail'])
{
if(!check_password($reg_password))
$reg_form_errors[] = "Password contains illegal chars (a-z, A-Z and 0-9 only!) or lenght.";
}
//SECOND check
//check e-mail address in database
if(empty($reg_form_errors))
{
if($config['site']['one_email'])
{
$test_email_account = $ots->createObject('Account');
//load account with this e-mail
$test_email_account->findByEmail($reg_email);
if($test_email_account->isLoaded())
$reg_form_errors[] = "Account with this e-mail address already exist in database.";
}
$account_db = new OTS_Account();
$account_db->find($reg_name);
if($account_db->isLoaded())
$reg_form_errors[] = 'Account with this name already exist.';
}
// ----------creates account-------------(save in database)
if(empty($reg_form_errors))
{
//create object 'account' and generate new acc. number
if($config['site']['create_account_verify_mail'])
{
$reg_password = '';
for ($i = 1; $i <= 6; $i++)
$reg_password .= mt_rand(0,9);
}
$reg_account = $ots->createObject('Account');
$number = $reg_account->create(0, 9999999, $reg_name);
// saves account information in database
$reg_account->setPassword(password_ency($reg_password));
$reg_account->setEMail($reg_email);
$reg_account->unblock();
$reg_account->setCustomField("flag", $reg_country);
$reg_account->save();
if($config['site']['newaccount_premdays'])
{
$reg_account->setCustomField("premdays", $config['site']['newaccount_premdays']);
$reg_account->setCustomField("lastday", time());
}
//show information about registration
if($config['site']['send_emails'] && $config['site']['create_account_verify_mail'])
{
$mailBody = '<html>
<body>
<h3>Your account name and password!</h3>
<p>You or someone else registred on server <a href="'.$config['server']['url'].'"><b>'.$config['server']['serverName'].'</b></a> with this e-mail.</p>
<p>Account name: <b>'.$reg_name.'</b></p>
<p>Password: <b>'.trim($reg_password).'</b></p>
<br />
<p>After login you can:</p>
<li>Create new characters
<li>Change your current password
<li>Change your current e-mail
</body>
</html>';
require("phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
if ($config['site']['smtp_enabled'] == "yes")
{
$mail->IsSMTP();
$mail->Host = $config['site']['smtp_host'];
$mail->Port = (int)$config['site']['smtp_port'];
$mail->SMTPAuth = ($config['site']['smtp_auth'] ? true : false);
$mail->Username = $config['site']['smtp_user'];
$mail->Password = $config['site']['smtp_pass'];
}
else
$mail->IsMail();
$mail->IsHTML(true);
$mail->From = $config['site']['mail_address'];
$mail->AddAddress($reg_email);
$mail->Subject = $config['server']['serverName']." - Registration";
$mail->Body = $mailBody;
if($mail->Send())
{
$main_content .= 'Your account has been created. Check your e-mail. See you in Tibia!<BR><BR>';
$main_content .= '<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
<TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Account Created</B></TD></TR>
<TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
<TABLE BORDER=0 CELLPADDING=1><TR><TD>
<BR>Your account name is <b>'.$reg_name.'</b>.
<BR><b><i>You will receive e-mail (<b>'.$reg_email.'</b>) with your password.</b></i><br>';
$main_content .= 'You will need the account name and your password to play on '.$config['server']['serverName'].'.
Please keep your account name and password in a safe place and
never give your account name or password to anybody.<BR><BR>';
$main_content .= '<br /><small>These informations were send on email address <b>'.$reg_email.'</b>. Please check your inbox/spam folder.';
}
else
{
$main_content .= '<br /><small>An error occorred while sending email! Account not created. Try again.</small>';
$reg_account->delete();
}
}
else
{
$main_content .= 'Your account has been created. Now you can login and create your first character. See you in Tibia!<BR><BR>';
$main_content .= '<TABLE WIDTH=100% BORDER=0 CELLSPACING=1 CELLPADDING=4>
<TR><TD BGCOLOR="'.$config['site']['vdarkborder'].'" CLASS=white><B>Account Created</B></TD></TR>
<TR><TD BGCOLOR="'.$config['site']['darkborder'].'">
<TABLE BORDER=0 CELLPADDING=1><TR><TD>
<BR>Your account name is <b>'.$reg_name.'</b><br>You will need the account name and your password to play on '.$config['server']['serverName'].'.
Please keep your account name and password in a safe place and
never give your account name or password to anybody.<BR><BR>';
if($config['site']['send_emails'] && $config['site']['send_register_email'])
{
$mailBody = '<html>
<body>
<h3>Your account name and password!</h3>
<p>You or someone else registred on server <a href="'.$config['server']['url'].'"><b>'.$config['server']['serverName'].'</b></a> with this e-mail.</p>
<p>Account name: <b>'.$reg_name.'</b></p>
<p>Password: <b>'.trim($reg_password).'</b></p>
<br />
<p>After login you can:</p>
<li>Create new characters
<li>Change your current password
<li>Change your current e-mail
</body>
</html>';
require("phpmailer/class.phpmailer.php");
$mail = new PHPMailer();
if ($config['site']['smtp_enabled'] == "yes")
{
$mail->IsSMTP();
$mail->Host = $config['site']['smtp_host'];
$mail->Port = (int)$config['site']['smtp_port'];
$mail->SMTPAuth = ($config['site']['smtp_auth'] ? true : false);
$mail->Username = $config['site']['smtp_user'];
$mail->Password = $config['site']['smtp_pass'];
}
else
$mail->IsMail();
$mail->IsHTML(true);
$mail->From = $config['site']['mail_address'];
$mail->AddAddress($reg_email);
$mail->Subject = $config['server']['serverName']." - Registration";
$mail->Body = $mailBody;
if($mail->Send())
$main_content .= '<br /><small>These informations were send on email address <b>'.$reg_email.'</b>.';
else
$main_content .= '<br /><small>An error occorred while sending email (<b>'.$reg_email.'</b>)!</small>';
}
}
$main_content .= '</TD></TR></TABLE></TD></TR></TABLE><BR><BR>';
}
else
{
//SHOW ERRORs if data from form is wrong
$main_content .= '<div class="SmallBox" > <div class="MessageContainer" > <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div> <div class="BoxFrameEdgeLeftTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="BoxFrameEdgeRightTop" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="ErrorMessage" > <div class="BoxFrameVerticalLeft" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div> <div class="BoxFrameVerticalRight" style="background-image:url('.$layout_name.'/images/content/box-frame-vertical.gif);" /></div> <div class="AttentionSign" style="background-image:url('.$layout_name.'/images/content/attentionsign.gif);" /></div><b>The Following Errors Have Occurred:</b><br/>';
foreach($reg_form_errors as $show_msg)
{
$main_content .= '<li>'.$show_msg;
}
$main_content .= '</div> <div class="BoxFrameHorizontal" style="background-image:url('.$layout_name.'/images/content/box-frame-horizontal.gif);" /></div> <div class="BoxFrameEdgeRightBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> <div class="BoxFrameEdgeLeftBottom" style="background-image:url('.$layout_name.'/images/content/box-frame-edge.gif);" /></div> </div></div><br/>
<BR>
<CENTER>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0><FORM ACTION=?subtopic=createaccount METHOD=post><TR><TD>
<INPUT TYPE=hidden NAME=email VALUE="">

<INPUT TYPE=image NAME="Back" ALT="Back" SRC="'.$layout_name.'/images/buttons/sbutton_back.gif" BORDER=0 WIDTH=120 HEIGHT=18>
</TD></TR></FORM></TABLE>
</CENTER>';
}
}
?>

Sprobuj teraz :)
 
ooo działa tylko teraz to samo mam w login "zaloguj" powiem wam ze ja wszystko tak jakbym mial na kolor White , prosze mi pomoc go zmeinic , nie tylko mam zaloguj wszystko jest na kolor bialy
 
Powinienes zmienic kolor czcionki. A wiec wejdz w folder C:/xampp/htdocs/layouts/twojlayout/(basic.css lub inny glownyc plik .css) i tam bedzie takie cos:
Code:
body
{

	margin: 0px;
	padding: 0px;
	background: #000000 url('images/background.png') no-repeat top center;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	[COLOR="Red"]color: #96a7b8;[/COLOR]
	cursor: fireblue, ani;

}
Te na czerwno ustala kolor czcionki to zmien na jakis inny np. zielony czyli green

A jak chcesz zmienic tylko w login "zaloguj" to wklej to tu to ja ci zmienie ze bedzie dobrze :p
 
kurde powiem ci ze pozmieniałem w basic prawie wszystkie kolory na red i dalej to samo ;(
masz tutaj mój basic prosze o pomoc ;)

body {
margin: 0px;
padding: 0px;
background-color: #061222;
}

#ArtworkHelper {
text-align: center;
background-position: top center;
background-attachment: scroll;
background-repeat: no-repeat;
width: 100%;
height: 800px;
min-width: 1000px;
}
/* container to implement min/max width */
#Bodycontainer {
text-align: left;
min-width: 1000px;
max-width: 1200px;
width: 100%;
height: 100%;
margin: 0px;
margin-left: auto;
margin-right: auto;
padding: 0px;
display: table;
}

#ContentRow {
position: relative;
top: 155px;
}

/* "star-HTML-hack" to correct the position of the content row */
* html #ContentRow {
display: inline-block;
}

#MenuColumn {
position: absolute;
left: 0px;
top: 0px;
width: 180px;
margin-right: 15px;
margin-left: 15px;
padding: 0px;
font-family: Arial, sans-serif;
font-size: 10pt;
font-weight: bold;
line-height: 12pt;
}

#ContentColumn {
position: relative;
margin: 0px;
margin-left: 205px;
margin-right: 205px;
}

#ThemeboxesColumn {
text-align: center;
position: absolute;
top: 0px;
right: 0px;
width: 180px;
margin: 0px;
margin-right: 15px;
margin-left: 25px;
}

#Footer {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-size: 7pt;
font-weight: normal;
text-align: center;
position: relative;
width: 100%;
padding-bottom: 20px;
color: white;
}
* html #Footer {
padding-bottom: 120px;
margin-bottom: 50px;
}

/* Footer linkes */
#Footer a:link { color: white; text-decoration: none; }
#Footer a:visited { color: white; text-decoration: none; }
#Footer a:focus { color: white; text-decoration: none; }
#Footer a:active { color: white; text-decoration: underline; }
#Footer a:hover { color: white; text-decoration: underline; }

/** -------------------------------
* Stylesheet declarations for the
* HEADER AREA
* -------------------------------
*/

#LeftArtwork {
position: absolute;
height: 140px;
width: 166px;
top: -140px;
left: 4px;
background-repeat: no-repeat;
z-index:5;
}

#LeftArtwork #TibiaLogoArtworkTop {
position: absolute;
top: 20px;
left: 0px;
height: 82px;
width: 166px;
z-index: 5;
cursor: pointer;
}

#LeftArtwork #TibiaLogoArtworkBottom {
position: absolute;
top: 102px;
left: 0px;
height: 43px;
width: 166px;
z-index: 5;
}

#LeftArtwork #Statue_1{
position: absolute;
top: 0px;
left: 5px;
height: 30px;
width: 32px;
z-index:10;
}

#LeftArtwork #Statue_2 {
position: absolute;
top: 0px;
right: 25px;
height: 30px;
width: 32px;
z-index:10;
}

#LeftArtwork #LogoLink {
position: absolute;
bottom: 14px;
left: 58px;
height: 14px;
width: 50px;
z-index: 99;
cursor: pointer;
}

#RightArtwork {
text-align: left;
position: absolute;
top: -1px;
right: 24px;
width: 132px;
background-repeat: no-repeat;
z-index: 90;
}

#RightArtwork #Monster {
position: absolute;
height: 80px;
width: 80px;
top: -137px;
left: 8px;
z-index: 15;
cursor: pointer;
}

#PedestalAndOnline {
position: absolute;
top: -105px;
width: 132px;
height: 111px;
}

#RightArtwork #PlayersOnline {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size: 7pt;
line-height: 8pt;
text-align: center;
position: absolute;
width: 92px;
bottom: 11px;
left: 21px;
color: #cfa600;
border-bottom: 1px solid #010101;
cursor: pointer;
}

/** -------------------------------
* Stylesheet declarations for the
* LOGINBOX
* -------------------------------
*/


#Loginbox {
position: relative;
left: 5px;
top: 8px;
width: 100%;
margin-bottom: 42px;
background-repeat: no-repeat;
}

#Loginbox #LoginTop {
position: absolute;
left: -5px;
top: -12px;
height: 12px;
width: 180px;
background-repeat: no-repeat;
}

#Loginbox #LoginBottom {
position: absolute;
top: 52px;
left: -5px;
height: 12px;
width: 180px;
background-repeat: no-repeat;
}

#Loginbox .LoginBorder {
position: absolute;
top: 0px;
height: 52px;
width: 8px;
background-repeat: repeat-y;
z-index: 10;
}

#Loginbox #BorderRight {
right: 9px;
}

#Loginbox .Loginstatus {
position: relative;
top: 0px;
left: 5px;
height: 13px;
width: 160px;
}

#Loginbox .LoginstatusText {
position: absolute;
top: 1px;
left: 18px;
width: 124px;
height: 11px;
cursor: pointer;
}

#Loginbox #LoginstatusText_1 {
top: 2px;
cursor: default;
}

#Loginbox #LoginstatusText_2_1 {
visibility: visible;
}

#Loginbox #LoginstatusText_2_2 {
visibility: hidden;
}

#Loginbox #LoginButtonContainer {
margin-left: 5px;
height: 26px;
width: 160px;
background-repeat: repeat-y;
}

#Loginbox #LoginButton {
position: relative;
top: 1px;
left: 12px;
height: 25px;
width: 135px;
}

#Loginbox #LoginButton .Button {
position: relative;
top: 0px;
left: 0px;
width: 135px;
height: 25px;
visibility: hidden;
}

#Loginbox #LoginButton #ButtonText {
position: absolute;
top: 0px;
left: 0px;
height: 22px;
width: 135px;
z-index: 15;
cursor: pointer;
}

/** -------------------------------
* Stylesheet declarations for the
* MENU
* -------------------------------
*/

#Menu {
position: relative;
left: 5px;
background-repeat: no-repeat;
}

#MenuTop {
position: absolute;
left: -5px;
top: -12px;
height: 12px;
width: 180px;
background-repeat: no-repeat;
}

#MenuBottom {
position: relative;
left: -5px;
bottom: 0px;
height: 12px;
width: 180px;
background-repeat: no-repeat;
}

/* Menuitems */

.MenuButton {
position: relative;
height: 32px;
width: 170px;
display: block;
cursor: pointer;
}

.Button {
position: relative;
height: 32px;
width: 170px;
visibility: hidden;
display: block;
}

.Extend {
position: absolute;
top: 20px;
right: -2px;
height: 12px;
width: 12px;
background-repeat: no-repeat;
}

.Lights {
visibility: hidden;
}

.Light_lu {
position: absolute;
top: 2px;
left: 3px;
height: 2px;
width: 2px;
background-repeat: no-repeat;
}

.Light_ru {
position: absolute;
top: 2px;
right: 3px;
height: 2px;
width: 2px;
background-repeat: no-repeat;
}

.Light_ld {
position: absolute;
height: 2px;
width: 2px;
top: 28px;
left: 3px;
}

.Icon {
position: absolute;
height: 32px;
width: 32px;
top: 0px;
left: 8px;
}

.Label {
position: absolute;
height: 22px;
width: 116px;
top: 6px;
left: 42px;
}

/* Submenus(items) */

.LeftChain {
position: absolute;
top: 0px;
left: -5px;
height: 33px;
width: 7px;
background-repeat: repeat-y;
}

.RightChain {
position: absolute;
top: 0px;
right: -4px;
height: 33px;
width: 7px;
background-repeat: repeat-y;
}

.Submenu {
position: relative;
margin-left: 5px;
margin-right: 5px;
background-color: #0D2E2B;
width: 160px;
}

.Submenuitem {
position: relative;
margin: 0px;
padding: 0px;
}

.ActiveSubmenuItemIcon {
position: absolute;
top: 5px;
left: 3px;
width: 10px;
height: 10px;
background-repeat: no-repeat;
visibility: hidden;
}

.SubmenuitemLabel {
margin: 0px;
border-top: 0;
padding-top: 2px;
padding-bottom: 2px;
padding-left: 15px;
border-bottom: 1px solid #4b7874;
overflow: hidden;
}

/* Submenu links */
.Submenu a:link { color: #d7d7d7; text-decoration: none; }
.Submenu a:visited { color: #d7d7d7; text-decoration: none; }
.Submenu a:focus { color: #d7d7d7; text-decoration: none; }
.Submenu a:active { color: white; text-decoration: none; }
.Submenu a:hover { color: white; text-decoration: none; }

/** -------------------------------
* Stylesheet declarations for the
* CONTENT AREA
* -------------------------------
*/

.Content .BoxContent {
padding: 10px;
}

/* "tanhack" for correction of IE bug */
* html .Content {
top: -5px;
}

.Content {
position: relative;
top: 0px;
width: 100%;
}

/* "star-HTML-hack" to correct the position of the content area */
* html .Content {
position: relative;
top: 796px;
margin: 20px;
border: 0px dashed #061222;
border-right-width: 550px;
}

#ContentHelper {
position: relative;
}

/* "star-HTML-hack" to to implement min-width in IE */
* html #ContentHelper {
display: inline-block;
position: relative;
top: -800px;
margin: -20px;
margin-right: -570px;
}

.Content .Box {
font-size: 0pt;
position: relative;
margin: 5px;
margin-bottom: 18px;
color: #5A2800;
border-left: 2px solid #3a3738;
border-right: 2px solid #3a3738;
background-color: #debb9d;
background-repeat: no-repeat;
overflow: visible;
}

.Content .BoxContent {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-size: 9pt;
background-color: #FFF2db;
color: #5A2800;
min-height: 395px;
height: auto !important;
height: 415px;
}

/* "star-HTML-hack" to correct Box width in IE */
* html .Content .Box {
width: 100%;
}
/* "star-HTML-hack" to correct BoxContent width in IE */
* html .Content .BoxContent {
width: 100%;
}

.Content th {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-size: 10pt;
font-weight: bold;
text-align: left;
color: white;
background-color: #505050;
}

.Content .BoxContent td {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-size: 10pt;
color: #5A2800;
}

/* Content Links */

.Content a {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-weight: bold;
color: #004294;
text-decoration: none;
}
.Content a:hover {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-weight: bold;
text-decoration: underline;
color: #0063DC;
}
.Content .HelpLink {
font-size: 7pt;
cursor: pointer;
}

/* Corners */

.Content .Corner-tl {
position: absolute;
top: -4px;
left: -5px;
width: 17px;
height: 17px;
z-index: 50;
}

.Content .Corner-tr {
position: absolute;
top: -4px;
right: -5px;
width: 17px;
height: 17px;
z-index: 50;
}

.Content .BottomCornersHelper {
position: absolute;
width: 100%;
}

.Content .CornerWrapper-b {
position: absolute;
width:100%;
}

.Content .Corner-bl {
position: absolute;
bottom: -4px;
left: -6px;
width: 17px;
height: 17px;
z-index: 50;
}

.Content .Corner-br {
position: absolute;
bottom: -4px;
right: -6px;
width: 17px;
height: 17px;
z-index: 50;
}

/* Borders */

.Content .Border_1 {
position: relative;
height: 6px;
width: 100%;
background-repeat: repeat-x;
}

.Content .BorderTitleText {
position: relative;
height: 24px;
background-repeat: repeat-x;
}

.Content .Title {
position: absolute;
top: 6px;
left: 5px;
}

.Content .Border_2 {
margin: 4px;
padding: 0px;
background-color: #793d03;
}

.Content .Border_3 {
margin: 1px;
border-top: 1px solid #793d03;
border-bottom: 1px solid #793d03;
}

/** -------------------------------
* Stylesheet declarations for the
* THEMEBOXES of the Tibia
* website
* -------------------------------
*/

.Themebox {
position: relative;
margin-bottom: 10px;
top: -4px;
width: 180px;
height: 154px;
}
#Themeboxes div {
font-size: 10pt;
background-repeat: no-repeat;
}
#Themeboxes .ThemeboxButton {
position: absolute;
bottom: 20px;
left: 22px;
height: 25px;
width: 137px;
cursor: pointer;
}
#Themeboxes .Bottom {
position: absolute;
bottom: 0px;
left: 0px;
height: 12px;
width: 180px;
}
/* "star-HTML-hack" to correct the position of the bottom element */
* html #Themeboxes .Bottom {
bottom: -3px;
}
#Themeboxes #PremiumBox {
height: 164px;
}
#Themeboxes #ScreenshotBox #ScreenshotContent {
position: relative;
height: 111px;
width: 170px;
top: 31px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
border: 0;
cursor: pointer;
}
#Themeboxes #CurrentPollBox #CurrentPollText {
font-family: Verdana, Arial, sans-serif;
font-weight: bold;
line-height: 11pt;
color: #5A2800;
position: absolute;
height: 70px;
width: 150px;
top: 37px;
left: 15px;
padding-top: 5px;
overflow: hidden;
}
#Themeboxes #SkyscraperBanner {
border: 0;
}

/** -------------------------------
* OLD Stylesheet declarations for
* the CONTENT AREA
* -------------------------------
*/

.Content .BoxContent td .white {
color: #EFEFEF;
visibility: visible;
}

.Content .BoxContent td .whites {
color: #EFEFEF;
visibility: visible;
font-size: 9pt;
}

.Content .BoxContent .white {
color : #EFEFEF;
visibility : visible;
}

.Content .BoxContent td .green {
color : #00BF00;
}

.Content .BoxContent td .yellow {
color : #FFBB05;
}

.Content .BoxContent td .red {
color : #EF0000;
}

.Content .BoxContent td .grey {
color : #808080;
}

/** -------------------------------
* OLD Stylesheet declarations for
* the CONTENT AREA (forum)
* -------------------------------
*/

.Content .BoxContent .ff_info {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 10pt;
color : #5A2800;
visibility : visible;
}

.Content .ff_white a {
color: #FFFFFF;
}

.Content .BoxContent .ff_white {
font-family : Verdana, Arial, Times New Roman, sans-serif;
color : #EFEFEF;
visibility : visible;
font-size : 7pt;
font-weight: bold;
}

.Content .BoxContent .ff_red {
font-family : Verdana, Arial, Times New Roman, sans-serif;
color : #EF0000;
visibility : visible;
font-size : 8pt;
font-weight: bold;
}

.Content .BoxContent .ff_whitelarge {
font-family : Verdana, Arial, Times New Roman, sans-serif;
color : #EFEFEF;
visibility : visible;
font-size : 9pt;
font-weight: bold;
}

.Content .BoxContent .ff_info {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 8pt;
color : #5A2800;
visibility : visible;
}

.Content .BoxContent .ff_infotext {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 8pt;
color : #5A2800;
visibility : visible;
line-height: 12pt;
}

.Content .BoxContent .ff_smallinfo {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 7pt;
color : #5A2800;
visibility : visible;
}

.Content .BoxContent .ff_large {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 12pt;
color : #5A2800;
visibility : visible;
}

.Content .BoxContent .ff_pagetext {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 9pt;
color : #5A2800;
visibility : visible;
line-height: 13pt;
}

.Content .BoxContent .ff_pagetextgrey {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 9pt;
color : #505050;
visibility : visible;
line-height: 13pt;
}

.Content .BoxContent .ff_pagetextred {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 9pt;
color : #F00;
visibility : visible;
line-height: 13pt;
}

.Content .BoxContent .ff_correct {
font-family : Verdana, Arial, Times New Roman, sans-serif;
font-size : 11pt;
color : #FF0000;
visibility : visible;
font-weight: bold;
}

/** --------------------------------------
* ### not final versions for tests
* ### concerning the new payment process
* --------------------------------------
*/

/* new error handling concept tests */

.FormFieldError {
font-size: 8pt;
color: red;
}
.SmallBox {
position: relative;
font-size: 1px;
}
.SmallBox .ErrorMessage {
font-size: 8pt;
position: relative;
color: red;
height: 100%;
background-color: #57584f;
padding: 5px;
padding-left: 43px;
}
.SmallBox .Message {
font-size: 10pt;
position: relative;
height: 100%;
background-color: #57584f;
padding: 10px;
}
.SmallBox .ErrorMessage ul {
padding-left: 15px;
}
.SmallBox .BoxFrameHorizontal {
position: relative;
height: 4px;
}
.SmallBox .BoxFrameVerticalRight {
position: absolute;
right: 0px;
top: 0px;
width: 3px;
background-repeat: repeat-y;
height: 100%;
}
.SmallBox .BoxFrameVerticalLeft {
position: absolute;
left: 0px;
top: 0px;
width: 3px;
background-repeat: repeat-y;
height: 100%;
}
.SmallBox .MessageContainer {
position: relative;
height: 100%;
}
.SmallBox .BoxFrameEdgeLeftTop {
position: absolute;
left: -1px;
top: -1px;
width: 5px;
height: 5px;
}
.SmallBox .BoxFrameEdgeLeftBottom {
position: absolute;
left: -1px;
bottom: -1px;
width: 5px;
height: 5px;
}
.SmallBox .BoxFrameEdgeRightTop {
position: absolute;
right: -1px;
top: -1px;
width: 5px;
height: 5px;
}
.SmallBox .BoxFrameEdgeRightBottom {
position: absolute;
right: -1px;
bottom: -1px;
width: 5px;
height: 5px;
}
.SmallBox .AttentionSign {
position: absolute;
top: 3px;
left: 8px;
width: 30px;
height: 26px;
}


/** ---------------------------------
* ### not finished versions for the
* ### payment process PROGRESS BAR
* ---------------------------------
*/

#ProgressBar #Headline {
text-align: center;
font-size: 12pt;
font-weight: bold;
margin-bottom: 5px;
}
#ProgressBar #MainContainer {
position: relative;
top: 10px;
height: 50px;
margin-bottom: 25px;
}
#ProgressBar #BackgroundContainer {
position: relative;
width: 100%;
}

#ProgressBar #BackgroundContainerLeftEnd {
position: absolute;
float: left;
}
#ProgressBar #BackgroundContainerCenter {
position: absolute;
left: 0px;
top: 0px;
height: 17px;
width: 100%;
}
#ProgressBar #BackgroundContainerCenterImage {
position: relative;
margin-left: 25px;
margin-right: 25px;
height: 17px;
}
#ProgressBar #BackgroundContainerRightEnd {
position: absolute;
right: 0px;
top: 0px;
float: right;
}
#ProgressBar #TubeLeftEnd {
position: absolute;
left: 25px;
top: 4px;
}
#ProgressBar #TubeRightEnd {
position: absolute;
right: 25px;
top: 4px;
z-index: 0;
}
#ProgressBar .Steps {
position: relative;
height: 39px;
font-size: 9px;
float: left;
top: -11px;
margin-left: -1px;
}
#ProgressBar #StepsContainer1 {
text-align: right;
margin-left: 92px;
margin-right: 40px;
height: 10px;
}
#ProgressBar #StepsContainer2 {
width: 100%;
height: 10px;
}
#ProgressBar .TubeContainer {
position: relative;
padding-right: 47px;
}
#ProgressBar .Tube {
position: relative;
top: 16px;
left: 0px;
width: 100%;
height: 7px;
background: #FFFFFF none repeat scroll 0%;
}
* html #ProgressBar .Tube {
top: 13px;
}
#ProgressBar .SingleStepContainer {
position: absolute;
top: 0px;
width: 47px;
height: 30px;
right: 0px;
text-align: center;
}
#ProgressBar #FirstStep .SingleStepContainer {
left: 45px;
width: 47px;
position: absolute;
}
#ProgressBar .StepIcon {
position: absolute;
right: 0px;
}
* html #ProgressBar .StepIcon {
right: -1px;
}
#ProgressBar #FirstStep .StepIcon {
top: 0px;
left: 0px;
}
#ProgressBar .StepText {
top: 40px;
position: absolute;
width: 200px;
right: -77px;
}


/** -------------------------------
* Stylesheet declarations for the
* NEW TABLES
* -------------------------------
*/

.TableContainer {
border: 1px solid black;
position: relative;
width: 100%;
font-size: 1px;
}
.TableContainer .Odd {
background-color: #3a3938;
}
.TableContainer .Even {
background-color: #474c2b;
}

/* TABLEHEADER DECORATION */
.TableContainer .CaptionContainer {
position: relative;
font-size: 1pt;
background-color: #474c2b !important;
height: 100%;
width: 100%;
text-align: left;
}
.TableContainer .CaptionContainer .CaptionInnerContainer {
position: relative;
background-color: #474c2b;
width: 100%;
height: 100%;
padding-top: 3px;
padding-bottom: 4px;
}
.TableContainer .CaptionContainer .Text {
font-family: Verdana, Arial, Times New Roman, sans-serif;
font-size: 10pt;
font-weight: bold;
text-align: left;
color: white;
padding-left: 10px;
padding-top: 0px;
padding-bottom: 0px;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftTop {
position: absolute;
width: 5px;
height: 5px;
top: -2px;
left: -2px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightTop {
position: absolute;
width: 5px;
height: 5px;
top: -2px;
right: -2px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
position: absolute;
width: 5px;
height: 5px;
left: -2px;
bottom: -3px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionEdgeRightBottom {
position: absolute;
width: 5px;
height: 5px;
right: -2px;
bottom: -3px;
z-index: 50;
}
.TableContainer .CaptionContainer .CaptionBorderTop {
position: absolute;
width: 100%;
height: 4px;
left: 0px;
top: -1px;
}
.TableContainer .CaptionContainer .CaptionBorderBottom {
position: absolute;
width: 100%;
height: 4px;
left: 0px;
bottom: -2px;
}
.TableContainer .CaptionContainer .CaptionVerticalLeft {
position: absolute;
height: 100%;
width: 3px;
left: -1px;
top: 0px;
}
.TableContainer .CaptionContainer .CaptionVerticalRight {
position: absolute;
height: 100%;
width: 3px;
right: -1px;
top: 0px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightTop {
right: -3px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeLeftBottom {
bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionEdgeRightBottom {
right: -3px;
bottom: -4px;
}
* html .TableContainer .CaptionContainer .CaptionBorderBottom {
bottom: -3;
}
* html .TableContainer .CaptionContainer .CaptionVerticalRight {
right: -2px;
}
/* TABLE CONTENT */
.TableContentContainer {
border: 1px solid #474c2b;
position: relative;
margin-right: 4px;
height: 100%;
background-color: #57584f;
padding: 0px;
}
.TableContent {
width: 100%;
border-collapse: collapse;
}
.TableContent td {
padding-left: 5px;
padding-top: 2px;
padding-right: 5px;
padding-bottom: 2px;
}
/* INNERLYOUT 1 */
.TableContainer .Table1 {
width: 100%;
background-color: #57584f;
border: 2px solid #55636c;
}
.TableContainer .Table1 .InnerTableContainer {
padding: 5px;
}
/* INNERLYOUT 2 */
.TableContainer .Table2 {
width: 100%;
border: 2px solid #55636c;
background-color: #484746;
padding: 0px;
margin: 0px;
border-collapse: collapse;
}
.TableContainer .Table2 td {
padding: 0px;
margin: 0px;
}
.TableContainer .Table2 .InnerTableContainer {
margin-top: 1px;
}
.TableContainer .Table2 .InnerTableContainer table {
border-collapse: collapse;
}
.TableContainer .Table2 .InnerTableContainer td {
padding-top: 2px;
padding-left: 5px;
padding-bottom: 2px;
padding-right: 5px;
border: 1px solid #faf0d7;
}
/* INNERLYOUT 3 */
.TableContainer .Table3 {
width: 100%;
border: 2px solid #55636c;
background-color: #484746;
}
.TableContainer .Table3 .InnerTableContainer {
width: 100%;
position: relative;
margin-top: 5px;
margin-left: 3px;
}
.TableContainer .Table3 .TableContentAndRightShadow td {
border: 1px solid #faf0d7;
}
/* INNERLYOUT 4 */
.TableContainer .Table4 {
width: 100%;
border: 2px solid #55636c;
background-color: #484746;
}
.TableContainer .Table4 .InnerTableContainer {
width: 100%;
position: relative;
margin-top: 3px;
}
.TableContainer .Table4 .TableContentAndRightShadow .TableContent td {
padding-left: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
/* INNERLYOUT 5 */
.TableContainer .Table5 {
width: 100%;
border: 2px solid #55636c;
background-color: #484746;
}
.TableContainer .Table5 .InnerTableContainer {
width: 100%;
position: relative;
margin-top: 5px;
margin-left: 3px;
}
.TableContainer .Table5 .TableContentAndRightShadow .TableContent td {
padding-left: 4px;
padding-top: 2px;
padding-bottom: 2px;
}
/* SHADOWS */
.TableShadowContainerRightTop {
position: relative;
top: 0px;
right: 3px;
margin-right: 0px;
font-size: 1px;
float: right;
z-index: 99;
}
.TableShadowRightTop {
position: absolute;
top: 0px;
right: 0px;
width: 4px;
height: 5px;
z-index: 99;
}
.TableContentAndRightShadow {
position: relative;
background-repeat: repeat-y;
background-position: top right;
margin-right: 3px;
font-size: 1px;
}
.TableShadowContainer {
position: relative;
widht: 100%;
margin-right: 5px;
}
.TableBottomShadow {
position: relative;
font-size: 1px;
height: 5px;
width: 100%;
padding: 0px;
margin: 0px;
}
.TableBottomLeftShadow {
position: relative;
height: 5px;
width: 4px;
float: left;
padding: 0px;
margin: 0px;
}
.TableBottomRightShadow {
position: relative;
float: right;
right: -2px;
top: 0px;
height: 5px;
width: 4px;
}
/* LABELS */
.LabelV {
font-weight: bold;
padding-right: 10px;
white-space: nowrap;
vertical-align: top;
}
.LabelH {
font-weight: bold;
padding-right: 10px;
white-space: nowrap;
background-color: #474c2b;

}
.LabelH td {
background-color: #474c2b;
padding-left: 5px;
padding-top: 2px;
padding-right: 5px;
padding-bottom: 2px;
}

/* BUTTONS */
.InnerTableButtonRow {
width: 100%;
padding-left: 1px;
padding-right: 0px;
padding-bottom: 4px;
border: 0px;
}
.InnerTableButtonRow td {
padding-right: 4px;
}
.BigButton {
position: relative;
width: 135px;
height: 25px;
z-index: 10;
}
.BigButtonOver {
position: absolute;
top: 0px;
left: 0px;
width: 137px;
height: 25px;
visibility: hidden;
z-index: 15;
}
.ButtonText {
position: absolute;
top: 0px;
left: 0px;
height: 25px;
width: 135px;
z-index: 20;
}
.TopButtonContainer {
position: relative;
right: 4px;
top: 4px;
z-index: 60;
}
* html .TopButtonContainer {
right: 27px;
}
.TopButtonContainer .TopButton {
position: absolute;
right: 0px;
z-index: 55;
}
.Content .BoxContent .Odd {
background-color: #57584f;
padding: 2px;
}

.Content .BoxContent .Even {
background-color: #3a3938;
padding: 2px;
}

.Content .NewsCategoryIconSmall {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
background-color: #57584f;
padding: 2px;
}

.Content .BoxContent .Even {
background-color: #3a3938;
padding: 2px;
}

.Content .NewsCategoryIconSmall {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}
.Content .BoxContent .Odd {
background-color: #57584f;
padding: 2px;
}

.Content .BoxContent .Even {
background-color: #3a3938;
padding: 2px;
}

.Content .NewsCategoryIconSmall {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}

/* News Ticker */

.Content #NewsTicker .BoxContent {
padding: 5px;
min-height: 90px;
height: auto !important;
height: 100px;
}

.Content #NewsTicker .BoxContent .Row {
position: relative;
width: 100%;
}

.Content #NewsTicker .NewsTickerIcon {
position: absolute;
top: 1px;
left: 1px;
height: 16px;
width: 16px;
background-repeat: no-repeat;
}

.Content #NewsTicker .NewsTickerText {
font-size: 9pt;
position: relative;
margin-left: 20px;
}

.Content #NewsTicker .NewsTickerDate {
font-size: 7pt;
position: absolute;
top: 0px;
float: left;
}

.Content #NewsTicker .NewsTickerShortText {
margin-left: 85px;
height: 14px;
}

.Content #NewsTicker .NewsTickerFullText {
margin-left: 85px;
margin-right: 20px;
display: none;
}

.Content #NewsTicker .NewsTickerExtend {
position: relative;
right: 0px;
top: 1px;
right: 1px;
height: 12px;
width: 12px;
background-repeat: no-repeat;
float: right;
cursor: pointer;
z-index: 10;
}

/* Featured Article */

.Content #FeaturedArticle .BoxContent {
position:relative;
height: 100px;
padding: 5px;
padding-left: 10px;
min-height: 100px;
height: auto !important;
height: 110px;
line-height: 10.5pt;
}

.Content #FeaturedArticle #TeaserThumbnail {
position: relative;
top: 0px;
right: 0px;
height: 100px;
width: 150px;
margin-left: 10px;
background-color: black;
z-index: 90;
float: right;
}

#ContentHelper #FeaturedArticle:first-child .BoxContent {
padding: 10px;
}

.Content #FeaturedArticle #TeaserText {
height: 100px;
overflow: hidden;
z-index: 0;
}

.Content #FeaturedArticle #Link {
position: absolute;
top: 0px;
right: 0px;
margin: 89 165 0 0;
z-index: 99;
}

.Content #FeaturedArticle .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}

.Content #FeaturedArticle .NewsHeadlineIcon {
position: absolute;
top: -1px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
float:left;
}

.Content #FeaturedArticle .NewsHeadlineDate {
font-size: 7pt;
position: absolute;
top: 9px;
left: 50px;
width: 85px;
color: white;
}

.Content #FeaturedArticle .NewsHeadlineText {
position: relative;
top: 8px;
left: 135px;
font-size: 10pt;
font-weight: bold;
color: white;
}

/* News */

.Content #News .BoxContent {
min-height: 100px;
height: auto !important;
height: 110px;
}

.Content #News .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}

.Content #News .NewsHeadlineIcon {
position: absolute;
top: -1px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
}

.Content #News .NewsHeadlineDate {
font-size: 7pt;
position: absolute;
top: 10px;
left: 50px;
width: 85px;
color: white;
}

.Content #News .NewsHeadlineText {
position: relative;
top: 7px;
left: 135px;
font-size: 10pt;
font-weight: bold;
color: white;
}

/* News Archive */

.Content #NewsArchive .NewsHeadlineBackground {
position: relative;
height: 28px;
margin-bottom: 5px;
background-repeat: repeat-x;
border-left: 1px solid #000000;
border-right: 1px solid #000000;
}

.Content #NewsArchive .NewsHeadlineIcon {
position: absolute;
top: -1px;
left: 0px;
margin-left: 5px;
margin-right: 5px;
}

.Content #NewsArchive .NewsHeadlineDate {
font-size: 7pt;
position: absolute;
top: 9px;
left: 50px;
width: 85px;
color: white;
}

.Content #NewsArchive .NewsHeadlineText {
position: relative;
top: 7px;
left: 135px;
font-size: 10pt;
font-weight: bold;
color: white;
}
 
Hmm ciezko tu znalezc to czego mniej wiecej szukam wiec moze daj mi kod z tym login bedzie łatwiej i na przyszlosc takie dlugie teksty pisz w znacznikach [CODE ] [/CODE ]
 
Back
Top