Planet (Gezegen)
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Tr.Gg'De kullanılabilcek Süper, Gerekli, Yeni Kodlar Arşivi

Aşağa gitmek

Tr.Gg'De kullanılabilcek Süper, Gerekli, Yeni Kodlar Arşivi Empty Tr.Gg'De kullanılabilcek Süper, Gerekli, Yeni Kodlar Arşivi

Mesaj tarafından Admin Çarş. Ekim 14, 2009 9:09 pm

Sayfayı kapatma butonu

" Diyelimki web sitenize gelen ziyaterçilerinizin isteğine göre kapanması gereken bir sayfanız var bu ufak script sanırım işinizi görür. örnek ve html kodları aşağıda. ..."
Kod:

<form>
<p><input type="button" value="Kapat" onClick="window.close()"> </p>
</form>
<a href="javascript:window.close()">

<p>Tıklayın Kapatın</a> </p>
</body>
</html>
Hesap makinesi"

* çarpma / bölmedir biliyorsunuzdur zaten html de diyebiliriz jscript de son derece kullanişli web e atmak zorunda degilsiniz masaüstünüzde size yardimi olabilir ..."


Kod:

<body><table border="2" width="200" cellspacing="0" cellpadding="0" bgcolor="#000000"
style="border-color:black" onClick="previouskey=event.srcElement.innerText">
<tr>
<td width="100%" bgcolor="#FFFFFF" id="result"
style="font:bold 20px Verdana;color:black;text-align='right'">0</td>
</tr>
<tr>
<td width="100%" valign="middle" align="center"><table border="0" width="100%"
cellspacing="0" cellpadding="0" style="font:bold 20px Verdana;color:white">
<tr>
<td width="80%" align="center"><table border="1" width="100%" cellspacing="0"
cellpadding="0" style="cursor:hand;font:bold 20px Verdana;color:white"
onMouseover="if (event.srcElement.tagName=='TD')event.srcElement.s tyle.color='yellow'"
onMouseout="event.srcElement.style.color='white'" onselectStart="return false"
onClick="calculate()" height="82">
<tr>
<td width="25%" align="center" height="17">7</td>
<td width="25%" align="center" height="17">8</td>
<td width="25%" align="center" height="17">9</td>
<td width="25%" align="center" height="17">/</td>
</tr>
<tr>
<td width="25%" align="center" height="19">4</td>
<td width="25%" align="center" height="19">5</td>
<td width="25%" align="center" height="19">6</td>
<td width="25%" align="center" height="19">*</td>
</tr>
<tr>
<td width="25%" align="center" height="19">1</td>
<td width="25%" align="center" height="19">2</td>
<td width="25%" align="center" height="19">3</td>
<td width="25%" align="center" height="19">-</td>
</tr>
<tr>
<td width="25%" align="center" height="19">0</td>
<td width="25%" align="center" height="19"
onClick="pn();previouskey=1;event.cancelBubble=tru e">+/-</td>
<td width="25%" align="center" height="19">.</td>
<td width="25%" align="center" height="19">+</td>
</tr>
</table></td>
<td width="20%"><div align="left"><table border="1" width="100%" cellspacing="0"
cellpadding="0">
<tr>
<td width="100%" style="cursor:hand;font:bold 20px Verdana;color:white;text-align:center"
onClick="result.innerText=0;results=''">C</td>
</tr>
</table>
</div><div align="left"><table border="1" width="100%" cellspacing="0" cellpadding="0"
height="81">
<tr>
<td width="100%" style="cursor:hand;font:bold 32px Verdana;color:white;text-align:center"
onMouseover="event.srcElement.style.color='yellow' "
onMouseout="event.srcElement.style.color='white'" onClick="calculateresult()">=</td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table>


