Example #1
0
function getLayoutLogo($layout)
{
    if ($layout['imglogo_use']) {
        return '<a href="' . RW(0) . '" style="margin:' . $layout['title_t'] . 'px 0 ' . $layout['title_b'] . 'px 0;"><img src="' . $GLOBALS['g']['s'] . '/layouts/' . $layout['dir'] . '/_var/' . $layout['imglogo'] . '" width="' . $layout['imglogo_w'] . '" height="' . $layout['imglogo_h'] . '" alt="" /></a>';
    } else {
        return '<h1><a href="' . RW(0) . '" style="margin:' . $layout['title_t'] . 'px 0 ' . $layout['title_b'] . 'px 0;color:' . $layout['title_color'] . ';" id="_layout_title_">' . $layout['title'] . '</a></h1>';
    }
}
Example #2
0
 function getRWurl($url)
 {
     global $_HS, $g;
     if ($_HS['rewrite']) {
         return 'http://' . $_SERVER['HTTP_HOST'] . str_replace('./', '/', RW($url));
     } else {
         return $g['url_root'] . htmlspecialchars(str_replace('&amp;', '&', str_replace('./', '/', RW($url))));
     }
 }
Example #3
0
 function getMenuWidgetTree($site, $table, $is_child, $parent, $depth, $id, $w, $_C)
 {
     global $_CA;
     if ($depth < $w['limit']) {
         $CD = getDbSelect($table, ($site ? 'site=' . $site . ' and ' : '') . 'hidden=0 and parent=' . $parent . ' and depth=' . ($depth + 1) . ($w['mobile'] ? ' and mobile=1' : '') . ' order by gid asc', '*');
         echo "\n";
         for ($i = 0; $i < $depth; $i++) {
             echo "\t";
         }
         if ($is_child) {
             echo "<ul" . ($w['dropdown'] ? ' class="dropdown-menu" role="menu" aria-labelledby="dLabel"' : '') . ">\n";
             if ($w['dropdown'] && $w['dispfmenu']) {
                 echo $_C['link'];
                 echo '<li role="presentation" class="divider"></li>' . "\n";
             }
         }
         while ($C = db_fetch_array($CD)) {
             $_newTree = ($id ? $id . '/' : '') . $C['id'];
             $_href = $w['link'] == 'bookmark' ? ' data-scroll href="#' . ($C['is_child'] && $w['limit'] > 1 && !$parent && $w['dropdown'] ? '' : str_replace('/', '-', $_newTree)) . '"' : ' href="' . RW('c=' . $_newTree) . '"';
             $_dropdown = $w['dropdown'] && $C['is_child'] && $C['depth'] == $w['depth'] + 1 && $w['olimit'] > 1 ? ' class="dropdown-toggle" data-toggle="dropdown"' : '';
             $_name = $C['name'] . ($_dropdown ? ' <i class="caret"></i>' : '');
             $_target = $C['target'] == '_blank' ? ' target="_blank"' : '';
             $_addattr = $C['addattr'] ? ' ' . $C['addattr'] : '';
             for ($i = 0; $i < $C['depth']; $i++) {
                 echo "\t";
             }
             if ($_dropdown) {
                 echo '<li class="dropdown' . (in_array($C['id'], $_CA) ? ' active' : '') . '"><a' . $_addattr . $_href . $_dropdown . $_target . '>' . $_name . '</a>';
             } else {
                 echo '<li' . (in_array($C['id'], $_CA) ? ' class="active"' : '') . '><a' . $_addattr . $_href . $_dropdown . $_target . '>' . $_name . '</a>';
             }
             if ($C['is_child']) {
                 $C['link'] = '<li><a' . $_addattr . $_href . $_target . '>' . $C['name'] . '</a></li>';
                 getMenuWidgetTree($site, $table, $C['is_child'], $C['uid'], $C['depth'], $_newTree, $w, $C);
             }
             echo "</li>\n";
         }
         for ($i = 0; $i < $depth; $i++) {
             echo "\t";
         }
         if ($is_child) {
             echo "</ul>\n";
         }
         for ($i = 0; $i < $depth; $i++) {
             echo "\t";
         }
     }
 }
Example #4
0
    ?>
		<?php 
    $adddata = unserialize($infoArticle['adddata']);
    ?>
		<a href="<?php 
    echo RW("m=bbs&bid=event&uid=" . $infoArticle['uid']);
    ?>
