<?php

/*
=====================================================================

  프로젝트 이름 : 피리 카페 심플

  만든사람 : 피리 PIREE ( tosports@naver.com )

  홈페이지 : https://piree.kr/nett_dev

  작성날짜 : 2024년 04월 04일 목요일 오후 18시 55분 / 흐림, 14.3, 쾌적, 16, 10, 33%, 30%, 2.6ms / 양호, 38, 11

  저 작 권 : Copyright ⓒ 2024 피리 piree.kr All right reserved
             그누보드 외에 추가된 소스는~
             만든사람의 허락없이 무단으로 사용할수 없습니다.
             사용하고자 할 경우 만든사람의 허락을 받아야 합니다.
             https://.kr 에 문의해 주세요.

=====================================================================
 피리 카페 심플 > 피리 카페 관리 > 스킨 > MAIN > 스킨 설정
=====================================================================

*/

  IF ( !defined('_GNUBOARD_') )                             EXIT;

  // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
//('<link rel="stylesheet" href="'. get_cafe_skin_file('url', 'basic', 'p770099.manage.style.pc.css') .'">', 0);

?>

  <form method="post" name="skin_modify_form" id="skin_modify_form" action="<?php echo $piree_cafe_skin_update_action_u; ?>" onSubmit="return skin_modify_form_submit(this);">
  <input type="hidden" id="mode_c"       name="mode_c"       value="skin.form.update.ok">
  <input type="hidden" id="piree_cafe_n" name="piree_cafe_n" value="<?php echo $piree_cafe_n; ?>">
  <input type="hidden" id="piree_cafe_c" name="piree_cafe_c" value="<?php echo $piree_cafe_c; ?>">

<!---- 시작 => 경기_목록_보기 ---->
  <div class="piree_cafe_body_out">

    <div class="piree_cafe_body_title"><?php echo $g5['title']; ?></div>

    <div class="piree_cafe_body_line">
      <div class="piree_cafe_body_label td_left_100">
        <label for="piree_cafe_skin_basic_pc_c" class="str_3334dd_bold_10">기본 스킨</label>
      </div>
      <div class="piree_cafe_body_cont">

        <div class="cl_bo ov_hi line_h_2_6">
          <div class="fl_left cell_left td_left_120">
            <label for="piree_cafe_skin_basic_pc_c" class="str_6688dd">PC 화면 스킨<strong class="sound_only">선택 입력</strong></label>
          </div>

          <div class="fl_left cell_left td_left_240">
            <span class="font_777_10">현재</span> <span class="font_3334dd_11"><?php echo $piree_cafe_a['cafe_skin_basic_pc_c']; ?></span>
          </div>

          <div class="fl_left cell_left width_300">
            <select id="piree_cafe_skin_basic_pc_c" name="piree_cafe_skin_basic_pc_c">
              <option value="">-- 스킨 선택 --</option>
<?php

            $skin_list_a = get_g5_skin_dir(PIREE_CAFE_SKIN_BASIC_PC_DIR, $p770099__prog_p);

            FOR ( $loop_n=0; $loop_n<count($skin_list_a); $loop_n++ )
            {

              $selected = $piree_cafe_a['cafe_skin_basic_pc_c'] == $skin_list_a[$loop_n] ? " selected" : "";
?>
              <option value="<?php echo $skin_list_a[$loop_n]; ?>"<?php echo $selected; ?>><?php echo $skin_list_a[$loop_n]; ?></option>
<?php
            }

?>
            </select>
          </div>
        </div>

        <div class="cl_bo ov_hi line_h_2_6">
          <div class="fl_left cell_left td_left_120">
            <label for="piree_cafe_skin_basic_mo_c" class="str_6688dd">모바일 기본 스킨<strong class="sound_only">선택 입력</strong></label>
          </div>

          <div class="fl_left cell_left td_left_240">
            <span class="font_777_10">현재</span> <span class="font_3334dd_11"><?php echo $piree_cafe_a['cafe_skin_basic_mo_c']; ?></span>
          </div>

          <div class="fl_left cell_left width_300">
            <select id="piree_cafe_skin_basic_mo_c" name="piree_cafe_skin_basic_mo_c">
              <option value="">-- 스킨 선택 --</option>
<?php

            $skin_list_a = get_g5_skin_dir(PIREE_CAFE_SKIN_BASIC_MO_DIR, $p770099__prog_p);

            FOR ( $loop_n=0; $loop_n<count($skin_list_a); $loop_n++ )
            {

              $selected = $piree_cafe_a['cafe_skin_basic_mo_c'] == $skin_list_a[$loop_n] ? " selected" : "";
?>
              <option value="<?php echo $skin_list_a[$loop_n]; ?>"<?php echo $selected; ?>><?php echo $skin_list_a[$loop_n]; ?></option>
<?php
            }

?>
            </select>

          </div>
        </div>

      </div>
    </div>

    <div class="piree_cafe_body_line">
      <div class="piree_cafe_body_label td_left_100">
        <label for="piree_cafe_skin_manage_pc_c" class="str_3334dd_bold_10">카페관리 스킨</label>
      </div>
      <div class="piree_cafe_body_cont">

        <div class="cl_bo ov_hi line_h_2_6">
          <div class="fl_left cell_left td_left_120">
            <label for="piree_cafe_skin_manage_pc_c" class="str_6688dd">PC 화면 스킨<strong class="sound_only">선택 입력</strong></label>
          </div>

          <div class="fl_left cell_left td_left_240">
            <span class="font_777_10">현재</span> <span class="font_3334dd_11"><?php echo $piree_cafe_a['cafe_skin_manage_pc_c']; ?></span>
          </div>

          <div class="fl_left cell_left width_300">
            <select id="piree_cafe_skin_manage_pc_c" name="piree_cafe_skin_manage_pc_c">
              <option value="">-- 스킨 선택 --</option>
<?php

            $skin_list_a = get_g5_skin_dir(PIREE_CAFE_SKIN_MANAGE_PC_DIR, PIREE_CAFE_MANAGE_PATH);

            FOR ( $loop_n=0; $loop_n<count($skin_list_a); $loop_n++ )
            {

              $selected = $piree_cafe_a['cafe_skin_manage_pc_c'] == $skin_list_a[$loop_n] ? " selected" : "";
?>
              <option value="<?php echo $skin_list_a[$loop_n]; ?>"<?php echo $selected; ?>><?php echo $skin_list_a[$loop_n]; ?></option>
<?php
            }

?>
            </select>
          </div>
        </div>

        <div class="cl_bo ov_hi line_h_2_6">
          <div class="fl_left cell_left td_left_120">
            <label for="piree_cafe_skin_manage_mo_c" class="str_6688dd">모바일 기본 스킨<strong class="sound_only">선택 입력</strong></label>
          </div>

          <div class="fl_left cell_left td_left_240">
            <span class="font_777_10">현재</span> <span class="font_3334dd_11"><?php echo $piree_cafe_a['cafe_skin_manage_mo_c']; ?></span>
          </div>

          <div class="fl_left cell_left width_300">
            <select id="piree_cafe_skin_manage_mo_c" name="piree_cafe_skin_manage_mo_c">
              <option value="">-- 스킨 선택 --</option>
<?php

            $skin_list_a = get_g5_skin_dir(PIREE_CAFE_SKIN_MANAGE_MO_DIR, PIREE_CAFE_MANAGE_PATH);

            FOR ( $loop_n=0; $loop_n<count($skin_list_a); $loop_n++ )
            {

              $selected = $piree_cafe_a['cafe_skin_manage_mo_c'] == $skin_list_a[$loop_n] ? " selected" : "";
?>
              <option value="<?php echo $skin_list_a[$loop_n]; ?>"<?php echo $selected; ?>><?php echo $skin_list_a[$loop_n]; ?></option>
<?php
            }

?>
            </select>

          </div>
        </div>

      </div>
    </div>

    <div class="piree_cafe_body_line" style="padding-left:160px;">
      <input type="submit" name="act_button" value="  스킨 정보를 설정합니다  " class="btn_submit btn">
    </div>

  </div>
<!---- 끝 => 경기_목록_보기 ---->

  </form>