<script language="JavaScript1.2">/*

100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

var results=''
var previouskey=''
var re=/(\/|\*|\+|-)/
var re2=/(\/|\*|\+|-){2}$/
var re3=/.+(\/|\*|\+|-).+/
var re4=/\d|\./
var re5=/^[^\/\*\+].+\d$/
var re6=/\./

function calculate(){
if (event.srcElement.tagName=="TD"){
if (event.srcElement.innerText.match(re4)&&previouske y=="=")
results=''
if (result.innerText.match(re3)&&event.srcElement.inn erText.match(re)){
if (!results.match(re5)){
result.innerText="Error!"
return
}
results=eval(results)
if (results.toString().length>=12&&results.toString() .match(re6))
results=results.toString().substring(0,12)
result.innerText=results
}

results+=event.srcElement.innerText
if (results.match(re2))
results=results.substring(0,results.length-2)+results.charAt(results.length-1)

result.innerText=results
}
}

function calculateresult(){
if (!results.match(re5)){
result.innerText="Error!"
return
}
results=eval(results)
if (results.toString().length>=12&&results.toString() .match(re6))
results=results.toString().substring(0,12)
result.innerText=results
}



function pn(){
if (result.innerText.charAt(0)!='-')
result.innerText=results='-'+result.innerText
else if (result.innerText.charAt(0)=='-')
result.innerText=results=result.innerText*(-1)
}</script>
</body>
Html ses......

" Eğer web sayfanızda geri planda (sayfanız açıldığı zaman) bir ses dosyası çalıştırmak istiyorsanız bgsound tagını kullanabilirsiniz...... ..."
Kod:
<html>
<head></head>
<body>
<bgsound src="ses dosyasının yoluyla beraber adı" loop="kaç kez çalıştırılacağı">
</body>
</html>
-------------------------------
Örnek:
<html>
<head></head>
<body>
<bgsound src="./sesler/hayvanlar/at1.wav" loop="4">
</body>
</html>
-------------------------------
Eğer ses dosyası kendi server ınızda değilse
örnek:
<html>
<head></head>
<body>
<bgsound src="http://www.sesdeposu.com/sesler/hayvanlar/at1.wav" loop="4">
</body>
</html>
Sağdan ortaya kayan ana başlık......

" Kodu html olarak kayit eden ve gorunen yazilari bulup degistirin...... ..."

Kod:

<META content="MSHTML 5.00.2920.0" name=GENERATOR><!-- Created with AOLpress/2.0 -->
<SCRIPT language=JavaScript FPTYPE="dynamicanimation">
<!--
// If you want to change this script, you must also make the following
// changes so that FrontPage will not overwrite your new script.
// In the script tag, change type="dynamicanimation" to type="mydynamicanimation"
// In the first script statement, change "dynamicanimation" to "mydynamicanimation"
// Throughout the HTML content, change dynamicanimation= to mydynamicanimation=
// Change function dynAnimation to function mydynAnimation
// In the body tag, change onload="dynAnimation()" to onload="mydynAnimation()"
dynamicanimAttr = "dynamicanimation"
animateElements = new Array()
currentElement = 0
speed = 0
stepsZoom = 8
stepsWord = 8
stepsFly = 12
stepsSpiral = 16
steps = stepsZoom
step = 0
outString = ""
function dynAnimation()
{
var ms = navigator.appVersion.indexOf("MSIE")
ie4 = (ms>0) && (parseInt(navigator.appVersion.substring(ms+5, ms+6)) >= 4)
if(!ie4)
{
if((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion.substring(0, 1)) >= 4))
{
for (index=document.layers.length-1; index >= 0; index--)
{
layer=document.layers[index]
if (layer.left==10000)
layer.left=0
}
}
return
}
for (index=document.all.length-1; index >= document.body.sourceIndex; index--)
{
el = document.all[index]
animation = el.getAttribute(dynamicanimAttr, false)
if(¤¤¤¤ != animation)
{
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
{
ih = el.innerHTML
outString = ""
i1 = 0
iend = ih.length
while(true)
{
i2 = startWord(ih, i1)
if(i2 == -1)
i2 = iend
outWord(ih, i1, i2, false, "")
if(i2 == iend)
break
i1 = i2
i2 = endWord(ih, i1)
if(i2 == -1)
i2 = iend
outWord(ih, i1, i2, true, animation)
if(i2 == iend)
break
i1 = i2
}
document.all[index].innerHTML = outString
document.all[index].style.posLeft = 0
document.all[index].setAttribute(dynamicanimAttr, ¤¤¤¤)
}
if(animation == "zoomIn" || animation == "zoomOut")
{
ih = el.innerHTML
outString = "<SPAN " + dynamicanimAttr + "=\"" + animation + "\" style=\"position: relative; left: 10000;\">"
outString += ih
outString += "</SPAN>"
document.all[index].innerHTML = outString
document.all[index].style.posLeft = 0
document.all[index].setAttribute(dynamicanimAttr, ¤¤¤¤)
}
}
}
i = 0
for (index=document.body.sourceIndex; index < document.all.length; index++)
{
el = document.all[index]
animation = el.getAttribute(dynamicanimAttr, false)
if (¤¤¤¤ != animation)
{
if(animation == "flyLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = 0
}
else if(animation == "flyRight")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = 0
}
else if(animation == "flyTop" || animation == "dropWord")
{
el.style.posLeft = 0
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyBottom")
{
el.style.posLeft = 0
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "flyTopLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyTopRight" || animation == "flyTopRightWord")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "flyBottomLeft")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "flyBottomRight" || animation == "flyBottomRightWord")
{
el.style.posLeft = 10000-offsetLeft(el)+document.body.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)+document.body.offsetHeight
}
else if(animation == "spiral")
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = document.body.scrollTop-offsetTop(el)-el.offsetHeight
}
else if(animation == "zoomIn")
{
el.style.posLeft = 10000
el.style.posTop = 0
}
else if(animation == "zoomOut")
{
el.style.posLeft = 10000
el.style.posTop = 0
}
else
{
el.style.posLeft = 10000-offsetLeft(el)-el.offsetWidth
el.style.posTop = 0
}
el.initLeft = el.style.posLeft
el.initTop = el.style.posTop
animateElements[i++] = el
}
}
window.setTimeout("animate();", speed)
}
function offsetLeft(el)
{
x = el.offsetLeft
for (e = el.offsetParent; e; e = e.offsetParent)
x += e.offsetLeft;
return x
}
function offsetTop(el)
{
y = el.offsetTop
for (e = el.offsetParent; e; e = e.offsetParent)
y += e.offsetTop;
return y
}
function startWord(ih, i)
{
for(tag = false; i < ih.length; i++)
{
c = ih.charAt(i)
if(c == '<')
tag = true
if(!tag)
return i
if(c == '>')
tag = false
}
return -1
}
function endWord(ih, i)
{
nonSpace = false
space = false
while(i < ih.length)
{
c = ih.charAt(i)
if(c != ' ')
nonSpace = true
if(nonSpace && c == ' ')
space = true
if(c == '<')
return i
if(space && c != ' ')
return i
i++
}
return -1
}
function outWord(ih, i1, i2, dyn, anim)
{
if(dyn)
outString += "<SPAN " + dynamicanimAttr + "=\"" + anim + "\" style=\"position: relative; left: 10000;\">"
outString += ih.substring(i1, i2)
if(dyn)
outString += "</SPAN>"
}
function animate()
{
el = animateElements[currentElement]
animation = el.getAttribute(dynamicanimAttr, false)
step++
if(animation == "spiral")
{
steps = stepsSpiral
v = step/steps
rf = 1.0 - v
t = v * 2.0*Math.PI
rx = Math.max(Math.abs(el.initLeft), 200)
ry = Math.max(Math.abs(el.initTop), 200)
el.style.posLeft = Math.ceil(-rf*Math.cos(t)*rx)
el.style.posTop = Math.ceil(-rf*Math.sin(t)*ry)
}
else if(animation == "zoomIn")
{
steps = stepsZoom
el.style.fontSize = Math.ceil(50+50*step/steps) + "%"
el.style.posLeft = 0
}
else if(animation == "zoomOut")
{
steps = stepsZoom
el.style.fontSize = Math.ceil(100¤¤¤¤0*(steps-step)/steps) + "%"
el.style.posLeft = 0
}
else
{
steps = stepsFly
if(animation == "dropWord" || animation == "flyTopRightWord" || animation == "flyBottomRightWord")
steps = stepsWord
dl = el.initLeft / steps
dt = el.initTop / steps
el.style.posLeft = el.style.posLeft - dl
el.style.posTop = el.style.posTop - dt
}
if (step >= steps)
{
el.style.posLeft = 0
el.style.posTop = 0
currentElement++
step = 0
}
if(currentElement < animateElements.length)
window.setTimeout("animate();", speed)
}
//-->
</SCRIPT>
</HEAD>
<BODY onload=dynAnimation()>
<P align=center style="LEFT: 10000px! important; POSITION: relative! important"
dynamicanimation="flyBottomRightWord"><STRONG><FON T face=Arial size=5><EM><font face="Verdana, Arial, Helvetica, sans-serif" size="3"><big><font face="Verdana"><big><strong><em><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Cerrahi
Hasta Takip 1.0 Açılıyor...</font></em></strong></big></font></big><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><BR>
<big><big><strong><em>Lütfen Bekleyiniz...</em></strong></big></big></font></font></EM></FONT></STRONG></P>
<P align=center></P>
<P align=center><FONT face=Arial></FONT></P>
<P align=center></P><!-- this page was created by Robert Schmid, Landshut, Germany --><!-- Original place of this page is --><!-- the old ugly URL http://www.bnla.baynet.de/bnla01/members/robsch19/ --></BODY></HTML>
Takvim ve saat

Site değilde daha cok html tabanlı ajanda gibi programlar olusturmanızda kullanabileceğiniz güzel bir takvim scripti...... ..."
Kod:

<script language="JavaScript">
<!-- Hide this script from old browsers --
/*
This script came from the 24 hour JavaScripts Site
located at http://www.javascripts.com. It is brought to
you by Eric Jarvies, Lewis Sellers, Giuseppe Lombardo,
Kurt Anderson, and David Medinets.
*/
setCal()
function getTime() {
// initialize time-related variables with current time settings
var now = new Date()
var hour = now.getHours()
var minute = now.getMinutes()
now = ¤¤¤¤
var ampm = ""
// validate hour values and set value of ampm
if (hour >= 12) {
hour -= 12
ampm = "PM"
} else
ampm = "AM"
hour = (hour == 0) ? 12 : hour
// add zero digit to a one digit minute
if (minute < 10)
minute = "0" + minute // do not parse this number!
// return time string
return hour + ":" + minute + " " + ampm
}
function leapYear(year) {
if (year % 4 == 0) // basic rule
return true // is leap year
/* else */ // else not needed when statement is "return"
return false // is not leap year
}
function getDays(month, year) {
// create array to hold number of days in each month
var ar = new Array(12)
ar[0] = 31 // Ocak
ar[1] = (leapYear(year)) ? 29 : 28 // Şubat
ar[2] = 31 // Mart
ar[3] = 30 // Nisan
ar[4] = 31 // Mayıs
ar[5] = 30 // Haziran
ar[6] = 31 // Temmuz
ar[7] = 31 // Ağustos
ar[8] = 30 // Eylül
ar[9] = 31 // Ekim
ar[10] = 30 // Kasım
ar[11] = 31 // Aralık
// return number of days in the specified month (parameter)
return ar[month]
}
function getMonthName(month) {
// create array to hold name of each month
var ar = new Array(12)
ar[0] = "Ocak"
ar[1] = "Şubat"
ar[2] = "Mart"
ar[3] = "Nisan"
ar[4] = "Mayıs"
ar[5] = "Haziran"
ar[6] = "Temmuz"
ar[7] = "Ağustos"
ar[8] = "Eylül"
ar[9] = "Ekim"
ar[10] = "Kasım"
ar[11] = "Aralık"
// return name of specified month (parameter)
return ar[month]
}
function setCal() {
// standard time attributes
var now = new Date()
var year = now.getYear()
var month = now.getMonth()
var monthName = getMonthName(month)
var date = now.getDate()
now = ¤¤¤¤
// create instance of first day of month, and extract the day on which it occurs
var firstDayInstance = new Date(year, month, 1)
var firstDay = firstDayInstance.getDay()
firstDayInstance = ¤¤¤¤
// number of days in current month
var days = getDays(month, year)
// call function to draw calendar
drawCal(firstDay + 1, days, date, monthName, 1900 + year)
}
function drawCal(firstDay, lastDate, date, monthName, year) {
// constant table settings
var headerHeight = 50 // height of the table's header cell
var border = 2 // 3D height of table's border
var cellspacing = 4 // width of table's border
var headerColor = "midnightblue" // color of table's header
var headerSize = "+3" // size of tables header font
var colWidth = 60 // width of columns in table
var dayCellHeight = 25 // height of cells containing days of the week
var dayColor = "darkblue" // color of font representing week days
var cellHeight = 40 // height of cells representing dates in the calendar
var todayColor = "red" // color specifying today's date in the calendar
var timeColor = "purple" // color of font representing current time
// create basic table structure
var text = "" // initialize accumulative variable to empty string
text += '<CENTER>'
text += '<TABLE BORDER=' + border + ' CELLSPACING=' + cellspacing + '>' // table settings
text += '<CAPTION></CAPTION>' // Table Title
text += '<TH COLSPAN=7 HEIGHT=' + headerHeight + '>' // create table header cell
text += '<FONT COLOR="' + headerColor + '" SIZE=' + headerSize + '>' // set font for table header
text += monthName + ' ' + year
text += '</FONT>' // close table header's font settings
text += '</TH>' // close header cell
// variables to hold constant settings
var openCol = '<TD WIDTH=' + colWidth + ' HEIGHT=' + dayCellHeight + '>'
openCol += '<FONT COLOR="' + dayColor + '">'
var closeCol = '</FONT></TD>'
// create array of abbreviated day names
var weekDay = new Array(7)
weekDay[0] = "Pazar"
weekDay[1] = "Pazartesi"
weekDay[2] = "Salı"
weekDay[3] = "Çarşamba"
weekDay[4] = "Perşembe"
weekDay[5] = "Cuma"
weekDay[6] = "Cumartesi"

// create first row of table to set column width and specify week day
text += '<TR ALIGN="center" VALIGN="center">'
for (var dayNum = 0; dayNum < 7; ++dayNum) {
text += openCol + weekDay[dayNum] + closeCol
}
text += '</TR>'

var digit = 1
var curCell = 1

for (var row = 1; row <= Math.ceil((lastDate + firstDay - 1) / 7); ++row) {
text += '<TR ALIGN="right" VALIGN="top">'
for (var col = 1; col <= 7; ++col) {
if (digit > lastDate)
break
if (curCell < firstDay) {
text += '<TD></TD>';
curCell++
} else {
if (digit == date) {
text += '<TD HEIGHT=' + cellHeight + '>'
text += '<FONT COLOR="' + todayColor + '">'
text += digit
text += '</FONT><BR>'
text += '<FONT COLOR="' + timeColor + '" SIZE=2>'
text += '<CENTER>' + getTime() + '</CENTER>'
text += '</FONT>'
text += '</TD>'
} else
text += '<TD HEIGHT=' + cellHeight + '>' + digit + '</TD>'
digit++
}
}
text += '</TR>'
}
text += '</TABLE>'
text += '</CENTER>'
document.write(text)
}
// -- End Hiding Here -->
</script><!-- END OF SCRIPT --> </p>

