T-REKLAM

php

PHP İLE ANKET YAPMA KODU

(PHP Anket) ScriptCi.Com
--------------------------------------------------------------------------------------------

<html><head>
</head>
<body>
<form action="anket.php" method="post" name="anket">
  <table border="1" width="350" cellspacing="0" cellpadding="0" bordercolor="#000000">
   <tbody>
    <tr>
     <td width="100%" colspan="2">
<p align="left"><b>Hangi İşletim Sistemini Kullanıyorsunuz?</b></p>
     </td>
    </tr>
    <tr>
     <td><input type="radio" name="sonuc" value="1">
     </td>
     <td width="96%">Windows 95/98</td>
    </tr>
    <tr>
     <td><input type="radio" name="sonuc" value="2"> </td>
     <td width="96%">Windows ME</td>
    </tr>
    <tr>
     <td><input type="radio" name="sonuc" value="3"> </td>
     <td width="96%">Windows NT/2000</td>
    </tr>
    <tr>
     <td><input type="radio" name="sonuc" value="4"></td>
     <td width="96%">LİNUX</td>
    </tr>
    <tr>
     <td colspan="2">
  <input type="submit" value="Gönder" > <input type="reset" value="Temizle"></td>
    </tr>
   </tbody>
  </table>
</form>
</body></html>

ZİYERTCİ DEFTERİ YAPAM PHP

<!--
    ####################################
    #                                                                                        #
    #                                 Nt-reklam                                 #
    #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Serkan GÜL  #
    #                              www.nt-reklam.tr.gg                             #
    #                                                                                        #
    ####################################

-->
<meta content="text/html; charset=iso-8859-9" http-equiv="Content-Type" />
<meta content="Ziyaret&ccedil;i Defteri" name="keywords" />
<meta content="Ziyaret&ccedil;i Defteri" name="description" />
<meta content="tr" http-equiv="Content-Language" /><style type="text/css">


<!--

body,td,th {
 color: #0099FF;
font-size: 16x;
 }
