Beispiel #1
0
 function qry($mb_id)
 {
     if (!IS_MEMBER) {
         alert_close("회원만 이용하실 수 있습니다.");
     }
     $member = unserialize(MEMBER);
     if (!$member['mb_open'] && !SU_ADMIN && $member['mb_id'] != $mb_id) {
         alert_close("자신의 정보를 공개하지 않으면 다른분의 정보를 조회할 수 없습니다.\\n\\n정보공개 설정은 회원정보수정에서 하실 수 있습니다.");
     }
     $mb = $this->Basic_model->get_member($mb_id, "mb_id, mb_level, mb_point, mb_homepage, mb_open, mb_nick, mb_datetime, mb_today_login, mb_profile");
     if (!isset($mb['mb_id'])) {
         alert_close("회원정보가 존재하지 않습니다.\\n\\n탈퇴하였을 수 있습니다.");
     }
     if (!$mb['mb_open'] && !SU_ADMIN && $member['mb_id'] != $mb_id) {
         alert_close("정보공개를 하지 않았습니다.");
     }
     $name = $this->config->item('cf_use_nick') && $mb['mb_nick'] ? $mb['mb_nick'] : $mb['mb_name'];
     $name = get_sideview($mb['mb_id'], $name);
     // 회원가입후 몇일째인지? + 1 은 당일을 포함한다는 뜻
     $query = $this->db->query("select (TO_DAYS('" . TIME_YMDHIS . "') - TO_DAYS('" . $mb['mb_datetime'] . "') + 1) as days");
     $row = $query->row_array();
     $mb_reg_after = $row['days'];
     $mb_homepage = prep_url($mb['mb_homepage']);
     $mb_profile = $mb['mb_profile'] ? conv_content($mb['mb_profile'], FALSE) : "소개 내용이 없습니다.";
     $mb_join_date = $member['mb_level'] >= $mb['mb_level'] ? substr($mb['mb_datetime'], 0, 10) . " (" . $mb_reg_after . " 일)" : "알 수 없음";
     $mb_last_login = $member['mb_level'] >= $mb['mb_level'] ? $mb['mb_today_login'] : "******";
     $head = array('title' => $mb['mb_nick'] . "님의 자기소개");
     $data = array('name' => $name, 'profile' => $mb_profile, 'homepage' => $mb_homepage, 'point' => number_format($mb['mb_point']), 'join_date' => $mb_join_date, 'last_login' => $mb_last_login);
     widget::run('head', $head);
     $this->load->view('member/profile', $data);
     widget::run('tail');
 }
Beispiel #2
0
    <col width="*" />
</colgroup>
<thead>
    <tr>
        <th scope="col">번호</th>
        <th scope="col">이름</th>
        <th scope="col">현재 위치</th>
    </tr>
</thead>
<tbody>
<?php 
for ($i = 0; $i < count($list); $i++) {
    echo "<tr>";
    echo "<td class='number'>{$list[$i]['num']}</td>";
    echo "<td>{$list[$i]['name']}</td>";
    $location = conv_content($list[$i][lo_location], 0);
    // 최고관리자에게만 허용
    // 이 조건문은 가능한 변경하지 마십시오.
    if ($list[$i][lo_url] && $is_admin == "super") {
        //echo "<td colspan=2>&nbsp;<a href='{$list[$i][lo_url]}'>{$location}</a></td>";
        echo "<td class='tl'><a href='{$list[$i]['lo_url']}'>{$location}</a></td>";
    } else {
        //echo "<td colspan=2>&nbsp;{$location}</td>";
        echo "<td class='tl'>{$location}</td>";
    }
    echo "</tr>";
}
if ($i == 0) {
    echo "<tr><td colspan='3'>현재 접속자가 없습니다.</td></tr>";
}
?>
Beispiel #3
0
" class="hd_pops" style="top:<?php 
    echo $nw['nw_top'];
    ?>
px;left:<?php 
    echo $nw['nw_left'];
    ?>
px;">
        <div class="hd_pops_con" style="width:<?php 
    echo $nw['nw_width'];
    ?>
px;height:<?php 
    echo $nw['nw_height'];
    ?>
px">
            <?php 
    echo conv_content($nw['nw_content'], 1);
    ?>
        </div>
        <div class="hd_pops_footer">
            <button class="hd_pops_reject hd_pops_<?php 
    echo $nw['nw_id'];
    ?>
 <?php 
    echo $nw['nw_disable_hours'];
    ?>
