Kod:
<html>
<head>
<meta http-equiv="Content-Type" content="text/HTML; charset=iso-8859-9">
</head>
<title>senin siten</title>
<?php
if($_POST){
$isim = trim(strip_tags($_POST['isim']));
$mail = trim(strip_tags($_POST['mail']));
$gsm_1 = $_POST['gsm_1'];
$gsm_2 = trim(strip_tags($_POST['gsm_2']));
$sehir = $_POST['sehir'];
$adres = trim(strip_tags($_POST['adres']));
$banka = $_POST['banka'];
$gun = $_POST['gun'];
$ay = $_POST['ay'];
$yil = $_POST['yil'];
$aciklama = trim(strip_tags($_POST['aciklama']));
//Diğer veriler
$tarih = date("d.m.Y - H:i:s");
$ip = $_SERVER['REMOTE_ADDR'];
$admin_mail = "senin@mail.adresim";
$konu = "Sipariş Formu";
$mesaj_to = "<style type=\"text/css\"><!-- body,td,th{ font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px; } --></style>
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<title>www.seninsiten.com</title>
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
}
.style1 {
font-size: 18px;
font-weight: bold;
}
.style2 {font-size: 18px}
a {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
color: #666666;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
-->
</style>
<script type="text/javascript" language="javascript">
function form_kontrol() {
if (document.form1.isim.value == ""){
alert ("İsim giriniz");
document.form1.isim.focus();
return false;
}
if (document.form1.mail.value == ""){
alert ("E-mail giriniz?");
document.form1.mail.focus();
return false;
}
var epostasi = document.form1.mail.value
if ( (epostasi.indexOf ('@',0) == -1) || (epostasi.indexOf('.',0) == -1) || (epostasi.indexOf(' ',0) != -1) || (epostasi.length<6) ){
alert ("E-mail de sorun var. Kontrol ediniz");
document.form1.mail.focus();
return false;
}
if (document.form1.gsm_1.selectedIndex==0){
alert ('GSM Operatör seçiniz?')
document.form1.gsm_1.focus()
return false
}
if (document.form1.gsm_2.value == ""){
alert ("GSM giriniz?");
document.form1.gsm_2.focus();
return false;
}
if (document.form1.sehir.selectedIndex==0){
alert ('Şehir seçiniz?')
document.form1.sehir.focus()
return false
}
if (document.form1.adres.value == ""){
alert ("Adres giriniz?");
document.form1.adres.focus();
return false;
}
if (document.form1.banka.selectedIndex==0){
alert ('Banka seçiniz?')
document.form1.banka.focus()
return false
}
if (document.form1.gun.selectedIndex==0){
alert ('Sipariş Tarihi Gün Seçiniz?')
document.form1.gun.focus()
return false
}
if (document.form1.ay.selectedIndex==0){
alert ('Sipariş Tarihi Ay Seçiniz?')
document.form1.ay.focus()
return false
}
if (document.form1.yil.selectedIndex==0){
alert ('Sipariş Tarihi Yıl Seçiniz?')
document.form1.yil.focus()
return false
}
if (document.form1.aciklama.value == ""){
alert ("Açıklama giriniz?");
document.form1.aciklama.focus();
return false;
}
}
</script>
</head>
<body>
<?php
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><form name="form1" method="post" action="siparis.php" onSubmit="return form_kontrol();">
<table width="80%" border="0" cellspacing="3" cellpadding="2" style="border:1px solid #CCCCCC;">
<tr bgcolor="#CCCCCC">
<td height="40" colspan="2"><span class="style1">Sipariş Verenin </span></td>
</tr>
<tr bgcolor="#DFDFDF">
<td width="31%" bgcolor="#CCCCCC"><strong>Adı Soyadı </strong></td>
<td width="69%"><input name="isim" type="text" id="isim" size="40"></td>
</tr>
<tr bgcolor="#DFDFDF">
<td bgcolor="#CCCCCC"><strong>E-Mail Adresi </strong></td>
<td><input name="mail" type="text" id="mail" size="40"></td>
</tr>
<tr bgcolor="#DFDFDF">
<td bgcolor="#CCCCCC"><strong>Telefon Numarası </strong></td>
<td><select name="gsm_1" id="gsm_1">
<option selected>-- Seçiniz --</option>
<option value="0 531">0 531</option>
<option value="0 532">0 532</option>
<option value="0 533">0 533</option>
<option value="0 534">0 534</option>
<option value="0 535">0 535</option>
<option value="0 536">0 536</option>
<option value="0 537">0 537</option>
<option value="0 538">0 538</option>
<option value="0 539">0 539</option>
<option value="0 540">0 540</option>
<option value="0 541">0 541</option>
<option value="0 542">0 542</option>
<option value="0 543">0 543</option>
<option value="0 544">0 544</option>
<option value="0 545">0 545</option>
<option value="0 546">0 546</option>
<option value="0 547">0 547</option>
<option value="0 548">0 548</option>
<option value="0 549">0 549</option>
<option value="0 505">0 505</option>
<option value="0 506">0 506</option>
<option value="0 507">0 507</option>
<option value="0 508">0 508</option>
<option value="0 554">0 554</option>
<option value="0 555">0 555</option>
<option value="0 556">0 556</option>
<option value="diger">diger</option>
</select>
<input name="gsm_2" type="text" id="gsm_2" size="23"></td>
</tr>
<tr bgcolor="#DFDFDF">
<td bgcolor="#CCCCCC"><strong>Ürün Seçiniz </strong></td>
<td><select name="sehir" id="sehir">
<option selected>-- Seçiniz --</option>
<option value="Paket 1">urunleriniz</option>
<option value="Paket 2">Paket 2</option>
<option value="Paket 3">Paket 3</option>
<option value="Paket 4">Paket 4</option>
<option value="Paket 5">Paket 5</option>
</select></td>
</tr>
<tr bgcolor="#DFDFDF">
<td valign="top" bgcolor="#CCCCCC"><strong>Adresi</strong></td>
<td><textarea name="adres" cols="40" rows="5" id="adres"></textarea></td>
</tr>
<tr bgcolor="#DFDFDF">
<td bgcolor="#CCCCCC"><strong>Ödeme Yapıldığı Banka </strong></td>
<td><select name="banka" id="banka">
<option selected>-- Seçiniz --</option>
<option value="Garanti Bankası">Garanti Bankası</option>
<option value="Halk Bank">Halk Bank</option>
<option value="Türkiye İş Bankası">Türkiye İş Bankası</option>
<option value="PTT">PTT</option>
<option value="Diğer">Diğer</option>
</select></td>
</tr>
<tr bgcolor="#DFDFDF">
<td bgcolor="#CCCCCC"><strong>Ödeme Yaptığı Tarih </strong></td>
<td><select name="gun" id="gun">
<option selected>-- Seçiniz --</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
<option value="12">11</option>
<option value="13">13</option>
<option value="14">14</option>
<option value="15">15</option>
<option value="16">16</option>
<option value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
<option value="20">20</option>
<option value="21">21</option>
<option value="22">22</option>
<option value="23">23</option>
<option value="24">24</option>
<option value="25">25</option>
<option value="26">26</option>
<option value="27">27</option>
<option value="28">28</option>
<option value="29">29</option>
<option value="30">30</option>
<option value="31">31</option>
</select>
<select name="ay" id="ay">
<option selected>-- Seçiniz --</option>
<option value="Ocak">Ocak</option>
<option value="Şubat">Şubat</option>
<option value="Mart">Mart</option>
<option value="Nisan">Nisan</option>
<option value="Mayıs">Mayıs</option>
<option value="Haziran">Haziran</option>
<option value="Temmuz">Temmuz</option>
<option value="Ağustos">Ağustos</option>
<option value="Eylül">Eylül</option>
<option value="Ekim">Ekim</option>
<option value="Kasım">Kasım</option>
<option value="Aralık">Aralık</option>
</select>
<select name="yil" id="yil">
<option selected>-- Seçiniz --</option>
<option value="2009">2009</option>
<option value="2010">2010</option>
</select>
Gün - Ay - Yıl </td>
</tr>
<tr bgcolor="#DFDFDF">
<td valign="top" bgcolor="#CCCCCC"><strong>Açıklama</strong></td>
<td><textarea name="aciklama" cols="40" rows="5" id="aciklama"></textarea></td>
</tr>
<tr bgcolor="#DFDFDF">
<td> </td>
<td><input type="submit" value="Sipariş Ver">
<input name="Reset" type="reset" value="Temizle"></td>
</tr>
</table>
</form></td>
</tr>
</table>
<?php
}else{
?>
<table width="48%" border="0" align="center" cellpadding="2" cellspacing="3" style="border:1px solid #CCCCCC;">
<tr>
<td align="center" bgcolor="#CCCCCC"><span class="style2">Sipariş İletildi</span></td>
</tr>
<tr>
<td align="center" bgcolor="#DFDFDF"><?php echo $mesaj; ?></td>
</tr>
<tr>
<td align="center" bgcolor="#DFDFDF"><a rel="nofollow" href="http://www.seninsiten.com">Ana sayfaya dön</a> </td>
</tr>
</table>
<?php
}
?>
</form>
</body>
</html>
Kurulum=Tumunu Sec>>www.seninsiten.com/admin>>Bilgisayfaları>>ekle>>Kaynak(code)yapıstır kaydet
Duzenlemeler=kodların duzenlenmenız gereken yerler içerikde gösterilmiştir
Dip not:Kodlar Çok Eskiden kullandıgım bır sıstemdeydı tesadufen aklıma geldı ve denedım kendı sımtemımde gayet basarılı bır sekılde calısıyor buradan bakabılırsınız bıraz uzerınde calısarak daha gelıstırıle bılır forumlarda daha onceden verıldıyse af ola