#!/usr/bin/perl -U #---À§ ù¶óÀÎÀÇ perl °æ·Î È®ÀÎÇÏ°í ¼­¹öȯ°æ°ú ´Ù¸£´Ù¸é ¼öÁ¤ÇÒ°Í (¾Õ¿¡ #! ´Â ¹Ýµå½Ã ºÙÀÏ°Í) #---config.cgi ÀÇ °æ·Î´ëÀÔ require './config.cgi'; # ----------------------------------------------------------# # ÇÁ·Î±×·¥ ¸íĪ,¹öÀü: TECHNOTE-TOP-[free ¹öÀü] # »ç¿ë±Ç ±¸ºÐ: °ø°³¹öÀü # ÀúÀÛ±Ç ¼ÒÀ¯: Å×Å©³ëÆ®INC (http://www.technote.co.kr) # ÀÌ ÆÄÀÏÀº TECHNOTE-TOP °ø°³¹öÀüÀ¸·Î¼­ »ç¿ëÀÚ Á¦ÇÑ»çÇ×Àº ¾ø½À´Ï´Ù. # »ç¿ë´ñ°¡ ÁöºÒ ¾øÀÌ ¹«·á·Î »ç¿ë ÇÒ¼ö ÀÖÀ¸¸ç, ¾îµð¿¡¼­³ª Àç ¹èÆ÷°¡ Çã¿ëµË´Ï´Ù. # ÀÌ ¼Ò½º¸¦ ÀÌ¿ëÇÑ 2Â÷Àû ÀúÀÛ¹° Á¦ÀÛ,¹èÆ÷´Â ±ÝÇÕ´Ï´Ù. # Copyright(c) Å×Å©³ëÆ®INC (since 1998~) # ÃÖÁ¾¼öÁ¤ ¹èÆ÷ÀÏ 2002/11 # -----------------------------------------------------------# # [±Û¾²±âÆû]-[Ŭ¸³¾ÆÆ®2] ÆäÀÌÁö¸¦ °ü¸®ÀÚ¿ëÀ¸·Î¸¸ »ç¿ëÇÏ·Á¸é ¾Æ·¡¿¡ 'no' ¸¦ ´ëÀÔÇÒ °Í $Cripart2Opened = 'yes'; &parse; exit if($FORM{'img'}=~/\;|\%|\\|\.\.|\||\//); # wotonet-patch (20050318) $FORM{'board'}=~s/\///g; $thispath = "$board_dir_path/$FORM{'board'}"; if($FORM{'TablePrint'}){&TablePrint;} elsif($FORM{'soundbox'}){&sound_box;} elsif($FORM{'link'}){&link_location;} elsif($FORM{'writeformimg'}){&WritimgTable;} elsif($FORM{'Mainbutton'}){&Mainbutton;} elsif($FORM{'Subbutton'}){&Subbutton;} elsif($FORM{'Shopbutton'}){&Shopbutton;} elsif($FORM{'subjecticon'}){&subjecticon;} elsif($FORM{'PostAddr'}){&PostAddr;} elsif($FORM{'ShForm'}){&ShForm;} elsif($FORM{'guest_text'}){&guest_text;} elsif($FORM{'MemberPrint'}){&MemberPrint;} elsif($FORM{'imgupload'}){&imgupload;} elsif($FORM{'MemberDfind'}){&MemberDfind;} elsif($FORM{'admframe'}){&admframe;} elsif($FORM{'iconsearch'}){&iconsearch;} else{&file_return;} sub link_location{ if($FORM{'Count'}){ &get_cookie; $DnCount_chk = $FORM{'link'}; $DnCount_chk =~ s/://g; $DnCount_chk =~ s/\///g; $DnCount_chk =~ s/\.//g; $DnCount_chk =~ s/\|//g; $DnCount_chk =~ s/\(//g; $DnCount_chk =~ s/\)//g; unless($COOKIE{'ReadTxtChEck'} =~ /\|$DnCount_chk\|/){ &LoadCount; $CooRdscr = "|$DnCount_chk|".substr($COOKIE{'ReadTxtChEck'},0,3000); print "Set-Cookie: ReadTxtChEck=$CooRdscr; \n"; }} $FORM{'link'} =~ s/VvQx/\&/g; $FORM{'link'} =~ s/QqxV/=/g; &Move_b_page("$FORM{'link'}"); } sub LoadCount{ local($cntarget,$cntarget2,$cntarget3) = @_; return if($No_count); return if(!$FORM{'Count'} && !$cntarget); $cntarget = $FORM{'Count'} if(!$cntarget); $cntarget2 = $FORM{'d'} if(!$cntarget2); if($cntarget2 =~ /\d+$/){ $cntarget2 = ('count'.$&); }else{ $cntarget2 = 'count'; } $cntarget3 = ($cntarget3 == 17)? 4 : 5; &close_lock; open(TEXT, "$thispath/$cntarget2/$cntarget.$filename_exp"); @hreadcount = split(/\|/,); $hreadcount[$cntarget3]++; open(TEXT, ">$thispath/$cntarget2/$cntarget.$filename_exp"); print TEXT (join('|',@hreadcount)); close(TEXT); &open_lock; $No_count = 1; } sub file_return{ if($FORM{'Count'}){ &LoadCount; } if($FORM{'img'} =~ /\.txt/i){print "Content-type: text/plain\n\n";} elsif($FORM{'img'} =~ /\.htm/i){print "Content-type: text/html\n\n";} else{ print "Content-disposition: attachment; filename=$FORM{'img'}\n"; print "Content-Transfer-Encoding: binary\n\n"; } $upimgdir = $uploaddir if($FORM{'soundfile'} || $FORM{'xfile'}); $FORM{'img'}=~s/\///g; $imgfile = "$thispath/$upimgdir/$FORM{'img'}"; open(IMG, "$imgfile"); binmode(IMG); binmode(STDOUT); binmode(STDERR); print ; close (IMG); exit; } sub admframe{ $frankscrip .= 'admframe'; print "Content-type: text/html\n\n"; print < $FORM{'board'} °ü¸®¼³Á¤ .... TECHNOTE-TOP END if($FORM{'admframe'}==2){ print <
  0-»ö»ó,¹ÙÅÁÆÐÅÏ ¼³Á¤ 4-º»¹®Ãâ·Â ¼³Á¤ 8 12-°í±Þ¹®¼­,¼îÇθô $FORM{'board'}  
MAIN INDEX-¢º


UP  DN
1-¾ÆÀÌÄÜ À̹ÌÁö ÁöÁ¤ 5-±Û¾²±â   ¼³Á¤ 9-ȸ¿øµî·Ï ¼³Á¤ 13-±âŸ ¼³Á¤
2-±ÇÇÑ ¼³Á¤ 6-ÀÚµ¿¸ÞÀÏ ¼³Á¤ 10 14-¼³Á¤Àû¿ë,Å׸¶Àû¿ë
3-¸ÞÀκ¸µå Ãâ·Â ¼³Á¤ 7-¿ë·®Á¦ÇÑ ¼³Á¤ 11-¹öÆ°Ãâ·Â ¼³Á¤ 15-±âŸ°ü¸®
  $FORM{'board'}  º¸µå °ü¸®¼³Á¤   <TECHNOTE-TOP_free ,   CGI update:2002-11>      
 


 

 

 