"><strong><?php 
    echo $nw['nw_disable_hours'];
    ?>
</strong>시간 동안 다시 열람하지 않습니다.</button>
            <button class="hd_pops_close hd_pops_<?php 
    echo $nw['nw_id'];
Beispiel #4
0
echo subject_sort_link("is_score");
?>
평점</a></th>
        <th scope="col"><?php 
echo subject_sort_link("is_confirm");
?>
확인</a></th>
        <th scope="col">관리</th>
    </tr>
    </thead>
    <tbody>
    <?php 
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $href = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
    $name = get_sideview($row['mb_id'], get_text($row['is_name']), $row['mb_email'], $row['mb_homepage']);
    $is_content = get_view_thumbnail(conv_content($row['is_content'], 1), 300);
    $bg = 'bg' . $i % 2;
    ?>

    <tr class="<?php 
    echo $bg;
    ?>
">
        <td class="td_chk">
            <label for="chk_<?php 
    echo $i;
    ?>
" class="sound_only"><?php 
    echo get_text($row['is_subject']);
    ?>
 사용후기</label>
Beispiel #5
0
}

// 내용
$sql = " select * from {$g5['content_table']} where co_id = '$co_id' ";
$co = sql_fetch($sql);
if (!$co['co_id'])
    alert('등록된 내용이 없습니다.');

$g5['title'] = $co['co_subject'];

if ($co['co_include_head'])
    @include_once($co['co_include_head']);
else
    include_once('./_head.php');

$str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']);

// $src 를 $dst 로 변환
unset($src);
unset($dst);
$src[] = "/{{쇼핑몰명}}|{{홈페이지제목}}/";
$dst[] = $config['cf_title'];
$src[] = "/{{회사명}}|{{상호}}/";
$dst[] = $default['de_admin_company_name'];
$src[] = "/{{대표자명}}/";
$dst[] = $default['de_admin_company_owner'];
$src[] = "/{{사업자등록번호}}/";
$dst[] = $default['de_admin_company_saupja_no'];
$src[] = "/{{대표전화번호}}/";
$dst[] = $default['de_admin_company_tel'];
$src[] = "/{{팩스번호}}/";
Beispiel #6
0
?>
</link>
<description>테스트 버전 0.2 (2004-04-26)</description>
<language>ko</language>