.style1 {color: #99CC00}
.style2 {color: #0099FF}
.style3 {color: #FF0000}
body {
 background-color: #F8F8F8;
}
.style5 {
 color: #99CC00;
 font-size: large;
 font-weight: bold;
}
.style16 {color: #0099FF; font-size: 14px; }
.style18 {color: #99CC00; font-size: 14px; font-weight: bold; }
-->
<!--
    ####################################
    #                                                                                        #
    #                                 Nt-reklam                                  #
    #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Serkan GÜL  #
    #                              www.nt-reklam.tr.gg                             #
    #                                                                                        #
    ####################################
.style19 {color: #666666}
a:hover {
 color: #000033;
}
a:active {
 color: #000033;
}
.style20 {
 color: #333333;
 font-size: 12px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style22 {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 color: #0066CC;
}
.style23 {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 color: #0066CC;
}

--></style><a name="ust">
<table width="600" align="center" border="0">
    <tbody>
        <tr>
            <th scope="row" bgcolor="#ffffff">
            <table width="600" border="0">
                <tbody>
                    <tr>
                        <th scope="row"><br />
                        <span class="style5"># # # # # Z i y a r e t &ccedil; i &nbsp;D e f t e r i # # # # # </span><hr class="style2" />
                        </th>
                    </tr>
                </tbody>
            </table>
            <br />
            <table width="600" align="center" border="0">
                <tbody>
                    <tr>
                        <th scope="row">
                        <form action="ziyaretci_defteri.php" method="post">
                            <fieldset>
                            <div align="left"><span class="style2">Adınız:</span> <input class="style1" name="adi" type="text" /></div>
                            <p align="left"><span class="style2">G&ouml;r&uuml;şleriniz: </span><br />
                            <textarea class="style1" rows="4" cols="50" name="mesaj"></textarea></p>
                            <p align="left"><input class="style2" type="submit" name="Gonder" value="G&ouml;nder" /> <input class="style2" type="reset" name="Sil" value=" Sil " /></p>
                            </fieldset>
                        </form>
                        </th>
                    </tr>
                </tbody>
            </table>
            <table width="600" border="0">
                <tbody>
                    <tr>
                        <th scope="row" align="left">
                        <table width="638" align="left" border="0">
                            <tbody>
                                <tr>
                                    <th scope="col" align="left"><!--
                                    $_GET ["git"];
                                    if ($_GET["git"]=="yorumlar"){
                                    include 'DateBase';
                                    }
                                    --></th>
                                </tr>
                            </tbody>
                        </table>
                        <p>&nbsp;</p>
                        <table width="341" align="left" border="0">
                            <tbody>
                                <tr>
                                    <th scope="col" width="335">
                                    <div align="left"><span class="style22"><a class="style22" href="ziyaretci_defteri.php">Ziyaret&ccedil;i&nbsp;Defteri</a></span><span class="style20"> <strong>|</strong> </span><span class="style22"><a class="style23" href="?git=yorumlar">Yorumları&nbsp;G&ouml;ster</a></span> <span class="style20"><strong>|</strong></span> <a class="style23" href="http://www.nt-reklam.tr.gg">Nt-reklam </a></div>
                                    </th>
                                </tr>
                            </tbody>
                        </table>
                        <p><br />
                        <br />
                        <span class="style3"><!--
                        ####################################
                        #                                                                                        #
                        #                                 Nt-reklam                                 #
                        #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Serkan GÜL  #
                        #                              www.nt-reklam.tr.gg.                            #
                        #                                                                                        #
                        ####################################
                        $adi = $_POST ['adi'];
                        $mesaj =$_POST['mesaj'];
                        if ($_POST[Gonder] == "" ){
                        echo "
                        <tr >
                            <td class='style14'><strong class='style14'><font color='red'><a class='style14'  href='ziyaretci_defteri.php' _fcksavedurl='ziyaretci_defteri.php'><font color='red'><b>#</b></font></a> Deftere yazarken bo&#351; alan b&#305;rakmay&#305;n</strong></font>
                        </tr>
                        </td>
                        ";
                        echo (exit );
                        }
                        if ($_POST[adi] == "" ){
                        echo "<strong class='style14'>Ad&#305;n&#305;z&#305; Girmediniz...</strong>";
                        echo (exit ); }
                        elseif ($_POST[mesaj] == "") {
                        echo "<strong class='style3'>Görü&#351;ünüzü bildirmediniz...</strong>";
                        echo (exit );}
                        $dosya = DateBase;
                        touch ($dosya);
                        print ("");
                        $dosya_adi = $dosya;
                        $dosya = fopen ($dosya_adi , 'a') or die ("Dosya aç&#305;lamad&#305;!");
                        $metin = "<strong class='style1'>Ad&#305;: </strong>"   .strip_tags($_POST[adi]) ."<-->&quot;; fwrite ( $dosya , $metin ) ; </span></p>
                        <center>Nt-Reklam.tr.gg </center>; fclose ($dosya); echo '
                        <table width="600" border="0">
                            <tbody>
                                <tr>
                                    <th class="style1 style6" scope="row"><a class="style18" title="Yorumlar" href="#yorumlar"><strong>#</strong></a> Ziyaret&ccedil;i g&ouml;r&uuml;şleri;<hr class="style2" />
                                    </th>
                                </tr>
                            </tbody>
                        </table>
                        '; echo '</th>
                    </tr>
                    <tr>
                        <th scope="row">&nbsp;</th>
                    </tr>
                </tbody>
            </table>
            '; echo'
            <table align="left">
                <tbody>
                    <tr align="left">
                        <td align="left">'; echo '<a name="yorumlar">'; include (&quot;DateBase&quot;); echo '</a></td>
                    </tr>
                </tbody>
            </table>
            '; #################################### # # # nt-reklam # # Ziyaret-&Ccedil;İ Defteri Tasarım Kodlama By Nt-reklam # # www.nt-reklam.tr.gg # # # #################################### ?&gt;
            <p>&nbsp;</p>
            </th>
        </tr>
        <tr>
            <th scope="row"><span class="style16"><a class="style16" title="&Uuml;st" href="#ust"><strong>#</strong></a> Tasarım kodlama by</span><span class="style18"> <a class="style18" title="Tasarım kodlama by nt-reklam" alt="komik" href="http://www.nt-reklam.tr.gg">Nt-Reklam</a></span></th>
        </tr>
    </tbody>
</table>
<!--
    ####################################
    #                                                                                        #
    #                                 nt-reklam                                  #
    #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Nt-reklam  #
    #                              www.nt-reklam.tr.gg.                             #
    #                                                                                        #
    ####################################

--></a><!--
    ####################################
    #                                                                                        #
    #                                 Nt-reklam                                 #
    #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Serkan GÜL  #
    #                              www.nt-reklam.tr.gg                             #
    #                                                                                        #
    ####################################

-->
<meta content="text/html; charset=iso-8859-9" http-equiv="Content-Type" />
<meta content="Ziyaret&ccedil;i Defteri" name="keywords" />
<meta content="Ziyaret&ccedil;i Defteri" name="description" />
<meta content="tr" http-equiv="Content-Language" /><style type="text/css">


<!--

body,td,th {
 color: #0099FF;
font-size: 16x;
 }
.style1 {color: #99CC00}
.style2 {color: #0099FF}
.style3 {color: #FF0000}
body {
 background-color: #F8F8F8;
}
.style5 {
 color: #99CC00;
 font-size: large;
 font-weight: bold;
}
.style16 {color: #0099FF; font-size: 14px; }
.style18 {color: #99CC00; font-size: 14px; font-weight: bold; }
-->
<!--
    ####################################
    #                                                                                        #
    #                                 Nt-reklam                                  #
    #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Serkan GÜL  #
    #                              www.nt-reklam.tr.gg                             #
    #                                                                                        #
    ####################################
.style19 {color: #666666}
a:hover {
 color: #000033;
}
a:active {
 color: #000033;
}
.style20 {
 color: #333333;
 font-size: 12px;
 font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style22 {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 color: #0066CC;
}
.style23 {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 font-size: 12px;
 color: #0066CC;
}

--></style><a name="ust">
<table width="600" align="center" border="0">
    <tbody>
        <tr>
            <th scope="row" bgcolor="#ffffff">
            <table width="600" border="0">
                <tbody>
                    <tr>
                        <th scope="row"><br />
                        <span class="style5"># # # # # Z i y a r e t &ccedil; i &nbsp;D e f t e r i # # # # # </span><hr class="style2" />
                        </th>
                    </tr>
                </tbody>
            </table>
            <br />
            <table width="600" align="center" border="0">
                <tbody>
                    <tr>
                        <th scope="row">
                        <form action="ziyaretci_defteri.php" method="post">
                            <fieldset>
                            <div align="left"><span class="style2">Adınız:</span> <input class="style1" name="adi" type="text" /></div>
                            <p align="left"><span class="style2">G&ouml;r&uuml;şleriniz: </span><br />
                            <textarea class="style1" rows="4" cols="50" name="mesaj"></textarea></p>
                            <p align="left"><input class="style2" type="submit" name="Gonder" value="G&ouml;nder" /> <input class="style2" type="reset" name="Sil" value=" Sil " /></p>
                            </fieldset>
                        </form>
                        </th>
                    </tr>
                </tbody>
            </table>
            <table width="600" border="0">
                <tbody>
                    <tr>
                        <th scope="row" align="left">
                        <table width="638" align="left" border="0">
                            <tbody>
                                <tr>
                                    <th scope="col" align="left"><!--
                                    $_GET ["git"];
                                    if ($_GET["git"]=="yorumlar"){
                                    include 'DateBase';
                                    }
                                    --></th>
                                </tr>
                            </tbody>
                        </table>
                        <p>&nbsp;</p>
                        <table width="341" align="left" border="0">
                            <tbody>
                                <tr>
                                    <th scope="col" width="335">
                                    <div align="left"><span class="style22"><a class="style22" href="ziyaretci_defteri.php">Ziyaret&ccedil;i&nbsp;Defteri</a></span><span class="style20"> <strong>|</strong> </span><span class="style22"><a class="style23" href="?git=yorumlar">Yorumları&nbsp;G&ouml;ster</a></span> <span class="style20"><strong>|</strong></span> <a class="style23" href="http://www.nt-reklam.tr.gg">Nt-reklam </a></div>
                                    </th>
                                </tr>
                            </tbody>
                        </table>
                        <p><br />
                        <br />
                        <span class="style3"><!--
                        ####################################
                        #                                                                                        #
                        #                                 Nt-reklam                                 #
                        #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Serkan GÜL  #
                        #                              www.nt-reklam.tr.gg.                            #
                        #                                                                                        #
                        ####################################
                        $adi = $_POST ['adi'];
                        $mesaj =$_POST['mesaj'];
                        if ($_POST[Gonder] == "" ){
                        echo "
                        <tr >
                            <td class='style14'><strong class='style14'><font color='red'><a class='style14'  href='ziyaretci_defteri.php' _fcksavedurl='ziyaretci_defteri.php'><font color='red'><b>#</b></font></a> Deftere yazarken bo&#351; alan b&#305;rakmay&#305;n</strong></font>
                        </tr>
                        </td>
                        ";
                        echo (exit );
                        }
                        if ($_POST[adi] == "" ){
                        echo "<strong class='style14'>Ad&#305;n&#305;z&#305; Girmediniz...</strong>";
                        echo (exit ); }
                        elseif ($_POST[mesaj] == "") {
                        echo "<strong class='style3'>Görü&#351;ünüzü bildirmediniz...</strong>";
                        echo (exit );}
                        $dosya = DateBase;
                        touch ($dosya);
                        print ("");
                        $dosya_adi = $dosya;
                        $dosya = fopen ($dosya_adi , 'a') or die ("Dosya aç&#305;lamad&#305;!");
                        $metin = "<strong class='style1'>Ad&#305;: </strong>"   .strip_tags($_POST[adi]) ."<-->&quot;; fwrite ( $dosya , $metin ) ; </span></p>
                        <center>Nt-Reklam.tr.gg </center>; fclose ($dosya); echo '
                        <table width="600" border="0">
                            <tbody>
                                <tr>
                                    <th class="style1 style6" scope="row"><a class="style18" title="Yorumlar" href="#yorumlar"><strong>#</strong></a> Ziyaret&ccedil;i g&ouml;r&uuml;şleri;<hr class="style2" />
                                    </th>
                                </tr>
                            </tbody>
                        </table>
                        '; echo '</th>
                    </tr>
                    <tr>
                        <th scope="row">&nbsp;</th>
                    </tr>
                </tbody>
            </table>
            '; echo'
            <table align="left">
                <tbody>
                    <tr align="left">
                        <td align="left">'; echo '<a name="yorumlar">'; include (&quot;DateBase&quot;); echo '</a></td>
                    </tr>
                </tbody>
            </table>
            '; #################################### # # # nt-reklam # # Ziyaret-&Ccedil;İ Defteri Tasarım Kodlama By Nt-reklam # # www.nt-reklam.tr.gg # # # #################################### ?&gt;
            <p>&nbsp;</p>
            </th>
        </tr>
        <tr>
            <th scope="row"><span class="style16"><a class="style16" title="&Uuml;st" href="#ust"><strong>#</strong></a> Tasarım kodlama by</span><span class="style18"> <a class="style18" title="Tasarım kodlama by nt-reklam" alt="komik" href="http://www.nt-reklam.tr.gg">Nt-Reklam</a></span></th>
        </tr>
    </tbody>
</table>
<!--
    ####################################
    #                                                                                        #
    #                                 nt-reklam                                  #
    #       Ziyaret-Ç&#304; Defteri  Tasar&#305;m Kodlama By Nt-reklam  #
    #                              www.nt-reklam.tr.gg.                             #
    #                                                                                        #
    ####################################

--></a>

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