"><img src="<?php 
    echo $_thumbimg;
    ?>
" alt="<?php 
    echo $infoArticle['subject'];
    ?>
" /></a>
		<h2><a href="<?php 
    echo RW("m=bbs&uid=" . $infoArticle['uid']);
    ?>
"><?php 
    echo $infoArticle['subject'];
    ?>
</a></h2>
<!--		<p class="event"><?php 
    echo getStrCut(strip_tags(urldecode($adddata['desc'])), 100, "");
    ?>
</p> -->
		<p class="event" style="width:310px;height:45px;"><?php 
    echo getStrCut(strip_tags(urldecode($adddata['desc'])), 100, "");
    ?>
</p>
	</li>
	<?php 
Example #5
0
<?php

if (!defined('__KIMS__')) {
    exit;
}
checkAdmin(0);
if ($type == 'pc') {
    getDbUpdate($table['s_site'], "layout='" . $layout . "/main.php'", 'uid=' . $s);
    getWindow(RW(0), 'PC모드 대표 레이아웃으로 적용되었습니다.', '', '', '');
    exit;
} else {
    getDbUpdate($table['s_site'], "m_layout='" . $layout . "/main.php'", 'uid=' . $s);
    getLink('', '', '모바일웹 대표레이아웃으로 적용되었습니다.  \\n\\n모바일기기나 에뮬레이터로 확인하세요.', '');
}
Example #6
0
	</ul>
</div>
<div class="quick">
	<h3><img src="/pages/image/trainfomain/title_quick.gif" alt="주요여행정보 바로가기" /></h3>
	<ul>
		<li><a href="<?php 
echo RW("m=bbs&amp;bbsid=travelinfo2&amp;uid=1032");
?>
"><img src="/pages/image/trainfomain/quick_01.gif" alt="" /></a></li>
		<li><a href="<?php 
echo RW("m=bbs&amp;bbsid=travelinfo2&amp;uid=1025");
?>
"><img src="/pages/image/trainfomain/quick_02.gif" alt="" /></a></li>
		<?php 
if ($r == "maldives") {
    ?>
		<li><a href="<?php 
    echo RW("m=bbs&amp;bbsid=travelinfo2&amp;uid=1060");
    ?>
"><img src="/pages/image/trainfomain/quick_03_01.gif" alt="" /></a></li>
		<?php 
} else {
    ?>
		<li><a href="/?r=mexico&m=bbs&bid=travelinfo2&uid=2529"><img src="/pages/image/trainfomain/quick_03_02.gif" alt="" /></a></li>
		<?php 
}
?>
	</ul>
</div>
<div class="clear"></div>
</div>
Example #7
0
File: menu.php Project: kiminmug/rb
    echo _LANG('a2029', 'site');
    ?>
					</button>
				</span>
		
				<div id="guide_menucode" class="collapse rb-guide">
					<ul>
					<li><?php 
    echo _LANG('a2030', 'site');
    ?>
</li>
					<li><?php 
    echo _LANG('a2031', 'site');
    ?>
<code><?php 
    echo RW('c=<span class="b">CODE</span>');
    ?>
</code></li>
					<li><?php 
    echo _LANG('a2032', 'site');
    ?>
</li>
					</ul>
				</div>
			</div>
		</div>
		<?php 
}
?>
		<?php 
if ($is_fcategory && $CINFO['is_child']) {
Example #8
0
        $_date = $d['layout']['bbs4_day'] != '' ? date('YmdHis', mktime(0, 0, 0, substr($date['today'], 4, 2), substr($date['today'], 6, 2) - $d['layout']['bbs4_day'], $date['year'])) : 0;
        ?>
		<?php 
        $_RCD = getDbArray($table['bbsdata'], 'bbs=' . $d['layout']['bbs4'] . ' and display=1 and d_regis > ' . $_date, '*', $_sort[0], $_sort[1], $d['layout']['bbs4_num'], 1);
        ?>
		<?php 
        $_R = db_fetch_array($_RCD);
        ?>

		<div class="tt">
			<div class="ts"><?php 
        echo $_B['name'];
        ?>
</div>
			<div class="tmore"><a href="<?php 
        echo RW('m=bbs&bid=' . $_B['id']);
        ?>
">더보기</a></div>
			<div class="clear"></div>
		</div>
		<?php 
        if ($_R['uid']) {
            ?>
		<?php 
            $_IMG = getImgs($_R['content'], 'jpg|jpeg');
            ?>
		<div class="thumb"><a href="<?php 
            echo getPostLink($_R);
            ?>
"><img src="<?php 
            echo $_IMG[0] ? $_IMG[0] : $g['img_core'] . '/blank.gif';
Example #9
0
<?php

if (!defined('__KIMS__')) {
    exit;
}
if (!$mod) {
    getLink(RW(0), '', '', '');
}
include_once $g['dir_module'] . 'var/var.php';
$iframe = 'Y';
$g['dir_module_skin'] = $g['dir_module'] . 'theme/' . $d['upload']['theme'] . '/';
$g['url_module_skin'] = $g['url_module'] . '/theme/' . $d['upload']['theme'];
$g['img_module_skin'] = $g['url_module_skin'] . '/image';
$g['dir_module_mode'] = $g['dir_module_skin'] . $mod;
$g['url_module_mode'] = $g['url_module_skin'] . '/' . $mod;
$g['main'] = $g['dir_module_mode'] . '.php';
Example #10
0
"<?php 
if (!$R['uid'] && !$g['device']) {
    ?>
 autofocus<?php 
}
?>
>
						<span class="input-group-btn">
							<button class="btn btn-default rb-help-btn" type="button" data-toggle="collapse" data-target="#bbs_name-guide" data-tooltip="tooltip" title="도움말"><i class="fa fa-question-circle fa-lg"></i></button>
						</span>
						<?php 
if ($R['uid']) {
    ?>
						<span class="input-group-btn">
							<a href="<?php 
    echo RW('m=' . $module . '&bid=' . $R['id']);
    ?>
" target="_blank" class="btn btn-default" data-tooltip="tooltip" title="게시판 보기">
							<i class="fa fa-link fa-lg"></i>
							</a>
						</span>
						<?php 
}
?>
					</div>
					<p class="help-block collapse alert alert-warning" id="bbs_name-guide">
						<small> 게시판제목에 해당되며 한글,영문등 자유롭게 등록할 수 있습니다.</small>
			      </p>
				</div>				
		 </div>
		 <div class="form-group">
Example #11
0
function getMenuTxt($site, $table, $j, $parent, $depth, $uid, $code)
{
    global $g;
    static $j, $string;
    $xdepth = $depth + 1;
    $CD = getDbSelect($table, ($site ? 'site=' . $site . ' and ' : '') . 'depth=' . $xdepth . ' and parent=' . $parent . ' order by gid asc', '*');
    while ($C = db_fetch_array($CD)) {
        $j++;
        $code = $code . $C['id'] . '/';
        $_code = substr($code, 0, strlen($code) - 1);
        for ($i = 0; $i < $depth; $i++) {
            $string .= "\t";
        }
        $string .= '[' . $xdepth . ']' . ($C['hidden'] ? '[숨김]' : '') . ($C['reject'] ? '[차단]' : '') . ($C['target'] ? '[새창]' : '') . $C['name'] . " = " . RW('c=' . $_code) . "\r\n";
        if ($C['isson']) {
            getMenuTxt($site, $table, $j, $C['uid'], $C['depth'], $uid, $code);
        }
        if ($xdepth == 1) {
            $string .= "\r\n";
        }
        $code = '';
    }
    return $string;
}
Example #12
0
<li id="top-menu4"><a href="<?php 
    echo $_M1['redirect'] ? $_M1['joint'] : RW('c=' . $_M1['id']);
    ?>
" id="top-menu-head4">메뉴4</a></li>
			<?php 
    $_M1 = db_fetch_array($_MENUS1);
    ?>
<li id="top-menu5"><a href="<?php 
    echo $_M1['redirect'] ? $_M1['joint'] : RW('c=' . $_M1['id']);
    ?>
" id="top-menu-head5">메뉴5</a></li>
			<?php 
    $_M1 = db_fetch_array($_MENUS1);
    ?>
<li id="top-menu6"><a href="<?php 
    echo $_M1['redirect'] ? $_M1['joint'] : RW('c=' . $_M1['id']);
    ?>
" id="top-menu-head6">메뉴6</a></li>
		</ul><script type="text/javascript">initTopmenuByMenuId(0, 0, 0, 0, "menu1")</script>
		</div>
		<?php 
}
?>
	</div>
	<?php 
if (strstr($_SERVER['HTTP_USER_AGENT'], 'MSIE 6')) {
    ?>
<div id="container"><?php 
} else {
    ?>
<div id="container"><?php 
Example #13
0
$g['bbs_reply'] = $g['bbs_write'] . '&amp;reply=Y&amp;uid=';
$g['bbs_action'] = $g['bbs_list'] . '&amp;a=';
$g['bbs_delete'] = $g['bbs_action'] . 'delete&amp;uid=';
$g['bbs_print'] = $g['bbs_reset'] . '&amp;iframe=Y&amp;print=Y&amp;uid=';
if ($_HS['rewrite'] && $sort == 'gid' && $orderby == 'asc' && $recnum == $d['bbs']['recnum'] && $p == 1 && $bid && !$cat && !$skin && !$type && !$iframe) {
    $g['bbs_reset'] = $g['r'] . '/b/' . $bid;
    $g['bbs_list'] = $g['bbs_reset'];
    $g['bbs_view'] = $g['bbs_list'] . '/';
    $g['bbs_write'] = $g['bbs_list'] . '/write';
}
$g['dir_module_skin'] = $g['dir_module'] . 'theme/' . $d['bbs']['skin'] . '/';
$g['url_module_skin'] = $g['url_module'] . '/theme/' . $d['bbs']['skin'];
$g['img_module_skin'] = $g['url_module_skin'] . '/image';
$g['dir_module_mode'] = $g['dir_module_skin'] . $mod;
$g['url_module_mode'] = $g['url_module_skin'] . '/' . $mod;
if ($_m != $g['sys_module'] && !$_HM['uid']) {
    $g['location'] .= ' &gt; <a href="' . $g['bbs_reset'] . '">' . ($B['uid'] ? $B['name'] : '전체게시물') . '</a>';
}
if ($d['bbs']['sosokmenu']) {
    $_CA = explode('/', $d['bbs']['sosokmenu']);
    $g['location'] = '<a href="' . RW(0) . '">HOME</a>';
    $_tmp['count'] = count($_CA);
    $_tmp['split_id'] = '';
    for ($_i = 0; $_i < $_tmp['count']; $_i++) {
        $_tmp['location'] = getDbData($table['s_menu'], "id='" . $_CA[$_i] . "'", '*');
        $_tmp['split_id'] .= ($_i ? '/' : '') . $_tmp['location']['id'];
        $g['location'] .= ' &gt; <a href="' . RW('c=' . $_tmp['split_id']) . '">' . $_tmp['location']['name'] . '</a>';
        $_HM['uid'] = $_tmp['location']['uid'];
    }
}
$g['main'] = $g['main'] ? $g['main'] : $g['dir_module_mode'] . '.php';
Example #14
0
"><?php 
    echo $_M2['name'];
    ?>
</a>
		<?php 
    if ($_M2['isson']) {
        ?>
		<ul>
		<?php 
        $_MENUS3 = getDbSelect($table['s_menu'], 'site=' . $s . ' and parent=' . $_M2['uid'] . ' and hidden=0 and depth=3 order by gid asc', '*');
        ?>
		<?php 
        while ($_M3 = db_fetch_array($_MENUS3)) {
            ?>
		<li><a href="<?php 
            echo RW('c=' . $_CA[0] . '/' . $_CA[1] . '/' . $_M3['id']);
            ?>
" target="<?php 
            echo $_M3['target'];
            ?>
"<?php 
            if ($_M3['uid'] == $_HM['uid']) {
                ?>
 class="on"<?php 
            }
            ?>
><?php 
            echo $_M3['name'];
            ?>
</a></li>
		<?php 
Example #15
0
File: menu.php Project: eosliebe/rb
    ?>
" maxlength="20">
					<span class="input-group-addon">
					<?php 
    if ($CINFO['uid']) {
        ?>

						고유키=<code><?php 
        echo sprintf('%05d', $CINFO['uid']);
        ?>
</code>
					<?php 
    } else {
        ?>

						고유키=자동생성됨
					<?php 
    }
    ?>

					</span>
				</div>
		
				<span class="help-block">
					<button type="button" class="btn btn-link" data-toggle="collapse" data-target="#guide_menucode">
						<i class="fa fa-question-circle fa-fw"></i>
						메뉴를 잘 표현할 수 있는 단어로 입력해 주세요.
					</button>
				</span>
		
				<div id="guide_menucode" class="collapse rb-guide">
Example #16
0
<?php

$sitecode = $sitecode ? $sitecode : "maldives";
?>
<label for="sitecode">사이트 선택</label>
<select id="sitecode" name="sitecode" onchange="location.href='<?php 
echo RW("m=" . $m . "&amp;module=" . $module . "&amp;sitecode=");
?>
'+this.value">
	<option value="maldives"<?php 
if ($sitecode == "maldives") {
    ?>
 selected<?php 
}
?>
>하이몰디브</option>
	<option value="newtrevia"<?php 
if ($sitecode == "newtrevia") {
    ?>
 selected<?php 
}
?>
>트레비아</option>
</select>
<hr />
<form name="formSlider" action="<?php 
echo $g['s'];
?>
/" method="post" target="_action_frame_<?php 
echo $m;
?>
Example #17
0
    echo RW("m=admin&module=bbs&front=post&account=2&bid=10&year1=2009&month1=01&day1=01&year2=2011&month2=11&day2=28&sort=gid&orderby=asc&recnum=20&where=subject%7Ctag&keyw=");
    ?>
">1:1 상담 요청</a>
</li>
<li>
	<a href="http://www.himaldives.co.kr/?r=maldives&m=bbsext&bid=cus_manager2" target="_blank">고객관리</a>
</li>
</ul>
</div>
<div class="aright">
<img src="<?php 
    echo $g['img_core'];
    ?>
/_public/ico_user.gif" alt="" />
<a href="<?php 
    echo RW('mod=mypage');
    ?>
" class="admlink"><?php 
    echo sprintf($lang['top']['admin'], $my[$_HS['nametype']]);
    ?>
</a>
<span class="mbox">
<a href="<?php 
    echo $g['s'];
    ?>
/?r=<?php 
    echo $r;
    ?>
&amp;m=admin&amp;module=member">Member</a> <span class="asplit">|</span> 
<a href="<?php 
    echo $g['s'];
Example #18
0
/_public/ico_q.gif" alt="도움말" title="도움말" class="hand" onclick="layerShowHide('guide_addr','block','none');" />
				</td>
				<td class="td2">
					<div class="addr1">
					물리주소 : <span class="hand" onclick="window.open(this.innerHTML);" title="접속하기"><?php 
    echo $g['s'];
    ?>
/index.php?r=<?php 
    echo $r;
    ?>
&amp;mod=<?php 
    echo $R['id'];
    ?>
</span><br />
					현재주소 : <span class="link hand" onclick="window.open(this.innerHTML);" title="접속하기"><?php 
    echo RW('mod=' . $R['id']);
    ?>
</span>
					</div>
					<div id="guide_addr" class="guide hide">
					<span class="b">물리주소 :</span> 이 페이지의 물리적인 실제 주소입니다.<br />
					<span class="b">현재주소 :</span> 주소줄이기/사이트코드 사용옵션 결과주소입니다.
					</div>
				</td>
			</tr>
			<?php 
}
?>
		</table>
		
		<div class="submitbox">
Example #19
0
		</form>

		<form name="SSLLoginForm" action="https://<?php 
echo $_SERVER['SERVER_NAME'] . $_SERVER['SCRIPT_NAME'];
?>
" method="post" target="_action_frame_<?php 
echo $m;
?>
">
		<input type="hidden" name="r" value="<?php 
echo $r;
?>
" />
		<input type="hidden" name="a" value="login" />
		<input type="hidden" name="referer" value="<?php 
echo RW('m=admin');
?>
" />
		<input type="hidden" name="id" value="" />
		<input type="hidden" name="pw" value="" />
		<input type="hidden" name="idpwsave" value="" />
		<input type="hidden" name="usertype" value="admin" />
		</form>

	</div>
</div>


<script type="text/javascript">
//<![CDATA[
function loginCheck(f)
Example #20
0
</a>
    	<a class="btn btn-default btn-sm" href="#content-main"><?php 
echo _LANG('s4005', 'xlayout');
?>
</a>
    </p>
	<ul class="list-inline">
		<li><a href="<?php 
echo RW('mod=privacy');
?>
"><?php 
echo _LANG('s4006', 'xlayout');
?>
</a></li>
		<li><a href="<?php 
echo RW('mod=terms');
?>
"><?php 
echo _LANG('s4007', 'xlayout');
?>
</a></li>
	</ul>
	<p>© <?php 
echo $date['year'];
?>
</span> <?php 
echo $_SERVER['HTTP_HOST'];
?>
</p>
</footer>
Example #21
0
            unlink($g['path_page'] . $id . '.txt');
        }
    }
    if ($pagetype == 1) {
        $joint = str_replace('cync=Y', 'cync=[' . $m . '][p' . $uid . '][,,,][][][mod:' . $id . ']', $joint);
    }
    $QVAL = "pagetype='{$pagetype}',ismain='{$ismain}',mobile='{$mobile}',id='{$id}',category='{$category}',name='{$name}',perm_g='{$perm_g}',perm_l='{$perm_l}',layout='{$layout}',joint='{$joint}',sosokmenu='{$sosokmenu}',d_update='{$d_regis}'";
    getDbUpdate($table['s_page'], $QVAL, 'uid=' . $uid);
    if (!$_HS['startpage'] && $ismain == 1) {
        getDbUpdate($table['s_site'], 'startpage=' . $uid, 'uid=' . $s);
    }
    if ($backgo) {
        if ($iframe == 'Y') {
            getLink(RW('mod=' . $id), 'parent.parent.', '', '');
        } else {
            getLink(RW('mod=' . $id), 'parent.', '', '');
        }
    } else {
        getLink('reload', 'parent.', '', '');
    }
} else {
    $mfile = $g['path_page'] . $id . '.php';
    $fp = fopen($mfile, 'w');
    fwrite($fp, '');
    fclose($fp);
    @chmod($mfile, 0707);
    $mfile = $g['path_page'] . $id . '.widget.php';
    $fp = fopen($mfile, 'w');
    fwrite($fp, '');
    fclose($fp);
    @chmod($mfile, 0707);
Example #22
0
/_public/ico_q.gif" alt="도움말" title="도움말" class="hand" onclick="__layerShowHide('guide_addr','block','none');" />
				</td>
				<td class="td2">
					<span class="addr1">
					물리주소 : <span class="hand" onclick="window.open(this.innerHTML);" title="접속하기"><?php 
        echo $g['s'];
        ?>
/index.php?r=<?php 
        echo $r;
        ?>
&amp;c=<?php 
        echo $vtype ? substr($catcode, 0, strlen($catcode) - 1) : $catcode . $CINFO['id'];
        ?>
</span><br />
					현재주소 : <span class="link hand" onclick="window.open(this.innerHTML);" title="접속하기"><?php 
        echo RW($CINFO['uid'] ? 'c=' . ($vtype ? substr($catcode, 0, strlen($catcode) - 1) : $catcode . $CINFO['id']) : 0);
        ?>
</span>
					</div>
					<div id="guide_addr" class="guide hide">
					<span class="b">물리주소 :</span> 이 메뉴의 물리적인 실제 주소입니다.<br />
					<span class="b">현재주소 :</span> 주소줄이기/사이트코드 사용옵션 결과주소입니다.
					</span>
				</td>
			</tr>
			<tr>
				<td class="td1">코드확장</td>
				<td class="td2 shift">
					<input type="checkbox" <?php 
        if ($CINFO['imghead'] || is_file($g['path_page'] . 'menu/' . sprintf('%05d', $CINFO['uid']) . '.header.php')) {
            ?>
Example #23
0
            ?>
&dp=travelinfo"<?php 
            if ($dp == "travelinfo") {
                ?>
 class="over"<?php 
            }
            ?>
><img src="<?php 
            echo $g['img_layout'];
            ?>
/inb_trav_info.gif" alt="여행정보" /><img src="<?php 
            echo $g['img_layout'];
            ?>
/inb_trav_info_over.gif" alt="여행정보" class="over" /></a></li>
					<li><a href="<?php 
            echo RW("m=bbs&bid=epilogue&cat=" . $R['subject']);
            ?>
"><img src="<?php 
            echo $g['img_layout'];
            ?>
/inb_epilogue.gif" alt="여행후기" /><img src="<?php 
            echo $g['img_layout'];
            ?>
/inb_epilogue_over.gif" alt="여행후기" class="over" /></a></li>
				</ul>
				<?php 
        }
        ?>
				<div class="clear"></div>
			</div>
			<?php 
Example #24
0
echo RW('mod=private');
?>
#p4" target="_blank">더보기..</a></div>
		</div>
	</div>
	


	<div class="agreecheck">
		<input type="checkbox" name="agreecheckbox" id="agreecheckbox" /><label for="agreecheckbox">위의 <span class="b">'이용약관 및 개인정보 수집·이용'</span>에 동의 합니다.</label>
	</div>


	<div class="submitbox">
		<input type="button" value="가입취소" class="btngray" onclick="goHref('<?php 
echo RW(0);
?>
');" />
		<?php 
if ($d['member']['form_comp'] && !$d['member']['form_jumin']) {
    ?>
		<input type="button" value="개인회원가입" class="btnblue" onclick="return nextStep(0);" />
		<input type="button" value="기업회원가입" class="btnblue" onclick="return nextStep(1);" />
		<?php 
} else {
    ?>
		<input type="button" value="다음단계로" class="btnblue" onclick="return nextStep(0);" />
		<?php 
}
?>
	</div>
Example #25
0
<?php

if (!defined('__KIMS__')) {
    exit;
}
include_once $g['path_module'] . $m . '/var/var.php';
if ($cync) {
    $_SESSION[$m . 'cync'] = $cync;
}
if (!$_SESSION[$m . 'cync']) {
    getLink(RW(0), '', '동기화코드가 지정되지 않았습니다.', '');
}
$cyncArr = getArrayString($_SESSION[$m . 'cync']);
$mod = 'main';
$sort = $sort ? $sort : 'uid';
$orderby = $orderby ? $orderby : 'asc';
$recnum = $recnum && $recnum < 200 ? $recnum : $d['trackback']['recnum'];
$cmentque = "parent='" . $cyncArr['data'][0] . $cyncArr['data'][1] . "' and type=1";
$RCD = array();
$TCD = getDbArray($table['s_trackback'], $cmentque, '*', $sort, $orderby, $recnum, $p);
$NUM = getDbRows($table['s_trackback'], $cmentque);
$TPG = getTotalPage($NUM, $recnum);
while ($_R = db_fetch_array($TCD)) {
    $RCD[] = $_R;
}
if ($g['mobile'] && $_SESSION['pcmode'] != 'Y') {
    $B['skin'] = $d['trackback']['skin_mobile'];
} else {
    $B['skin'] = $skin ? $skin : $d['trackback']['skin_main'];
}
$g['track_reset'] = $c ? $g['s'] . '/?r=' . $r . '&amp;c=' . $c : getLinkFilter($g['s'] . '/?r=' . $r . '&amp;m=' . $m, array('skin', 'iframe'));
Example #26
0
				<th scope="col">제목</th>
				<th scope="col">글쓴이</th>
				<th scope="col">조회</th>
				<th scope="col">날짜</th>
			</tr>
			</thead>
			<tbody>
			<?php 
    while ($infoNews = db_fetch_array($resNews)) {
        ?>
			<tr>
				<td class="sbj"><?php 
        if ($my['uid']) {
            ?>
<a href="<?php 
            echo RW("m=bbs&uid=" . $infoNews['uid']);
            ?>
" target="_blank"><?php 
        }
        echo $infoNews['subject'];
        if ($my['uid']) {
            ?>
</a><?php 
        }
        ?>
</td>
				<td class="nic"><?php 
        echo $infoNews['nic'];
        ?>
</td>
				<td class="hit"><?php 
Example #27
0
</div>

<div id="footer">
	<div class="wrap">
		<div class="slinks">
			<div class="elink">
				<a href="<?php 
echo RW('mod=agreement');
?>
">홈페이지 이용약관</a> |
				<a href="<?php 
echo RW('mod=private');
?>
">개인정보 취급방침</a> |
				<a href="<?php 
echo RW('mod=postrule');
?>
">게시물 게재원칙</a>
			</div>
			<div class="copyright">
				Copyright &copy; <?php 
echo $date['year'];
?>
 <?php 
echo $_SERVER['HTTP_HOST'];
?>
 All rights reserved.
			</div>
		</div>
		<div class="powered">
			<div class="kimsq"><!-- 출력을 원치 않으실 경우 지우세요 -->Powered by kimsQ rb (Runtime <?php 
Example #28
0
    $content = str_replace('{NAME}', $name, $content);
    $content = str_replace('{NICK}', $nic, $content);
    $content = str_replace('{ID}', $id, $content);
    $content = str_replace('{EMAIL}', $email, $content);
    $content .= '<a href="' . $g['url_root'] . '/?r=' . $r . '&m=member&a=email_auth&tmpuid=' . $memberuid . '&tmpcode=' . $d_regis . '" style="font-weight:bold;font-size:20px;">[인증요청]</a>';
    getSendMail($email . '|' . $name, $d['member']['join_email'] . '|' . $_HS['name'], '[' . $_HS['name'] . ']회원가입 인증요청 메일입니다.', $content, 'HTML');
}
if ($auth == 1) {
    include_once $g['path_core'] . 'function/email.func.php';
    if ($d['member']['join_email_send'] && $d['member']['join_email']) {
        $content = implode('', file($g['dir_module'] . 'doc/_join.txt'));
        $content = str_replace('{NAME}', $name, $content);
        $content = str_replace('{NICK}', $nic, $content);
        $content = str_replace('{ID}', $id, $content);
        $content = str_replace('{EMAIL}', $email, $content);
        getSendMail($email . '|' . $name, $d['member']['join_email'] . '|' . $_HS['name'], '[' . $_HS['name'] . ']회원가입을 축하드립니다.', $content, 'HTML');
    }
    $_SESSION['mbr_uid'] = $memberuid;
    $_SESSION['mbr_pw'] = md5($pw1);
    // 회원가입 축하 문자전송
    $sms = "[하이몰디브]회원만의 차별화된 서비스가 제공되는 홈페이지 가입을 감사드립니다.";
    $title = "회원가입(" . $name . ")";
    getSendSMS("_sms_", "sms", $tel2, $title, $sms);
    getLink(RW(0), 'parent.', '축하합니다. 회원가입 승인되었습니다.', '');
}
if ($auth == 2) {
    getLink(RW(0), 'parent.', '회원가입 신청서가 접수되었습니다. 관리자 승인후 이용하실 수 있습니다.', '');
}
if ($auth == 3) {
    getLink(RW(0), 'parent.', '회원가입 인증메일이 발송되었습니다. 이메일(' . $email . ')확인 후 인증해 주세요.', '');
}
Example #29
0
                 ${$_tmparr[0]} = $_tmparr[1];
             }
         }
     }
 }
 if (!$c && $m == $g['sys_module']) {
     if (!$mod) {
         $_HP = getUidData($table['s_page'], $g['mobile'] && $_SESSION['pcmode'] != 'Y' ? $_HS['m_startpage'] ? $_HS['m_startpage'] : $_HS['startpage'] : $_HS['startpage']);
     } else {
         $_HP = getDbData($table['s_page'], "id='" . $mod . "'", '*');
     }
     if ($_HP['uid']) {
         $_HM['layout'] = $_HP['layout'];
     }
     if ($_mod) {
         $g['location'] .= ' &gt; <a href="' . RW('mod=' . $_HP['id']) . '">' . $_HP['name'] . '</a>';
         if (!$_HS['titlefix']) {
             $g['browtitle'] = $_HS['title'] . ' - ' . $_HP['name'];
         }
     }
     if ($_HP['pagetype'] == 1) {
         $_HM['layout'] = $_HP['layout'];
         $_tmpexp = explode('?', $_HP['joint']);
         if ($_tmpexp[1]) {
             $_tmparr = explode('&', $_tmpexp[1]);
             foreach ($_tmparr as $_tmpval) {
                 if (!$_tmpval) {
                     continue;
                 }
                 $_tmparr = explode('=', $_tmpval);
                 ${$_tmparr[0]} = $_tmparr[1];
Example #30
0
            ?>
]</span><?php 
        }
        ?>

		<span class="info">
			<?php 
        echo getDateFormat($R['d_regis'], 'Y.m.d H:i');
        ?>
 | 
			<?php 
        echo $R[$_HS['nametype']];
        ?>
 |
			<a href="<?php 
        echo RW('m=bbs&bid=' . $R['bbsid']);
        ?>
" target="_blank"><?php 
        echo $B['name'];
        ?>
</a>
		</span>
	</div>
	<div class="shotcont"><?php 
        echo getStrCut(str_replace('&nbsp;', ' ', strip_tags($R['content'])), 150, '...');
        ?>
</div>

<?php 
    }
    ?>