SiteEkle.php
<?php
include "config.php";
$query = mysql_db_query ($dbname,"select * from kategoriler order by kategori",$db) or die (mysql_error());
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>| Site Ekle</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<STYLE type=text/css>
A:link {
COLOR: #8e9bda
}
A:visited {
COLOR: #8e9bda
}
A:hover {
COLOR: #ff9933
}
A {
TEXT-DECORATION: none
}
<!--
.form { font-family: Verdana; font-size: 10px; color: #207D20;
border: 1px dashed #207D20; }
body { font-family: Verdana; font-size: 11px }
td { font-family: Verdana; font-size: 11px }
.style1 {color: #FFFFFF}
-->
</style>
<SCRIPT language=JavaScript>
<!--
function BuyukHarf(StrInput){
if(StrInput=='i'){return 'İ';}
if(StrInput=='ı'){return 'I';}
return StrInput.toUpperCase();
}
function KucukHarf(StrInput){
if(StrInput=='İ'){return 'i';}
if(StrInput=='I'){return 'ı';}
return StrInput.toLowerCase();
}
function HepsiBuyuk(StrInput){
if (StrInput.length>0){
myString='';
for(i=0;i<StrInput.length;i++){
if(StrInput.substr(i,1)==' '){
myChar=' ' + BuyukHarf(StrInput.substr(i+1,1));
i++;
}
else{
myChar=BuyukHarf(StrInput.substr(i,1));
}
myString=myString + myChar;
}
return myString;
}
}
function HepsiKucuk(StrInput){
if (StrInput.length>0){
myString='';
for(i=0;i<StrInput.length;i++){
if(StrInput.substr(i,1)==' '){
myChar=' ' + KucukHarf(StrInput.substr(i+1,1));
i++;
}
else{
myChar=KucukHarf(StrInput.substr(i,1));
}
myString=myString + myChar;
}
return myString;
}
}
function BaslikYap(StrInput){
if (StrInput.length>0){
myString='';
myString = BuyukHarf(StrInput.substr(0,1));
for(i=1;i<StrInput.length;i++){
if(StrInput.substr(i,1)==' '){
myChar=' ' + BuyukHarf(StrInput.substr(i+1,1));
i++;
}
else{
myChar=KucukHarf(StrInput.substr(i,1));
}
myString=myString + myChar;
}
return myString;
}
}
function HarfKucult(StrInput){
if (StrInput.value.length>0){
StrInput.value = BaslikYap(StrInput.value);
}
}
//-->
</SCRIPT>
</head>
<form action="site_ekle2.php" method="post">
<body topmargin="0" leftmargin="0">
<table width="73%" border="0" align="center" cellpadding="1" cellspacing="1">
<td height="20"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="99%" height="21">
</table><table id="Table_01" width="760" height="90" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="6">
<img src="images/Untitled-1_01.jpg" width="760" height="57" alt=""></td>
</tr>
<tr>
<td>
<img src="images/Untitled-1_02.jpg" width="286" height="33" alt=""></td>
<td>
<a href="index.php"
onmouseover="window.status='Anasayfa'; return true;"
onmouseout="window.status=''; return true;">
<img src="images/anasayfa.jpg" width="104" height="33" border="0" alt=""></a></td>
<td>
<a href="site_ekle.php"
onmouseover="window.status='Site Ekle'; return true;"
onmouseout="window.status=''; return true;">
<img src="images/siteekle.jpg" width="92" height="33" border="0" alt=""></a></td>
<td>
<a href="html.php"
onmouseover="window.status='Html Kodu Al'; return true;"
onmouseout="window.status=''; return true;">
<img src="images/html.jpg" width="116" height="33" border="0" alt=""></a></td>
<td>
<a href="reklam.php"
onmouseover="window.status='Reklam'; return true;"
onmouseout="window.status=''; return true;">
<img src="images/reklam.jpg" width="84" height="33" border="0" alt=""></a></td>
<td>
<a href="iletisim.php"
onmouseover="window.status='İletişim'; return true;"
onmouseout="window.status=''; return true;">
<img src="images/iletisim.jpg" width="78" height="33" border="0" alt=""></a></td>
</tr>
</table></td>
</tr>
<tr>
<td height="180">
<TABLE width=99% border=1 align="center" cellPadding=4 borderColor=#ffffff>
<TBODY>
<TR>
<TD borderColor=#FF0000 bgColor=#FF0000><FONT
color=#003366><b>
</b></FONT><b><span class="style1"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Site Ekle</font></span></b></TD>
</TR>
<TR>
<TD height="144" borderColor=#FF0000 bgColor=#f5f5f5>
<TABLE width=122% border=0>
<TBODY>
<TR>
<TD colspan="2"><p><font size="2"></font><br>
</p> </TD>
</TR>
<TR>
<TD width=82>Site Adresi:</TD>
<TD width=644><input name="url" type="text" id="url" size="52" value="http://"></TD>
</TR>
<TR>
<TD> <div align="center"> </div></TD>
<TD><input type="submit" name="Submit" value="Gönder"></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></td>
</tr>
</table>
2 kodu da bir çok kez denedim ama olmadı