$_http_path = "http://".$_SERVER[HTTP_HOST]; $_root_path = getenv("DOCUMENT_ROOT"); if(substr($_root_path, -1)=='/') $_root_path = substr($_root_path, 0, (strlen($_root_path)-1)); $_row = 6; $x_size = 80; // ¸ñ·Ï¿¡ º¸ÀÏ ±×¸²ÀÇ °¡·Î Å©±â $y_size = 80; // ¸ñ·Ï¿¡ º¸ÀÏ ±×¸²ÀÇ ¼¼·Î Å©±â $hh = $y_size; $w = $x_size; $h = $y_size; $_array = array(); if(substr($_dir, 1, 1)!='/') $_dir = '/'.$_dir; if(substr($_dir, -1)!='/') $_dir .= '/'; if(!$_title) $_title = $_http_path.$_dir."Æú´õ³» ±×¸²ÆÄÀÏ"; $_i = 0; if($handle = opendir($_root_path.$_dir)) // ÁöÁ¤µÈ µð·ºÅ丮¸¦ ¿°í { while(false !== ($file = readdir($handle))) // µð·ºÅ丮³» ÆÄÀÏÀ̸§À» ¹Þ´Â´Ù. { if($file != "." && $file != "..") // '.'°ú '..'¸¦ Á¦¿ÜÇÏ°í ÀÛ¾÷ÇÑ´Ù. { if(eregi("\.jpg",$file)||eregi("\.gif",$file)||eregi("\.png",$file)) // ±×¸²ÆÄÀÏÀ̸é { $_array[$_i++] = $_dir.$file; // ¹è¿¿¡ ÀúÀåÇÑ´Ù. } } } closedir($handle); // ÀÛ¾÷À» ¸¶Ä¡¸é µð·ºÅ丮ÇÚµéÀ» ´Ý´Â´Ù. } ?> "); imgwin.document.write(""); imgwin.document.write('
'); imgwin.document.write(""); imgwin.document.write(""); imgwin.document.write("