$d ");
?>
½½±â ŸÀÚ
"); ?>
¼Ò½ºº¸±â ±×¸¸µÎ±â");?>
3000) {
echo("");
}
else if($q<3000) { echo("¼ö°íÇϼ̽À´Ï´Ù. ´ç½ÃÀÇ Á¡¼ö´Â $q µ¹¾Æ°¡±â"); }
session_destroy();
exit;
}
if ($pass>8) {
echo("°ÔÀÓ¿À¹ö ´ç½ÅÀÇ Á¡¼ö´Â $q");
session_destroy();
exit;
}
if ($irum) {
$day=date(y);
$mon=date(m);
$d=date(d);
$a=date(a);
if ($a=='am') {
$a=¿ÀÀü;
}
else
$a=¿ÀÈÄ;
$h=date(h);
$c=date(i);
$fw=fopen("taja.dat","a");
if($q<10000) {
$g='1';
}
if($q>10000) {
$g='2';
}
fwrite($fw,"\r\n${g} | ${q} | $cha_evr | $cha_best | ${irum} | ");
fwrite($fw,"$day $mon $d $a ${h}½Ã ${c}ºÐ | |
");
session_destroy();
echo("ÀúÀåµÇ¾ú½À´Ï´Ù. µ¹¾Æ°¡±â");
exit;
}
if(!$res) {
$res=mktime();
}
else if($res) {
$res2=mktime();
$cha=$res2-$res;
echo("½Ã°£1: $res, ½Ã°£2: $res2");
$res=$res2;
}
echo(" ½Ã°£Â÷´Â $cha");
if($q) {
$tries++;
}
if($message) {
$pass=0;
$message=stripslashes($message);
$e1=explode(" ",$z);
$e2=explode(" ",$message);
$l=sizeof($e1);
$l2=sizeof($e2);
for($i=0;$i<$l;$i++) {
$i2=$i-1;
echo("
$i:$e1[$i] -> $i:$e2[$i] ");
if($e1[$i]==$e2[$i]) {
$m++;
echo("ok");
}
}
echo("
");
$p=$m/$l*100;
$p=floor($p);
}
if($p=='100') {
$p+=50;
$row++;
if($row>1) {
$c=$row*50;
echo("$row hit ÄÞº¸ ÄÞº¸Á¡¼ö:$c ");
$p+=50;
}
}
else if($p!='100') {
$row=0;
}
if(!$message) {
$p=$p-10;
$row=0;
$pass++;
if($tries<1) {
echo("3000Á¡ÀÌ»ó ÇÏÀ̽ºÄھ ¸®½ºÆ®");
if($view=='date') {
echo(" ¼ºÀû¼ø
");
$data=file("taja.dat","r");
echo("
µî±Þ | Á¡¼ö | ÆòŸ | ÃÖ°íŸ | À̸§ | ³¯Â¥ |
");
for($j=0;$j");
}
else if($view!='date') {
echo(" ³¯Â¥¼ø");
$data=file("taja.dat","r");
rsort($data);
echo("
µî±Þ | Á¡¼ö | ÆòŸ | ÃÖ°íŸ | À̸§ | ³¯Â¥ |
");
for($j=0;$j");
}
exit;
}
}
if($cha<1) {
$cha=1;
}
$r=$p/$cha*20;
//ªÀº±Û º¸»ó·çƾ
$cha=4000/$cha;
if($l<2) {
$l=5;
}
$cha=$cha*($l2/$l);
//echo("l:$l l2:$l2");
if(!$message) {
$cha=1;
}
$cha=floor($cha);
//±ä±Ûº¸»ó·çƾ
//$cha=$cha+($l2*15);
//ÆòŸ°è»ê·çƾ
$cha_sum+=$cha;
if($tries<1) {
$tries=1;
}
if(!cha_sum) {
$cha_sum=$cha;
}
if($tries>=1) {
$cha_evr=$cha_sum/$tries;
}
if($tries<1) {
$cha_evr=$cha;
}
$cha_evr=floor($cha_evr);
//Ãְퟰè»ê·çƾ
if(!$cha_best) {
$cha_best=$cha_evr;
}
if($cha_best<$cha) {
$cha_best=$cha;
}
$r=floor($r);
$q+=$r;
if($p>100) {
$p=100;
}
echo("¼Óµµ:${cha}Ÿ ÆòŸ:${cha_evr} ÃÖ°íŸ:${cha_best} Á¤È®µµ:$p% Á¡¼ö:${r}Á¡ ÃÑÁ¡: $q
½Ãµµ: $tries Æ÷±â: $pass¹®Àå:$z
ÀÔ·Â:$message $p%");
exit;
?>