<script language="JavaScript"><!--function show_layer(lyr) { // 전체 레이어의 새로크기document.all[lyr].style.height='180px';}function hidden_layer(lyr) { // 타이틀 부분의 레이어 세로크기document.all[lyr].style.height='30px';}function start() { // 전체 레이어의 타이틀 부분 세로크기 - 레이어 이름 지정document.all.Layer1.style…
bbs/download.php에서-----------------------------------------------------------------------if (preg_match("/^utf/i", $g4[charset]))-----------------------------------------------------------------------를-----------------------------------------------------------------------include_once (…
bbs/download.phpif (($write[mb_id] && $write[mb_id] == $member[mb_id]) || $is_admin || $member[mb_level] >=3)
<?/*** ZENAPLUS** Copyright (c) 2006-05-18 Park Gwan Su <www.zeronara.net>* e-mail : [email protected]* You are free: to Remix - to adapt the work* Attribution : You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endors…
설치시 707이 안되면 설치가 안되죠..install/index.php// 루트 디렉토리에 파일, 디렉토리 생성 가능한지 검사.$perms = get_perms(fileperms("../"));if ($perms["world_read"].$perms["world_write"].$perms["world_execute"] != "rwx") { echo "<meta http-equiv='content-type' content='text…
common.php 25 라인////주소창 직접 입력 요청의 $_GET 으로 오는파라미터들 다 utf-8 인코딩 해야하는 버그!!! by 명규//if(!$_SERVER[HTTP_REFERER]){ $get_tmp = array_keys($_GET);//배열의 키를 반환 for($i=0;$i<sizeof($get_tmp);$i++){ $_GET[$get_tmp[$i]] = iconv("euc-kr","utf-8",$_GET[$get_tmp[$i]]); }}
배경을 다른색으로 지정할때 head.sub.php파일에서 하면 관리자 화면에까지 적용이되서 불편한게 많습니다..관리자 화면은 그래도 둔 상태에서 보이는 곳만 처리해 보겠습니다.mainhead.php / head.php파일상단에 css를 별도로 적용해 주세요.(예문 검정)$mainwidth = $zleftwidth+$zcenterwidth;$subwidth = $zleftwidth+$zcenterwidth+$zscenterwidth;?><style>body,p,input,button,textarea,select { f…
//글을 받을 게시판명을 적어주세요. $table_name ="z1_3"; //테이블명 $bo_table_name ="".$g4[write_prefix]."".$table_name.""; //새글등록후 3시간 전에는 글쓰기를 못하며 시간변경은 (60 * 60 * 24) 부분에서 수정합니다. $udatatime = date("Y-m-d H:i:s", time() - (int)(60 * 60 * 3)); //특정게시판에 회원별로 글한개 이상을 무조…
if (!$is_admin) { // 코멘트 남겨야 다운로드 가능 $sql = "select wr_id from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 and (mb_id = '$member[mb_id]' or wr_ip = '$_SERVER[REMOTE_ADDR]')"; $row = sql_fetch($sql); if (!$row) { alert("코멘트를 남겨야 다운로드가 가능합니다."); }}
/skin/board/게시판스킨/download.skin.php<?if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가// 회원일 때if ($member['mb_id']) {// 등록자 포인트 지급insert_point($write['mb_id'], (int)(100), "{$member['mb_nick']}님이 $board[bo_subject] $wr_id 파일 다운로드", $bo_table, $wr_id, $member['mb_id']);}?>
株式会社YHPLUS / 대표 : ZERO
〒171-0014 東京都豊島区池袋2-41-5 アーバン154 8F
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d