<p align="center"> </p>
</body>
</html>
Html mail yollama

" Html mail yollamanız için gerekli kod..... ..."
Kod:
<?
// deneme.html dosyasI gondermek istediginiz html dosyasI

$fp = fopen("deneme.html","r");

while(!feof($fp)){
$x = fgets($fp,2048);
$y.=$x;
}

$header .= "From: Webadmin <kimden@gidicekse.com>\n";
$header .= "Content-Type: text/html; charset=iso-8859-1\n";

mail("kime@gidecekse.com", "buraya baslik gelecek", "$y", $header);
?>
Sık sorulan sorular bölümü oluşturma
Kod:
 <!---<head> arasına --->
<script type="text/javascript">
<!-- Begin
/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: Fang :: http://tinyurl.com/7v7l8 */
function toggle(obj) {
// Moz. or IE
var sibling=(obj.nextSibling.nodeType==3)? obj.nextSibling.nextSibling : obj.nextSibling;
// hide or show
if(sibling.style.display=='' || sibling.style.display=='block') {
sibling.style.display='none';
obj.firstChild.firstChild.data='+';
}
else {
sibling.style.display='block';
obj.firstChild.firstChild.data='-';
}
}
//
function initCollapse() {
var oDT=document.getElementById('content').getElements ByTagName('dt');
for (var i=0; i < oDT.length; i++) {
oDT[i].onclick=function() {toggle(this)};
var oSpan=document.createElement('span');
var sign=document.createTextNode('+');
oSpan.appendChild(sign);
oDT[i].insertBefore(oSpan, oDT[i].firstChild);
oSpan.style.fontFamily='monospace';
oSpan.style.paddingRight='0.5em';
oDT[i].style.cursor='pointer';
toggle(oDT[i]);
}
oDT=¤¤¤¤;
}
window.onload=function() {if(document.getElementById && document.createElement) {initCollapse();}}
//-->
</script>
<!---<head> arasına --->
 
 
<!---<body> arasına --->
<div align="center">
<dl id="content">
<dt><font color="#000080">Bu Kod Ne İşe Yarar?</font></dt>
<dd><font color="#707070">Bu kodu kullanarak sitenize sık sorulan sorular bölümü(sss) ekleyebilirsiniz!</font><br><br></dd>
<dt><font color="#000080">Kodda asp,php gibi dillerden yararlanılır mı?</font></dt>
<dd><font color="#707070">Hayır,kesinlikle bu kodun tamamı javascriptdir!</font><br><br></dd>
<dt><font color="#000080">Bu kod kim tarafından eklendi?</font></dt>
<dd><font color="#707070">Muhammed Ali Köker</font></dd>
</dl>
</div>
<!---<body> arasına --->
Belli bir konumdaki video dosyasını çalma
Kod:
 <center>
