<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가


    if($gr_id && !$bo_table){
       $coment_f = "<b>그릅페이지</b>";
	}
	else if($bo_table){
       $coment_f = "<b>게시판</b>";

	}
	else{
       $coment_f = "<b>첫 페이지</b>";
	   $coment_c = "[해당 이미지를 선택하시면 사이트의 구조가 적용됩니다]";
	}

	  $coment_s  = "<b>외부로그인</b>";




?>

<table width="100%"  border="0" cellspacing="0" cellpadding="0" >
<tr><td valign="top">
	<table width="100%"  border="0" cellspacing="0" cellpadding="0" >
	<tr>
	<td valign="top"><img src='<?=$g4[admin_path]?>/img/icon_title.gif'> <? echo $coment_f."의 ".$coment_s." ".$coment_c;?> 
	</td></tr>
	</table>
 <form name="list_action" method="post" style="margin:0px;">
  <input type=hidden name=gr_id   value="<?=$gr_id?>">
  <input type=hidden name=bo_table   value="<?=$bo_table?>">
  <input type=hidden name=wr_id   value="<?=$wr_id?>">
  <!----스킨 세팅정보---->
  <input type=hidden name=act   value="<?=$act?>">
  
  <?if(!$gr_id){?>
  <table  border="0" cellpadding=0 cellspacing=0>
  <tr>
    <td style='padding-left:10px; height:30px; width:60px;'>일관적용 :</td>
    <td style='padding-left:10px;'>
     <input type=checkbox name=all_set id="all_set"  value="1"> 모든페이지에 일괄적용 ** 메인 상단은 제외
    </td>
  </tr>
  </table> 
  <?}?>

  <?if($gr_id && !$bo_table){?>
  <table  border="0" cellpadding=0 cellspacing=0>
  <tr>
    <td style='padding-left:10px; height:30px; width:60px;'>일관적용 :</td>
    <td style='padding-left:10px;'>
     <input type=checkbox name=all_set id="all_set"  value="1"> 해당그릅에 소속된 게시판 일괄적용
    </td>
  </tr>
  </table> 
  <?}?>


  <table  border="0" cellpadding=0 cellspacing=0>
  <tr>
    <td style='padding-left:10px;  width:60px;'>
    <table  border="0" cellpadding=0 cellspacing=0>
	<tr>
<?
$img_path = "$g4[path]/skin/$act";
$arr = get_skin_dir("$act");
$cn  = 5;
for ($k=0; $k<count($arr); $k++){


	if($k >0 && $k%$cn == 0)
		echo "</tr><td height=5></td><tr>";


   $img_path = "$g4[path]/skin/$act/$arr[$k]/skin_img.gif"; 
   ?>
   <td><a href="javascript:select_img('<?=$site_bill_cf?>/outlogin_update.php', '<?=$arr[$k]?>' ,'<?=$act?>') ;" title="<?=$arr[$k]?>"  ><img src='<?=$img_path?>' height='120'   border='0'></a></td>
   <td width=5>&nbsp;&nbsp;</td>
   <?
   }  
?> 

    </td>
  </tr>
  <tr><td height="5"></td></tr>
  </table> 
 </form>
</td></tr>
</table>

<script language="javascript">
 function select_img(se_01, se_02, se_03)
{ 
    var f = document.list_action;

    f.action = se_01+"?se_02="+se_02+"&se_03="+se_03;
    f.submit();

}

</script> 

