Results 1 to 9 of 9
Thread: Javascript (mk)
Hybrid View
-
11th February 2007 17:20 #1Registered User
Join Date: Jan:2004
Location:
Posts: 336
Javascript (mk)
, .
, . . :
' -
\ -
" ' " - , ( )
, "\" - .
.sDName : 'MK', //display name
sMap : 'aAbBvVgGdD]}eEzZyYiIjJkKlLqQmMnNwWoOpPrRsStTuUfFhHc C;:xX[{| ',
sRData : 'ăǾȼ˚͜ ן '
, .
?Last edited by mak; 11th February 2007 at 21:19.
-
11th February 2007 17:42 #2
-
11th February 2007 17:59 #3Registered User
Join Date: Jan:2004
Location:
Posts: 336
, , , , .
-
11th February 2007 18:28 #4
JavaScript, "", .. "\" . ('...'), \, . ("..."), , - . , .
, .
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others
-
11th February 2007 18:44 #5Registered User
Join Date: Jan:2004
Location:
Posts: 336
Oldman, . icaci, , .
-
11th February 2007 20:37 #6
- , \ \\ ' \'. , " \" \ \\. ,
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
11th February 2007 21:17 #7Registered User
Join Date: Jan:2004
Location:
Posts: 336
! .
Oldman , .
-
27th February 2007 01:25 #8Registered User
Join Date: Jan:2004
Location:
Posts: 336
, , .
php, .
, "0" :
case 'strongs':
$lc='0123456789abcdefghijklmnopqrstuvwxy z';
$uc='0123456789ABCDEFGHIJKLMNOPQRSTUVWXY Z';
break;
, 0430, 800, 0001, 403
0430 43, 800 - 8, .
, .
...
Code:<script language="php"> class HLanguage{ var $lc_l = array(); var $uc_l = array(); var $sro = array(); function HLanguage($hl){ switch ($hl){ case 'bg': $lc=''; $uc=''; break; case 'en': $lc='abcdefghijklmnopqrstuvwxyz'; $uc='ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 'ma': $lc=''; $uc='āǽȣˊ͌ҍ'; break; case 'strongs': $lc='0123456789abcdefghijklmnopqrstuvwxyz'; $uc='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; } for($i=0;$i<strlen($lc);$i++){ $this->lc_l[$uc[$i]]=$lc[$i]; $this->uc_l[$lc[$i]]=$uc[$i]; $this->sro[$lc[$i]]=1001+$i; $this->sro[$uc[$i]]=1001+$i; } } function lc_letter($c){ if (array_key_exists($c,$this->lc_l)) return $this->lc_l[$c]; if (array_key_exists($c,$this->uc_l)) return $c; else return false; } function compare($s1,$s2){ $n1=strlen($s1); $n=$n1; $n2=strlen($s2); if ($n2<$n) $n=$n2; $r=0; $i=0; while (($i<$n)&&($r==0)){ // echo $s1[$i]."-".$this->sro[$s1[$i]]." ".$s2[$i]." $r<br>"; if ($this->sro[$s1[$i]] < $this->sro[$s2[$i]]) $r=-1; else { if ($this->sro[$s1[$i]] > $this->sro[$s2[$i]]) $r=1; else $r=0; } $i++; } if (($r==0) && ($n1<$n2)) return -1; if (($r==0) && ($n1>$n2)) return 1; return $r; } } // class HLanguage </script>
-
27th February 2007 02:07 #9
PHP, , ( ). ===, <== .., .
Internet - it doesn't make you stupid, it just makes your stupidity more accessible to others




Reply With Quote
Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in