<OBJECT ID="mediaPlayer" WIDTH="384" HEIGHT="355"
CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" STANDBY="Die Microsoft Windows Media
Player components werden geladen! Bitte warten..."
TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="video.avi">
<PARAM NAME="AnimationAtStart" VALUE="1">
<PARAM NAME="ShowControls" VALUE="1">
<PARAM NAME="ShowTracker" VALUE="1">
<PARAM NAME="ShowDisplay" VALUE="1">
<PARAM NAME="ShowStatusBar" VALUE="1">
<PARAM NAME="AutoSize" VALUE="0">
<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
FILENAME="video.avi"
SRC="video.avi"
NAME="mediaPlayer" SHOWCONTROLS="1" SHOWDISPLAY="0" SHOWSTATUSBAR="1"
WIDTH="384" HEIGHT="355">
</embed>
</object>
</center>
Super bir menü
Bence çook güzel deneyin ..."
Kod:
 <table border=1 bordercolor="black" style="cursor:crosshair">
<tr bgcolor="black">
<td>
<b><font style="cursor:crosshair" face="Arial" color=white>KoMeDiYe Menü</font></b>
</td>
</tr>
<tr bgcolor="white">
<td><center><p>
<form><input style="cursor:crosshair" type="button" name="anasayfa" onClick="self.¤¤¤¤¤¤¤¤.href=('http://rockhll.sitemynet.com')" value="Ana Sayfa" style="background:white" style="cursor:crosshair"title="Copyright ©️ 2004-2005 KoMeDiYe"></form>
<p>
<form><input style="cursor:crosshair" type="button" name="anasayfa" onClick="self.¤¤¤¤¤¤¤¤.href=('http://rockhll.sitemynet.com')" value="Ana Sayfa" style="background:white" style="cursor:crosshair"title="Copyright ©️ 2004-2005 KoMeDiYe"></form>
<p>
<form><input style="cursor:crosshair" type="button" name="anasayfa" onClick="self.¤¤¤¤¤¤¤¤.href=('http://rockhll.sitemynet.com')" value="Ana Sayfa" style="background:white" style="cursor:crosshair" title="Copyright ©️ 2004-2005 KoMeDiYe"></form>
<p>
<form><input style="cursor:crosshair" type="button" name="anasayfa" onClick="self.¤¤¤¤¤¤¤¤.href=('http://rockhll.sitemynet.com')" value="Ana Sayfa" style="background:white" style="cursor:crosshair"title="Copyright ©️ 2004-2005 KoMeDiYe"></form>
<p>
<form><input style="cursor:crosshair" type="button" name="anasayfa" onClick="self.¤¤¤¤¤¤¤¤.href=('http://rockhll.sitemynet.com')" value="Ana Sayfa" style="background:white" style="cursor:crosshair"title="Copyright ©️ 2004-2005 KoMeDiYe"></form>
<p>
</td>
</tr>
</table>
İp sayac
Kod:
 sayac.php