»ç¿ëÁß Àǹ®»çÇ×Àº http://www.technote.co.kr ·Î ¹®ÀÇÇϽʽÿÀ.
END } else{ print " "; } print ""; exit; } sub sound_box{ if($FORM{'soundbox'} < 17){ open(INDEXFILE, "$thispath/$shopdir/$FORM{'Count'}.$filename_exp"); @GetDataLine = split(/\|/ , ); close(INDEXFILE); $FORM{'file'} = $GetDataLine[$FORM{'soundbox'}+3]; $GetDataLine[29] = int(((stat("$thispath/$upimgdir/$FORM{'file'}"))[7])/1000); open(INDEXFILE, "$thispath/$indexfile"); while(){ if($_ =~ /^0\|$FORM{'Count'}/){ @GetDatatmp = split(/\|/ , $_); last;}} close(INDEXFILE); $GetDataLine[38] = $GetDatatmp[38]; $Singer = $GetDatatmp[3]; $FORM{'mctitle'} = $GetDatatmp[2]; }else{ open(INDEXFILE, "$thispath/$indexfile"); while(){ if($_ =~ /^0\|$FORM{'Count'}/){ @GetDataLine = split(/\|/ , $_); last;}} close(INDEXFILE); $FORM{'file'} = $GetDataLine[$FORM{'soundbox'}]; $Singer = $GetDataLine[3]; $FORM{'mctitle'} = $GetDataLine[2]; } if($GetDataLine[38] =~ /Media/i){ $AudioStartPlyer =1; } elsif($GetDataLine[38] =~ /Real/i){ $AudioStartPlyer =2; } elsif($GetDataLine[38] =~ /Basis/i){ $AudioStartPlyer =3; } elsif($GetDataLine[38] =~ /Direc/i){ $AudioStartPlyer =4; } else{"";} $MarqueeFile = $FORM{'file'}; $MarqueeFile =~ s/\S+\///; $audio_img_dir_url = "$img_dir_url/audio"; print "Content-type: text/html\n\n"; print <     ¢Ü¢Ü $FORM{'mctitle'}($MarqueeFile)                               $Htm_in_head
   
  END $FORM{'player'} = $AudioStartPlyer if(!$FORM{'player'}); if($FORM{'player'} == 3){ &EmBed; } elsif($FORM{'player'} == 1){ &MediaPlayer; } elsif($FORM{'player'} == 2){ &RealPlayer; } else{ &NonPlayer; } print <  
$FORM{'mctitle'} : $MarqueeFile
   
END &PlayIcon; print <
 
END &LocationLoad if($FORM{'player'} == 4); print "\n"; exit; } sub RealPlayer{ &FileAcLoad; print < END } sub EmBed{ &FileAcLoad; print "
 "; print ""; print "
"; } sub FileAcLoad{ local($chk) = @_; if($FORM{'soundbox'} == 17){ if($cgi_dir_appoint == 1){ $linkload = "$board_dir_url/$FORM{'board'}/$uploaddir/$FORM{'file'}"; if($FORM{'Count'} && !$chk){ &LoadCount("","","17"); } $ACSfile = "$linkload"; }else{ $ACSfile = "$cgi_dir_url/$imgcg?board=$FORM{'board'}&soundfile=1&Count=$FORM{'Count'}&img=$FORM{'file'}&d=$FORM{'d'}"; }} elsif($FORM{'soundbox'} < 17){ if($cgi_dir_appoint == 1){ $ACSfile = "$board_dir_url/$FORM{'board'}/$upimgdir/$FORM{'file'}"; }else{ $ACSfile = "$cgi_dir_url/$imgcg?board=$FORM{'board'}&img=$FORM{'file'}"; }} else{ $MarqueeFile = $FORM{'file'}; $MarqueeFile =~ s/\S+\///; if($FORM{'Count'} && !$chk){ &LoadCount; } $ACSfile = "$FORM{'file'}"; } $FORM{'file'} =~ /[^\.]+$/; $tempmov = $&; unless($Real_movi_file =~ /\.$tempmov\./i){ $BoxWHsize = "width='280' height='50'"; } else{ print "" unless($chk); } } sub MediaPlayer{ &FileAcLoad; print < END } sub NonPlayer{ print "
\n"; print "\n"; print "Á¦¸ñ : $FORM{'mctitle'} "; print "
\n"; print "À̸§ : $Singer "; print "
\n"; print "ÆÄÀÏ : $MarqueeFile "; print "
¿ë·® : \n"; if($GetDataLine[29] > 1000){ print ($GetDataLine[29]/1000)."MB"; } elsif($GetDataLine[29] > 1){ print "$GetDataLine[29]KB"; }else{"";} print "
\n";} sub PlayerButtonLink{ $Sfile_Load = "$cgi_dir_url/$imgcg?soundbox=$FORM{'soundbox'}&board=$FORM{'board'}&Count=$FORM{'Count'}&d=$FORM{'d'}"; if($FORM{'player'} == 1){ $Mimg = 'btn_med_2.gif'; $Rimg = 'btn_real_1.gif'; $Eimg = 'btn_em_1.gif'; $Dimg = 'btn_direct_1.gif'; } elsif($FORM{'player'} == 2){ $Mimg = 'btn_med_1.gif'; $Rimg = 'btn_real_2.gif'; $Eimg = 'btn_em_1.gif'; $Dimg = 'btn_direct_1.gif'; } elsif($FORM{'player'} == 3){ $Mimg = 'btn_med_1.gif'; $Rimg = 'btn_real_1.gif'; $Eimg = 'btn_em_2.gif'; $Dimg = 'btn_direct_1.gif'; } elsif($FORM{'player'} == 4){ $Mimg = 'btn_med_1.gif'; $Rimg = 'btn_real_1.gif'; $Eimg = 'btn_em_1.gif'; $Dimg = 'btn_direct_2.gif'; } else{ $Mimg = 'btn_med_1.gif'; $Rimg = 'btn_real_1.gif'; $Eimg = 'btn_em_1.gif'; $Dimg = 'btn_direct_1.gif'; } } sub PlayIcon{ &FileAcLoad('n'); &PlayerButtonLink; print "\"Media"; print "\"Real"; print "\"Basis"; print "\"Direct"; } sub LocationLoad{ print <  END } sub close_lock{ $Nowtime = time+15; while (-e "$thispath/main.lock" && (time < $Nowtime)) { sleep(1); } open(LOCK, ">$thispath/main.lock"); print LOCK "1"; } sub open_lock{ close(LOCK); unlink("$thispath/main.lock"); } sub TablePrint{ if($FORM{'sampl'}){ if($FORM{'sampl'} == 1){ $FORM{'T_width'}=400; $FORM{'T_unit'}='1'; $FORM{'T_cellpadding'}=2; $FORM{'T_cellspacing'}=1; $FORM{'T_cellmove'}=''; $FORM{'T_bgcolor'}=''; $FORM{'T_linecolor'}='#FFAE21'; $FORM{'T_titlecolor'} = '#FFFBEF'; $FORM{'T_colscell'} = 4; $FORM{'T_rowscell'} = 4; } elsif($FORM{'sampl'} == 2){ $FORM{'T_width'}=95; $FORM{'T_unit'}=''; $FORM{'T_cellpadding'}=3; $FORM{'T_cellspacing'}=1; $FORM{'T_cellmove'}=''; $FORM{'T_bgcolor'}=''; $FORM{'T_linecolor'}='#00AEE7'; $FORM{'T_titlecolor'} = ''; $FORM{'T_colscell'} = 1; $FORM{'T_rowscell'} = 6; } elsif($FORM{'sampl'} == 3){ $FORM{'T_width'}=600; $FORM{'T_unit'}=1; $FORM{'T_cellpadding'}=5; $FORM{'T_cellspacing'}=1; $FORM{'T_cellmove'}=1; $FORM{'T_bgcolor'}='#FFFFEF'; $FORM{'T_linecolor'}='#9C9E00'; $FORM{'T_titlecolor'} = '#FFEFCE'; $FORM{'T_colscell'} = 3; $FORM{'T_rowscell'} = 3; } elsif($FORM{'sampl'} == 4){ $FORM{'T_bgcolor'}='#FFFBEF'; $FORM{'T_cellspacing'}=1; $FORM{'T_linecolor'}='#9C0800'; $FORM{'T_colscell'} = 8; $FORM{'T_rowscell'} = 5; } elsif($FORM{'sampl'} == 5){ $FORM{'T_width'}=400; $FORM{'T_unit'}=1; $FORM{'T_cellpadding'}=5; $FORM{'T_cellspacing'}=1; $FORM{'T_cellmove'}=1; $FORM{'T_bgcolor'}='#FFFF21'; $FORM{'T_linecolor'}='#9C9E00'; $FORM{'T_colscell'} = 1; $FORM{'T_rowscell'} = 1; } elsif($FORM{'sampl'} == 6){ $FORM{'T_width'}=80; $FORM{'T_unit'}=''; $FORM{'T_cellpadding'}=2; $FORM{'T_cellspacing'}=4; $FORM{'T_cellmove'}=1; $FORM{'T_bgcolor'}=''; $FORM{'T_linecolor'}='#777777'; $FORM{'T_titlecolor'} = '#EEEEEE'; $FORM{'T_colscell'} = 5; $FORM{'T_rowscell'} = 4; } else{'';} } if(!$FORM{'T_width'}){$FORM{'T_width'}='90';} if(!$FORM{'T_unit'}){$FORM{'T_unit'}='';} if($FORM{'T_colscell'} < 1 || $FORM{'T_colscell'} > 50){$FORM{'T_colscell'}='5';} if($FORM{'T_rowscell'} < 1 || $FORM{'T_rowscell'} > 50){$FORM{'T_rowscell'}='4';} if(!$FORM{'T_cellpadding'}){$FORM{'T_cellpadding'}='2';} if(!$FORM{'T_cellspacing'}){$FORM{'T_cellspacing'}='1';} if(!$FORM{'T_cellmove'}){$FORM{'T_cellmove'}='';} if(!$FORM{'T_linecolor'}){$FORM{'T_linecolor'}='#000000';} if(!$FORM{'T_bgcolor'}){$FORM{'T_bgcolor'}='';} if(!$FORM{'T_titlecolor'}){$FORM{'T_titlecolor'}='';} for('T_unit','T_cellpadding','T_cellspacing','T_cellmove','T_linecolor','T_bgcolor','T_titlecolor'){ $Rest = $FORM{"$_"}; $Rest =~ s/\#//; $SELECT{"$_"."$Rest"} = 'selected'; } $colunit = int(($FORM{'T_width'} / $FORM{'T_colscell'})+0.5); if(!$FORM{'T_unit'}){ $tabwidth = '%'; $colunit = $colunit.'%'; } $tabwidth = $FORM{'T_width'} . $tabwidth; $colunit = ($FORM{'T_cellmove'})? "width='$colunit'" : ''; $TBcellpadding = ($FORM{'T_cellpadding'} eq 'x') ? '0' : $FORM{'T_cellpadding'}; $TBcellspacing = ($FORM{'T_cellspacing'} eq 'x') ? '0' : $FORM{'T_cellspacing'}; $TDbgcolor = "bgcolor=$FORM{'T_bgcolor'}" if($FORM{'T_bgcolor'}); if($TBcellspacing > 1){ if($TDbgcolor){ $Tblbgcolor="border=0 bgcolor='$FORM{'T_linecolor'}'"; } else{ $TBcellspacing -= 1; $Tblbgcolor = "border bordercolor='$FORM{'T_linecolor'}'"; }}else{ $TBcellspacing -= 1; $Tblbgcolor = "border bordercolordark='#ffffff' bordercolorlight='$FORM{'T_linecolor'}'"; } $TABLEMAKING .= "\n \n "; $TABLEMAKING .= " \n "; for(1..$FORM{'T_rowscell'}){ $TABLEMAKING .= " \n "; for(1..$FORM{'T_colscell'}){ $TABLEMAKING .= " "; } sub ch_pass{local($inpass_x,)=@_;$inpass_x =~ s/\s//g;$inpass_x .= 'IlIl' if(2 > length($inpass_x)); $inpass=$inpass_x;$chop1=chop($inpass);$chop2=chop($inpass);$chop3=chop($inpass); $chop4=chop($inpass);$cryptword=$chop1.$chop2.$chop3.$chop4;$firstcrypt= crypt($cryptword,"$chop2$chop3"); $chop1=chop($firstcrypt);$chop2=chop($firstcrypt);return crypt($inpass_x,"$chop1$chop2");} sub Shopbutton{ $Formbtimg_url = "$img_dir_url/button2"; &htmlprinthead("","[1-4] °í±Þ¹®¼­È°¿ë ¹öÆ°"); print <$Formbtimg_url/1~12/)
¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ((((Ç¥¸¸µé±â)))¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ $Htm_in_head
 Ç¥ Àüü³Êºñ
 °¡·ÎÁÙ¼ö ŸÀÌƲ»ö
 ¼¼·ÎÁÙ¼ö ¹ÙÅÁ»ö
 ¼¿¾ÈÂÊ¿©¹é ¶óÀλö
 ¼¿³Êºñ SET ¶óÀεβ²
Ç¥»ðÀÔÇϱâ $TABLEMAKING
Ç¥»ðÀÔÇϱâ $TABLEMAKING3
Ç¥»ðÀÔÇϱâ $TABLEMAKING2
[Ç¥¸¸µé±â µµ¿ò¸»]
¢É Ç¥ Àüü³Êºñ - Ç¥ÀÇ Àüü °¡·Î³Êºñ¸¦ ÁöÁ¤ÇÑ´Ù.
        % - º»¹®¹ÙÅÁÈ­¸é ´ëºñ ¹éºÐÀ²·Î ³ÊºñÁöÁ¤
        Çȼ¿ - Çȼ¿´ÜÀ§ÀÇ Àý´ë¼öÄ¡·Î ³ÊºñÁöÁ¤
      Ç¥³Êºñ¸¦ ÁöÁ¤ÇÏÁö ¾Ê°íÀÚ ÇÒ¶§´Â ½ºÆäÀ̽º¸¦ ÀÔ·ÂÇÑ´Ù.
¢É °¡·ÎÁÙ¼ö - °¡·ÎÁÙ ¼ö¸¦ ÁöÁ¤
¢É ¼¼·ÎÁÙ¼ö - ¼¼·ÎÁÙ ¼ö¸¦ ÁöÁ¤
¢É ¼¿ ¾ÈÂÊ¿©¹é - ±ÛÀÚ¿Í ¶óÀλçÀÌÀÇ °Å¸® °£°Ý ÁöÁ¤
¢É ¼¿ ³Êºñ SET - °¢ Ä­ÀÇ ³Êºñ¸¦ ÁöÁ¤
        À¯µ¿ - ÀԷ±ÛÀÚ¿¡ µû¶ó »ó´ëÀûÀ¸·Î ÀÚµ¿Á¶Àý
        °íÁ¤ - °íÁ¤µÈ ³Êºñ À¯Áö
¢É ŸÀÌƲ»ö - Ç¥ ³»ºÎ ù¹ø° °¡·ÎÁÙÀÇ ¹ÙÅÁ»öÁöÁ¤
¢É ¹ÙÅÁ»ö - Ç¥ ³»ºÎÀÇ »ö»óÁöÁ¤
¢É ¶óÀλö - Ç¥ ±¸¼º ¶óÀÎÀÇ »ö»óÁöÁ¤
¢É ¶óÀεβ² - Ç¥ ±¸¼º ¶óÀÎÀÇ µÎ²² ÁöÁ¤
¢É »õ·Î°íħ - º¯°æ°ª Àû¿ë Ãâ·Â

'Ç¥»ðÀÔÇϱâ' ¸¦ Ŭ¸¯ÇÏ¸é º»¹®³»¿¡ Ç¥°¡ »ðÀԵ˴ϴÙ.
º»¹®³»¿¡ »ðÀÔÈÄ, Ç¥ ¸ð¼­¸®¸¦ Ŭ¸¯Çϸé
À§Ä¡À̵¿¹× Å©±â ÀçÁ¶ÀýÀÌ °¡´ÉÇÕ´Ï´Ù.



END } sub ColorSelected{ local($col,$line) = @_; local $col2 = $line.$col; print "\n"; } sub WritimgTable{ $Drop = $FORM{'drop'} ? 1 : '' ; print "Content-type: text/html\n\n"; print < $Htm_in_head ¢Æ¢Æ¢Æ¢Æ¢Æ Ŭ¸³¾ÆÆ®-1 ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ
Ŭ¸³¾ÆÆ®-1 Ŭ¸³¾ÆÆ®-2


END @Clicktext = ('',' ²É ','¾ÆÀÌÄÜ','µ¿¹°','»ç¶÷','ºí¸´','¸¸È­','¸¸È­',' ¹Ù ','face','..img','IMG'); for(1..10){ $tdcolor = ($_ == $FORM{'writeformimg'}) ? "bgcolor=#ff9988" : "" ; print "\n"; } print ""; print "
"; if($tdcolor){ print "$Clicktext[$_]"; } else{ print "$Clicktext[$_]"; } print "¾÷·Îµå
\n\n"; print "\n"; for('#FFFFFF','#808080','#000000','#FFFF00','#00FF00','#00FFFF','#0000FF','#FF00FF','#FF0000'){ print " \n"; } print "
       
\n\n"; if($Drop){ print "¾Æ·¡ÀÇ ±×¸²À» ¸¶¿ì½º·Î Ŭ¸¯ÇÑ »óÅ·Π²ø¾î¼­
º»¹® ÆíÁý¿µ¿ªÀÇ ¿øÇÏ´Â À§Ä¡¿¡ ¶³¾î¶ß¸®½Ê½Ã¿À.(Drop-Down)
"; print "´Ù¸¥ À¥ÆäÀÌÁöÀÇ ±×¸²µµ °°Àº ¹æ¹ýÀ¸·Î ³ÖÀ» ¼ö ÀÖ½À´Ï´Ù."; } else{ print "º»¹®¿¡ »ðÀÔÇÒ ±×¸²À» Ŭ¸¯ ÇϽʽÿÀ.   or [¼±ÅÃÃë¼Ò]"; } print "
"; $startimg = ($FORM{'writeformimg'}*10) - 9; for($startimg..($startimg + 9)){ $imgfile = 'img'."$_".".gif"; print "" if(!$Drop); print "\"$imgfile\""; print "" if(!$Drop); print " "; print "
" if($_ % 3 == 0); } if($FORM{'writeformimg'} == 5){ for(1..32){ $imgfile = 'bitimg'."$_".".gif"; print "" if(!$Drop); print "\"$imgfile\""; print "" if(!$Drop); print " "; } } print "
Ŭ¸³¾ÆÆ®1 ²Ù¹Ì±â(°ü¸®ÀÚ¿ë)
* Å×Å©³ëÆ®ÀÇ 'Ŭ¸³¾ÆÆ®1' À̹ÌÁö µð·ºÅ丮(Æú´õ)ÀÎ
  '$Faceimg_url' µð·¹Å丮 ³»ÀÇ ÆÄÀÏÀ» º¯°æ(±³Ã¼)ÇÏ¸é µË´Ï´Ù.
* ÆÄÀϸíÀº ¿ø·¡´ë·Î À¯Áö µÇ¾î¾ß ÇÕ´Ï´Ù.
* À̹ÌÁö ÆÄÀÏ 80°³ ±îÁö¸¸ Çã¿ëµË´Ï´Ù.
* À̹ÌÁö ÆÄÀÏ°ú Ä«Å×°í¸®¸¦ È®ÀåÇÏ·Á¸é Ŭ¸³¾ÆÆ®2 ¸¦ ÀÌ¿ëÇϽʽÿÀ,
"; &htmlend('1',''); exit; } sub imgupload{ &open_r_config; &get_cookie; require ("$lib_dir_path/Lib-29.cgi"); $FORM{'page'} = 'A' unless($FORM{'page'}); $Drop = $FORM{'drop'}; opendir(DIR,$upimg_dir_path); if($FORM{'page'} eq 'all'){ @readdir_line = grep((!/^\./), readdir(DIR)); } elsif($FORM{'page'} eq 'others'){ @readdir_line = grep((!/^\./), readdir(DIR)); @readdir_line = grep((!/^[a-z]/i), @readdir_line); } else{ @readdir_line = grep((/^$FORM{'page'}/i), readdir(DIR)); } closedir(DIR); print "Content-type: text/html\n\n"; print < $Htm_in_head ¢Æ¢Æ¢Æ¢Æ¢Æ Ŭ¸³¾ÆÆ®-2 ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ
Ŭ¸³¾ÆÆ®-1 Ŭ¸³¾ÆÆ®-2


END print "\n"; @C_name = ('','»ó¡','ºí¸´','¸Þ´º','¹öÆ°','¶óÀÎ','Å׸¶','½ºÅ²','ÆÐÅÏ','¹®ÀÚ','Àüü','¼îÇÎ1','¼îÇÎ2','¼îÇÎ3','ÆÄÀÏ','µ¿¹°','»ç¶÷','½Ä¹°','±×¸²','±ÛÀÚ','Ä®¶ó','º¸µå','¾ó±¼','ȨÇÇ','È­º¸','»çÁø','¿¹¼ú','À⵿','±âŸ','±âŸ',); $Ct_i = 1; for(A..I,'all',J..Z,'others'){ if($FORM{'page'} eq $_){ print ""; } else{ if($_ =~ /^[A-Z]/){ $linktitle="ÆÄÀÏÀ̸§ÀÌ ($_) ·Î ½ÃÀ۵Ǵ ÆÄÀÏ"; } elsif($_ eq 'others'){ $linktitle="ÆÄÀÏÀ̸§ÀÌ (A~Z)·Î ½ÃÀÛµÇÁö ¾Ê´Â ÆÄÀÏ"; } else{ $linktitle="¸ðµç ÆÄÀÏ"; } print "$Ct_i"; print "
" if($Ct_i == 10); print "
$C_name[$Ct_i]
"; } print "
" if($Ct_i == 10 || $Ct_i == 19); $Ct_i ++; } print "
$Ct_i$C_name[$Ct_i]


"; if(!$TEck_Name && $Cripart2Opened eq 'no'){ print "ÀÌ ÆäÀÌÁöÀÇ ±×¸²Àº °ü¸®ÀÚ·Î ±ÇÇÑ(·Î±×ÀÎ) »óÅ¿¡¼­¸¸
À̹ÌÁö°¡ º¸ÀÌ°Ô ¼³Á¤µÇ¾î ÀÖ½À´Ï´Ù. (Ãâ·Â¼³Á¤ ÆÄÀÏ : $imgcg)"; } else{ foreach $key (@readdir_line){ $Ftype = ($key =~ /\.(gif|jpg|bmp)/i)? 1 : 2; if($Ftype == 1){ $imgfile = "upload/$key"; print "" if(!$Drop); print "$key"; print "" if(!$Drop); print "   "; } else{ $Fimgtype = &Get_icon_type("$key","17"); print " "; print " $key"; print "  "; } } } print <
Ŭ¸³¾ÆÆ®2 ²Ù¹Ì±â(°ü¸®ÀÚ¿ë)   [µµ¿ò¸»]   [À̹ÌÁö ÆÄÀδõ]
  ÆÄÀÏ ¾÷·Îµå1 
  ÆÄÀÏ ¾÷·Îµå2
  ¾÷·ÎµåÇÒ Ä«Å×°í¸®
  ÆÄÀÏ »èÁ¦Çϱâ (»èÁ¦ÇÒ ÆÄÀϸí)
  °ü¸® ºñ¹Ð¹øÈ£
 
END exit; } sub MemberPrint{ &open_r_config; &open_config; &get_cookie; if($config[297]==4 && !$TEck_Name && !$TEck_Mail){ &login_error_msg('¸ðµç ȸ¿øÁ¤º¸ Á¶È¸ ±ÇÇÑÀÌ Â÷´ÜµÇ¾î ÀÖ½À´Ï´Ù.','°ü¸®ÀÚ¿¡ ÀÇÇؼ­¸¸ Á¶È¸ °¡´ÉÇÕ´Ï´Ù.',''); } if(!$TEck_Name && !$TEck_Mail && ($config[297]!=1) && !$TEck_Home){ &input_Login_data('¢É ¿ì¼± ȸ¿ø·Î±×ÀÎ ÇϽʽÿÀ.','','','ch_id_find','ȸ¿ø ·Î±×ÀÎ'); } $FORM{'input_id'} =~ s/\s//g; if($TEck_Name || $TEck_Mail){ $headmsg = "°ü¸®ÀÚ ·Î±×ÀÎµÈ »óÅÂÀ̹ǷΠ¸ðµç ȸ¿øÁ¶È¸°¡ Çã¿ëµË´Ï´Ù.
        ÀÌ ÆäÀÌÁö³»¿¡¼­ÀÇ È¸¿øÁ¤º¸ ¼öÁ¤Àº µî·Ï´ç»çÀÚ¸¸ °¡´ÉÇÏ´Ï
        °ü¸®ÀÚ´ÔÀº [ȸ¿ø°ü¸®Å×À̺í]¿¡¼­ ÇϽʽÿÀ,"; } elsif($config[297] == 3){ $headmsg = "º»ÀÎÀÇ µî·ÏÁ¤º¸¸¸ Á¶È¸°¡ Çã¿ëµÇ¾î ÀÖ½À´Ï´Ù."; &login_error_msg("$headmsg") if($FORM{'input_id'} && ($visitor_line[0] ne $FORM{'input_id'})); } elsif($config[297] == 2){$headmsg = "º»ÀÎ¹× ´Ù¸¥ ȸ¿øÀÇ µî·ÏÁ¤º¸ Á¶È¸°¡ Çã¿ëµÇ¾î ÀÖ½À´Ï´Ù.";} else{$headmsg = " ȸ¿øµî·ÏÁ¤º¸ Á¶È¸±ÇÇÑÀÌ open µÇ¾î ÀÖ½À´Ï´Ù.";} &htmlprinthead('','µî·ÏÁ¤º¸ Á¶È¸'); $FORM{'input_id'} = "$visitor_line[0]" if(!$FORM{'input_id'}); print <
ºñ¹Ð¹øÈ£ ºÐ½Ç
ȸ¿øµî·ÏÁ¤º¸ Á¶È¸/¼öÁ¤
  $headmsg

      Á¶È¸ÇÒ ¾ÆÀ̵ð ÀÔ·Â
 
 

END if($FORM{'input_id'}){ &memberdataprint; if($return_data){ ($h_visit,$h_id,$h_pass,$h_name,$h_mail,$h_home,$h_first,$h_img,$h_memo, $PlS1,$PlS2,$PlS3,$PlS4,$PlS5,$PlS6,$PlS7,$PlS8,$PlS9,$PlS10,$h_postnum,$h_postaddr) = split(/\|/,$return_data); print "" if($h_img =~ /\S+\.\S/); print "
"; print ""; print "\n\n\n\n"; # ±âº» µî·ÏÁ¤º¸ print "\n"; print "\n"; print "\n"; print "\n" if($h_mail); print "\n" if($h_home); # °ü¸®ÀÚÀ̰ųª º»ÀÎÀÇ µî·ÏÁ¤º¸ Á¶È¸½Ã¿¡¸¸ Ãâ·Â if($config[297] > 2 || ($h_id eq $visitor_line[0])){ print "\n"; print "\n" if($h_postnum); print "\n" if($h_postaddr); print "\n"; } # »ç¿ëÀÚ Á¤ÀÇ ÀÔ·ÂÇʵå: Ãâ·ÂµÇÁö ¾Ê°ÔÇÑ Ç׸ñÀÌ ÀÖ´Ù¸é »èÁ¦Çϰųª ¶óÀÎ ¾Õ¿¡ # À» ºÙÀÌ¸é µË´Ï´Ù. &id_reg_dat_print('87',"$PlS1"); # º¸µå°ü¸®¼³Á¤ - [9-10] ¿¡ ÇØ´çµÇ´Â µî·Ï³»¿ëÀÓ &id_reg_dat_print('88',"$PlS2"); # º¸µå°ü¸®¼³Á¤ - [9-11] &id_reg_dat_print('89',"$PlS3"); # º¸µå°ü¸®¼³Á¤ - [9-12] &id_reg_dat_print('90',"$PlS4"); # º¸µå°ü¸®¼³Á¤ - [9-13] &id_reg_dat_print('193',"$PlS5"); # º¸µå°ü¸®¼³Á¤ - [9-14] &id_reg_dat_print('194',"$PlS6"); # º¸µå°ü¸®¼³Á¤ - [9-15] &id_reg_dat_print('266',"$PlS7"); # º¸µå°ü¸®¼³Á¤ - [9-16] &id_reg_dat_print('267',"$PlS8"); # º¸µå°ü¸®¼³Á¤ - [9-17] &id_reg_dat_print('268',"$PlS9"); # º¸µå°ü¸®¼³Á¤ - [9-18] &id_reg_dat_print('269',"$PlS10"); # º¸µå°ü¸®¼³Á¤ - [9-19] print ""; if($TEck_Name || $TEck_Mail){$h_memo =~ s/\;/
/g; print ""; } print "
¾ÆÀ̵ð  $h_id
À̸§  $h_name
¸ÞÀÏ  $h_mail
ȨÆäÀÌÁö  $h_home
ȸ¿ø±ÇÇÑ(µî±Þ) $h_visitµî±Þ (help)
¿ìÆí¹øÈ£  $h_postnum
ÁÖ¼Ò  $h_postaddr
¸¶Àϸ®Áö Æ÷ÀÎÆ® $rtntt
µî·ÏÀÏ  $h_first
°ü¸®¸Þ¸ð  $h_memo
"; print "
"; if($config[271]!=1){print " 
  ---- µî·ÏÁ¤º¸ ¼öÁ¤Àº Çã¿ëµÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù. ----";} elsif($exdirspace){print " 
  ---- ´Ù¸¥ °æ·Î¿¡¼­ °øÀ¯µÈ ¾ÆÀ̵ð´Â ¿©±â¿¡¼­ ¼öÁ¤ÇÒ ¼ö ¾øÀ½ ----";} elsif($visitor_line[0] && ($visitor_line[0] eq $FORM{'input_id'}) && $TEck_Home){ &ReprintM_data; }else{print " 
  ---- ȸ¿ø ·Î±×ÀÎµÈ »óÅ¿¡¼­¸¸ µî·ÏÁ¤º¸ ¼öÁ¤ÀÌ Çã¿ëµË´Ï´Ù.----";}} else{print "

    Á¶È¸ ¿äûÇÑ ¾ÆÀ̵ð $FORM{'input_id'} ÀÇ µî·ÏÁ¤º¸¸¦ ãÀ» ¼ö ¾ø½À´Ï´Ù.";}} &htmlend;} sub ReprintM_data{ $RePrintDataR = "input_id|$h_id|&|". "input_name|$h_name|&|". "input_mail|$h_mail|&|". "input_home|$h_home|&|". "input_post|$h_postnum|&|". "input_address|$h_postaddr|&|". "WPL_87|$PlS1|&|". "WPL_88|$PlS2|&|". "WPL_89|$PlS3|&|". "WPL_90|$PlS4|&|". "WPL_193|$PlS5|&|". "WPL_194|$PlS6|&|". "WPL_266|$PlS7|&|". "WPL_267|$PlS8|&|". "WPL_268|$PlS9|&|". "WPL_269|$PlS10"; $RePrintDataR =~ s/\"/\"\;/g; print <     END } sub id_reg_dat_print{ local($num,$string,$rest) = @_; if(!$TEck_Name && !$TEck_Mail && $config[297]!=3){ if($config[$num] =~ /(ºñ¹Ð¹øÈ£)|(Áֹεî·Ï)/){$string =~ s/.{8}$/\*\*\*\*\*\*\*\*/;} if($config[$num] =~ /ÈùÆ®/){$string = '*****' ;} } $config[$num] =~ s/=.*$//; print "
 $config[$num]  $string
END for(1..12){ $a_num = $_; print "\n";} print < °í±Þ¹®¼­(¼îÇÎÄ¿Æ®, °ßÀû¼­, ±âŸ ÀԷ¾ç½Ä ¹®¼­...)¿¡ »ðÀԵǴ ¹öÆ°ÀÔ´Ï´Ù.
ÇÊ¿ä¿¡ µû¶ó, ¹öÆ° À̸§(±ÛÀÚ)À» Àç ÀÛ¼ºÇϰųª
¾ÆÀÌÄÜÀÇ ¼ø¼­¸¦ ¹Ù²Ù¸é ¿©·¯°¡Áö ¿ëµµ¿¡ ¸Â°Ô Àç ±¸¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù.
±âÁ¸ ÆÄÀϸí°ú µ¿ÀÏÇÏ°Ô ÇÏ¿© ´Ù¸¥ ¾ÆÀÌÄÜÀ» ³Ö¾îµµ µË´Ï´Ù.
¾ÆÀÌÄÜ Å©±â´Â ±ÔÁ¤µÇ¾î ÀÖÁö ¾Ê½À´Ï´Ù.
END &htmlend; exit; } sub Mainbutton{ $Buttonimg_url = "$img_dir_url/button"; &htmlprinthead("","[1-2] Main ¹öÆ° À̹ÌÁö"); print <$Buttonimg_url/1~12/)
DIR  Button images
$a_num  "; for(1..6,14,9,'4-1',10..13){ $b_num = 'shop'.$_.'.gif'; print "$b_num\n"; if($_ == 4){ print "
 \n"; }} print "
END for(1..12){ print < END } print "
DIR  Main Button
$_
 
±âº» Á¦°øµÈ ¹öÆ°¾ÆÀÌÄÜ ÀÌ¿ÜÀÇ °ÍÀ» »ç¿ëÇÏ°íÀÚ ÇÑ´Ù¸é
ÆÄÀϸíÀ» µ¿ÀÏÇÏ°Ô ÇÏ¿© µð·ºÅ丮($Buttonimg_url/1~12/)¿¡ ´Ù¸¥ ¹öÆ°À̹ÌÁö¸¦ ³Ö°í
ÇØ´ç µð·ºÅ丮 ¹øÈ£¸¦ ÁöÁ¤ÇØ ÁÖ¸é µÈ´Ù.
¹öÆ°À̹ÌÁöÀÇ Å©±â´Â ±ÔÁ¤µÇ¾î ÀÖÁö ¾Ê´Ù."; &htmlend; exit; } sub Subbutton{ $Buttonimg_url = "$img_dir_url/button3"; &htmlprinthead("","[1-3] Sub ¹öÆ° À̹ÌÁö"); print <$Buttonimg_url/1~12/) END for(1..12){ print < END } print "
DIR  Sub Button
$_

±âº» Á¦°øµÈ ¹öÆ°¾ÆÀÌÄÜ ÀÌ¿ÜÀÇ °ÍÀ» »ç¿ëÇÏ°íÀÚ ÇÑ´Ù¸é
ÆÄÀϸíÀ» µ¿ÀÏÇÏ°Ô ÇÏ¿© µð·ºÅ丮($Buttonimg_url/1~12/)¿¡ ´Ù¸¥ ¹öÆ°À̹ÌÁö¸¦ ³Ö°í
ÇØ´ç µð·ºÅ丮 ¹øÈ£¸¦ ÁöÁ¤ÇØ ÁÖ¸é µÈ´Ù.
¹öÆ°À̹ÌÁöÀÇ Å©±â´Â ±ÔÁ¤µÇ¾î ÀÖÁö ¾Ê´Ù. "; &htmlend; exit; } sub guest_text{ if($FORM{'guest_text'} ==2){$WritePm = '°ü¸®ÀÚ¿¡°Ô¸¸ Çã¿ëµÇ¾î ÀÖ½À´Ï´Ù.';} elsif($FORM{'guest_text'} ==3){$WritePm = 'Á¤½Äµî·Ï ȸ¿ø¿¡°Ô¸¸ Çã¿ëµÇ¾î ÀÖ½À´Ï´Ù.';} else{'';} $Formstyle = &BrowserNi('#888888',1,'96%'); &htmlprinthead('','ªÀº ´äº¯ ¾²±â'); print <
$WritePm
    ªÀº ´äº¯±Û ¾²±â
  ¤· ÀÛ¼ºÇÑ ³»¿ëÀº ¿øº»±Û(´äº¯´ë»ó ±Û)ÀÇ º»¹®ÇÏ´Ü¿¡ Á÷Á¢ »ðÀԵ˴ϴÙ.
  ¤· À̸§°ú ³»¿ëÀº ¹Ýµå½Ã ³Ö¾î¾ß µî·ÏµË´Ï´Ù.
Ç¥Á¤
À̸§
¸ÞÀÏ
³»¿ë
                     
END &htmlend; exit; } sub ShForm{ &open_config; @table = split(/\//,$config[262]); @wform = split(/\//,$config[265]); $Formstyle = &BrowserNi('#999999',1,'100%'); &htmlprinthead('','È®Àå°Ë»ö'); print<
  "; } else{ $config[$Snum] =~ s/=.*//; &text_shform($config[$Snum],$Sname,$Sname2,1); }} sub text_shform{ my($sh_title,$S_name,$S_name2,$exnum)=@_; return if($exnum != 1); print " "; } sub PostAddr{ $Formstyle = &BrowserNi('#000000',1,'350'); if($FORM{'words'}){ $Shword = "$FORM{'words'}"; $Shword =~ s/-//g; $Longwd = length($Shword); if($Shword =~ /^\d+/){ $Shword =~ s/ //g; if($Longwd < 3 || $Longwd > 10){ $message = '
  • °Ë»öÇÒ ÁÖ¼Ò³ª ¿ìÆí¹øÈ£¸¦ Á¤È®È÷ ÀÔ·Â ÇϽʽÿÀ.'; } else{ open(DB,"$lib_dir_path/Lib-11.cgi"); while(){ $_ =~ /(\d+)\s+(.*)/; $Pfd = $1; $Afd = $2; if($Pfd =~ /$Shword/i){ $Pfd =~ s/(\d{3})(\d{3})/\1-\2/; ($Afd2 = $Afd) =~ s/ +\d+\~\d+$//; $message .= "
  •   $Pfd   $Afd"; $Cntpp++; if($Cntpp > 1500){ $Enoughcut = "°Ë»ö¹üÀ§°¡ ³Ê¹« ³Ð½À´Ï´Ù. Á»´õ ±¸Ã¼ÀûÀÎ ¿ìÆí¹øÈ£¸¦ ÀÔ·Â ÇϽʽÿÀ."; last;}}} close(DB); $message .= "
  • ÀÔ·ÂÇϽŠ¿ìÆí¹øÈ£¿¡ ÇØ´çÇÏ´Â ÁÖ¼Ò¸¦ ãÁö ¸øÇß½À´Ï´Ù." if(!$message); }} else{ if($Longwd < 3){ $message = '
  • °Ë»öÇÒ ÁÖ¼Ò³ª ¿ìÆí¹øÈ£¸¦ Á¤È®È÷ ÀÔ·Â ÇϽʽÿÀ.'; }else{ $Shword =~ s/\,/ /g; $Shword =~ s/ +/ /g; $Shword =~ s/^\s+//g; $Shword =~ s/\s+$//g; @Manyword = split(/ /,$Shword); open(DB,"$lib_dir_path/Lib-11.cgi"); while(){ $_ =~ /(\d+)\s+(.*)/; $Pfd = $1; $Afd = $2; foreach $key (@Manyword) { if($Afd =~ /$key/i){ $FndWd = 1; }else{undef($FndWd);last;}} if($FndWd){ $Pfd =~ s/(\d{3})(\d{3})/\1-\2/; ($Afd2 = $Afd) =~ s/ +\d+\~\d+$//; $message .= "
  •   $Pfd   $Afd\n"; $Cntpp++; if($Cntpp > 1500){ $Enoughcut = "°Ë»ö¹üÀ§°¡ ³Ê¹« ³Ð½À´Ï´Ù. ã°íÀÚÇÏ´Â ÇàÀû±¸¿ª(À¾,¸é,µ¿)À» ±¸Ã¼ÀûÀ¸·Î ÀÔ·ÂÇϽʽÿÀ."; last;}}} close(DB); $message .= "
  • ÀÔ·ÂÇϽŠÁÖ¼Ò¿¡ ÇØ´çÇÏ´Â ¿ìÆí¹øÈ£¸¦ ãÁö ¸øÇß½À´Ï´Ù." if(!$message);}}} &htmlprinthead("","[ÁÖ¼Ò] : [¿ìÆí¹øÈ£] °Ë»ö"); print " "; print <
  • ¢Æ ¢Æ ¢Æ ¢Æ ¢Æ È® Àå °Ë »ö ¢Æ ¢Æ ¢Æ ¢Æ ¢Æ
    END &text_shform("$wform[0]",'SSHEX2','SHEX2_f',$config[259]); &text_shform("$wform[1]",'SSHEX3','SHEX3_f',$config[260]); &text_shform("$wform[6]",'SSHEX5','SHEX5_f',$config[48]); &text_shform("$wform[7]",'SSHEX8','SHEX8_f',$config[48]); if($config[96]==1){ $wform[4] =~ /(.*)=(.*)\:(.*)/; print " "; } &text_shform("$wform[3]",'SSHEX6','SHEX6_f',$config[115]); &text_shform("$wform[2]",'SSHEX18','SHEX18_f',$config[221]); &text_shform("$wform[9]",'SSHEX28','SHEX28_f',$config[62]); if($config[99]==1){ $wform[8] =~ /(.*)=(.*)\:(.*)\:(.*)\:(.*)\:(.*)/; print " "; } &text_shform('ÆÄÀÏ÷ºÎ','SSHEX17','SHEX17_f',$config[46]); &input_form(49,'SSHEX19','SHEX19_f'); &input_form(50,'SSHEX20','SHEX20_f'); &input_form(51,'SSHEX21','SHEX21_f'); &input_form(52,'SSHEX22','SHEX22_f'); &input_form(189,'SSHEX37','SHEX37_f'); &input_form(190,'SSHEX38','SHEX38_f'); &text_shform('º»¹®±Û','SSHEX43','SHEX43_f',1); if($config[276]==1){ &text_shform('»óÇ°À̸§','SSHEP1','SHEP1_f',1); &text_shform('»óÇ°°¡°Ý','SSHEP3','SHEP3_f',1); &text_shform('»óÇ°¼³¸í','SSHEP5','SHEP5_f',1); } print <
    °Ë»ö¿µ¿ª °Ë»ö¾î °Ë»öÁ¶°Ç
    $1    
    $1    


    °Ë»ö¾î°¡ ÇØ´ç °Ë»ö¿µ¿ª¿¡ ¹Ýµå½Ã Æ÷ÇÔµÈ °Ô½Ã¹°¸¸À» ã¾Æ Ãâ·ÂÇÕ´Ï´Ù. [HELP]

    END &htmlend; exit; } sub input_form{ my($Snum,$Sname,$Sname2)=@_; return if(!$config[$Snum]); $config[$Snum] =~ s/\-(center|right|left)//i; if( ($config[$Snum] =~ /(.*)=radio:(.*)/i) || ($config[$Snum] =~ /(.*)=select:(.*)/i) || ($config[$Snum] =~ /(.*)=checkbox:(.*)/i) ){ @sharr = split(/\//,$2); print "
    $1    
    $sh_title   OR AND
    ÁÖ¼Ò·Î ¿ìÆí¹øÈ£ ãÀ»¶§: À¾ . ¸é . µ¿ ¶Ç´Â ±â°ü¸í À» ÀÔ·ÂÈÄ [¿£ÅÍ]
    ¿ìÆí¹øÈ£·Î ÁÖ¼Ò Ã£À»¶§: ¿ìÆí¹øÈ£ ¼ýÀÚ 3 ÀÚ¸® ÀÌ»ó ÀÔ·ÂÈÄ [¿£ÅÍ]
    ¶ç¾î¾²±â·Î µÎ´Ü¾î ÀÌ»ó ÀÔ·ÂÇϸé 'AND Á¶°Ç°Ë»ö' µÊ
     $Enoughcut
    $message
    END &htmlend; exit; } sub justaddressname{ local($val_a,$val_b,$s_form) = @_; $s_form = $FORM{'FormName'} if($FORM{'FormName'}); $patnamw = ($FORM{'insert_post_name'})? $FORM{'insert_post_name'} : $val_a ; $adrname = ($FORM{'insert_address_name'})? $FORM{'insert_address_name'} : $val_b ; print " parent.opener.document.$s_form.$patnamw.value = Postnum ; parent.opener.document.$s_form.$adrname.value = Postaddr ; "; } sub subjecticon{ $iconurl = "$img_dir_url/subjecticon/$FORM{'subjecticon'}"; &htmlprinthead; print "¸ÞÀÎ INDEX(±Û¸ñ·Ï) ¾ÆÀÌÄÜ ÁöÁ¤ ¿É¼Çº¸±â
    ÀÌ ÆäÀÌÁö¿¡¼­´Â [°ü¸®¼³Á¤]-[1-1]Ç׸ñÀÇ ¾ÆÀÌÄÜ ¼±ÅÿɼÇÀ» º¸¿©ÁÝ´Ï´Ù.

    ¢Ê DIR($iconurl/)   Â÷·Ê´ë·Î Ŭ¸¯ÇØ º¸¼¼¿ä "; for(1..12){ if($FORM{'subjecticon'} == $_){ print "\n"; }else{ print "\n"; }} print "
    DIR-$_DIR-$_

     
    ¢Ê Type ¼±ÅÃ¿É¼Ç º¸±â"; print "\n"; for(1..8){ print "\n"; } print <
    Type-$_
    Parent
      Reply++
        Reply
          General
    Parent
      Reply++
        Reply
          General
     
     
     
     
     
    Man
    Woman
    Image
    General
    General
      Reply
    Parent
      Reply
    All nothing
    [Âü°í»çÇ×]
    * °¢ ¾ÆÀÌÄÜ 'Type' Àº ±ÛÀÇ Á¾·ù(¼º°Ý)¸¦ ±¸ºÐÇÏ¿© ÀÚµ¿À¸·Î ÇØ´ç ¾ÆÀÌÄÜÀ» Ãâ·ÂÇØ ÁÝ´Ï´Ù.
       °Ô½ÃÆÇ Æ¯¼º¿¡ ¸Â´Â 'Type' À» ¼±ÅÃÇϽʽÿÀ.
    * 'Type-3' À» ÁöÁ¤ÇÒ °æ¿ì¿£ ±Û¾²±â Æû¿¡ Á÷Á¢ '¾ÆÀÌÄÜ ¼±ÅÃ' ¿É¼ÇÀÌ Ãâ·ÂµË´Ï´Ù.
        ±Û¾²±â ÆûÀÇ '¾ÆÀÌÄÜ ¼±ÅÃ' À» Çʼö¼±Åà Ç׸ñÀ¸·Î ÁöÁ¤ÇÏ·Á¸é [°ü¸®¼³Á¤]-[5-24]¿¡¼­ ÁöÁ¤ÇÕ´Ï´Ù.
        ±Û¾²±â ÆûÀÇ '¾ÆÀÌÄÜ ¼±ÅÃ' ¶ó´Â ´Ü¾î´Â [°ü¸®¼³Á¤]-[5-5]¿¡¼­ ´Ù¸¥ ¸»·Î ¹Ù²Ü¼ö ÀÖ½À´Ï´Ù.
        'Type-3' ¾ÆÀÌÄÜ ¼ö¸¦ È®ÀåÇÏ·Á¸é [»ç¿ëÀڸŴº¾ó]-[±âŸÀÀ¿ë] Æí À» Âü°íÇϽʽÿÀ
    * 'Type-4' ¾ÆÀÌÄÜÀ» ÁöÁ¤ÇÒ¶§´Â [°ü¸®¼³Á¤]->[5-17]->[¼ºº°] ¿¡µµ üũÇϽʽÿÀ.
       ±×·¡¾ß ±Û ÀÛ¼º½Ã ¼ºº°À» ¼±ÅÃÇÒ¼ö ÀÖ½À´Ï´Ù.

    ÆÄÀÏ÷ºÎ Ç¥½Ã ¾ÆÀÌÄÜ ±â Ÿ
    compress
    image
    execution
    H.W.P
    sound
    htm/text
    movies
    pdf
    others
    url - link
    mail
    new
    vote
    home
     
    ±âº» Á¦°øµÈ°Í ÀÌ¿ÜÀÇ ¾ÆÀÌÄÜÀ» »ç¿ëÇÏ·Á¸é
    ºñ¾î ÀÖ´Â µð·ºÅ丮($img_dir_url/subjecticon/7 ~ 12/)¿¡ ±âº»Á¦°øµÈ°Í°ú µ¿ÀÏÇÑ ÆÄÀϸíÀ¸·Î
    ¾ÆÀÌÄÜÀ» ³ÖÀº ÈÄ ÇØ´ç (DIR) + (Type)À» ÁöÁ¤ÁöÁ¤ÇÏ¸é µË´Ï´Ù. END &htmlend; exit; } sub TableMakeCol{ local($col1,$col2,$col3,$col4,$col5,$col6) = @_; $Cell1_1 = $col1; $Cell1_2 = $col2; $Cell2_1 = $col3; $Cell2_2 = $col4; $Cell2_3 = $col5; $BorderColor = "BORDERCOLOR=$col6"; } sub parse{ $_ = $ENV{'REQUEST_METHOD'}; if (/POST/) {read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'}); $ENV{'QUERY_STRING'} = $buffer; }else {$buffer = $ENV{'QUERY_STRING'};} @pairs = split(/&/, $buffer); foreach $pair (@pairs) { ($name, $value) = split(/=/, $pair); $value =~ tr/+/ /; $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg; $FORM{$name} = $value; }$FORM{'board'} = 'FREE_BOARD' unless($FORM{'board'}); if($LINK_PMS_URL[0] && $ENV{'HTTP_REFERER'}){ foreach $key (@LINK_PMS_URL) { if($ENV{'HTTP_REFERER'} =~ /^$key/i && $key){ $linkpms_in = 1; last;}} &login_error_msg('¹«´Ü¸µÅ©´Â Â÷´ÜµË´Ï´Ù.') unless($linkpms_in);}} sub htmlprinthead{ local($bgcolr,$headtitle)=@_; print "Content-type: text/html\n\n"; print < $headtitle . . . . . . . . . . . . . . . . . . . . . . . . . . technote-TOP $Htm_in_head END } sub htmlend{ local($copy) = @_; print "
     
    "; print "
    "; exit; } sub BrowserNi{ my($color,$twide,$size) = @_; $twide = 3 if(!$twide); $size = "width:$size\;" if($size); return "STYLE=\"font-size:9pt; border-width:$twide; border-color:$color; border-style:solid; $size\""; } sub get_cookie { @cookies = split(/; /, $ENV{'HTTP_COOKIE'}); foreach $key (@cookies) {$key =~ /([^=]*)=(.*)/; $COOKIE{$1} = $2;} if($COOKIE{"name$frankscrip"} && (&ch_pass($COOKIE{"name$frankscrip"}) eq "$configlog[0]")){ $TEck_Name=1; } if($config[112] == 2){ $cookie_key=$scripimport.$FORM{'board'}; $cook_dirkey=$FORM{'board'}.$config[0]; } else{ $cookie_key=$scripimport.'nSXq'; $cook_dirkey=$scripimport.'olkZq'; } @LOGDATA=split(/\|/,$COOKIE{$cookie_key}); if($COOKIE{($config[292]."home$frankscrip")}){ @visitor_line=split(/\|/,$COOKIE{($config[292]."home$frankscrip")}); if(($config[112] == 2) && ($visitor_line[5] eq $config[0]) && ($FORM{'board'} eq $visitor_line[6])){ $TEck_Home=1; } elsif(($config[112] == 1) && ($visitor_line[5] eq $configlog[0]) && ($cook_dirkey eq $visitor_line[6])){ $TEck_Home=1; }else{"";}} if($COOKIE{"mail$frankscrip"}){ @manersplit = split(/\|/, $COOKIE{"mail$frankscrip"}); if((&ch_pass("$manersplit[0]") eq $config[0]) || (&ch_pass("$manersplit[0]") eq $configlog[0])){ $TEck_Mail = 1 if($manersplit[1] eq $FORM{'board'});}}} sub open_config{ open(CONFIG,"$board_dir_path/$FORM{'board'}/$configfile"); @config = ; close(CONFIG); chop(@config); $config[0] = $configlog[0] unless($config[0]); } sub open_r_config{ open(CONFIG,"$board_dir_path/$loginfile"); @configlog = ; close(CONFIG); chop(@configlog); $configlog[0] = &ch_pass('technote') unless($configlog[0]); } sub login_error_msg{ @error = @_; foreach $key (@error) { $key .= "\\n"; } print "Content-type: text/html\n\n"; print < $Htm_in_headerror-message $_[0]
    $_[1]
    $_[2]
    $_[3]
    $_[4]
    $_[5]
        END exit; } sub memberdataprint{ if(($visitor_line[0] eq $FORM{'input_id'}) && $LOGDATA[8]){ if(open(MEM,"$config[264]/$LOGDATA[8]")){ while(){ if($_ =~ /^[^\|]*\|$FORM{'input_id'}\|/){ close(MEM); $return_data = $_; $rtntt = &M_point_f("$config[264]/$LOGDATA[8]"); return 1;}}}} return if(&M_Finder("$config[264]")); if($config[300]){ $exdirspace=1; @adddirtemp = split(/\|/,$config[300]); foreach $Dir_list (@adddirtemp) { return if(&M_Finder("$Dir_list"));}} return ;} sub M_Finder{ local($path,$rest) = @_; local($addtemp,$tempidfile,$blankcheck,); while($addtemp < 200){ $tempidfile = $idlistfile; $tempidfile =~ s/\./$addtemp\./; if(open(MEM,"$path/$tempidfile")){ while(){ if($_ =~ /^[^\|]*\|$FORM{'input_id'}\|/){ close(MEM); $return_data = $_; $rtntt = &M_point_f("$path/$tempidfile"); return 1;}}} else{$blankcheck++;} $addtemp++; last if($blankcheck > 30);}} sub M_point_f{ my($path,$path2)=@_; if($path =~ /(\d+)\.[^\/]+$/){ $Cdata_num = $1;} $accum =~ s/\./$Cdata_num\./; $path =~ s/[^\/]+$/$accum/; open(FILE,"$path"); @SMpoint=; close(FILE); if(($SMpoint = join(' ',@SMpoint)) =~ /($FORM{'input_id'})=(\d+)/){ return $2;} return;} sub MemberDfind{ &input_Login_data('¢É µî·ÏÇϽŠ¾ÆÀ̵ð, À̸§, ¸ÞÀÏÁÖ¼Ò, Áֹεî·Ï¹øÈ£¸¦ ÀÔ·ÂÇϽʽÿÀ.', '¢É ÀÏÄ¡µÇ´Â µî·ÏÁ¤º¸°¡ ã¾ÆÁö¸é µî·ÏÇϽŠ¸ÞÀÏ·Î ÀÚµ¿ ¹ß¼ÛµË´Ï´Ù.', '¢É µî·Ï´ç½Ã Áֹεî·Ï¹øÈ£¸¦ ³ÖÁö ¾Ê¾Ò´Ù¸é Áֹεî·Ï¹øÈ£´Â ÀÔ·ÂÇÏÁö ¸¶½Ê½Ã¿À.', 'ch_id_de_find','ºñ¹Ð¹øÈ£ ºÐ½Ç' ); } sub input_Login_data{ local($text1,$text2,$text3,$f_name,$text5) =@_; &htmlprinthead('','ȸ¿øµî·ÏÁ¤º¸ ã±â'); print <
    ºñ¹Ð¹øÈ£ ºÐ½Ç
    END if($f_name eq 'ch_id_de_find'){ print < END } else{ print < END } print <
    ȸ¿øµî·ÏÁ¤º¸ Á¶È¸ - $text5
    ¾ÆÀ̵ð
    ÀÌ ¸§
    ÀüÀÚ¸ÞÀÏ
    Áֹεî·Ï¹øÈ£
     
    ºñ¹Ð¹øÈ£
     
     
      $text1
      $text2
      $text3
    END &htmlend; } sub Move_b_page{ ($page1,$page2)=@_; print "Location:$page1\n\n"; print "Content-type: text/html\n\n"; print < $Htm_in_head   END exit; } sub iconsearch{ &open_r_config; &get_cookie; if($TEck_Name){ $img_dir_url2 = $img_dir_url; $img_dir_url2 =~ s/\/$//; $img_dir_url2 =~ s/([^\/]+)$//; $orgdir_name = $1; $FORM{'xiconpath'} = $orgdir_name unless($FORM{'xiconpath'}); if($FORM{'back'}){ if($FORM{'xiconpath'} eq $orgdir_name){ $FORM{'xiconpath'} = '../'; } elsif($FORM{'xiconpath'} !~ /\w/){ $FORM{'xiconpath'} .= '../'; } elsif($FORM{'xiconpath'} !~ /\w$/){ $FORM{'xiconpath'} .= '../'; } else{ $FORM{'xiconpath'} =~ s/\/[^\/]+$//; $FORM{'xiconpath'} .= '/' if($FORM{'xiconpath'} =~ /\.\.$/); } } $FORM{'xiconpath'} =~ s/\/+/\//g; opendir(DIR,$FORM{'xiconpath'}) || ($pass_error = 'ÀÔ·ÂÇϽŠ°æ·Î¸¦ ãÀ»¼ö ¾ø½À´Ï´Ù. °æ·Î¸¦ ´Ù½Ã È®ÀÎ ÇϽʽÿÀ
    '); @readdir_line = grep((!/^\./), readdir(DIR)); closedir(DIR); @readdir_line = sort(@readdir_line); $img_dir_url2 .= $FORM{'xiconpath'}; } else{ delete ($FORM{'xiconpath'}); $pass_error = 'ERROR!..»ç¿ë±ÇÇÑ È®Àοä¸Á!
    ÀÌ µµ±¸´Â [Àüü°ü¸®ÀÚ] ·Î±×ÀÎÇÑ »óÅ¿¡¼­¸¸ »ç¿ë °¡´ÉÇÕ´Ï´Ù.



    '; $error_script = 'loginerror();'; } print "Content-type: text/html\n\n"; print < ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ À̹ÌÁö ÆÄÀδõ ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ¢Æ
    $pass_error Å×Å©³ëÆ®ÀÇ main.cgi ÆÄÀÏÀ» ±âÁØÀ¸·Î À̹ÌÁö µð·ºÅ丮ÀÇ '»ó´ë°æ·Î'¸¦ ÀÔ·ÂÇϽʽÿÀ 
    óÀ½À¸·Î..
    µð·ºÅ丮 URL: µÚ·Î¾ÕÀ¸·Î
    END_LINE foreach $key (@readdir_line){ if($key !~ /\./){ print "";}} foreach $key (@readdir_line){if($key =~ /\.gif$/i || $key =~ /\.jpg$/i || $key =~ /\.bmp$/i || $key =~ /\.png$/i){$ct++; print "";}} $ct = '0' unless($ct); $add_size =~ s/(\d)(\d{3})$/\1\,\2/; $add_size =~ s/(\d)(\d{3})\,/\1\,\2\,/; $add_size =~ s/(\d)(\d{3})/\1\,\2/; print <
    ÆÄÀÏ ¸®½ºÆ® ÆÄÀÏ »çÀÌÁî À̹ÌÁö Ãâ·Â   ÀüüÃâ·Â
    $key    
    $key"; $size = (stat("$FORM{'xiconpath'}/$key"))[7] ; $add_size += $size ; $size =~ s/(\d)(\d{3})$/\1\,\2/; $size =~ s/(\d)(\d{3})\,/\1\,\2\,/; $size =~ s/(\d)(\d{3})/\1\,\2/; print "$size"; if($FORM{'all'}){ print "";} else{print "";} print"
    ÆÄÀÏ°¹¼ö: $ct$add_size  

    À̹ÌÁö µð·ºÅ丮ÀÇ »ó´ë°æ·Î ÀԷ½à µµ¿ò¸» Âü°í ÇϽʽÿÀ.
    »ç¿ëÀÚ°¡ º°µµÀÇ À̹ÌÁö µð·ºÅ丮¸¦ ¸¸µé¾î ¿Ã·Áµµ ÀÚµ¿ Àνĵ˴ϴÙ.
    Ãâ·ÂµÈ À̹ÌÁö URL À» º¹»çÇÏ·Á¸é À̹ÌÁö¿¡ ¸¶¿ì½º¿ìÃø¹öÆ° Ŭ¸¯ÈÄ [µî·ÏÁ¤º¸]³ª[¼Ó¼º]À» ¼±ÅÃÇϽʽÿÀ.
    À̹ÌÁöÆÄÀδõ¸¦ º°µµ ¸µÅ©ÇØ »ç¿ëÇÏ·Á¸é http://abcd.com/technote/$imgcg?iconsearch=1 Çü½ÄÀÔ´Ï´Ù.
    '»ç¿ëÀÚ À̹ÌÁö ¸ðÀ½(Ŭ¸³¾ÆÆ®)' ²Ù¹Ì±â´Â ÀÌ°÷À» Ŭ¸¯ÇϽʽÿÀ.
    À̹ÌÁö ÆÄÀδõ´Â Àüü°ü¸®ÀÚ·Î ·Î±×ÀÎµÈ »óÅ¿¡¼­¸¸ Á¤»ó Ãâ·ÂµË´Ï´Ù.
      END_LINE exit; } 1;