Beispiel #1
0
/*
템플릿 치환
*/
//header
$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("re_idno,idno,memo,regdate,me_idno,me_id,me_level,me_nick,me_regdate,cst_email,cst_name,cst_phone");
        $array = $mysql->array;
        $loop->skin_modeling("[number]", $paging->getNo($i));
        $i++;
        $loop->skin_modeling("[member_type]", member_type_func());
        $loop->skin_modeling("[name]", name_func());
        $loop->skin_modeling("[regdate]", "<span title=\"" . $array['regdate'] . "\">" . date("Y.m.d", strtotime($array['regdate'])) . "</span>");
        $loop->skin_modeling("[answer]", func_answer($array['re_idno']));
        $loop->skin_modeling("[memo]", "<a href=\"" . __URL_PATH__ . "admin/?p=questionList_view&act=" . $array['idno'] . "\">" . $lib->func_length_limit(strip_tags($lib->htmlDecode($array['memo'])), 0, 20) . "</a>");
        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=questionList&order={$order}&orderby={$orderby}"));
echo $footer->skin_echo();