<?php 
$sql = " select * from {$g5['write_prefix']}{$bo_table} where wr_is_comment = 0 and wr_option not like '%secret%' and as_shingo >= '0' order by wr_num, wr_reply limit 0, {$lines} ";
$result = sql_query($sql);
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $view = get_view($row, $board, $board_skin_path);
    if (strstr($view['wr_option'], 'html')) {
        $html = 1;
    } else {
        $html = 0;
    }
    $view['wr_content'] = conv_content($view['wr_content'], $html);
    $file = $head_file = $tail_file = '';
    if ($view['as_img'] == "2") {
        // 본문삽입
        $view['wr_content'] = preg_replace_callback("/{이미지\\:([0-9]+)[:]?([^}]*)}/i", "conv_rich_content", $view['wr_content']);
    } else {
        for ($i = 0; $i <= count($view['file']); $i++) {
            if ($view['file'][$i]['view']) {
                $file .= '<p>' . get_view_thumbnail($view['file'][$i]['view']) . '</p>';
            }
        }
        if ($view['as_img'] == "1") {
            $head_file = $file;
        } else {
            $tail_file = $file;
        }
Beispiel #7
0
</strong>
            </li>
            <li class="memo_view_li">
                <span class="memo_view_subj"><?php 
echo $kind_date;
?>
시간</span>
                <strong><?php 
echo $memo['me_send_datetime'];
?>
</strong>
            </li>
        </ul>
        <p>
            <?php 
echo conv_content($memo['me_memo'], 0);
?>
        </p>
    </article>

    <div class="win_btn">
        <?php 
if ($prev_link) {
    ?>
        <a href="<?php 
    echo $prev_link;
    ?>
">이전쪽지</a>
        <?php 
}
?>
Beispiel #8
0
     }
 } else {
     $ss_name = 'ss_secret_comment_' . $bo_table . '_' . $list[$i]['wr_id'];
     // APMS : 대댓글의 비밀글을 원댓글쓴이에게도 보이기
     $is_pre_commenter = false;
     if ($row['wr_comment_reply'] && $member['mb_id']) {
         $pre_comment = sql_fetch(" select mb_id from {$write_table} where wr_parent = '{$wr_id}' and wr_is_comment = 1 and wr_comment = '{$row['wr_comment']}' and wr_comment_reply = '" . substr($row['wr_comment_reply'], 0, -1) . "' ");
         if ($pre_comment['mb_id'] && $pre_comment['mb_id'] == $member['mb_id']) {
             $is_pre_commenter = true;
         }
     }
     if (get_session($ss_name) || $is_pre_commenter) {
         if ($is_cmt_shingo) {
             $list[$i]['content'] = '';
         } else {
             $list[$i]['content'] = conv_content($row['wr_content'], 0, 'wr_content');
             $list[$i]['content'] = search_font($stx, $list[$i]['content']);
             $is_content = true;
         }
     } else {
         $list[$i]['content'] = '<a href="./password.php?w=sc&amp;bo_table=' . $bo_table . '&amp;wr_id=' . $list[$i]['wr_id'] . $qstr . '" class="s_cmt">댓글내용 확인</a>';
         $is_secret = true;
     }
 }
 if ($is_content) {
     $list[$i]['content'] = preg_replace("/\\[<a\\s*href\\=\"(http|https|ftp)\\:\\/\\/([^[:space:]]+)\\.(gif|png|jpg|jpeg|bmp).*<\\/a>(\\s\\]|\\]|)/i", "<a href=\"" . G5_BBS_URL . "/view_img.php?img=\$1://\$2.\$3\" target=\"_blank\" class=\"item_image\"><img src=\"\$1://\$2.\$3\" alt=\"\" style=\"max-width:100%;border:0;\"></a>", $list[$i]['content']);
     $list[$i]['content'] = apms_content($list[$i]['content']);
     //럭키포인트
     if ($row['as_lucky']) {
         $list[$i]['content'] = $list[$i]['content'] . '' . str_replace("[point]", number_format($row['as_lucky']), APMS_LUCKY_TEXT);
     }
                        $strURL = '';
                        $strData = iconv_euckr($sms_content);
                        $strDate = '';
                        $nCount = count($strDest);
                        $res = $SMS->Add($strDest, $strCallBack, $strCaller, $strSubject, $strURL, $strData, $strDate, $nCount);
                        $SMS->Send();
                        $SMS->Init();
                        // 보관하고 있던 결과값을 지웁니다.
                    }
                } else {
                    include_once G5_LIB_PATH . '/icode.sms.lib.php';
                    $SMS = new SMS();
                    // SMS 연결
                    $SMS->SMS_con($config['cf_icode_server_ip'], $config['cf_icode_id'], $config['cf_icode_pw'], $config['cf_icode_server_port']);
                    $SMS->Add($recv_number, $send_number, $config['cf_icode_id'], iconv_euckr(stripslashes($sms_content)), "");
                    $SMS->Send();
                }
            }
        }
        // 답변 이메일전송
        if (trim($row['iq_email'])) {
            include_once G5_LIB_PATH . '/mailer.lib.php';
            $subject = $config['cf_title'] . ' ' . $row['it_name'] . ' 상품문의 답변 알림 메일';
            $content = conv_content($iq_answer, 1);
            mailer($config['cf_title'], $config['cf_admin_email'], $row['iq_email'], $subject, $content, 1);
        }
    }
    goto_url("./itemqaform.php?w={$w}&amp;iq_id={$iq_id}&amp;sca={$sca}&amp;{$qstr}");
} else {
    alert();
}
}
//if ($html > 0) {
//$row[wr_content] = mw_tag_debug($row[wr_content]);
$row[content] = $row[content1] = SECRET_COMMENT;
if (!strstr($row[wr_option], "secret") || $is_admin || $write[mb_id] == $member[mb_id] && $member[mb_id] || $row[mb_id] == $member[mb_id] && $member[mb_id]) {
    $row[content1] = $row[wr_content];
    $row[content] = conv_content($row[wr_content], $html, 'wr_content');
    $row[content] = search_font($stx, $row[content]);
}
//}
// 코멘트 비밀 리플 보이기
if ($row[content] == SECRET_COMMENT) {
    for ($j = $i - 1; $j >= 0; $j--) {
        if ($list[$j][wr_comment] == $row[wr_comment] && $list[$j][wr_comment_reply] == substr($row[wr_comment_reply], 0, strlen($row[wr_comment_reply]) - 1)) {
            if (trim($list[$j][mb_id]) && $list[$j][mb_id] == $member[mb_id]) {
                $row[content] = conv_content($row[wr_content], $html, 'wr_content');
                $row[content] = search_font($stx, $row[content]);
            }
            break;
        }
    }
}
// 코멘트 첨부파일
$file = get_comment_file($bo_table, $row[wr_id]);
if (preg_match("/\\.({$config['cf_movie_extension']})\$/i", $file[0][file])) {
    $tmp = '';
    ob_start();
    echo mw_jwplayer("{$g4[path]}/data/file/{$board[bo_table]}/{$file[0][file]}");
    if (trim($file[0][content])) {
        echo $file[0][content];
    }
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . G5_MSHOP_SKIN_URL . '/style.css">', 0);
?>

