묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
성인인증 소스 제로보드이용 해서 사용하는방법
2009.07.24 19:24
안녕하세요 .
어렵게 성인 인증 모듈 소스를 가지고 있는데요 .
제로보드 xE 에서 페이지에서 html 으로 붙여넣어서 보면 작동이 되는데요 .
저장하고 나면 이 내용 이 자체가 다 사라 집니다.
나모웹에서 작업을 하면 소스에는 문제는 없는것 같은데요 .
왜 제로보드에서는 인식을 못하는 이유 아시는 분 꼭 갈쳐주세요~~
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center>
<TBODY>
<TR>
<TD height=20><SPACER type="block" height="20"></TD></TR>
<TR>
<TD>
<SCRIPT language=JavaScript>
function check_jumin()
{
var chk =0;
var yy = document.jumin_num.jumin1.value.substring(0,2);
var mm = document.jumin_num.jumin1.value.substring(2,4);
var dd = document.jumin_num.jumin1.value.substring(4,6);
var sex = document.jumin_num.jumin2.value.substring(0,1);
var gijun_date = 810301;
if (document.jumin_num.jumin2.value.split(" ").join("") == "") {
alert ('주민등록번호를 입력하십시오.');
document.jumin_num.jumin1.focus();
return false;
}
if (document.jumin_num.jumin1.value.length!=6)
{
alert ('주민등록번호 앞자리를 입력하십시오');
document.jumin_num.jumin1.focus();
return false;
}
if (document.jumin_num.jumin2.value.length != 7 )
{
alert ('주민등록번호 뒷자리를 입력하십시오.');
document.jumin_num.jumin2.focus();
return false;
}
if (isNaN(document.jumin_num.jumin1.value) || isNaN(document.jumin_num.jumin2.value))
{
document.jumin_num.jumin1.value = ""
document.jumin_num.jumin2.value = ""
alert('주민등록번호는 숫자만 가능합니다.');
return false;
}
if ((document.jumin_num.jumin1.value.length!=6)||(mm <1||mm>12||dd<1)){
document.jumin_num.jumin1.value = ""
alert ('주민등록번호 앞자리가 잘못되었습니다.');
document.jumin_num.jumin1.focus();
return false;
}
if ((sex != 1 && sex !=2 )||(document.jumin_num.jumin2.value.length != 7 )){
document.jumin_num.jumin2.value = ""
alert ('주민등록번호 뒷자리가 잘못되었습니다.');
document.jumin_num.jumin2.focus();
return false;
}
for (var i = 0; i <=5 ; i++){
chk = chk + ((i%8+2) * parseInt(document.jumin_num.jumin1.value.substring(i,i+1)))
}
for (var i = 6; i <=11 ; i++){
chk = chk + ((i%8+2) * parseInt(document.jumin_num.jumin2.value.substring(i-6,i-5)))
}
chk = 11 - (chk %11)
chk = chk % 10
if (chk != document.jumin_num.jumin2.value.substring(6,7))
{
document.jumin_num.jumin1.value = ""
document.jumin_num.jumin2.value = ""
alert ('맞지 않는 주민등록번호입니다.');
document.jumin_num.jumin1.focus();
return false;
}
if (document.jumin_num.jumin1.value < gijun_date)
{
alert ('앗! 성인이시군여~ 어서오세요^^');
document.jumin_num.jumin1.focus();
document.location="http://blog.empas.com/sungsun24/"//인증후 들어갈페이지 주소;
return false;
}
else
{
alert ('이 담에 더 크면 오거라~ ');
document.jumin_num.jumin1.focus();
return false;
}
return true;
}
</SCRIPT>
<STYLE>
.spanstyle {
position:absolute;
left:-5000px;
}
.explainstyle {
position: absolute;
top:100px;
left:200px;
width:440px;
color:FFFFFF;
font-size:8pt;
font-family:굴림;
}
A {
color:ffffff;
}
A:Hover {
color:ffffff;
}
</STYLE>
<SCRIPT>
<!-- Beginning of JavaScript -
for (i=0;i<=msglength;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>")
document.write("</span>")
}
if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
</SCRIPT>
<p>
<p><TABLE height="100%" cellPadding=10 width="100%" align=center border=0>
<TBODY>
<TR></TR></TBODY></TABLE>
<TABLE cellPadding=0 width=700 border=0>
<TBODY>
<TR>
<TD>
<P></P></TD>
<td></td>
</TR>
<TR>
<FORM name=jumin_num method=post>
<TD align=middle>
</td>
<TD width=400>
<P align=center></P><FONT color=red size=2><B>"잠시 검문 있겠습니다!! 주민등록번호를 입력해
주세요!!"<BR>입력한 주민등록번호는 따로 저장되지 않습니다.</B></FONT><B><BR><FONT size=2>주민등록번호 </FONT><INPUT
maxLength=6 size=6 name=jumin1> - <INPUT onblur=check_jumin() maxLength=7 size=7
name=jumin2> <INPUT type=submit value=조회 name=send>
</B></TD></TR></FORM></TBODY></TABLE></TD></TR>
<TR>
<TD height=20><SPACER type="block" height="20"></TD></TR>
<TR>
<TD background=http://icon.netian.com/im/p_blackdot.gif height=1><SPACER
type="block" height="1"></TD></TR>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>
<TBODY>
<TR>
<TD height=20><SPACER type="block" height="20"></TD></TR>
<TR>
<TD>
<SCRIPT language=JavaScript>
function check_jumin()
{
var chk =0;
var yy = document.jumin_num.jumin1.value.substring(0,2);
var mm = document.jumin_num.jumin1.value.substring(2,4);
var dd = document.jumin_num.jumin1.value.substring(4,6);
var sex = document.jumin_num.jumin2.value.substring(0,1);
var gijun_date = 810301;
if (document.jumin_num.jumin2.value.split(" ").join("") == "") {
alert ('주민등록번호를 입력하십시오.');
document.jumin_num.jumin1.focus();
return false;
}
if (document.jumin_num.jumin1.value.length!=6)
{
alert ('주민등록번호 앞자리를 입력하십시오');
document.jumin_num.jumin1.focus();
return false;
}
if (document.jumin_num.jumin2.value.length != 7 )
{
alert ('주민등록번호 뒷자리를 입력하십시오.');
document.jumin_num.jumin2.focus();
return false;
}
if (isNaN(document.jumin_num.jumin1.value) || isNaN(document.jumin_num.jumin2.value))
{
document.jumin_num.jumin1.value = ""
document.jumin_num.jumin2.value = ""
alert('주민등록번호는 숫자만 가능합니다.');
return false;
}
if ((document.jumin_num.jumin1.value.length!=6)||(mm <1||mm>12||dd<1)){
document.jumin_num.jumin1.value = ""
alert ('주민등록번호 앞자리가 잘못되었습니다.');
document.jumin_num.jumin1.focus();
return false;
}
if ((sex != 1 && sex !=2 )||(document.jumin_num.jumin2.value.length != 7 )){
document.jumin_num.jumin2.value = ""
alert ('주민등록번호 뒷자리가 잘못되었습니다.');
document.jumin_num.jumin2.focus();
return false;
}
for (var i = 0; i <=5 ; i++){
chk = chk + ((i%8+2) * parseInt(document.jumin_num.jumin1.value.substring(i,i+1)))
}
for (var i = 6; i <=11 ; i++){
chk = chk + ((i%8+2) * parseInt(document.jumin_num.jumin2.value.substring(i-6,i-5)))
}
chk = 11 - (chk %11)
chk = chk % 10
if (chk != document.jumin_num.jumin2.value.substring(6,7))
{
document.jumin_num.jumin1.value = ""
document.jumin_num.jumin2.value = ""
alert ('맞지 않는 주민등록번호입니다.');
document.jumin_num.jumin1.focus();
return false;
}
if (document.jumin_num.jumin1.value < gijun_date)
{
alert ('앗! 성인이시군여~ 어서오세요^^');
document.jumin_num.jumin1.focus();
document.location="http://blog.empas.com/sungsun24/"//인증후 들어갈페이지 주소;
return false;
}
else
{
alert ('이 담에 더 크면 오거라~ ');
document.jumin_num.jumin1.focus();
return false;
}
return true;
}
</SCRIPT>
<STYLE>
.spanstyle {
position:absolute;
left:-5000px;
}
.explainstyle {
position: absolute;
top:100px;
left:200px;
width:440px;
color:FFFFFF;
font-size:8pt;
font-family:굴림;
}
A {
color:ffffff;
}
A:Hover {
color:ffffff;
}
</STYLE>
<SCRIPT>
<!-- Beginning of JavaScript -
for (i=0;i<=msglength;i++) {
document.write("<span id='span"+i+"' class='spanstyle'>")
document.write("</span>")
}
if (document.layers){
document.captureEvents(Event.MOUSEMOVE);
}
document.onmousemove = handlerMM;
</SCRIPT>
<p>
<p><TABLE height="100%" cellPadding=10 width="100%" align=center border=0>
<TBODY>
<TR></TR></TBODY></TABLE>
<TABLE cellPadding=0 width=700 border=0>
<TBODY>
<TR>
<TD>
<P></P></TD>
<td></td>
</TR>
<TR>
<FORM name=jumin_num method=post>
<TD align=middle>
</td>
<TD width=400>
<P align=center></P><FONT color=red size=2><B>"잠시 검문 있겠습니다!! 주민등록번호를 입력해
주세요!!"<BR>입력한 주민등록번호는 따로 저장되지 않습니다.</B></FONT><B><BR><FONT size=2>주민등록번호 </FONT><INPUT
maxLength=6 size=6 name=jumin1> - <INPUT onblur=check_jumin() maxLength=7 size=7
name=jumin2> <INPUT type=submit value=조회 name=send>
</B></TD></TR></FORM></TBODY></TABLE></TD></TR>
<TR>
<TD height=20><SPACER type="block" height="20"></TD></TR>
<TR>
<TD background=http://icon.netian.com/im/p_blackdot.gif height=1><SPACER
type="block" height="1"></TD></TR>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>