<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-9" />
<title>MythPHP - Müþteri Takip Paneli</title>
<meta name="description" content="" />
<meta name="keywords" content="" />
<meta name="robots" content="index,follow" />
<!--[if IE]><link rel="stylesheet" href="css/ie.css" type="text/css" media="screen, projection" /><![endif]-->
<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
<link rel="Stylesheet" type="text/css" href="css/smoothness/jquery-ui-1.7.1.custom.css" />
<!--[if IE]>
<style type="text/css">
.clearfix {
zoom: 1; /* triggers hasLayout */
display: block; /* resets display for IE/Win */
} /* Only IE can see inside the conditional comment
and read this CSS rule. Don't ever use a normal HTML
comment inside the CC or it will close prematurely. */
</style>
<![endif]-->
<!-- JavaScript -->
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.1.custom.min.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
</head>
<!--[if IE]><script language="javascript" type="text/javascript" src="excanvas.pack.js"></script><![endif]-->
</head>
<body>
<div id="login_container">
<div id="header">
<div id="logo"><h1><a href="/">MythPHP Müþteri Paneli</a></h1></div>
</div><!-- end header -->
<?php
include 'ayar.php';
$madsoyad = $_POST['adsoyad'];
$mtelno = $_POST['telno'];
$mmail = $_POST['mail'];
$msifre1 = $_POST['pass'];
$msifre = base64_encode($msifre1);
$tcnum = $_POST['tcno'];
function guvenlik($suz) {
$sansurle = array('CREATE','DELETE','SELECT','FROM','LIMIT','TABLE','MYISAM','*','ORDER','ASC','JOIN','BINARY','WHERE','<','>');
$editle = array('---','---','---','---','---','---','---','---','---','---','---','---','---','---','---');
$isle = str_replace($sansurle,$editle,$suz);
$safhal = mysql_real_escape_string($isle);
if(empty($safhal)){
@mysql_close();
}
return $safhal;
}
$madsoyaddb = guvenlik($madsoyad);
$mtelnodb = guvenlik($mtelno);
$mmaildb = guvenlik($mmail);
$msifredb = guvenlik($msifre);
$mtcnodb = guvenlik($tcnum);
$sql = "INSERT INTO musteriler(adsoyad,telno,mail,sifre,tcno) VALUES('$madsoyaddb','$mtelnodb','$mmaildb','$msifredb','$mtcnodb')";
if(mysql_query($sql)){
echo '<br /><div id="success" class="info_div"><span class="ico_success">Müþteri Kaydýnýz Baþarýyla Gerçekleþtirildi.</span></div>';
}else{
echo '<br /><div id="fail" class="info_div"><span class="ico_cancel">Müþteri Kaydýnýz Gerçekleþtirilemedi.</span></div>';
}
?>
<div id="login" class="section">
<div align="right"><strong>Müþteri Giriþ Paneli</strong></div>
<form method="post" action="giriskontrol.php">
<label><strong>E-Mail Adresi:</strong></label><input name="mail" type="text" class="text" size="28" />
<br />
<label><strong>Þifre:</strong></label><input name="passw" type="password" class="text" size="28" />
<br />
<input id="save" class="loginbutton" type="submit" class="submit" value="Giriþ" />
</form>
</div>
</div><!-- end container -->
</body>
</html>