Формата е правена с NetBeans IDE 6.5
За формата ни трябват 3 файла.
1.index.php
2.send.php
3.style.css
На мястото "Моят E-mail адрес" въведете вашият E-mail адрес.
Правена е за поръчка на админ права за Counter-Strike 1.
Ето демо на формата : Цък
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style.css" />
<title>Contact</title>
</head>
<body>
<center>
<form method="post" action="send.php">
<font face=verdana size=-3><b>Ник *:</font><br>
<input type=text name="ime"><br>
<font face=verdana size=-3><b>E-mail адрес *:</font><br>
<input type=text name="e_mail"><br>
<font face=verdana size=-3><b>Парола *:</font><br>
<input type=text name="parola"><br>
<font face=verdana size=-3><b>Код от SMS *:</font><br>
<input type=text name="kod ot sms"><br>
<input type=submit value="Изпрати"><br></form>
</center>
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="style.css" />
<title>.::[Kts] hot cS 1.6 Server::.</title>
</head>
<body>
<center>
<?php
$to = 'Моят E-mail адрес';
$tekst = 'Ник: ' . "$ime n" .
'E-mail: ' . "$e_mail n" .
'Парола: ' . "$parola n" .
'Код от SMS: ' . "$kodotsms n" .
mail($to, $ime, $tekst, 'Моят E-mail адрес');
echo("Вашето съобщение е изпратено успешно. Благодарим Ви!");
?>
</center>
</body>
</html>
<style type="text/css">
<!--
html, body {
height: 100%;
padding: 2px 15px 2px 15px;
margin-left: auto;
margin-right: auto;
margin-bottom: 10px;
}
table { border-collapse: collapse;
margin-left: auto;
margin-right: auto;
margin-bottom: 10px;
}
body {
background: #4C5844;;
font-family: Tahoma;
font-size: 12px;
color: white;
}
th { padding: 2px 15px 2px 15px;
background-color: #4C5844;
text-decoration: none;
text-align: center;
font-size: 12px;
border: solid #889180 0px;}
td { padding: 2px 15px 2px 15px;
text-align: center;
font-size: 12px;
background-color: #4C5844;
border: solid #889180 1px;}
img{ border:0;}
a {
font-family: Tahoma;
color: C4B550;
text-decoration: none;
font-size: 12px;
}
a:visited {
color: C4B550;
text-decoration: none;
}
a:hover {
color: C4B550;
text-decoration: none;
}
a:active {
color: C4B550;
text-decoration: none;
}
.form {
font-family : Tahoma, Verdana, Arial ;
border-color:#889180;
border-top: #282E22;
border-left: #282E22;
border-right: #889180;
border-bottom: #889180;
color: #ffffff;
border-style:solid;
border-width:1px;
background-color : #3E4637;
}
.textarea {
font-family : Verdana, Tahoma, Arial ;
color: white;
border-color:#838383;
border-style:solid;
border-width:1px;
background-color : #4C5844;
}
.black {
font-family : Tahoma, Verdana, Arial ;
border-color:#889180;
border-right: #282E22;
border-bottom: #282E22;
border-top: #889180;
border-left: #889180;
color: #C4B550;
border-style:solid;
border-width:1px;
background-color: #4C5844; }
</style>