<h1 id="win_title">배송정보</h1>

<div class="win_desc">
    <?php 
echo conv_content($default['de_baesong_content'], 1);
?>
</div>
Beispiel #12
0
function apms_faq_rows($arr)
{
    global $g5;
    $list = array();
    $rows = isset($arr['rows']) && $arr['rows'] > 0 ? $arr['rows'] : 7;
    $sql_fa = '';
    if (isset($arr['fa_list']) && $arr['fa_list']) {
        $sql_fa = isset($arr['except']) && $arr['except'] ? "and find_in_set(fm_id, '{$arr['fa_list']}')=0" : "and find_in_set(fa_id, '{$arr['fa_list']}')";
    }
    $result = sql_query(" select * from {$g5['faq_table']} where 1 {$sql_fa} order by fa_order, fa_id limit 0, {$rows} ", false);
    for ($i = 0; $row = sql_fetch_array($result); $i++) {
        $list[$i] = $row;
        $list[$i]['subject'] = apms_get_text($list[$i]['fa_subject']);
        $list[$i]['content'] = conv_content($list[$i]['fa_content'], 1);
        $list[$i]['href'] = G5_BBS_URL . '/faq.php?fm_id=' . $row['fm_id'];
    }
    return $list;
}
Beispiel #13
0
    $date = $row['pt_num'] ? $row['pt_num'] : strtotime($row['it_time']);
    // rss 리더 스킨으로 호출하면 날짜가 제대로 표시되지 않음
    //$date = substr($date,0,10) . "T" . substr($date,11,8) . "+09:00";
    $date = date('r', $date);
    ?>
	<item>
	<title><?php 
    echo specialchars_replace(apms_get_text($row['it_name']));
    ?>
</title>
	<link><?php 
    echo specialchars_replace($link);
    ?>
</link>
	<description><![CDATA[<?php 
    echo conv_content($rss_img . $rss_content, 1);
    ?>
]]></description>
	<dc:creator><?php 
    echo specialchars_replace($author['mb_nick']);
    ?>
</dc:creator>
	<dc:date><?php 
    echo $date;
    ?>
</dc:date>
	</item>
<?php 
}
?>
</channel>
Beispiel #14
0
    $list->set_view('sns', true);
    echo $list->run();
    // where 된 전체 상품수
    $total_count = $list->total_count;
    // 전체 페이지 계산
    $total_page = ceil($total_count / $items);
} else {
    echo '<div class="sct_nofile">' . str_replace(G5_PATH . '/', '', $skin_file) . ' 파일을 찾을 수 없습니다.<br>관리자에게 알려주시면 감사하겠습니다.</div>';
}
?>

    <?php 
$qstr1 .= 'ca_id=' . $ca_id;
$qstr1 .= '&amp;sort=' . $sort . '&amp;sortodr=' . $sortodr;
echo get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'] . '?' . $qstr1 . '&amp;page=');
?>

    <?php 
// 하단 HTML
echo '<div id="sct_thtml">' . conv_content($ca['ca_tail_html'], 1) . '</div>';
?>
</div>
<!-- } 상품 목록 끝 -->

<?php 
if ($ca['ca_include_tail']) {
    @(include_once $ca['ca_include_tail']);
} else {
    include_once G5_SHOP_PATH . '/_tail.php';
}
echo "\n<!-- {$ca['ca_skin']} -->\n";
Beispiel #15
0
<!-- 상품 정보 시작 { -->
<section id="sit_inf">
    <h2>상품 정보</h2>
    <?php 
echo pg_anchor('inf');
?>

    <?php 
if ($it['it_explan']) {
    // 상품 상세설명
    ?>
    <h3>상품 상세설명</h3>
    <div id="sit_inf_explan">
        <?php 
    echo conv_content($it['it_explan'], 1);
    ?>
    </div>
    <?php 
}
?>

</section>
<!-- } 상품 정보 끝 -->



