Navigacija

Vartotojų tinkle

Prisijungusių svečių: 354
Prisijungusių narių: 0
Prisijungusių narių nėra

Registruoti nariai: 25,955
Naujausias narys: Johny

Naujausi straipsniai

Paskutiniai nariai

Johny 2 savaitės
Reikalas 3 savaitės
Jaunelis 9 savaitės
lanis 9 savaitės
And2s10 savaitės
Memento Mori15 savaitės
ozzWANTED16 savaitės
Quwqkibor17 savaitės
asirija21 savaitės
tomeem23 savaitės
weberiz27 savaitės
mRokass29 savaitės
kartoonas30 savaitės
iaescortsmap30 savaitės
grunskiz33 savaitės
Bruksnys33 savaitės
illusion33 savaitės
ordo34 savaitės
Jurgaila35 savaitės
originalcs1635 savaitės

Informacija:


OS: Unknown
Naršyklė: Nežinoma
IP: 3.144.37.196
Naujienų: 529
Straipsnių: 235
Temų: 52,588
Postų: 522,528
Postų pask. parą: 0
Shout'ų pask. parą: 0
P.S.C. pask. parą: 0
Nuorodų kataloge: 13

Lankomumo Statistika

Peržiūrų šiandien: 22

Iš viso peržiūrų: 22948724

Prisijungti

REGISTRUOTIS
Nario vardas

Slaptažodis



Pamiršai slaptažodį?
Paprašyk naujo

Aktyvuoti save

Šaukykla

Jei norite rašyti žinutes, turite prisijungti.

Jaunelis
2024 Lie. 25 11:07:43
Oho vis dar veikia svetainė akinanti šypsen Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas šypsosi

And2s
2024 Lie. 17 19:07:04
2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija akinanti šypsen ačiū Ozz kad saugoji šitą kultūrinį reliktą šypsosi

ozzWANTED
2024 Sau. 17 01:01:00
Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės. šypsosi

Majakas
2023 Gru. 10 19:12:39
Negaliu patikėti jog žinutės/pranešimai visi yra nuo 2008 m akinanti šypsen

Žmogus
2023 Rugs. 7 21:09:14
O gal BloodKiller pasijungs?

Šaukyklos archyvas

Apklausa

Ar esate patenkinti lietuviško vertimo kokybe?

Taip!

Taip, bet yra ką taisyti (parašysiu komentaruose)

Ne

Norėdamas balsuoti turite prisijungti.
Archyvas
Reklama 400x60
del php
Forumas | PHP-Fusion, WordPress, Shopify, PHP ir MySQL (PROGRAMAVIMAS) | Žaliems

Autorius: justaslt Peržiūrų: 2114      Spausdinti temą
2009 Sau. 16 20:01:07          1 žinutė iš 8
Spausdinti pranešimą
kaip php kalba centras? html tai <center> o php?

Pigiausos facebook paslaugos - http://fbpaslaugos.nkk.lt/
2009 Sau. 16 20:01:26          2 žinutė iš 8
Spausdinti pranešimą
akinanti šypsen Tas pats.
2009 Sau. 16 20:01:05          3 žinutė iš 8
Spausdinti pranešimą
tai kai padaryti, kad raidės kur reikai žimeti butu per viduri?

<?php
/*
#####################################################################
#                          PHP Hangman Game                         #
#                           Version 1.2.0                           #
#               ©2002,2003 0php.com - Free PHP Scripts              #
#####################################################################

#####################################################################
#                                                                   #
#  Author      :  0php.com                                          #
#  Created     :  July 12, 2002                                     #
#  Modified    :  March 22, 2004                                    #
#  E-mail      :  webmaster@0php.com                                #
#  Website     :  http://www.0php.com/                              #
#  License     :  FREE (GPL);  See Copyright and Terms below        #
#                                                                   #
#        Donations accepted via PayPal to webmaster@0php.com        #
#                                                                   #
#####################################################################

>> Copyright and Terms:

This software is copyright (C) 2002-2004 0php.com.  It is distributed
under the terms of the GNU General Public License (GPL).  Because it is licensed
free of charge, there is NO WARRANTY, it is provided AS IS.  The author can not
be held liable for any damage that might arise from the use of this software.
Use it at your own risk.

All copyright notices and links to 0PHP.com website MUST remain intact in the scripts and in the HTML for the scripts.

For more details, see http://www.0php.com/license_GNU_... (or http://www.gnu.org/).

>> Installation
Copy the PHP script and images to the same directory.  You can optionally edit the category and list of words/phrases to solve below.  You can also add additional characters to $additional_letters and/or $alpha if you want to use international (non-English) letters or other characters not included by default (see further instructions below for those).

To prevent Google from playing hangman, add the line below between <HEAD> and </HEAD>:
<META NAME="robots" CONTENT="NOINDEX,NOFOLLOW">


=======================================================================================*/
# list of words (phrases) to guess below, separated by new line
$list = "JAVA BEANS
namas
pinigas
ratas
televizorius
draugas
puslapis
telefonas
stalas
lėktuvas
distancinis
langas
stiklas
medis
siena
banas
lapas
kiškis
vilkas
meška
liūtas
dramblys
kompiuteris
replės
žaislas
reidės
žodis
griovys
viščiukas
garsas
saulė
vinas
lempa
spinta
rūbas
kelnes
švarkas
lova
kuprinė
darbas
prezidentas
seimas
kiaušiniai
spauzdintuvas
gėrimas
vanduo
apelsinas
kolonėles
vardas";


