{@ $xgDFdfid = "xgd_".mt_rand(); $photoidx = 0; $photoviewer_checked = 'N'; $lastkey = count($xGalry_info->xegallery_items); $cols_count = $xGalry_info->cols_list_count; $row_count = ceil($lastkey / $cols_count); // 큰이미지 외부여백 $image_outer = $xGalry_info->image_outer!='' ? $xGalry_info->image_outer : 2; $imageWidth = $xGalry_info->image_width + ($xGalry_info->image_bdsize*2) + $image_outer; // 썸네일 외부여백 $thumb_outer = $xGalry_info->thumb_outer!='' ? $xGalry_info->thumb_outer : 2; $thumbWidth = $xGalry_info->thumb_width + ($xGalry_info->thumb_bdsize*2) + $thumb_outer; if($xGalry_info->show_thumb!='Y') $thumbWidth = 0; // 위젯넓이 $widgetWidth = $imageWidth + ($thumbWidth*$cols_count); // 제목 글꼴 정의 $title_font_family = $xGalry_info->title_font_family=='Default' ? "돋움체,Arial,Helevtica,Verdana,san-serif" : $xGalry_info->title_font_family; // 제목 폰트 크기 $title_font_size = $xGalry_info->title_font_size!='' ? $xGalry_info->title_font_size : 14; // 제목 폰트 색 $title_font_color = $xGalry_info->title_font_color!='' ? $xGalry_info->title_font_color : '#fff'; // 제목 배경색 $title_bg_color = $xGalry_info->title_bg_color!='' ? $xGalry_info->title_bg_color : '#000'; // 제목 높이 $textT1_Height = $xGalry_info->title_height!='' ? $xGalry_info->title_height : 25; $textT1_Height = $xGalry_info->show_title=='Y' ? $textT1_Height : 0; // 내용 글꼴 정의 $content_font_family = $xGalry_info->content_font_family=='Default' ? "굴림,Arial,Helevtica,Verdana,san-serif" : $xGalry_info->content_font_family; // 내용 폰트 크기 $content_font_size = $xGalry_info->content_font_size!='' ? $xGalry_info->content_font_size : 12; // 내용 폰트 색 $content_font_color = $xGalry_info->content_font_color!='' ? $xGalry_info->content_font_color : '#000'; // 내용 높이 $textC1_Height = $xGalry_info->content_height!='' ? $xGalry_info->content_height : 50; $textC1_Height = $xGalry_info->show_content=='Y' ? $textC1_Height : 0; // 텍스트박스 높이 $xgDFdfTxt = $textT1_Height + $textC1_Height; $viewer_theme = $xGalry_info->viewer_theme!='' ? $xGalry_info->viewer_theme : 'pp_default'; }