object(HotopayModel)#785 (23) {
["error"]=>
int(0)
["message"]=>
string(7) "success"
["variables"]=>
array(0) {
}
["httpStatusCode"]=>
int(200)
["module"]=>
string(7) "hotopay"
["module_info"]=>
NULL
["origin_module_info"]=>
NULL
["module_config"]=>
NULL
["module_path"]=>
string(52) "/home/eond/web/eond.com/public_html/modules/hotopay/"
["xml_info"]=>
NULL
["module_srl"]=>
NULL
["mid"]=>
NULL
["act"]=>
NULL
["template_path"]=>
NULL
["template_file"]=>
NULL
["layout_path"]=>
NULL
["layout_file"]=>
NULL
["edited_layout_file"]=>
NULL
["stop_proc"]=>
bool(false)
["user"]=>
object(Rhymix\Framework\Helpers\SessionHelper)#784 (20) {
["member_srl"]=>
int(0)
["user_id"]=>
NULL
["user_name"]=>
NULL
["nick_name"]=>
NULL
["email_address"]=>
NULL
["phone_number"]=>
NULL
["homepage"]=>
NULL
["blog"]=>
NULL
["birthday"]=>
NULL
["denied"]=>
NULL
["status"]=>
NULL
["is_admin"]=>
string(1) "N"
["is_site_admin"]=>
NULL
["profile_image"]=>
NULL
["image_name"]=>
NULL
["image_mark"]=>
NULL
["signature"]=>
NULL
["description"]=>
NULL
["group_list"]=>
array(0) {
}
["menu_list"]=>
array(0) {
}
}
["request"]=>
object(Rhymix\Framework\Request)#10 (13) {
["method"]=>
string(3) "GET"
["compat_method"]=>
string(3) "GET"
["url"]=>
string(21) "talk/1396/page/465436"
["hostname"]=>
string(8) "eond.com"
["domain"]=>
NULL
["protocol"]=>
string(5) "https"
["callback_function"]=>
string(0) ""
["_route_status":protected]=>
int(200)
["_route_options":protected]=>
object(stdClass)#11 (5) {
["cache_control"]=>
bool(true)
["check_csrf"]=>
bool(true)
["is_forwarded"]=>
bool(false)
["is_indexable"]=>
bool(true)
["enable_session"]=>
bool(true)
}
["module"]=>
string(5) "board"
["mid"]=>
string(4) "talk"
["act"]=>
string(16) "dispBoardContent"
["args"]=>
array(4) {
["document_srl"]=>
string(4) "1396"
["page"]=>
int(465436)
["mid"]=>
string(4) "talk"
["act"]=>
string(16) "dispBoardContent"
}
}
["ajaxRequestMethod"]=>
array(2) {
[0]=>
string(6) "XMLRPC"
[1]=>
string(4) "JSON"
}
["gzhandler_enable"]=>
bool(true)
}
카트에 담기
안녕하세요..낙훈님..미니위니에서 많은 활동 하고 계시져... 전 거의 눈팅만 해서여...^^;; 제 홈페이지에 스킨 설정 기능에 대해 글 남기셨는데여.. 여기에 적어도 되는건지...저도 초짜라..잘 모르지만..함 적어봤습니다. 스킨 설정에 필요한 파일 skin.cfg <-- 맨 처음 스킨설정 기능을 사용할 때 불러오는 기본설정파일 config_edit.php <-- 스킨 설정 창(게시판에서 스킨을 클릭했을 때 보여주는 스킨 기능 설정 창) config_edit_ok.php <-- 스킨 함수(즉. 스킨 설정에서 확인을 했을 때 정보가 저장되도록 해주는 파일) init.php <-- 스킨 설정과 확인을 연결 시켜주는 파일.. ======== 자...이제 부터 스킨 설정 기능을 사용해 보자구여 =========== 수정할 파일 목록 setup.php list_head.php list_main.php list_notice.php view.php view_foot.php 대충 이 정도 입니다. 1. setup.php <? include $dir."/init.php"; //초기화 및 환경설정 $a_skinconfig = "<Hyunee™ "; //스킨환경설정버튼링크 if(eregi("<a ",$a_setup)){ $a_skinconfig = "<A HREF="javascript:void(window.open('$dir/config_edit.php?dir=$dir&cfgfile=$skinConfigurationFilename','skinconfig','width=400,height=360,menubar=no,scrollbars=no, resizable=no, top=100, left=100'));">"; } $colspanNum = 9; if($setup[use_cart]) $colspanNum++; if($s_name) $colspanNum++; if($s_date) $colspanNum++; if($s_hit) $colspanNum++; if($s_vote) $colspanNum++; ?> 맨 위에... 스킨설정 기능을 사용하기 위해..삽입 그리고 게시판 설정 끝에 <?=$a_skinconfig?>SKIN</a> 삽입. 즉 스킨 설정 2. list_head.php <col width=25></col> <col width=3></col> <?=$hide_cart_start?><col width=20></col><?=$hide_cart_end?> <col width=></col> <col width=70></col> <col width=50></col> <col width=20></col> <?=$hide_category_start?><col width=5%></col><?=$hide_category_end?> 이 부분 있져..이 부분은 게시판에서 사용될 세로칸입니다.(번호,그림자그림,카트,제목,날ㅉㅏ,이름,조회)순이져.. 이건 스킨마다 틀리니까 참고하시고여..이건 푸무클 스킨의 예입니다. 자..이 부분에서여.. 스킨설정으로 엮고 싶은 기능을... <? if($s_name) {?><col width=70></col><?}?> <? if($s_date) {?><col width=50 align=center></col><?}?> <? if($s_vote) {?><col width=25 align=center></col><?}?> <? if($s_hit) {?><col width=25 align=center></col><?}?> 이런식으로...<? if($s_name) , <?}?> 를 앞뒤로 넣어주시면 됩니다. 즉.. 작성자 이름을 스킨설정에서 사용할 거라면..이런식으로 넣어주면 됩니다. $s_name 변수라고 해야하나요? 아실거라 믿습니다. 3. list_main.php <td nowrap align=center><font class=zv3_name><?=$name?></font></td> <td nowrap class=zv3_small><?=$reg_date?></td> <td nowrap class=zv3_small><?=$hit?></td> 이 부분을....이런식으로... <? if($s_name) {?><td nowrap align=center><font class=zv3_name><?=$name?></font></td><?}?> <? if($s_date) {?><td nowrap class=zv3_small><?=$reg_date?></td><?}?> <? if($s_hit) {?><td nowrap class=zv3_small><?=$hit?></td><?}?> 역쉬...이 부분도 2번과 마찬가지로..수정해 주시면 됩니다. 4. list_notice.php 당근 이 부분도 마찬가지로 변수들을 설정해 주셔야져... 5. view.php <? $writer=@mysql_fetch_array(mysql_query("select * from $member_table where no = '$data[ismember]'")); if(!$writer[level]) $writer[level]=10; $writer_comment = ($writer[comment])?nl2br(stripslashes($writer[comment])):''; $writer_picture = ''; if( $writer[picture] ){ $img_size = getimagesize($writer[picture]); if($img_size[0] > $img_size[1]) {if($img_size[0] > $comp) $bzImg = ' width='.$comp;} else {if($img_size[1] > $comp) $bzImg = ' height='.$comp;} $writer_picture = '<img src='.$writer[picture].' border=0 '.$bzImg.'>'; } else { $writer_picture = '<img src='.$dir.'/nopic.gif border=1>';} ?> 맨위에 삽입.... <? if($s_writer) {?> <? if($data['ismember']) {?> <table border=0 cellspacing=5 cellpadding=0 align=center style='table-layout:fixed' width=100%> <col width=35%></col><col></col><col width=<?=$comp?>></col> <tr> <td rowspan=2></td> <td height=22 background=<?=$dir?>/line_2.gif colspan=2><img src=<?=$dir?>/t_1.gif height=22 border=0></td> </tr> <tr> <td valign=top align=right class=zv3_name><?=$writer[name]?>(<?=$writer[user_id]?>)<br><?=$writer_comment?></TD> <TD valign=top align=right><?=$writer_picture?></TD> </tr> </table> <?}?> <?}?> 적당한 부분에..삽입..( 작성자 정보를 사용하고 사진의 크기를 조정해 주는..) 솔직히 저도 이 부분은 잘 모르겠거든여...어떻게 그냥 수정을 하니까...되길래..^^;; 6. view_foot.php 이 부분은여 추천 기능을 넣을때...기존 푸무클 스킨에는 추천 기능이 없어서..이 파일도 수정을 해줬습니다. if($s_vote) {?><?=$a_vote?> RECOMMEND</a> <?}?> 역쉬..앞뒤로 변수가... 대충 이 정도 였던 것 같네여...음... 저도 그냥 핀홀님 스킨 보면서 걍 뜯어 고친 정도 밖에 안됩니다. 수정을 직접 해 보시면..아쉴겁니다.그럼..좋은 주말 보내세요..^^*
24
0
댓글 3
댓글작성칸으로2) 저 같은 경우 vote가 view.php에 있는데 파일의 위치는 상관 없겠죠? ^^;
Warning: fopen("../../data/skincfg_test.ini", "w") - No such file or directory in /home/user/xynex/public_html/cgi/php/board/zboard/skin/eond_board_bbs/config/config_edit_ok.php on line 29
Warning: Supplied argument is not a valid File-Handle resource in /home/user/xynex/public_html/cgi/php/board/zboard/skin/eond_board_bbs/config/config_edit_ok.php on line 30
Warning: Supplied argument is not a valid File-Handle resource in /home/user/xynex/public_html/cgi/php/board/zboard/skin/eond_board_bbs/config/config_edit_ok.php on line 31