# make sure that any characters to be used in $list are in either
#   $alpha OR $additional_letters, but not in both.  It may not work if you change fonts.
#   You can use either upper OR lower case of each, but not both cases of the same letter.

# below ($alpha) is the alphabet letters to guess from.
#   you can add international (non-English) letters, in any order, such as in:
#   $alpha = "ĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŃŅÓŌÕÖŲŁŚŪÜŻ&#159;ABCDEFGHIJKLMNOPQRSTUVWXYž";
$alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYž";


# below ($additional_letters) are extra characters given in words; '?' does not work
#   these characters are automatically filled in if in the word/phrase to guess
$additional_letters = " -.,;!?%&0123456789";

#========= do not edit below here ======================================================


echo<<<endHTML
<HTML><HEAD><TITLE>Žaidimas pasikark</TITLE>
<META NAME="DESCRIPTION" CONTENT="A Free PHP Script © www.0php.com">
<meta content="text/html; charset=windows-1252" http-equiv=content-type>
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
<!--
   H1      {font-family: "Courier New", Courier, monospace; font-size: 18pt;}
   P      {font-family: Verdana, Arial, sans-serif; font-size: 12pt;}
   A:link   {COLOR: #0000FF; TEXT-DECORATION: underline;}
   A:visited   {COLOR: #0000FF; TEXT-DECORATION: underline;}
   A:active   {COLOR: #0000FF; TEXT-DECORATION: underline;}
   A:hover   {COLOR: #FF0000; TEXT-DECORATION: underline;}
-->
</style>
</HEAD>

<BODY bgColor="#CCCCCC" link="navy" vlink="navy" alink="navy">
<DIV ALIGN="center">
endHTML;

$len_alpha = strlen($alpha);

if(isset($_GET["n"])) $n=$_GET["n"];
if(isset($_GET["letters"])) $letters=$_GET["letters"];
if(!isset($letters)) $letters="";

if(isset($PHP_SELF)) $self=$PHP_SELF;
else $self=$_SERVER["PHP_SELF"];

$links="";






$max=6;               # maximum number of wrong
# error_reporting(0);
$list = strtoupper($list);
$words = explode("\n",$list);
srand ((double)microtime()*1000000);
$all_letters=$letters.$additional_letters;
$wrong = 0;

if (!isset($n)) { $n = rand(1,count($words)) - 1; }
$word_line="";
$word = trim($words[$n]);
$done = 1;
for ($x=0; $x < strlen($word); $x++)
{
  if (strstr($all_letters, $word[$x]))
  {
    if ($word[$x]==" ") $word_line.="&nbsp; "; else $word_line.=$word[$x];
  }
  else { $word_line.="_<font size=1>&nbsp;</font>"; $done = 0; }
}

if (!$done)
{

  for ($c=0; $c<$len_alpha; $c++)
  {
    if (strstr($letters, $alpha[$c]))
    {
      if (strstr($words[$n], $alpha[$c])) {$links .= "\n<B>$alpha[$c]</B> "; }
      else { $links .= "\n<FONT color=\"red\">$alpha[$c] </font>"; $wrong++; }
    }
    else
    { $links .= "\n<A HREF=\"$self?letters=$alpha[$c]$letters&n=$n\">$alpha[$c]</A> "; }
  }
  $nwrong=$wrong; if ($nwrong>6) $nwrong=6;
  echo "\n<p><BR>\n<IMG SRC=\"hangman_$nwrong.gif\" ALIGN=\"MIDDLE\" BORDER=0 WIDTH=100 HEIGHT=100 ALT=\"Wrong: $wrong out of $max\">\n";

  if ($wrong >= $max)
  {
    $n++;
    if ($n>(count($words)-1)) $n=0;
    echo "<BR><BR><H1><font size=5>\n$word_line</font></H1>\n";
    echo "<p><BR><FONT color=\"red\"><BIG>Tu esi pakartas!!! Bandyk dar kartą.</BIG></FONT><BR><BR>";
    if (strstr($word, " ")) $term="phrase"; else $term="word";
    echo "The $term was \"<B>$word</B>\"<BR><BR>\n";
    echo "<A HREF=$self?n=$n>Žaisti dar kartą.</A>\n\n";
  }
  else
  {
    echo " &nbsp; # Neteisingas spėjimas: <B>".($max-$wrong)."</B><BR>\n";
    echo "<H1><font size=5>\n$word_line</font></H1>\n";
    echo "<P><BR>Choose a letter:<BR><BR>\n";
    echo "$links\n";
  }
}
else
{
  $n++;   # get next word
  if ($n>(count($words)-1)) $n=0;
  echo "<BR><BR><H1><font size=5>\n$word_line</font></H1>\n";
  echo "<P><BR><BR><B>Sveikiname!!! &nbsp;Jūs laimėjote!!!</B><BR><BR><BR>\n";
  echo "<A HREF=$self?n=$n>Play again</A>\n\n";
}

echo<<<endHTML

<a href="http://www.0php.com" target="_top">Free PHP Scripts</a> - Copyright © <a href="http://www.0php.com" target="_top">0php.com</a> 2002-2004.</font>

</DIV></BODY></HTML>

endHTML;
?>





Ir kaip padaryti, kad rodytu lt raides?

Pigiausos facebook paslaugos - http://fbpaslaugos.nkk.lt/

Redagavo justaslt 2009 Sau. 16 20:01:14
2009 Sau. 16 20:01:55          4 žinutė iš 8
Spausdinti pranešimą
<center> tago uždėt nemoki?
2009 Sau. 16 20:01:22          5 žinutė iš 8
Spausdinti pranešimą
tai <center># $alpha = "ĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŃŅÓŌÕÖŲŁŚŪÜŻ&#159;ABCDEFGHIJKLMNOPQRSTUVWXYž";
$alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYž"; </center> ?


P.S. padarau taip ir err meta.
Parse error: syntax error, unexpected '<' in /home/justaslt/eye.xz.lt/hangman.php on line 100





100 eilute yra
<center># $alpha = "ĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŃŅÓŌÕÖŲŁŚŪÜŻ&#159;ABCDEFGHIJKLMNOPQRSTUVWXYž";




Pigiausos facebook paslaugos - http://fbpaslaugos.nkk.lt/

Redagavo justaslt 2009 Sau. 16 20:01:44
2009 Sau. 16 21:01:52          6 žinutė iš 8
Spausdinti pranešimą
$alpha = "<center>ABCDEFGHIJKLMNOPQRSTUVWXYž</center>";

O cia kad lt raides butu.

#   you can add international (non-English) letters, in any order, such as in:
#   $alpha = "ĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŃŅÓŌÕÖŲŁŚŪÜŻ&#159;ABCDEFGHIJKLMNOPQRSTUVWXYž";
$alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYž";

# below ($additional_letters) are extra characters given in words; '?' does not work




Keisk i

#   you can add international (non-English) letters, in any order, such as in:
$alpha = "ĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŃŅÓŌÕÖŲŁŚŪÜŻ&#159;ABCDEFGHIJKLMNOPQRSTUVWXYž";
# $alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYž";

# below ($additional_letters) are extra characters given in words; '?' does not work





Redagavo ex-it 2009 Sau. 16 21:01:24
2009 Sau. 16 21:01:16          7 žinutė iš 8
Spausdinti pranešimą
Ačiū

Pigiausos facebook paslaugos - http://fbpaslaugos.nkk.lt/
2009 Sau. 16 21:01:41          8 žinutė iš 8
Spausdinti pranešimą
Koks aciu, skola grazinumerkia akį juokiasi

Peršokti į forumą: