Beispiel #1
0
<?php

include_once __DIR_PATH__ . "include/pageJustice.inc.php";
$tpl = new skinController();
$method = new methodController();
$lib = new libraryClass();
$mysql = new mysqlConnection();
$read_true_3 = new skinController();
$skin_read = new skinController();
$session = new sessionController();
$method->method_param("GET", "read,page,where,keyword,category");
$method->method_param("POST", "s_password");
/*
세션 로드
*/
$__toony_board_view = $session->session_selector('__toony_board_view_' . $board_id . '_' . $read);
//조회수 세션
/*
패스워드가 submit된 경우
*/
if ($s_password != "") {
    $method->method_param("POST", "s_board_id,s_mode,s_read,s_password,s_page,where,keyword");
    $board_id = $s_board_id;
    $read = $s_read;
    $mode = $s_mode;
    $page = $s_page;
}
/*
게시물 설정 정보 로드
*/
$mysql->select("\n\t\tSELECT *\n\t\tFROM toony_module_board_config\n\t\tWHERE board_id='{$board_id}'\n\t");
Beispiel #2
0
<?php

include_once __DIR_PATH__ . "include/pageJustice.inc.php";
$tpl = new skinController();
$write_password = new skinController();
$skin_write = new skinController();
$method = new methodController();
$lib = new libraryClass();
$mysql = new mysqlConnection();
$session = new sessionController();
$method->method_param("GET", "mode,read,page,where,keyword,category");
$method->method_param("POST", "s_password");
$session->session_selector("__toony_member_idno");
/*
패스워드가 submit 된 경우 GET변수를 POST변수로 변환
*/
if ($s_password != "") {
    $method->method_param("POST", "s_board_id,s_mode,s_read,s_password,s_page");
    $board_id = $s_board_id;
    $read = $s_read;
    $mode = $s_mode;
    $page = $s_page;
}
if (isset($HTTP_POST_VARS['keyword'])) {
    $method->method_param("POST", "where,keyword");
}
/*
게시물 설정 정보 로드
*/
$mysql->select("\n\t\tSELECT *\n\t\tFROM toony_module_board_config\n\t\tWHERE board_id='{$board_id}'\n\t");
$mysql->fetchArray("skin,title,use_comment,use_list,use_secret,use_category,category,use_reply,use_file1,use_file2,void_html,file_limit,list_limit,length_limit,array_level,write_level,secret_level,comment_level,delete_level,read_level,reply_level,controll_level,top_file,bottom_file,ico_secret_def,tc_1,tc_2,tc_3,tc_4,tc_5");