AcasaAcasa  CăutareCăutare  Ultimele imaginiUltimele imagini  ÎnregistrareÎnregistrare  ConectareConectare  

Distribuiţi|

SCRIPT PHP SHOW IP DATA ORA BROWSER

Vezi subiectul anterior Vezi subiectul urmator In jos
AutorMesaj
BuLaN-
BuLaN-
Administrator
Administrator

Bara Warn : SCRIPT PHP SHOW IP DATA ORA BROWSER   0warn10
Sex Sex : masculin
Mesaje Mesaje : 158
Banuti Banuti : 5178
Data de inscriere Data de inscriere : 10/09/2011
Varsta Varsta : 29
Localizare Localizare : China
Joburi/Distractii Joburi/Distractii : Fotbal , cs
Stare de spirit Stare de spirit : Agresivv

SCRIPT PHP SHOW IP DATA ORA BROWSER   Empty
MesajSubiect: SCRIPT PHP SHOW IP DATA ORA BROWSER SCRIPT PHP SHOW IP DATA ORA BROWSER   Icon_minitimeMier Sept 21, 2011 11:08 am

Demo: http://utilzdemo.hi2.ro/

Script PHP care arata Ip-ul, Data, Ora, Browserul folosit de catre utilizator.

Scriptul PHP:



Cod:
<center>
<font color="red">Ip-ul tau este :</font>
<script src="http://embed.ipcatch.com/ip/" type="text/javascript"></script>
<font color="red">Esti din tara :</font> <script src="http://embed.ipcatch.com/country/"
type="text/javascript"></script><script
src="http://embed.ipcatch.com/flag/"
type="text/javascript"></script>
<font color="red">Folosesti :</font> <script src="http://embed.ipcatch.com/browser/" type="text/javascript"></script>
</b><script language="JavaScript" type="text/javascript">
<!--
// for all date displays
// http://scripturi.3xforum.ro/
today = new Date();
year = (today.getFullYear) ? today.getFullYear() : today.getYear();
month = today.getMonth();
switch (month) {
            case 0 : month = "Ian"; break;
            case 1 : month = "Feb"; break;
            case 2 : month = "Mar"; break;
            case 3 : month = "Apr"; break;
            case 4 : month = "Mai"; break;
            case 5 : month = "Iun"; break;
            case 6 : month = "Iul"; break;
            case 7 : month = "Aug"; break;
            case 8 : month = "Sep"; break;
            case 9 : month = "Oct"; break;
            case 10 : month = "Noe"; break;
            case 11 : month = "Dec"; break;
            }
date = today.getDate();
day = today.getDay();
switch (day) {
            case 0 : day = "Duminica"; break;
            case 1 : day = "Luni"; break;
            case 2 : day = "Marti"; break;
            case 3 : day = "Miercuri"; break;
            case 4 : day = "Joi"; break;
            case 5 : day = "Vineri"; break;
            case 6 : day = "Sambata"; break;
            }
hours = today.getHours();
  if (hours<12)  greeting = 'Buna dimineata!';
    if (hours<18 && hours>11)  greeting = 'Buna ziua!';
    if (hours<20 && hours>17)  greeting = 'Buna seara!';
    if (hours>19)  greeting = 'Noapte buna! ';
hour = (hours>12) ? (hours-12) : hours;
halfDay = (hours>11 && hours<24) ? 'PM' : 'AM';
minutes = today.getMinutes();
dayStr =  day+ ', ' +date+ ' ' +month+ ',&nbsp;' +year;
timeStr = (minutes<10) ? hour+ ':0' +minutes+ ' ' +halfDay : hour+

':' +minutes+ ' ' +halfDay;

// -->
</script>
<script language="JavaScript" type="text/javascript">
<!--
document.writeln('<font color="red">Astazi este:</font> ' +dayStr+ '.<font color="red">Ora este:</font> '

+timeStr+ '.');document.write(greeting+ '');
// -->
</script>
<body bgcolor="black" text="#FFFFFF">
<table align="center" border="0" cellpading="1" cellspacing="1">
<tr>
<td width="850"  class="noaccount"  align="center" valign="top">
<head>
<script language="javascript">
function toggle() {
    var ele = document.getElementById("toggleText");
    var text = document.getElementById("displayText");
    if(ele.style.display == "block") {
            ele.style.display = "none";
        text.innerHTML = "ARATA";
      }
    else {
        ele.style.display = "block";
        text.innerHTML = "ASCUNDE";
    }
}
</script>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>

<link rel="stylesheet" type="text/css" href="ddimgtooltip.css" />

<script type="text/javascript" src="ddimgtooltip.js">

</center>
Sus In jos

SCRIPT PHP SHOW IP DATA ORA BROWSER

Vezi subiectul anterior Vezi subiectul urmator Sus
Pagina 1 din 1

Subiecte similare

-
ť Sondaj Script
ť Travian Game Script
ť Mafia Assasins Script

Permisiunile acestui forum:Nu puteti raspunde la subiectele acestui forum
 :: IT ZONE :: Tutoriale & Discutii :: Php - MySQL - HTML-