|
|
|
22년 전
|
조회 4,968
|
|
|
|
22년 전
|
조회 4,018
|
|
|
|
22년 전
|
조회 4,888
|
|
|
|
22년 전
|
조회 4,810
|
|
|
|
22년 전
|
조회 4,073
|
|
|
|
22년 전
|
조회 3,957
|
|
|
|
22년 전
|
조회 4,062
|
|
|
|
22년 전
|
조회 4,320
|
|
|
|
22년 전
|
조회 4,590
|
|
|
|
22년 전
|
조회 4,212
|
|
|
관리자
|
22년 전
|
조회 4,294
|
|
|
|
22년 전
|
조회 4,184
|
|
|
|
22년 전
|
조회 4,207
|
|
|
|
22년 전
|
조회 5,772
|
|
|
|
22년 전
|
조회 5,588
|
|
|
|
22년 전
|
조회 4,853
|
|
|
|
22년 전
|
조회 4,085
|
|
|
|
22년 전
|
조회 4,377
|
|
|
|
22년 전
|
조회 4,888
|
|
|
|
22년 전
|
조회 4,334
|
|
|
|
22년 전
|
조회 4,895
|
|
|
|
22년 전
|
조회 4,375
|
|
|
|
22년 전
|
조회 4,809
|
|
|
|
22년 전
|
조회 4,629
|
|
|
|
22년 전
|
조회 4,878
|
|
|
|
22년 전
|
조회 4,748
|
|
|
|
22년 전
|
조회 5,147
|
|
|
|
22년 전
|
조회 4,711
|
|
|
|
22년 전
|
조회 4,678
|
|
|
|
22년 전
|
조회 4,452
|
댓글 4개
역시 zzzz님은 마음도 넓으셔~~~! ^^*
오늘 저 생일 아닌데요? -_-;;;;
오늘 상당히 땀이 많이 나는군요...
토크박스
자작프로그램
이모티콘
zzzz님 홈 소스 모음 <- 이렇게 추가를 하심이 .... ^^
<script>
ans=new Array(5)
function Lotto()
{
for (i=0;i<=5;i++){//1부터 45 가지 난수발생
ans[i]=Math.floor(45*(Math.random())+1);
ans=ans.sort()
}
arr=ans.length-1
j=1
for (i=0;i<=arr;i++){
if (ans[i]==ans[j]){//0번방부터 5번방까지 검사해서 같은수가 있으면 다시 난수발생
ans[i]=Math.floor(45*(Math.random())+1);
}
else{
b=1
for (a=0;a<=arr;a++){
if (ans[a]==ans[b]){//위의 배열에서 또 0번 방부터 5번방까지 같은수가 있으면 난수 발생
ans[a]=Math.floor(45*(Math.random())+1);
}
b++
j++
}
sort=ans.sort()
return sort;
}
}
}
</script>
<body bgcolor="#ffffff" marginwidth="0" marginheight="0" onload="return false;" oncontextmenu="return false" ondragstart="return false" onselectstart="return false">
<table width=100% border=0 cellspacing="0" cellpadding="0">
<tr><td align="center">
<form name="form1">로또 생성기<br><input type="text" name=total size=20><INPUT TYPE="button" NAME="BUTTON" VALUE="다시" onclick="location.reload();" class=okna_button>
</td>
</form>
</tr></table>
<script>
document.form1.total.value=Lotto()
</script>