<?php
require ("./baglan.php");
if(strlen($_COOKIE["ip_adres"])<=0)
{
setcookie("ip_adres",$_SERVER["REMOTE_ADDR"]);
$sorgu_sonuc=mysql_query("SELECT hit FROM sayac WHERE no=1",$con) or die ("Sorguda Hata");
$sonuc=mysql_fetch_array($sorgu_sonuc);
$hit_sayisi=$sonuc["hit"]+1;
$sayac_hit=$hit_sayisi;
@mysql_query("UPDATE sayac SET hit=$hit_sayisi WHERE no=1",$con) or die ("Sorguda Hata");
mysql_close($con);
}
else
{
$sorgu_sonuc=mysql_query("SELECT hit FROM sayac WHERE no=1",$con) or die ("Sorguda Hata");
$sonuc=mysql_fetch_array($sorgu_sonuc);
$sayac_hit=$sonuc["hit"];
mysql_close($con);
}
?>

sayac_goster.php
<?php
echo "IP = ".$_SERVER["REMOTE_ADDR"]."<br>";
echo "Ziyaretçi Sayısı = ".$sayac_hit;
?>
Admin
Admin
Admin
Admin

Mesaj Sayısı : 69
Kayıt tarihi : 30/09/09
Yaş : 27
Nerden : |İzmir|Konak|

https://planet.ace.st

Sayfa başına dön Aşağa gitmek

Sayfa başına dön

- Similar topics

 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz