Esempio n. 1
0
$header->skin_modeling("[where_value_me_nick]", where_value_func("me_nick"));
$header->skin_modeling("[where_value_me_id]", where_value_func("me_id"));
$header->skin_modeling("[where_value_me_login_ip]", where_value_func("me_login_ip"));
$header->skin_modeling("[order_value]", $order);
$header->skin_modeling("[orderby_value]", $orderby);
echo $header->skin_echo();
//loop
if ($array_total > 0) {
    $i = 0;
    do {
        $mysql->fetchArray("me_idno,me_id,me_level,me_nick,me_regdate,me_point,me_drop_regdate");
        $array = $mysql->array;
        $loop->skin_modeling("[number]", $paging->getNo($i));
        $i++;
        $loop->skin_modeling("[member_type]", $member_type_var[$array['me_level']] . " ({$array['me_level']})");
        $loop->skin_modeling("[name]", $array['me_nick']);
        $loop->skin_modeling("[point]", number_format($array['me_point']));
        $loop->skin_modeling("[id]", $array['me_id']);
        $loop->skin_modeling("[regdate]", "<span title=\"" . $array['me_regdate'] . "\">" . date("Y.m.d", strtotime($array['me_regdate'])) . "</span>");
        $loop->skin_modeling("[drop_regdate]", "<span title=\"" . $array['me_drop_regdate'] . "\">" . date("Y.m.d", strtotime($array['me_drop_regdate'])) . "</span>");
        echo $loop->skin_echo();
    } while ($mysql->nextRec());
}
//footer
if ($array_total > 0) {
    $footer->skin_modeling_hideArea("[{not_content_start}]", "[{not_content_end}]", "hide");
} else {
    $footer->skin_modeling_hideArea("[{not_content_start}]", "[{not_content_end}]", "show");
}
$footer->skin_modeling("[paging_area]", $paging->Show(__URL_PATH__ . "admin/?p=leaveMember&where={$where}&keyword={$keyword}&order={$order}&orderby={$orderby}"));
echo $footer->skin_echo();
Esempio n. 2
0
    $path = opendir(__DIR_PATH__ . "modules/");
    while ($dir = readdir($path)) {
        if ($dir != "." && $dir != "..") {
            if (file_exists(__DIR_PATH__ . "modules/{$dir}/configure/sidebar.inc.html")) {
                $modules_sidebarTpl[$dir] = new skinController();
                $modules_sidebarTpl[$dir]->skin_file_path("modules/{$dir}/configure/sidebar.inc.html");
            }
        }
    }
    if (count($modules_sidebarTpl) > 0) {
        $modules_sidebarTpl_outputs = "";
        foreach ($modules_sidebarTpl as $val) {
            $modules_sidebarTpl_outputs .= $val->skin_echo();
        }
        return $modules_sidebarTpl_outputs;
    }
}
/*
템플릿 로드
*/
$tpl->skin_file_path("admin/_tpl/sidebar.inc.html");
/*
템플릿 치환
*/
if ($member['me_admin'] == "Y") {
    $tpl->skin_modeling_hideArea("[{adminInfo_menuDisplay_start}]", "[{adminInfo_menuDisplay_end}]", "show");
} else {
    $tpl->skin_modeling_hideArea("[{adminInfo_menuDisplay_start}]", "[{adminInfo_menuDisplay_end}]", "hide");
}
$tpl->skin_modeling("[modules_sideBarInclude]", modules_sideBarInclude());
echo $tpl->skin_echo();
Esempio n. 3
0
<?php

include_once "include/pageJustice.inc.php";
$tpl = new skinController();
$lib = new libraryClass();
$mysql = new mysqlConnection();
/*
템플릿 로드
*/
$tpl->skin_file_path("_tpl/{$viewDir}contactUs.html");
/*
템플릿 치환
*/
$tpl->skin_modeling("[nick]", $member['me_nick']);
$tpl->skin_modeling("[id_value]", $member['me_id']);
$tpl->skin_modeling("[phone_value]", $member['me_phone']);
if ($member['me_level'] < 10) {
    $tpl->skin_modeling_hideArea("[{nick_member_start}]", "[{nick_member_end}]", "show");
    $tpl->skin_modeling_hideArea("[{nick_guest_start}]", "[{nick_guest_end}]", "hide");
} else {
    $tpl->skin_modeling_hideArea("[{nick_member_start}]", "[{nick_member_end}]", "hide");
    $tpl->skin_modeling_hideArea("[{nick_guest_start}]", "[{nick_guest_end}]", "show");
}
if (!isset($__toony_member_idno)) {
    $tpl->skin_modeling_hideArea("[{capcha_start}]", "[{capcha_end}]", "show");
    $tpl->skin_modeling("[capcha_img]", "<img id=\"zsfImg\" src=\"" . __URL_PATH__ . "capcha/zmSpamFree.php?zsfimg\" alt=\"코드를 바꾸시려면 여기를 클릭해 주세요.\" title=\"코드를 바꾸시려면 여기를 클릭해 주세요.\" style=\"cursor:pointer\" onclick=\"this.src='" . __URL_PATH__ . "capcha/zmSpamFree.php?re&amp;zsfimg='+new Date().getTime()\" />");
} else {
    $tpl->skin_modeling_hideArea("[{capcha_start}]", "[{capcha_end}]", "hide");
}
echo $tpl->skin_echo();
Esempio n. 4
0
특정 디텍토리 퍼미션 검사
*/
function permission_check($file)
{
    $open = @is_writable($file);
    if (!$open) {
        return "N";
    } else {
        return "Y";
    }
}
function permission_txt($val)
{
    if ($val == "Y") {
        return "<span style='color:blue;font-size:11px;letter-spacing:-1px;padding-left:10px;'>변경 완료됨</span>";
    } else {
        return "<span style='color:red;font-size:11px;letter-spacing:-1px;padding-left:10px;'>퍼미션 변경되지 않음</span>";
    }
}
/*
템플릿 치환
*/
if (permission_check(__DIR_PATH__ . "modules/board/upload") == "Y") {
    $tpl->skin_modeling_hideArea("[{installBtn_start}]", "[{installBtn_end}]", "show");
    $tpl->skin_modeling_hideArea("[{recheckBtn_start}]", "[{recheckBtn_end}]", "hide");
} else {
    $tpl->skin_modeling_hideArea("[{installBtn_start}]", "[{installBtn_end}]", "hide");
    $tpl->skin_modeling_hideArea("[{recheckBtn_start}]", "[{recheckBtn_end}]", "show");
}
$tpl->skin_modeling("[permissionCheck_upload]", permission_txt(permission_check(__DIR_PATH__ . "modules/board/upload")));
echo $tpl->skin_echo();
Esempio n. 5
0
    } else {
        if ($ico_hot_def_exp[1] == "AND") {
            $selected_var_or = "";
            $selected_var_and = "selected";
        } else {
            $selected_var_or = "";
            $selected_var_and = "";
        }
    }
    return "\n\t\t\t<option value=\"OR\" {$selected_var_or}>또는</option>\n\n\t\t\t<option value=\"AND\" {$selected_var_and}>그리고</option>\n\t\t";
}
/*
템플릿 치환
*/
if ($type == "modify") {
    $tpl->skin_modeling_hideArea("[{name_new_start}]", "[{name_new_end}]", "hide");
    $tpl->skin_modeling_hideArea("[{name_modify_start}]", "[{name_modify_end}]", "show");
    $tpl->skin_modeling_hideArea("[{deleteBtn_start}]", "[{deleteBtn_end}]", "show");
} else {
    if ($type == "new") {
        $tpl->skin_modeling_hideArea("[{name_new_start}]", "[{name_new_end}]", "show");
        $tpl->skin_modeling_hideArea("[{name_modify_start}]", "[{name_modify_end}]", "hide");
        $tpl->skin_modeling_hideArea("[{deleteBtn_start}]", "[{deleteBtn_end}]", "hide");
    }
}
if ($type == "modify") {
    $tpl->skin_modeling("[use_comment_checked_Y]", use_checked("Y", "comment"));
    $tpl->skin_modeling("[use_comment_checked_N]", use_checked("N", "comment"));
    $tpl->skin_modeling("[use_secret_checked_Y]", use_checked("Y", "secret"));
    $tpl->skin_modeling("[use_secret_checked_N]", use_checked("N", "secret"));
    $tpl->skin_modeling("[use_likes_checked_Y]", use_checked("Y", "likes"));
Esempio n. 6
0
    $write_password->skin_modeling("[/boardskinDir/]", __URL_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/" . $viewDir);
    $write_password->skin_loop_array("[{write_password_form_start}]", "[{write_password_form_end}]");
    $write_password->skin_modeling("[board_id_value]", $board_id);
    $write_password->skin_modeling("[mode_value]", $mode);
    $write_password->skin_modeling("[read_value]", $read);
    $write_password->skin_modeling("[page_value]", $page);
    $write_password->skin_modeling("[where_value]", $where);
    $write_password->skin_modeling("[keyword_value]", $keyword);
    $write_password->skin_modeling("[article_value]", $article);
    $write_password->skin_modeling("[category_value]", $category);
    echo $write_password->skin_echo();
    //글쓰기 폼
} else {
    include_once __DIR_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/plugins/write.inc.php";
    $skin_write->skin_modeling("[/boardskinDir/]", __URL_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/" . $viewDir);
    $skin_write->skin_modeling_hideArea("[{write_password_form_start}]", "[{write_password_form_end}]", "hide");
    if (!isset($__toony_member_idno) || $mode == "modify" && $array['me_idno'] == "0") {
        $skin_write->skin_modeling_hideArea("[{write_writer_start}]", "[{write_writer_end}]", "show");
    } else {
        $skin_write->skin_modeling_hideArea("[{write_writer_start}]", "[{write_writer_end}]", "hide");
    }
    if (!isset($__toony_member_idno) || $mode == "modify" && $array['me_idno'] == "0") {
        $skin_write->skin_modeling_hideArea("[{write_password_start}]", "[{write_password_end}]", "show");
        $skin_write->skin_modeling_hideArea("[{write_email_start}]", "[{write_email_end}]", "show");
    } else {
        $skin_write->skin_modeling_hideArea("[{write_password_start}]", "[{write_password_end}]", "hide");
        $skin_write->skin_modeling_hideArea("[{write_email_start}]", "[{write_email_end}]", "hide");
    }
    if (!isset($__toony_member_idno)) {
        $skin_write->skin_modeling_hideArea("[{write_capcha_start}]", "[{write_capcha_end}]", "show");
        $skin_write->skin_modeling("[capcha_img]", "<img id=\"zsfImg\" src=\"" . __URL_PATH__ . "capcha/zmSpamFree.php?zsfimg\" alt=\"코드를 바꾸시려면 여기를 클릭해 주세요.\" title=\"코드를 바꾸시려면 여기를 클릭해 주세요.\" style=\"cursor:pointer\" onclick=\"this.src='" . __URL_PATH__ . "capcha/zmSpamFree.php?re&amp;zsfimg='+new Date().getTime()\" />");
Esempio n. 7
0
if ($read_true == 3) {
    $read_true_3->skin_modeling("[/boardskinDir/]", __URL_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/" . $viewDir);
    $read_true_3->skin_modeling("[board_id_value]", $board_id);
    $read_true_3->skin_modeling("[read_value]", $read);
    $read_true_3->skin_modeling("[page_value]", $page);
    $read_true_3->skin_modeling("[where_value]", $where);
    $read_true_3->skin_modeling("[keyword_value]", $keyword);
    $read_true_3->skin_modeling("[article_value]", $article);
    $read_true_3->skin_modeling("[category_value]", $category);
    echo $read_true_3->skin_echo();
    //일반 글 보기 출력
} else {
    if ($read_true == 1) {
        include_once __DIR_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/plugins/read.inc.php";
        $skin_read->skin_modeling("[/boardskinDir/]", __URL_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/" . $viewDir);
        $skin_read->skin_modeling_hideArea("[{read_password_start}]", "[{read_password_end}]", "hide");
        if ($array['file1']) {
            $skin_read->skin_modeling_hideArea("[{read_file1_start}]", "[{read_file1_end}]", "show");
        } else {
            $skin_read->skin_modeling_hideArea("[{read_file1_start}]", "[{read_file1_end}]", "hide");
        }
        if ($array['file2']) {
            $skin_read->skin_modeling_hideArea("[{read_file2_start}]", "[{read_file2_end}]", "show");
        } else {
            $skin_read->skin_modeling_hideArea("[{read_file2_start}]", "[{read_file2_end}]", "hide");
        }
        if ($c_array['use_comment'] == "Y") {
            $skin_read->skin_modeling_hideArea("[{read_comment_start}]", "[{read_comment_end}]", "show");
        } else {
            $skin_read->skin_modeling_hideArea("[{read_comment_start}]", "[{read_comment_end}]", "hide");
        }
Esempio n. 8
0
function call_board_latest($viewType, $article, $board_id, $line, $length, $ment_length, $skin, $width, $height, $margin, $quard)
{
    if ($viewType == "p") {
        $viewDir = "";
        $viewSkinType = "";
    } else {
        $viewDir = "m/";
        $viewSkinType = "_mobile";
    }
    $mysql = new mysqlConnection();
    $tpl = new skinController();
    $lib = new libraryClass();
    $tpl = new skinController();
    $header = new skinController();
    $loop = new skinController();
    $footer = new skinController();
    $mysql->select("\n\t\t\tSELECT name\n\t\t\tFROM toony_module_board_config\n\t\t\tWHERE board_id='{$board_id}'\n\t\t");
    $mysql->fetchArray("name");
    $array = $mysql->array;
    //게시판이 존재하지 않는다면 오류 출력
    if (!$array['name']) {
        return "최근게시물에서 설정된 게시판이 존재하지 않습니다.";
    }
    //게시판이 존재한다면 게시물 출력
    $mysql->select("\n\t\t\tSELECT\n\t\t\t(\n\t\t\t\tSELECT COUNT(*)\n\t\t\t\tFROM toony_module_board_comment_{$board_id}\n\t\t\t\tWHERE bo_idno=A.idno\n\t\t\t) comment,\n\t\t\t(\n\t\t\t\tSELECT ico_new_def\n\t\t\t\tFROM toony_module_board_config\n\t\t\t\tWHERE board_id='{$board_id}'\n\t\t\t) ico_new_def,\n\t\t\t(\n\t\t\t\tSELECT ico_hot_def\n\t\t\t\tFROM toony_module_board_config\n\t\t\t\tWHERE board_id='{$board_id}'\n\t\t\t) ico_hot_def,\n\t\t\tA.*\n\t\t\tFROM toony_module_board_data_{$board_id} A\n\t\t\tWHERE A.use_notice='N' AND rn=0\n\t\t\tORDER BY A.ln DESC, A.regdate DESC\n\t\t\tLIMIT {$line}\n\t\t");
    //최근게시물 템플릿 로드
    $tpl->skin_file_path("modules/board/latestskin/{$skin}/index{$viewSkinType}.html");
    $header->skin_html_load($tpl->skin);
    $header->skin_loop_header("[{loop_start}]");
    $loop->skin_html_load($tpl->skin);
    $loop->skin_loop_array("[{loop_start}]", "[{loop_end}]");
    $footer->skin_html_load($tpl->skin);
    $footer->skin_loop_footer("[{loop_end}]");
    //header 템플릿 치환
    $header->skin_modeling('[/latestskinDir/]', __URL_PATH__ . "modules/board/latestskin/" . $skin . "/");
    $header->skin_modeling('[title]', htmlspecialchars($array['name']));
    $header->skin_modeling('[board_link]', __URL_PATH__ . $viewDir . '?article=' . $article);
    $tpl = $header->skin_echo();
    //loop 템플릿 치환
    if ($mysql->numRows() > 0) {
        do {
            $array['memo'] = strip_tags($mysql->fetch("memo"));
            $mysql->htmlspecialchars = 0;
            $mysql->fetchArray("board_id,idno,subject,ment,regdate,idno,file1,file2,comment,writer,ico_new_def,ico_hot_def,view,use_secret");
            $array = $mysql->array;
            $loop->skin_modeling('[/latestskinDir/]', __URL_PATH__ . "modules/board/latestskin/" . $skin . "/");
            $loop->skin_modeling('[thumbnail]', call_board_latest_thumbnail_func($viewType, $article, $board_id, $array['idno'], $array['file1'], $array['file2'], $array['ment'], $width, $height, $quard, $margin));
            $loop->skin_modeling('[subject]', $lib->func_length_limit($array['subject'], 0, $length));
            $loop->skin_modeling('[ment]', $lib->func_length_limit(strip_tags($array['ment']), 0, $ment_length));
            $loop->skin_modeling('[date]', date("Y.m.d", strtotime($array['regdate'])));
            $loop->skin_modeling('[nick]', $array['writer']);
            $loop->skin_modeling('[comment]', latest_comment_func($array['comment']));
            $loop->skin_modeling('[link]', __URL_PATH__ . $viewDir . '?article=' . $article . '&p=read&read=' . $array['idno']);
            $loop->skin_modeling('[new_ico]', latest_new_ico($array['ico_new_def'], $array['regdate']));
            $loop->skin_modeling('[hot_ico]', latest_hot_ico($array['ico_hot_def'], $array['likes_count'], $array['view']));
            $loop->skin_modeling('[secret_ico]', latest_secret_ico($array['use_secret']));
            $tpl .= $loop->skin_echo();
        } while ($mysql->nextRec());
    }
    //footer 템플릿 치환
    if ($mysql->numRows() < 1) {
        $footer->skin_modeling_hideArea("[{not_loop_start}]", "[{not_loop_end}]", "show");
    } else {
        $footer->skin_modeling_hideArea("[{not_loop_start}]", "[{not_loop_end}]", "hide");
    }
    $footer->skin_modeling('[/latestskinDir/]', __URL_PATH__ . "modules/board/latestskin/" . $skin . "/");
    $footer->skin_modeling('[title]', htmlspecialchars($array['name']));
    $footer->skin_modeling('[board_link]', __URL_PATH__ . $viewDir . '?article=' . $article);
    $tpl .= $footer->skin_echo();
    return $tpl;
}
Esempio n. 9
0
        } else {
            $array_loop->skin_modeling_hideArea("[{likes_start}]", "[{likes_end}]", "hide");
        }
        $array_loop->skin_modeling("[td_1]", $array['td_1']);
        $array_loop->skin_modeling("[td_2]", $array['td_2']);
        $array_loop->skin_modeling("[td_3]", $array['td_3']);
        $array_loop->skin_modeling("[td_4]", $array['td_4']);
        $array_loop->skin_modeling("[td_5]", $array['td_5']);
        echo $array_loop->skin_echo();
        $j++;
    } while ($mysql->nextRec());
}
//footer
include_once __DIR_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/plugins/index_footer.inc.php";
if ($array_total > 0) {
    $footer->skin_modeling_hideArea("[{array_not_loop_start}]", "[{array_not_loop_end}]", "hide");
} else {
    $footer->skin_modeling_hideArea("[{array_not_loop_start}]", "[{array_not_loop_end}]", "show");
}
$footer->skin_modeling("[/boardskinDir/]", __URL_PATH__ . "modules/board/skin/" . $c_array['skin'] . "/" . $viewDir);
$footer->skin_modeling("[ss_selected]", $ss);
$footer->skin_modeling("[sm_selected]", $sm);
$footer->skin_modeling("[sw_selected]", $sw);
$footer->skin_modeling("[keyword_value]", $keyword);
$footer->skin_modeling("[write_btn]", bbs_write_btn());
$footer->skin_modeling("[paging_area]", $paging->Show(__URL_PATH__ . "{$viewDir}?article={$article}&category={$category}&where={$where}&keyword={$keyword}"));
$footer->skin_modeling("[controll_btn]", bbs_controll_btn());
$footer->skin_modeling("[search_btn]", "<input type=\"submit\" class=\"submit\" value=\"검색\" />");
$footer->skin_modeling("[search_cancel_btn]", "<input type=\"button\" class=\"cancel\" value=\"취소\" onclick=\"document.location.href='" . __URL_PATH__ . "{$viewDir}?article={$article}';\"; />");
echo $footer->skin_echo();
/*
Esempio n. 10
0
 $mysql->htmlspecialchars = 1;
 $mysql->nl2br = 1;
 $mysql->fetchArray("name,class,zindex,idno,depth,useMenu");
 $array = $mysql->array;
 $loop->skin_modeling("[name]", name_func());
 $loop->skin_modeling("[zindex]", $array['zindex']);
 $loop->skin_modeling("[depth]", $array['depth']);
 $loop->skin_modeling("[class]", $array['class']);
 $loop->skin_modeling("[parent]", $array['idno']);
 $loop->skin_modeling("[idno]", $array['idno']);
 $loop->skin_modeling("[add_idno]", add_idno_func());
 $loop->skin_modeling("[vtype_value]", $vtype);
 $loop->skin_modeling("[depth_value]", $array['depth'] + 1);
 $loop->skin_modeling("[not_useMenu_class]", not_useMenu_class());
 if ($array['depth'] > 1) {
     $loop->skin_modeling_hideArea("[{inner_top_start}]", "[{inner_top_end}]", "hide");
     $loop->skin_modeling_hideArea("[{inner_bottom_start}]", "[{inner_bottom_end}]", "hide");
     $loop->skin_modeling_hideArea("[{depth1_red_font_start}]", "[{depth1_red_font_end}]", "hide");
     $loop->skin_modeling_hideArea("[{moveDisabled_start}]", "[{moveDisabled_end}]", "hide");
     if ($array['depth'] == 2) {
         $loop->skin_modeling_hideArea("[{depth2_bull_start}]", "[{depth2_bull_end}]", "show");
     } else {
         $loop->skin_modeling_hideArea("[{depth2_bull_start}]", "[{depth2_bull_end}]", "hide");
     }
 } else {
     $loop->skin_modeling_hideArea("[{inner_top_start}]", "[{inner_top_end}]", "show");
     $loop->skin_modeling_hideArea("[{inner_bottom_start}]", "[{inner_bottom_end}]", "show");
     $loop->skin_modeling_hideArea("[{depth2_bull_start}]", "[{depth2_bull_end}]", "hide");
     $loop->skin_modeling_hideArea("[{depth1_red_font_start}]", "[{depth1_red_font_end}]", "show");
     $loop->skin_modeling_hideArea("[{moveDisabled_start}]", "[{moveDisabled_end}]", "show");
 }
Esempio n. 11
0
$tpl->skin_modeling("[href_value]", $array['href']);
$tpl->skin_modeling("[linkDoc_value]", $array['linkDoc']);
$tpl->skin_modeling("[linkDoc_value]", $array['linkDoc']);
$tpl->skin_modeling("[vtype_value]", $vtype);
$tpl->skin_modeling("[org_value]", $org);
$tpl->skin_modeling("[title_img_file_name]", $array['title_img']);
$tpl->skin_modeling("[img_file_name]", $array['img']);
$tpl->skin_modeling("[img2_file_name]", $array['img2']);
$tpl->skin_modeling("[page_selectbox_options]", page_selectbox_option());
$tpl->skin_modeling("[forward_selectbox_options]", forward_selectbox_option());
$tpl->skin_modeling("[useMenu_checked_value]", useMenu_checked_value());
$tpl->skin_modeling("[useMenu_header_disabled_value]", useMenu_disabled_value());
$tpl->skin_modeling("[useMenu_side_checked_value]", useMenu_side_checked_value());
$tpl->skin_modeling("[useMenu_side_disabled_value]", useMenu_side_disabled_value());
if ($type == "modify") {
    $tpl->skin_modeling_hideArea("[{callName_modify_start}]", "[{callName_modify_end}]", "hide");
    $tpl->skin_modeling_hideArea("[{callName_new_start}]", "[{callName_new_end}]", "show");
} else {
    if ($type == "new") {
        $tpl->skin_modeling_hideArea("[{callName_modify_start}]", "[{callName_modify_end}]", "show");
        $tpl->skin_modeling_hideArea("[{callName_new_start}]", "[{callName_new_end}]", "hide");
    }
}
if ($array['lockMenu'] != "Y") {
    if ($type == "new") {
        $tpl->skin_modeling_hideArea("[{deleteBtn_start}]", "[{deleteBtn_end}]", "hide");
    } else {
        $tpl->skin_modeling_hideArea("[{deleteBtn_start}]", "[{deleteBtn_end}]", "show");
    }
    $tpl->skin_modeling_hideArea("[{not_mainPage_start}]", "[{not_mainPage_end}]", "show");
    $tpl->skin_modeling_hideArea("[{have_lockMenu_start}]", "[{have_lockMenu_end}]", "hide");
Esempio n. 12
0
    }
}
function use_smtp_func()
{
    global $site_config;
    if ($site_config['ad_use_smtp'] == "Y") {
        return "checked";
    } else {
        return "";
    }
}
/*
템플릿 치환
*/
if ($site_config['ad_pavicon'] != "") {
    $tpl->skin_modeling_hideArea("[pavicon_hidden_start]", "[pavicon_hidden_end]", "show");
} else {
    $tpl->skin_modeling_hideArea("[pavicon_hidden_start]", "[pavicon_hidden_end]", "hide");
}
$tpl->skin_modeling("[pavicon_file_name]", $site_config['ad_pavicon']);
$tpl->skin_modeling("[logo_file_name]", logo_file_name());
$tpl->skin_modeling("[logo_file_ed]", $site_config['ad_logo']);
$tpl->skin_modeling("[site_name_value]", $site_config['ad_site_name']);
$tpl->skin_modeling("[site_url_value]", $site_config['ad_site_url']);
$tpl->skin_modeling("[msite_url_value]", $site_config['ad_msite_url']);
$tpl->skin_modeling("[use_msite_checked]", use_msite_func());
$tpl->skin_modeling("[site_title_value]", $site_config['ad_site_title']);
$tpl->skin_modeling("[ad_email_value]", $site_config['ad_email']);
$tpl->skin_modeling("[ad_phone_value]", $site_config['ad_phone']);
$tpl->skin_modeling("[use_smtp_checked]", use_smtp_func());
$tpl->skin_modeling("[smtp_server]", $site_config['ad_smtp_server']);