<!-- 상품문의 시작 { -->
<section id="sit_qa">
    <h2>상품문의</h2>
    <?php 
    ?>
                <tr>
                    <th scope="row">희망배송일</th>
                    <td><?php 
    echo substr($od['od_hope_date'], 0, 10) . ' (' . get_yoil($od['od_hope_date']) . ')';
    ?>
</td>
                </tr>
                <?php 
}
if ($od['od_memo']) {
    ?>
                <tr>
                    <th scope="row">전하실 말씀</th>
                    <td><?php 
    echo conv_content($od['od_memo'], 0);
    ?>
</td>
                </tr>
                <?php 
}
?>
                </tbody>
                </table>
            </div>
        </section>

        <section id="sod_fin_dvr">
            <h3>배송정보</h3>

            <div  class="odf_tbl">
Beispiel #17
0
// 메일발송 사용 (수정글은 발송하지 않음)
if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_email']) {
    // 관리자의 정보를 얻고
    $super_admin = get_admin('super');
    $group_admin = get_admin('group');
    $board_admin = get_admin('board');
    $wr_subject = get_text(stripslashes($wr_subject));
    $tmp_html = 0;
    if (strstr($html, 'html1')) {
        $tmp_html = 1;
    } else {
        if (strstr($html, 'html2')) {
            $tmp_html = 2;
        }
    }
    $wr_content = conv_content(conv_unescape_nl($wr_content), $tmp_html);
    $warr = array('' => '입력', 'u' => '수정', 'r' => '답변', 'c' => '코멘트', 'cu' => '코멘트 수정');
    $str = $warr[$w];
    $subject = '[' . $config['cf_title'] . '] ' . $board['bo_subject'] . ' 게시판에 ' . $str . '글이 올라왔습니다.';
    $link_url = G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&amp;wr_id=' . $wr_id . '&amp;' . $qstr;
    include_once G5_LIB_PATH . '/mailer.lib.php';
    ob_start();
    include_once './write_update_mail.php';
    $content = ob_get_contents();
    ob_end_clean();
    $array_email = array();
    // 게시판관리자에게 보내는 메일
    if ($config['cf_email_wr_board_admin']) {
        $array_email[] = $board_admin['mb_email'];
    }
    // 게시판그룹관리자에게 보내는 메일
Beispiel #18
0
?>
</h2>
    <a href="<?php 
echo $rewrite_href;
?>
" class="btn_b01">추가질문</a>

    <div id="ans_datetime">
        <?php 
echo $answer['qa_datetime'];
?>
    </div>

    <div id="ans_con">
        <?php 
echo conv_content($answer['qa_content'], $answer['qa_html']);
?>
    </div>

    <div id="ans_add">
        <?php 
if ($answer_update_href) {
    ?>
        <a href="<?php 
    echo $answer_update_href;
    ?>
" class="btn_b01">답변수정</a>
        <?php 
}
?>
        <?php 
Beispiel #19
0
<?php

$sub_menu = "200300";
include_once './_common.php';
include_once G5_LIB_PATH . '/mailer.lib.php';
auth_check($auth[$sub_menu], 'r');
$se = sql_fetch("select ma_subject, ma_content from {$g5['mail_table']} where ma_id = '{$ma_id}' ");
$subject = $se['ma_subject'];
$content = conv_content($se['ma_content'], 1) . "<hr size=0><p><span style='font-size:9pt; font-family:굴림'>▶ 더 이상 정보 수신을 원치 않으시면 [<a href='" . G5_BBS_URL . "/email_stop.php?mb_id=***&amp;mb_md5=***' target='_blank'>수신거부</a>] 해 주십시오.</span></p>";
?>

<link rel="stylesheet" href="<?php 
echo G5_CSS_URL;
?>
/bootstrap.min.css" type="text/css" rel="stylesheet">
<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<title><?php 
echo G5_VERSION;
?>
 메일발송 테스트</title>
</head>

<hr>
<div class="panel panel-default" style="min-widht:200px; max-width:900px; margin:0 auto;">
  <div class="panel-heading"><?php 
echo $subject;
?>
</div>
Beispiel #20
0
}
$view['content'] = $shingo_txt . $view['content'];
// 글쓴이
$author = array();
$is_signature = false;
$signature = '';
if ($view['mb_id']) {
    $lvl = $board['as_level'] ? 'yes' : 'no';
    $author = apms_member($view['mb_id'], $lvl);
    if (!$author['mb_open']) {
        $author['mb_email'] = '';
        $author['mb_homepage'] = '';
    }
    if ($board['bo_use_signature']) {
        $is_signature = true;
        $signature = apms_content(conv_content($author['mb_signature'], 1));
    }
}
if ($is_signature) {
    $view['photo'] = $author['photo'];
} else {
    $view['photo'] = apms_photo_url($view['mb_id']);
}
// 신고
$is_shingo = $board['as_shingo'] > 0 ? true : false;
// Tag
$is_tag = false;
if ($view['as_tag']) {
    $tag_list = apms_get_tag($view['as_tag']);
    if ($tag_list) {
        $is_tag = true;
Beispiel #21
0
        if ($is_admin || $member['mb_id'] == $row['mb_id']) {
            $iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
        } else {
            $iq_question = '비밀글로 보호된 문의입니다.';
            $is_secret = true;
        }
    } else {
        $iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), $thumbnail_width);
    }
    $iq_time = substr($row['iq_time'], 2, 8);
    $hash = md5($row['iq_id'] . $row['iq_time'] . $row['iq_ip']);
    $iq_stats = '';
    $iq_style = '';
    $iq_answer = '';
    if ($row['iq_answer']) {
        $iq_answer = get_view_thumbnail(conv_content($row['iq_answer'], 1), $thumbnail_width);
        $iq_stats = '답변보기';
        $is_answer = true;
    } else {
        $iq_stats = '답변보기';
        $iq_answer = '답변이 등록되지 않았습니다.';
        $is_answer = false;
    }
    if ($i == 0) {
        echo '<ol id="sit_qa_ol">';
    }
    ?>

        <li class="sit_qa_li">
            <button type="button" class="sit_qa_li_title">
                <div class="sit_qa_num"><?php 
Beispiel #22
0
파트너</a></th>
		<?php 
}
?>
		<th scope="col">관리</th>
    </tr>
    </thead>
    <tbody>
    <?php 
for ($i = 0; $row = sql_fetch_array($result); $i++) {
    $row['iq_subject'] = cut_str($row['iq_subject'], 30, "...");
    $href = G5_SHOP_URL . '/item.php?it_id=' . $row['it_id'];
    $name = get_sideview($row['mb_id'], get_text($row['iq_name']), $row['mb_email'], $row['mb_homepage']);
    $answer = $row['iq_answer'] ? 'Y' : '&nbsp;';
    $iq_question = get_view_thumbnail(conv_content($row['iq_question'], 1), 300);
    $iq_answer = $row['iq_answer'] ? get_view_thumbnail(conv_content($row['iq_answer'], 1), 300) : "답변이 등록되지 않았습니다.";
    $bg = 'bg' . $i % 2;
    ?>
    <tr class="<?php 
    echo $bg;
    ?>
">
		<td class="td_chk">
            <label for="chk_<?php 
    echo $i;
    ?>
" class="sound_only"><?php 
    echo get_text($row['iq_subject']);
    ?>
 상품문의</label>
            <input type="checkbox" name="chk[]" value="<?php 
Beispiel #23
0
$view[content] = conv_content($view[wr_content], $html);
if (strstr($sfl, "content")) {
    $view[content] = search_font($stx, $view[content]);
}
$view[content] = preg_replace("/(\\<img )([^\\>]*)(\\>)/i", "\\1 name='target_resize_image[]' onclick='image_window(this)' style='cursor:pointer;' \\2 \\3", $view[content]);
//$view[rich_content] = preg_replace("/{img\:([0-9]+)[:]?([^}]*)}/ie", "view_image(\$view, '\\1', '\\2')", $view[content]);
$view[rich_content] = preg_replace("/{이미지\\:([0-9]+)[:]?([^}]*)}/ie", "view_image(\$view, '\\1', '\\2')", $view[content]);
$is_signature = false;
$signature = "";
if ($board[bo_use_signature] && $view[mb_id]) {
    $is_signature = true;
    $mb = get_member($view[mb_id]);
    $signature = $mb[mb_signature];
    //$signature = bad_tag_convert($signature);
    // 081022 : CSRF 보안 결함으로 인한 코드 수정
    $signature = conv_content($signature, 1);
}
include_once "{$board_skin_path}/mw.lib/mw.skin.basic.lib.php";
include_once "{$board_skin_path}/view_head.skin.php";
$this_url = "{$g4['url']}/{$g4['bbs']}/board.php?bo_table={$bo_table}&wr_id={$wr_id}";
if ($mw_basic[cf_umz]) {
    $this_url = $view[wr_umz];
} else {
    if ($mw_basic[cf_shorten]) {
        $this_url = $shorten;
    }
}
?>
<style type="text/css">
body { padding:10px; margin:0; }
div#mw_print { border:1px solid #d9d9d9; padding:20px; }
Beispiel #24
0
// 메일발송 사용 (수정글은 발송하지 않음)
if (!($w == 'u' || $w == 'cu') && $config['cf_email_use'] && $board['bo_use_email']) {
    // 관리자의 정보를 얻고
    $super_admin = get_admin('super');
    $group_admin = get_admin('group');
    $board_admin = get_admin('board');
    $wr_subject = get_text(stripslashes($wr_subject));
    $tmp_html = 0;
    if (strstr($html, 'html1')) {
        $tmp_html = 1;
    } else {
        if (strstr($html, 'html2')) {
            $tmp_html = 2;
        }
    }
    $wr_content = conv_content(stripslashes($wr_content), $tmp_html);
    $warr = array('' => '입력', 'u' => '수정', 'r' => '답변', 'c' => '코멘트', 'cu' => '코멘트 수정');
    $str = $warr[$w];
    $subject = '[' . $config['cf_title'] . '] ' . $board['bo_subject'] . ' 게시판에 ' . $str . '글이 올라왔습니다.';
    $link_url = G5_BBS_URL . '/board.php?bo_table=' . $bo_table . '&amp;wr_id=' . $wr_id . '&amp;' . $qstr;
    include_once G5_LIB_PATH . '/mailer.lib.php';
    ob_start();
    include_once './write_update_mail.php';
    $content = ob_get_contents();
    ob_end_clean();
    $array_email = array();
    // 게시판관리자에게 보내는 메일
    if ($config['cf_email_wr_board_admin']) {
        $array_email[] = $board_admin['mb_email'];
    }
    // 게시판그룹관리자에게 보내는 메일
Beispiel #25
0
    if ($is_admin == 'super') {
        $write_href = G5_ADMIN_URL . '/shop_admin/itemform.php?fn=' . $ca['pt_form'];
        $admin_href = G5_ADMIN_URL . '/shop_admin/itemlist.php?ca_id=' . $ca_id;
        $config_href = G5_ADMIN_URL . '/shop_admin/categoryform.php?w=u&amp;ca_id=' . $ca_id;
    }
}
$rss_href = $ca_id ? G5_URL . '/rss/?cid=' . urlencode($ca_id) : '';
$lm = '';
// 리스트 모드
$ls = $list_skin;
// 리스트 스킨
// 셋업
$setup_href = '';
if ($is_demo || $is_admin == 'super') {
    $setup_href = './skin.setup.php?skin=list&amp;name=' . urlencode($ls) . '&amp;ca_id=' . urlencode($ca_id);
}
// 스킨
$list_skin_file = $list_skin_path . '/list.skin.php';
if (file_exists($list_skin_file)) {
    include_once $list_skin_file;
} else {
    echo '<p>' . str_replace(G5_PATH . '/', '', $list_skin_file) . ' 파일을 찾을 수 없습니다.<br>관리자에게 알려주시면 감사하겠습니다.</p>';
}
// 하단 HTML
echo '<div id="sct_thtml">' . conv_content($ca['ca_' . MOBILE_ . 'tail_html'], 1) . '</div>' . PHP_EOL;
if (!G5_IS_MOBILE && $ca['ca_include_tail']) {
    @(include_once $ca['ca_include_tail']);
} else {
    include_once './_tail.php';
}
echo "\n<!-- {$ca['ca_' . MOBILE_ . 'skin']} -->\n";
Beispiel #26
0
echo $pp['pp_id'];
?>
">
    <section id="sod_frm_orderer">
        <h2>개인결제정보</h2>

        <div class="odf_tbl">
            <table>
            <tbody>
            <?php 
if (trim($pp['pp_content'])) {
    ?>
            <tr>
                <th>상세내용</th>
                <td><?php 
    echo conv_content($pp['pp_content'], 0);
    ?>
</td>
            </tr>
            <?php 
}
?>
            <tr>
                <th>결제금액</th>
                <td><?php 
echo display_price($pp['pp_price']);
?>
</td>
            </tr>
            <tr>
                <th scope="row"><label for="pp_name">이름</label></th>
Beispiel #27
0
        if ($is_admin) {
            echo '<br><a href="' . G5_ADMIN_URL . '/faqmasterlist.php">FAQ를 새로 등록하시려면 FAQ관리</a> 메뉴를 이용하십시오.';
        }
        echo '</div>';
    }
}
?>
</div>

<?php 
echo get_paging($page_rows, $page, $total_page, $_SERVER['SCRIPT_NAME'] . '?' . $qstr . '&amp;page=');
?>

<?php 
// 하단 HTML
echo '<div id="faq_thtml">' . conv_content($fm['fm_tail_html'], 1) . '</div>';
if ($timg_src) {
    echo '<div id="faq_timg" class="faq_img"><img src="' . $timg_src . '" alt=""></div>';
}
?>

<fieldset id="faq_sch">
    <legend>FAQ 검색</legend>

    <form name="faq_search_form" method="get">
    <input type="hidden" name="fm_id" value="<?php 
echo $fm_id;
?>
">
    <label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
    <input type="text" name="stx" value="<?php 
<?php

if (!defined('_GNUBOARD_')) {
    exit;
}
// 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . G5_MSHOP_SKIN_URL . '/style.css">', 0);
?>

<h2 class="if_tit">배송정보</h2>

<div class="win_desc_if">
    <?php 
echo conv_content($default['de_baesong_content'], 1);
?>
</div>

<h2 class="if_tit">교환/반품</h2>

<div class="win_desc_if">
    <?php 
echo conv_content($default['de_change_content'], 1);
?>
</div>
Beispiel #29
0
    $list->set_from_record($from_record);
    $list->set_view('it_img', true);
    $list->set_view('it_id', false);
    $list->set_view('it_name', true);
    $list->set_view('it_cust_price', false);
    $list->set_view('it_price', true);
    $list->set_view('it_icon', true);
    $list->set_view('sns', true);
    echo $list->run();
    // where 된 전체 상품수
    $total_count = $list->total_count;
    // 전체 페이지 계산
    $total_page = ceil($total_count / $items);
} else {
    echo '<div align="center">' . $ev['ev_mobile_skin'] . ' 파일을 찾을 수 없습니다.<br>관리자에게 알려주시면 감사하겠습니다.</div>';
}
?>

<?php 
$qstr .= 'skin=' . $skin . '&amp;ev_id=' . $ev_id . '&amp;sort=' . $sort . '&amp;sortodr=' . $sortodr;
echo get_paging($config['cf_mobile_pages'], $page, $total_page, "{$_SERVER['SCRIPT_NAME']}?{$qstr}&amp;page=");
?>

<?php 
// 하단 HTML
echo '<div id="sev_thtml">' . conv_content($ev['ev_tail_html'], 1) . '</div>';
?>
<!-- } 이벤트 끝 -->

<?php 
include_once G5_MSHOP_PATH . '/_tail.php';
Beispiel #30
0
    <div class="local_desc01 local_desc">
        <p>주문, 입금, 준비, 배송, 완료는 장바구니와 주문서 상태를 모두 변경하지만, 취소, 반품, 품절은 장바구니의 상태만 변경하며, 주문서 상태는 변경하지 않습니다.</p>
        <p>개별적인(이곳에서의) 상태 변경은 모든 작업을 수동으로 처리합니다. 예를 들어 주문에서 입금으로 상태 변경시 입금액(결제금액)을 포함한 모든 정보는 수동 입력으로 처리하셔야 합니다.</p>
    </div>

    </form>

    <?php 
if ($od['od_mod_history']) {
    ?>
    <section id="sodr_qty_log">
        <h3>주문 수량변경 및 주문 전체취소 처리 내역</h3>
        <div>
            <?php 
    echo conv_content($od['od_mod_history'], 0);
    ?>
        </div>
    </section>
    <?php 
}
?>

</section>

<section id="anc_sodr_pay">
    <h2 class="h2_frm">주문결제 내역</h2>
    <?php 
echo $pg_anchor;
?>