WeB-HoSpİtAl
http://okulweb.meb.gov.tr/52/03/397371/images/anasayfa.png
Kod Listesi--->
http://www.karadenizoptik.com/resimler/uye_ol.gif
Üye Olmak İçin
Tıklayın---->
http://tbn3.google.com/images?q=tbn:OTJHgBhzrK7LbM:http://www.axaraytuning.com/Resimler/reklam.bmp
Reklam ver--->
YAKINDA SİTEMİZİN FORUMU AÇILACAKTIR!..

   
  Web-Hospital-Web Gereçleri
  Sitene Ziyaretçi Defteri
 
*******************************************************************************
* Aşağıdaki adımları izlerseniz bir ziyaretçi defterine sahip olabilirsiniz.  *
*******************************************************************************
*                                                                             *
*                                 ADIM 1                                      *
*                                                                             *
* 1) yaz.php adında bir dosya oluşturun ve içine aşağıdakileri kopyalayın     *
*******************************************************************************


 <html>
 <head><title>Ziyaretci Defteri - Gorusunuzu Yazınınız</title>
 <link rel="stylesheet" href="style.css" type="text/css" media="screen,projection" /><head>
 <body>
<form action="<?php echo $_SERVER['php_self'] ?>" method="post">
<table border="0" cellpadding="0" style="border-collapse: collapse" width="500" id="table1">
     <tr>
          <td colspan="3" align="left">
          <h2>Görüşlerinizi Belirtin</h2>
          </td>
     </tr>
     <tr>
          <td width="20">&nbsp;</td>
          <td>İsim</td>
          <td><input type="text" size=25 name="name"></td>
     </tr>
     <tr>
          <td>&nbsp;</td>
          <td>e-Mail</td>
          <td><input type="text" size=25 name="name0"></td>
     </tr>
     <tr>
          <td>&nbsp;</td>
          <td>Meslek</td>
          <td><input type="text" size=25 name="name1"></td>
     </tr>
     <tr>
          <td>&nbsp;</td>
          <td>Telefon</td>
          <td><input type="text" size=25 name="name2"></td>
     </tr>
     <tr>
          <td>&nbsp;</td>
          <td>Adres</td>
          <td><input type="text" size=25 name="name3"></td>
     </tr>
     <tr>
          <td colspan="3" align="left">
          Konu</td>
     </tr>
     <tr>
          <td colspan="3">
          
                    <textarea cols=50 rows=7 name=form></textarea></td>
          
     </tr>
     <tr>
          <td>
          
                    &nbsp;</td>
          <td align="center">
          <input type="submit" name="action" value="Gönder" class="buton" >
                    </td>
          <td align="center">
          <input type="reset" value="   Sil   " class="buton">
                     </td>
          
          
          
          </td>
     </tr>
</table>
</form>
 </body>
 </html>
 
 
 <?php

$ip=$_SERVER['REMOTE_ADDR'];
$date=date('r');
if($_POST['action'])
{
  if($_POST['name'] && $_POST['form'])
  {
    $action = "<table border='0' cellpadding='0' style='border-collapse: collapse' width='600' id='dis'><tr><td  class='td1' height='120' align='center' valign='center'><h1>".$_POST['name'] . "&nbsp;Diyor ki;</h1></td></tr><tr><td class='td2'><table border='0' cellpadding='0' style='border-collapse: collapse' width='600'><tr><td width='50'>&nbsp;</td><td width='500'><table border='0' cellpadding='0' style='border-collapse: collapse' width='100%'><tr><td width='20%'>İsim</td><td width='80%'>".$_POST['name'] . "</td></tr><tr><td>E-mail</td><td>" . $_POST['name0'] . "</td></tr><tr><td>Web</td><td>" . $_POST['name1'] . "</td></tr><tr><td>Meslek</td><td>" . $_POST['name2'] . "</td></tr><tr><td>Telefon</td><td>" . $_POST['name3'] . "</td></tr><tr><td>Konu</td><td>" . $_POST['form'] . "</td></tr><tr><td>İp</td><td>" . $ip . "</td></tr><tr><td>Tarih</td><td>" . $date . "</td></tr></table></td><td width='50'>&nbsp;</td></tr></table></td></tr><tr><td class='td1' height='120'>&nbsp;</td></tr></table>"."&nbsp;<br>n";
    
    $handler = fopen("oku.txt", "a");
    fputs($handler, $action);
    fclose($handler);
    
    print "<meta http-equiv="refresh" content="0;URL=yon.php">";
}
else
{
  print "<meta http-equiv="refresh" content="0;URL=bos.php">";
}
}
?>


*******************************************************************************
*                                                                             *
*                                 ADIM 2                                      *
*                                                                             *
*  2) oku.php adında bir dosya oluşturun ve içine aşağıdakileri kopyalayın    *
*******************************************************************************
<head>
<title>Ziyertçi mesajları</title>
<link rel="stylesheet" href="style.css" type="text/css" media="screen,projection" />
</head>
 
<body>
<div align="center">
<? include('oku.txt') ?>     
</div>
</body>
</html>


*******************************************************************************
*                                                                             *
*                                 ADIM 3                                      *
*                                                                             *
*  3) bos.php adında bir dosya oluşturun ve içine aşağıdakileri kopyalayın    *
*******************************************************************************


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>Yeniden Yönleniyor</title>
<script type="text/javascript">document.write('Lütfen Boşlukları Doldurunuz<BR>Sayfaya Yeniden Yönleniyorsunuz');document.write('<meta http-equiv="refresh" content="4;URL=yaz.php">');</script>
</head>
<body>
</body>
</html>


*******************************************************************************
*                                                                             *
*                                 ADIM 4                                      *
*                                                                             *
*  4) yon.php adında bir dosya oluşturun ve içine aşağıdakileri kopyalayın    *
*******************************************************************************

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<title>İletişim Sonuç</title>
<script type="text/javascript">document.write('İlginiz için teşekkür ederiz<br>Deftere yönlendiriliyorsunuz.<br>Tarayıcınız desteklemiyorsa <a href="oku.php">tıklayın .</a>');document.write('<meta http-equiv="refresh" content="2;URL=oku.php">');</script>
</head>
<body>
</body>
</html>


*******************************************************************************
*                                                                             *
*                                 ADIM 5                                      *
*                                                                             *
*  5) not defterini kullanarak oku.txt adında bir dosya oluşturun             *
*******************************************************************************

*******************************************************************************
*                                                                             *
*                                 ADIM 6                                      *
*                                                                             *
*  6) style.css adında bir dosya oluşturun ve içine aşağıdakileri kopyalayın  *
*******************************************************************************

.td1{background-color:#DEADF8;}
.td2{background-color:#F2E0FC;}
.buton{cursor:pointer;border:outset 2px #00C1C1;background:#C6FFFF;color:#000069;font-weight:bold;padding: 1px 2px;}



*******************************************************************************
*                                                                             *
*                                 ADIM 7                                      *
*                                                                             *
*  7) Tüm dosyaları aynı dizine koyun ve hostunuz linux ise safe_modu açtırın *
*******************************************************************************
 
  Bugün 9 ziyaretçi (28 klik) kişi burdaydı!

http://www.web-hospital.tr.gg

 
 
Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol