This commit is contained in:
shim
2023-04-17 11:06:08 +09:00
parent d0b393aa97
commit 76264e09ad
4686 changed files with 552713 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
body {padding:20px;}
#pages_top {}
#pages_top .title {padding:0 0 7px 0;margin:0 0 40px 0;border-bottom:#dfdfdf solid 1px;}
#pages_top .title .xl {float:left;}
#pages_top .title .xl h2 {font-family:"malgun gothic",dotum;font-size:20px;padding:0;margin:0;}
#pages_top .title .xr {float:right;}
#pages_top .title .xr ul {padding:0;margin:0;}

View File

@@ -0,0 +1,32 @@
<?php
$g['url_reset'] = $g['s'].'/?r='.$r.'&iframe=Y&amp;m='.$m.'&amp;front='.$front.'&amp;mbruid='.$M['memberuid'];
$g['url_page'] = $g['url_reset'].'&amp;page='.$page;
?>
<div id="pages_top">
<div class="title">
<div class="xl"><h2><a href="<?php echo $g['url_reset']?>"><?php echo $M[$_HS['nametype']]?>님</a></h2></div>
<div class="xr">
<ul>
<li class="leftside"></li>
<?php if($d['member']['mytab_post']):?><li<?php if($page=='post'):?> class="selected"<?php endif?>><a href="<?php echo $g['url_reset']?>&amp;page=post">게시물</a></li><?php endif?>
<?php if($d['member']['mytab_comment']):?><li<?php if($page=='comment'):?> class="selected"<?php endif?>><a href="<?php echo $g['url_reset']?>&amp;page=comment">댓글</a></li><?php endif?>

View File

@@ -0,0 +1,30 @@
/* list */
#bbslist {margin:auto;padding:0 0 30px 0;}
#bbslist .info {height:28px;}
#bbslist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#bbslist .info .article a {position:relative;top:3px;left:3px;}
#bbslist .info .category {float:right;}
#bbslist .info .category select .sline {color:#c0c0c0;}
#bbslist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#bbslist table caption {display:none;}
#bbslist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#bbslist thead .side1 {border-left:#D2D2D2 solid 1px;}
#bbslist thead .side2 {border-right:#D2D2D2 solid 1px;}
#bbslist tbody .noticetr td {background:url('');background:#FAFAFA;border-bottom:#EBEBEB solid 1px;}
#bbslist tbody .noticetr td a {font-weight:bold;}
#bbslist tbody td {text-align:center;color:#888888;font-family:arial;font-size:10px;border-bottom:#E6E6E6 solid 1px;letter-spacing:-1px;}

View File

@@ -0,0 +1,177 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'asc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$bbsque = 'mbruid='.$M['memberuid'];
if ($account) $bbsque .= ' and site='.$account;
if ($where && $keyword)
{
if (strstr('[name][nic][id][ip]',$where)) $bbsque .= " and ".$where."='".$keyword."'";
else if ($where == 'term') $bbsque .= " and d_regis like '".$keyword."%'";
else $bbsque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_comment'],$bbsque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_comment'],$bbsque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="bbslist">
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>개(<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<select name="account" class="account" onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_reset'])?>&page=<?php echo $page?>&account='+this.value);">
<option value="">&nbsp;+ 전체사이트</option>
<option value="">----------------</option>
<?php $SITES = getDbArray($table['s_site'],'','*','gid','asc',0,1)?>
<?php while($S = db_fetch_array($SITES)):?>
<option value="<?php echo $S['uid']?>"<?php if($account==$S['uid']):?> selected="selected"<?php endif?>>ㆍ<?php echo $S['name']?></option>
<?php endwhile?>
<?php if(!db_num_rows($SITES)):?>
<option value="">등록된 사이트가 없습니다.</option>
<?php endif?>
</select>
</div>
<div class="clear"></div>
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="comment" />
<input type="hidden" name="a" value="" />
<table summary="댓글리스트 입니다.">
<caption>댓글리스트</caption>
<colgroup>
<col width="30">
<col width="50">
<col>
<col width="70">
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('comment_members[]');" /></th>
<th scope="col">번호</th>
<th scope="col">제목</th>
<th scope="col">조회</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>
<?php while($R=db_fetch_array($RCD)):?>
<?php $R['mobile']=isMobileConnect($R['agent'])?>
<tr>
<td><input type="checkbox" name="comment_members[]" value="<?php echo $R['uid']?>" /></td>
<td><?php echo $NUM-((($p-1)*$recnum)+$_rec++)?></td>
<td class="sbj">
<?php if($R['mobile']):?><img src="<?php echo $g['img_core']?>/_public/ico_mobile.gif" class="imgpos" alt="모바일" title="모바일(<?php echo $R['mobile']?>)로 등록된 글입니다" /><?php endif?>
<a href="<?php echo getCyncUrl($R['cync'].',CMT:'.$R['uid'].',s:'.$R['site'])?>#CMT" target="_blank"><?php echo $R['subject']?></a>
<?php if(strstr($R['content'],'.jpg')):?><img src="<?php echo $g['img_core']?>/_public/ico_pic.gif" class="imgpos" alt="사진" title="사진" /><?php endif?>
<?php if($R['upload']):?><img src="<?php echo $g['img_core']?>/_public/ico_file.gif" class="imgpos" alt="첨부파일" title="첨부파일" /><?php endif?>
<?php if($R['hidden']):?><img src="<?php echo $g['img_core']?>/_public/ico_hidden.gif" class="imgpos" alt="비밀글" title="비밀글" /><?php endif?>
<?php if($R['oneline']):?><span class="comment">[<?php echo $R['oneline']?>]</span><?php endif?>
<?php if($R['trackback']):?><span class="trackback">[<?php echo $R['trackback']?>]</span><?php endif?>
<?php if(getNew($R['d_regis'],24)):?><span class="new">new</span><?php endif?>
</td>
<td class="hit b"><?php echo $R['hit']?></td>
<td><?php echo getDateFormat($R['d_regis'],'Y.m.d H:i')?></td>
</tr>

View File

@@ -0,0 +1,21 @@
#friendlist {padding:0 0 30px 0;}
#friendlist .info {height:28px;}
#friendlist .info .article {float:left;padding:7px 0 0 0;}
#friendlist .info .article a {font-family:gothic,gulim;font-size:12px;}
#friendlist .info .article span {font-size:11px;font-family:dotum;color:#c0c0c0;padding:0 5px 0 5px;}
#friendlist .info .article .num {color:#666;padding:0 0 0 3px;}
#friendlist .info .category {float:right;}
#friendlist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#friendlist table caption {display:none;}
#friendlist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#friendlist thead .side1 {border-left:#D2D2D2 solid 1px;}

View File

@@ -0,0 +1,139 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$type = $type ? $type : 'follower';
if ($type == 'follower')
{
$sqlque = 'by_mbruid='.$M['memberuid'];
if ($category) $sqlque .= " and category='".$category."'";
}
elseif($type == 'following')
{
$sqlque = 'my_mbruid='.$M['memberuid'];
}
else {
$sqlque = 'my_mbruid='.$M['memberuid'].' and rel=1';
}
if ($where && $keyword)
{
$sqlque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_friend'],$sqlque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_friend'],$sqlque);
$TPG = getTotalPage($NUM,$recnum);
$_NUM = array();
$_NUM['follower'] = getDbRows($table['s_friend'],'by_mbruid='.$M['memberuid']);
$_NUM['following'] = getDbRows($table['s_friend'],'my_mbruid='.$M['memberuid']);
$_NUM['friend'] = getDbRows($table['s_friend'],'my_mbruid='.$M['memberuid'].' and rel=1');
?>
<div id="friendlist">
<div class="info">
<div class="article">
<a href="<?php echo $g['url_page']?>&amp;type=friend"<?php if($type=='friend'):?> class="b"<?php endif?>>맞팔</a><span class="num">(<?php echo $_NUM['friend']?>)</span></span> <span>|</span>
<a href="<?php echo $g['url_page']?>&amp;type=follower"<?php if($type=='follower'):?> class="b"<?php endif?>>팔로워</a><span class="num">(<?php echo $_NUM['follower']?>)</span> <span>|</span>
<a href="<?php echo $g['url_page']?>&amp;type=following"<?php if($type=='following'):?> class="b"<?php endif?>>팔로잉</a><span class="num">(<?php echo $_NUM['following']?>)
</div>
<div class="category">
<?php if($type != 'follower'):?>
<select onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_page'])?>&type=<?php echo $type?>&category='+this.value);">
<option value="">&nbsp;+ 전체</option>
<option value="">-------------</option>
<?php $_CATS = getDbSelect($table['s_friend'],"my_mbruid=".$M['memberuid']." and category<>'' group by category",'category')?>
<?php while($_R=db_fetch_array($_CATS)):?>
<option value="<?php echo $_R['category']?>"<?php if($_R['category']==$category):?> selected="selected"<?php endif?>>ㆍ<?php echo $_R['category']?></option>
<?php endwhile?>
</select>
<?php endif?>
</div>
<div class="clear"></div>
</div>
<table summary="친구 리스트입니다.">
<caption>친구</caption>
<colgroup>
<col width="50">
<col>
<col width="60">

View File

@@ -0,0 +1,21 @@
#pages_join {overflow:auto;width:765px;height:550px;}
#pages_join .tt_comp {font-weight:bold;font-family:"malgun gothic",dotum;font-size:15px;padding:30px 0 20px 0;margin:0;}
#pages_join .tt_comp .tt_check {font-weight:normal;font-family:dotum;font-size:12px;color:#999999;}
#pages_join .msg {padding:0 0 25px 20px;color:#1C5B8C;font-family:dotum;line-height:150%;}
#pages_join .msg span {font-size:11px;color:#ff0000;}
#pages_join table {width:100%;border-spacing:0px;border-collapse:collapse;letter-spacing:-1px;border-top:#E6E6E6 solid 1px;color:#888;}
#pages_join table caption {display:none;}
#pages_join table thead {display:none;}
#pages_join tbody td {padding:12px 0 12px 0;border-bottom:#E6E6E6 solid 1px;color:#888;}

View File

@@ -0,0 +1,700 @@
<?php include_once $g['dir_module_skin'].'_menu.php'?>
<div id="pages_join">
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>" onsubmit="return saveCheck(this);">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="front" value="<?php echo $front?>" />
<input type="hidden" name="a" value="info_update" />
<input type="hidden" name="check_nic" value="<?php echo $M['nic']?1:0?>" />
<input type="hidden" name="check_email" value="<?php echo $M['email']?1:0?>" />
<input type="hidden" name="memberuid" value="<?php echo $M['memberuid']?>" />
<div class="msg">
<span class="b">(*)</span> 표시가 있는 항목은 반드시 입력해야 합니다.<br />
관리자권한을 이용해서 이름,닉네임,이메일등을 중복확인없이 변경할 수 있습니다.<br />
</div>
<table summary="회원가입 기본정보를 입력받는 표입니다.">
<caption>회원가입 기본정보</caption>
<colgroup>
<col width="100">
<col>
</colgroup>
<thead>
<tr>
<th scope="col"></th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td class="key">이름(실명)<span>*</span></td>
<td>
<input type="text" name="name" value="<?php echo $M['name']?>" maxlength="10" class="input" />
</td>
</tr>
<?php if($d['member']['form_nic']):?>
<tr>
<td class="key">닉네임<?php if($d['member']['form_nic_p']):?><span>*</span><?php endif?></td>
<td>
<input type="text" name="nic" value="<?php echo $M['nic']?>" maxlength="20" class="input" onblur="sameCheck(this,'hLayernic');" />
<span class="hmsg" id="hLayernic"></span>
<div>닉네임은 자신을 표현할 수 있는 단어로 20자까지 자유롭게 사용할 수 있습니다.</div>
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_birth']):?>
<tr>
<td class="key">생년월일<?php if($d['member']['form_birth_p']):?><span>*</span><?php endif?></td>
<td>
<select name="birth_1">
<option value="">년도</option>
<?php for($i = substr($date['today'],0,4); $i > 1930; $i--):?>
<option value="<?php echo $i?>"<?php if($M['birth1']==$i):?> selected="selected"<?php endif?>><?php echo $i?></option>
<?php endfor?>
</select>
<select name="birth_2">
<option value="">월</option>
<?php $birth_2=substr($M['birth2'],0,2)?>
<?php for($i = 1; $i < 13; $i++):?>
<option value="<?php echo sprintf('%02d',$i)?>"<?php if($birth_2==$i):?> selected="selected"<?php endif?>><?php echo $i?></option>
<?php endfor?>
</select>
<select name="birth_3">
<option value="">일</option>
<?php $birth_3=substr($M['birth2'],2,2)?>
<?php for($i = 1; $i < 32; $i++):?>
<option value="<?php echo sprintf('%02d',$i)?>"<?php if($birth_3==$i):?> selected="selected"<?php endif?>><?php echo $i?></option>
<?php endfor?>
</select>
<input type="checkbox" name="birthtype" value="1"<?php if($M['birthtype']):?> checked="checked"<?php endif?> />음력<br />
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_sex']):?>
<tr>
<td class="key">성별<?php if($d['member']['form_sex_p']):?><span>*</span><?php endif?></td>
<td class="shift">
<input type="radio" name="sex" value="1"<?php if($M['sex']==1):?> checked="checked"<?php endif?> />남성
<input type="radio" name="sex" value="2"<?php if($M['sex']==2):?> checked="checked"<?php endif?> />여성
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_qa']):?>
<tr>
<td class="key">비번찾기 질문<?php if($d['member']['form_qa_p']):?><span>*</span><?php endif?></td>
<td>
<input type="text" name="pw_q" value="<?php echo $M['pw_q']?>" class="input pw_q2" />
</td>
</tr>
<tr>
<td class="key">비번찾기 답변<?php if($d['member']['form_qa_p']):?><span>*</span><?php endif?></td>
<td>
<input type="text" name="pw_a" value="<?php echo $M['pw_a']?>" class="input" />
<div>
비밀번호찾기 질문에 대한 답변을 혼자만 알 수 있는 단어나 기호로 입력해 주세요.<br />
비밀번호를 찾을 때 필요하므로 반드시 기억해 주세요.
</div>
</td>
</tr>
<?php endif?>
<tr>
<td class="key">이메일<span>*</span></td>
<td>
<input type="text" name="email" value="<?php echo $M['email']?>" size="35" class="input" onblur="sameCheck(this,'hLayeremail');" />
<span class="hmsg" id="hLayeremail"></span>
<div>주로 사용하는 이메일 주소를 입력해 주세요. 비밀번호 잊어버렸을 때 확인 받을 수 있습니다.</div>
<div class="remail"><input type="checkbox" name="remail" value="1"<?php if($M['mailing']):?> checked="checked"<?php endif?> />뉴스레터나 공지이메일을 수신받겠습니다.</div>
</td>
</tr>
<?php if($d['member']['form_home']):?>
<tr>
<td class="key">홈페이지<?php if($d['member']['form_home_p']):?><span>*</span><?php endif?></td>
<td>
<input type="text" name="home" value="<?php echo $M['home']?>" size="35" class="input" />
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_tel2']):?>
<tr>
<td class="key">휴대전화<?php if($d['member']['form_tel2_p']):?><span>*</span><?php endif?></td>
<td><?php $tel2=explode('-',$M['tel2'])?>
<input type="text" name="tel2_1" value="<?php echo $tel2[0]?>" maxlength="3" size="4" class="input" />-
<input type="text" name="tel2_2" value="<?php echo $tel2[1]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="tel2_3" value="<?php echo $tel2[2]?>" maxlength="4" size="4" class="input" />
<div class="remail"><input type="checkbox" name="sms" value="1"<?php if($M['sms']):?> checked="checked"<?php endif?> />알림문자를 받겠습니다.</div>
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_tel1']):?>
<tr>
<td class="key">전화번호<?php if($d['member']['form_tel1_p']):?><span>*</span><?php endif?></td>
<td><?php $tel1=explode('-',$M['tel1'])?>
<input type="text" name="tel1_1" value="<?php echo $tel1[0]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="tel1_2" value="<?php echo $tel1[1]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="tel1_3" value="<?php echo $tel1[2]?>" maxlength="4" size="4" class="input" />
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_addr']):?>
<tr>
<td class="key">주소<?php if($d['member']['form_addr_p']):?><span>*</span><?php endif?></td>
<td>
<div id="addrbox"<?php if($M['addr0']=='해외'):?> class="hide"<?php endif?>>
<div>
<input type="text" name="zip_1" id="zip1" value="<?php echo substr($M['zip'],0,3)?>" maxlength="3" size="3" readonly="readonly" class="input" />-
<input type="text" name="zip_2" id="zip2" value="<?php echo substr($M['zip'],3,3)?>" maxlength="3" size="3" readonly="readonly" class="input" />
<input type="button" value="우편번호" class="btngray btn" onclick="OpenWindow('<?php echo $g['s']?>/?r=<?php echo $r?>&m=zipsearch&zip1=zip1&zip2=zip2&addr1=addr1&focusfield=addr2');" />
</div>
<div><input type="text" name="addr1" id="addr1" value="<?php echo $M['addr1']?>" size="55" readonly="readonly" class="input" /></div>
<div><input type="text" name="addr2" id="addr2" value="<?php echo $M['addr2']?>" size="55" class="input" /></div>
</div>
<?php if($d['member']['form_foreign']):?>
<div class="remail shift">
<?php if($M['addr0']=='해외'):?>
<input type="checkbox" name="foreign" value="1" checked="checked" onclick="foreignChk(this);" /><span id="foreign_ment">해외거주자 입니다.</span>
<?php else:?>
<input type="checkbox" name="foreign" value="1" onclick="foreignChk(this);" /><span id="foreign_ment">해외거주자일 경우 체크해 주세요.</span>
<?php endif?>
</div>
<?php endif?>
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_job']):?>
<tr>
<td class="key">직업<?php if($d['member']['form_job_p']):?><span>*</span><?php endif?></td>
<td>
<select name="job">
<option value="">&nbsp;+ 선택하세요</option>
<option value="">------------------</option>
<?php $_job=file($g['dir_module'].'var/job.txt')?>
<?php foreach($_job as $_val):?>
<option value="<?php echo trim($_val)?>"<?php if(trim($_val)==$M['job']):?> selected="selected"<?php endif?>>ㆍ<?php echo trim($_val)?></option>
<?php endforeach?>
</select>
</td>
</tr>
<?php endif?>
<?php if($d['member']['form_marr']):?>
<tr>
<td class="key">결혼기념일<?php if($d['member']['form_marr_p']):?><span>*</span><?php endif?></td>
<td>
<select name="marr_1">
<option value="">년도</option>
<?php for($i = substr($date['today'],0,4); $i > 1930; $i--):?>
<option value="<?php echo $i?>"<?php if($i==$M['marr1']):?> selected="selected"<?php endif?>><?php echo $i?></option>
<?php endfor?>
</select>
<select name="marr_2">
<option value="">월</option>
<?php for($i = 1; $i < 13; $i++):?>
<option value="<?php echo sprintf('%02d',$i)?>"<?php if($i==substr($M['marr2'],0,2)):?> selected="selected"<?php endif?>><?php echo $i?></option>
<?php endfor?>
</select>
<select name="marr_3">
<option value="">일</option>
<?php for($i = 1; $i < 32; $i++):?>
<option value="<?php echo sprintf('%02d',$i)?>"<?php if($i==substr($M['marr2'],2,2)):?> selected="selected"<?php endif?>><?php echo $i?></option>
<?php endfor?>
</select>
</td>
</tr>
<?php endif?>
<?php $_add = file($g['dir_module'].'var/add_field.txt')?>
<?php foreach($_add as $_key):?>
<?php $_val = explode('|',trim($_key))?>
<?php if($_val[6]) continue?>
<?php $_myadd1 = explode($_val[0].'^^^',$M['addfield'])?>
<?php $_myadd2 = explode('|||',$_myadd1[1])?>
<tr>
<td class="key"><?php echo $_val[1]?><?php if($_val[5]):?><span>*</span><?php endif?></td>
<td>
<?php if($_val[2]=='text'):?>
<input type="text" name="add_<?php echo $_val[0]?>" class="input" style="width:<?php echo $_val[4]?>px;" value="<?php echo $_myadd2[0]?>" />
<?php endif?>
<?php if($_val[2]=='password'):?>
<input type="password" name="add_<?php echo $_val[0]?>" class="input" style="width:<?php echo $_val[4]?>px;" value="<?php echo $_myadd2[0]?>" />
<?php endif?>
<?php if($_val[2]=='select'): $_skey=explode(',',$_val[3])?>
<select name="add_<?php echo $_val[0]?>" style="width:<?php echo $_val[4]?>px;">
<option value="">&nbsp;+ 선택하세요</option>
<?php foreach($_skey as $_sval):?>
<option value="<?php echo trim($_sval)?>"<?php if(trim($_sval)==$_myadd2[0]):?> selected="selected"<?php endif?>>ㆍ<?php echo trim($_sval)?></option>
<?php endforeach?>
</select>
<?php endif?>
<?php if($_val[2]=='radio'): $_skey=explode(',',$_val[3])?>
<div class="shift">
<?php foreach($_skey as $_sval):?>
<input type="radio" name="add_<?php echo $_val[0]?>" value="<?php echo trim($_sval)?>"<?php if(trim($_sval)==$_myadd2[0]):?> checked="checked"<?php endif?> /><?php echo trim($_sval)?>
<?php endforeach?>
</div>
<?php endif?>
<?php if($_val[2]=='checkbox'): $_skey=explode(',',$_val[3])?>
<div class="shift">
<?php foreach($_skey as $_sval):?>
<input type="checkbox" name="add_<?php echo $_val[0]?>[]" value="<?php echo trim($_sval)?>"<?php if(strstr($_myadd2[0],'['.trim($_sval).']')):?> checked="checked"<?php endif?> /><?php echo trim($_sval)?>
<?php endforeach?>
</div>
<?php endif?>
<?php if($_val[2]=='textarea'):?>
<textarea name="add_<?php echo $_val[0]?>" rows="5" style="width:<?php echo $_val[4]?>px;"><?php echo $_myadd2[0]?></textarea>
<?php endif?>
</tr>
<?php endforeach?>
</tbody>
</table>
<?php if($d['member']['form_comp']):?>
<?php if($M['comp']) $myc = getDbData($table['s_mbrcomp'],'memberuid='.$M['memberuid'],'*')?>
<?php $tel = explode('-',$myc['comp_tel'])?>
<?php $fax = explode('-',$myc['comp_fax'])?>
<div class="tt_comp">
기업정보
<?php if(!$M['comp']):?>
<span class="tt_check">(<input type="checkbox" name="comp" value="1" />기업정보를 등록합니다)</span>
<?php else:?>
<input type="checkbox" name="comp" value="1" checked="checked" class="hide" />
<?php endif?>
</div>
<table summary="회원가입 기업정보를 입력받는 표입니다.">
<caption>회원가입 기업정보</caption>
<colgroup>
<col width="100">
<col>
</colgroup>
<thead>
<tr>
<th scope="col"></th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td class="key">사업자등록번호<span>*</span></td>
<td colspan="3">
<input type="text" name="comp_num_1" size="4" maxlength="3" class="input" value="<?php echo substr($myc['comp_num'],0,3)?>" /> -
<input type="text" name="comp_num_2" size="3" maxlength="2" class="input" value="<?php echo substr($myc['comp_num'],3,2)?>" /> -
<input type="text" name="comp_num_3" size="5" maxlength="5" class="input" value="<?php echo substr($myc['comp_num'],5,5)?>" />
<input type="radio" name="comp_type" value="1"<?php if($myc['comp_type']==1||!$myc['comp_type']):?> checked="checked"<?php endif?> />개인
<input type="radio" name="comp_type" value="2"<?php if($myc['comp_type']==2):?> checked="checked"<?php endif?> />법인
</td>
</tr>
<tr>
<td class="key">회사명<span>*</span></td>
<td>
<input type="text" name="comp_name" class="input" value="<?php echo $myc['comp_name']?>" />
</td>
<td class="key">대표자명<span>*</span></td>
<td>
<input type="text" name="comp_ceo" class="input" value="<?php echo $myc['comp_ceo']?>" />
</td>
</tr>
<tr>
<td class="key">업태<span>*</span></td>
<td>
<input type="text" name="comp_upte" class="input" value="<?php echo $myc['comp_upte']?>" />
</td>
<td class="key">종목<span>*</span></td>
<td>
<input type="text" name="comp_jongmok" class="input" value="<?php echo $myc['comp_jongmok']?>" />
</td>
</tr>
<tr>
<td class="key">대표전화<span>*</span></td>
<td>
<input type="text" name="comp_tel_1" value="<?php echo $tel[0]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="comp_tel_2" value="<?php echo $tel[1]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="comp_tel_3" value="<?php echo $tel[2]?>" maxlength="4" size="4" class="input" />
</td>
<td class="key">팩스</td>
<td>
<input type="text" name="comp_fax_1" value="<?php echo $fax[0]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="comp_fax_2" value="<?php echo $fax[1]?>" maxlength="4" size="4" class="input" />-
<input type="text" name="comp_fax_3" value="<?php echo $fax[2]?>" maxlength="4" size="4" class="input" />
</td>
</tr>
<tr>
<td class="key">소속부서</td>
<td>
<input type="text" name="comp_part" class="input" value="<?php echo $myc['comp_part']?>" />
</td>
<td class="key">직책</td>
<td>
<input type="text" name="comp_level" class="input" value="<?php echo $myc['comp_level']?>" />
</td>
</tr>
<tr>
<td class="key">사업장주소<span>*</span></td>

View File

@@ -0,0 +1,22 @@
#pages_join {overflow:auto;width:765px;height:550px;}
#pages_join .tt_comp {font-weight:bold;font-family:"malgun gothic",dotum;font-size:15px;padding:30px 0 20px 0;margin:0;}
#pages_join .tt_comp .tt_check {font-weight:normal;font-family:dotum;font-size:12px;color:#999999;}
#pages_join .msg {padding:0 0 25px 20px;color:#1C5B8C;font-family:dotum;line-height:150%;}
#pages_join .msg span {font-size:11px;color:#ff0000;}
#pages_join table {width:100%;border-spacing:0px;border-collapse:collapse;letter-spacing:-1px;border-top:#E6E6E6 solid 1px;color:#888;}
#pages_join table caption {display:none;}
#pages_join table thead {display:none;}
#pages_join tbody td {padding:12px 0 12px 0;border-bottom:#E6E6E6 solid 1px;color:#888;}

View File

@@ -0,0 +1,147 @@
<?php
include_once $g['path_module'].$module.'/_main.php';
//소속넘버로 분과이름 추출
$s2b=array(
'12'=>'제도법제분과',
'13'=>'사회공헌분과',
'14'=>'기부문화분과',
'16'=>'변호사분과', //여기서부터는 기부컨설팅위원회
'17'=>'세무 · 회계사 분과',
'18'=>'법무사 분과',
'19'=>'부동산 분과',
'20'=>'금융 분과'
);
// 소속넘버로 위원회 이름 추출
$s2mb=array(
'11'=>'배분위원회',
'12'=>'기부문화연구소-제도법제분과',
'13'=>'기부문화연구소-사회공헌분과',
'14'=>'기부문화연구소-기부문화분과',
'15'=>'기부문화연구소-이사',
'16'=>'기부컨설팅위원회-변호사분과',
'17'=>'기부컨설팅위원회-세무 · 회계사 분과',
'18'=>'기부컨설팅위원회-법무사 분과',
'19'=>'기부컨설팅위원회-부동산 분과',
'20'=>'기부컨설팅위원회-금융분과',
'21'=>'기금운용위원회',
'22'=>'이사회'
);
$s2m=array(
'11'=>'배분위원회',
'12'=>'기부문화연구소',
'13'=>'기부문화연구소',
'14'=>'기부문화연구소',
'15'=>'기부문화연구소',
'16'=>'기부컨설팅위원회',
'17'=>'기부컨설팅위원회',
'18'=>'기부컨설팅위원회',
'19'=>'기부컨설팅위원회',
'20'=>'기부컨설팅위원회',
'21'=>'기금운용위원회',
'22'=>'이사회'
);
?>
<style>
.ajax_msg {position:absolute;left:220px;bottom:70px;line-height:180%;color:red;}
</style>
<!-- 아작스 이미지 업로드용 JQ -->
<script type="text/javascript" src="<?php echo $g['path_module']?>member/var/jquery.form.js"></script>
<!-- 아작스 이미지 업로드용 JQ -->
<div id="pages_join">
<div style="height:200px;vertical-align:bottom;position:relative;">
<?php ajax_imgupload2('admin','member',$mbruid)?>
<p style="position:absolute;left:220px;top:80px;line-height:180%;">* JPG 만 가능. 사이즈는 177px X 140px.
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>" onsubmit="return saveCheck(this);">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="front" value="<?php echo $front?>" />
<input type="hidden" name="a" value="info_update2" />
<input type="hidden" name="memberuid" value="<?php echo $M['memberuid']?>" />
<table summary="회원가입 기본정보를 입력받는 표입니다.">
<caption>회원가입 기본정보</caption>
<colgroup>
<col width="100">
<col>
</colgroup>
<thead>
<tr>
<th scope="col"></th>

View File

@@ -0,0 +1,21 @@
#loglist {padding:0 0 30px 0;}
#loglist .info {height:28px;}
#loglist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#loglist .info .category {float:right;}
#loglist .info .category .btngray {height:18px;font-size:11px;font-family:dotum;}
#loglist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#loglist table caption {display:none;}
#loglist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#loglist thead .side1 {border-left:#D2D2D2 solid 1px;}
#loglist thead .side2 {border-right:#D2D2D2 solid 1px;}
#loglist tbody td {text-align:center;color:#888888;font-family:arial;font-size:10px;border-bottom:#E6E6E6 solid 1px;letter-spacing:-1px;}

View File

@@ -0,0 +1,196 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$year1 = $year1 ? $year1 : substr($date['today'],0,4);
$month1 = $month1 ? $month1 : substr($date['today'],4,2);
$day1 = $day1 ? $day1 : 1;//substr($date['today'],6,2);
$year2 = $year2 ? $year2 : substr($date['today'],0,4);
$month2 = $month2 ? $month2 : substr($date['today'],4,2);
$day2 = $day2 ? $day2 : substr($date['today'],6,2);
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$sqlque = 'mbruid='.$M['memberuid'];
if ($account) $bbsque .= ' and site='.$account;
$sqlque = $sqlque.' and d_regis > '.$year1.sprintf('%02d',$month1).sprintf('%02d',$day1).'000000 and d_regis < '.$year2.sprintf('%02d',$month2).sprintf('%02d',$day2).'240000';
if ($where && $keyword)
{
$sqlque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_referer'],$sqlque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_referer'],$sqlque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="loglist">
<form name="bbssearchf" action="<?php echo $g['s']?>/">
<input type="hidden" name="r" value="<?php echo $r?>" />
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>건(<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<select name="year1">
<?php for($i=$date['year'];$i>2009;$i--):?><option value="<?php echo $i?>"<?php if($year1==$i):?> selected="selected"<?php endif?>><?php echo $i?>년</option><?php endfor?>
</select>
<select name="month1">
<?php for($i=1;$i<13;$i++):?><option value="<?php echo sprintf('%02d',$i)?>"<?php if($month1==$i):?> selected="selected"<?php endif?>><?php echo sprintf('%02d',$i)?>월</option><?php endfor?>
</select>
<select name="day1">
<?php for($i=1;$i<32;$i++):?><option value="<?php echo sprintf('%02d',$i)?>"<?php if($day1==$i):?> selected="selected"<?php endif?>><?php echo sprintf('%02d',$i)?>일(<?php echo getWeekday(date('w',mktime(0,0,0,$month1,$i,$year1)))?>)</option><?php endfor?>
</select> ~
<select name="year2">
<?php for($i=$date['year'];$i>2009;$i--):?><option value="<?php echo $i?>"<?php if($year2==$i):?> selected="selected"<?php endif?>><?php echo $i?>년</option><?php endfor?>
</select>
<select name="month2">
<?php for($i=1;$i<13;$i++):?><option value="<?php echo sprintf('%02d',$i)?>"<?php if($month2==$i):?> selected="selected"<?php endif?>><?php echo sprintf('%02d',$i)?>월</option><?php endfor?>
</select>
<select name="day2">
<?php for($i=1;$i<32;$i++):?><option value="<?php echo sprintf('%02d',$i)?>"<?php if($day2==$i):?> selected="selected"<?php endif?>><?php echo sprintf('%02d',$i)?>일(<?php echo getWeekday(date('w',mktime(0,0,0,$month2,$i,$year2)))?>)</option><?php endfor?>
</select>
<input type="button" class="btngray" value="기간적용" onclick="this.form.submit();" />
<select name="account" class="account" onchange="this.form.submit();">
<option value="">&nbsp;+ 전체사이트</option>
<option value="">-------------</option>
<?php $SITES = getDbArray($table['s_site'],'','*','gid','asc',0,1)?>
<?php while($S = db_fetch_array($SITES)):?>
<option value="<?php echo $S['uid']?>"<?php if($account==$S['uid']):?> selected="selected"<?php endif?>>ㆍ<?php echo $S['name']?></option>
<?php endwhile?>
<?php if(!db_num_rows($SITES)):?>
<option value="">등록된 사이트가 없습니다.</option>
<?php endif?>
</select>
</div>
<div class="clear"></div>
</div>
<table summary="접속기록 리스트입니다.">
<caption>접속기록</caption>
<colgroup>
<col width="70">
<col width="150">
<col>
<col width="120">
<col width="110">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1">번호</th>
<th scope="col">아이피</th>
<th scope="col">접속경로</th>
<th scope="col">브라우져</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>

View File

@@ -0,0 +1,24 @@
#mypage_main {padding:20px 0 0 0;}
#mypage_main .photo {position:absolute;top:110px;left:690px;width:50px;height:50px;margin:3px 0 20px 20px;background:url('../../../../../../_var/simbol/0.gif') center center no-repeat;}
#mypage_main table {width:650px;border-spacing:0px;border-collapse:collapse;letter-spacing:-1px;border-top:#E6E6E6 dotted 1px;color:#888;margin:0 0 20px 0;}
#mypage_main table caption {display:none;}
#mypage_main table thead {display:none;}
#mypage_main tbody td {padding:10px 0 10px 0;border-bottom:#E6E6E6 dotted 1px;color:#888;}
#mypage_main .key {padding-left:20px;color:#111;}
#mypage_main .post {width:760px;height:300px;overflow:auto;}

View File

@@ -0,0 +1,151 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$levelnum = getDbData($table['s_mbrlevel'],'gid=1','*');
$levelname= getDbData($table['s_mbrlevel'],'uid='.$M['level'],'*');
$sosokname= getDbData($table['s_mbrgroup'],'uid='.$M['sosok'],'*');
$joinsite = getDbData($table['s_site'],'uid='.$M['site'],'*');
$M1 = getUidData($table['s_mbrid'],$M['memberuid']);
$lastlogdate = -getRemainDate($M['last_log']);
?>
<div id="mypage_main">
<div class="photo"><?php if($M['photo']):?><img src="<?php echo $g['url_root']?>/_var/simbol/<?php echo $M['photo']?>" alt="<?php echo $M['photo']?>" /><?php endif?></div>
<table summary="<?php echo $M[$_HS['nametype']]?>님의 회원 요약정보입니다.">
<caption>회원요약정보</caption>
<colgroup>
<col width="120">
<col>
<col width="120">
<col>
</colgroup>
<thead>
<tr>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td class="key">이름</td>
<td><?php echo $M['name']?></td>
<td class="key">닉네임</td>
<td><?php echo $M['nic']?></td>
</tr>
<tr>
<td class="key">아이디</td>
<td><?php echo $M1['id']?></td>
<td class="key">가입일</td>
<td><?php echo getDateFormat($M['d_regis'],'Y/m/d H:i')?></td>
</tr>
<tr>
<td class="key">최근접속</td>
<td><?php echo getDateFormat($M['last_log'],'Y/m/d H:i')?> (<?php echo $lastlogdate?$lastlogdate.'일전':'오늘'?>)</td>
<td class="key">연락처</td>
<td><?php echo $M['tel2']?$M['tel2']:$M['tel1']?></td>
</tr>
<tr>
<td class="key">이메일</td>
<td><?php echo $M['email']?></td>
<td class="key">지역</td>
<td><?php echo $M['addr0']=='해외'?$M['addr0']:$M['addr1']?></td>
</tr>
<tr>
<td class="key">나이/성별</td>
<td><?php if($M['birth1']):?><?php echo getAge($M['birth1'])?>세<?php endif?><?php if($M['birth1']&&$M['sex']):?> / <?php endif?><?php if($M['sex']):?><?php echo getSex($M['sex'])?>성<?php endif?></td>
<td class="key">생년월일</td>
<td><?php if($M['birth1']):?><?php echo $M['birth1']?>/<?php echo substr($M['birth2'],0,2)?>/<?php echo substr($M['birth2'],2,2)?><?php endif?></td>
</tr>
<tr>
<td class="key">회원그룹</td>
<td><?php echo $sosokname['name']?></td>
<td class="key">회원등급</td>
<td><?php echo $levelname['name']?> (<?php echo $M['level']?> / <?php echo $levelnum['uid']?>)</td>
</tr>
<tr>
<td class="key">가입사이트</td>
<td><?php echo $joinsite['name']?></td>
<td class="key">포인트</td>
<td>
<?php echo number_format($M['point'])?> (사용 : <?php echo number_format($M['usepoint'])?>)
(적립 : <?php echo number_format($M['cash'])?>)
(예치 : <?php echo number_format($M['money'])?>)
</td>

View File

@@ -0,0 +1,151 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$levelnum = getDbData($table['s_mbrlevel'],'gid=1','*');
$levelname= getDbData($table['s_mbrlevel'],'uid='.$M['level'],'*');
$sosokname= getDbData($table['s_mbrgroup'],'uid='.$M['sosok'],'*');
$joinsite = getDbData($table['s_site'],'uid='.$M['site'],'*');
$M1 = getUidData($table['s_mbrid'],$M['memberuid']);
$lastlogdate = -getRemainDate($M['last_log']);
?>
<div id="mypage_main">
<div class="photo"><?php if($M['photo']):?><img src="<?php echo $g['url_root']?>/_var/simbol/<?php echo $M['photo']?>" alt="<?php echo $M['photo']?>" /><?php endif?></div>
<table summary="<?php echo $M[$_HS['nametype']]?>님의 회원 요약정보입니다.">
<caption>회원요약정보</caption>
<colgroup>
<col width="120">
<col>
<col width="120">
<col>
</colgroup>
<thead>
<tr>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
<th scope="col"></th>
</tr>
</thead>
<tbody>
<tr>
<td class="key">이름</td>
<td><?php echo $M['name']?></td>
<td class="key">닉네임</td>
<td><?php echo $M['nic']?></td>
</tr>
<tr>
<td class="key">아이디</td>
<td><?php echo $M1['id']?></td>
<td class="key">가입일</td>
<td><?php echo getDateFormat($M['d_regis'],'Y/m/d H:i')?></td>
</tr>
<tr>
<td class="key">최근접속</td>
<td><?php echo getDateFormat($M['last_log'],'Y/m/d H:i')?> (<?php echo $lastlogdate?$lastlogdate.'일전':'오늘'?>)</td>
<td class="key">연락처</td>
<td><?php echo $M['tel2']?$M['tel2']:$M['tel1']?></td>
</tr>
<tr>
<td class="key">이메일</td>
<td><?php echo $M['email']?></td>
<td class="key">지역</td>
<td><?php echo $M['addr0']=='해외'?$M['addr0']:$M['addr1']?></td>
</tr>
<tr>
<td class="key">나이/성별</td>
<td><?php if($M['birth1']):?><?php echo getAge($M['birth1'])?>세<?php endif?><?php if($M['birth1']&&$M['sex']):?> / <?php endif?><?php if($M['sex']):?><?php echo getSex($M['sex'])?>성<?php endif?></td>
<td class="key">생년월일</td>
<td><?php if($M['birth1']):?><?php echo $M['birth1']?>/<?php echo substr($M['birth2'],0,2)?>/<?php echo substr($M['birth2'],2,2)?><?php endif?></td>
</tr>
<tr>
<td class="key">회원그룹</td>
<td><?php echo $sosokname['name']?></td>
<td class="key">회원등급</td>
<td><?php echo $levelname['name']?> (<?php echo $M['level']?> / <?php echo $levelnum['uid']?>)</td>
</tr>
<tr>
<td class="key">가입사이트</td>
<td><?php echo $joinsite['name']?></td>
<td class="key">포인트</td>
<td>
<?php echo number_format($M['point'])?> (사용 : <?php echo number_format($M['usepoint'])?>)
(적립 : <?php echo number_format($M['cash'])?>)
(예치 : <?php echo number_format($M['money'])?>)
</td>

View File

@@ -0,0 +1,30 @@
/* list */
#bbslist {margin:auto;padding:0 0 30px 0;}
#bbslist .info {height:28px;}
#bbslist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#bbslist .info .article a {position:relative;top:3px;left:3px;}
#bbslist .info .category {float:right;}
#bbslist .info .category select .sline {color:#c0c0c0;}
#bbslist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#bbslist table caption {display:none;}
#bbslist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#bbslist thead .side1 {border-left:#D2D2D2 solid 1px;}
#bbslist thead .side2 {border-right:#D2D2D2 solid 1px;}
#bbslist tbody .noticetr td {background:url('');background:#FAFAFA;border-bottom:#EBEBEB solid 1px;}
#bbslist tbody .noticetr td a {font-weight:bold;}
#bbslist tbody td {text-align:center;color:#888888;font-family:arial;font-size:10px;border-bottom:#E6E6E6 solid 1px;letter-spacing:-1px;}

View File

@@ -0,0 +1,172 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$bbsque = 'mbruid='.$M['memberuid'];
if ($account) $bbsque .= ' and site='.$account;
if ($where && $keyword)
{
if (strstr('[name][nic][id][ip]',$where)) $bbsque .= " and ".$where."='".$keyword."'";
else if ($where == 'term') $bbsque .= " and d_regis like '".$keyword."%'";
else $bbsque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_oneline'],$bbsque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_oneline'],$bbsque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="bbslist">
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>개(<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<select name="account" class="account" onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_reset'])?>&page=<?php echo $page?>&account='+this.value);">
<option value="">&nbsp;+ 전체사이트</option>
<option value="">----------------</option>
<?php $SITES = getDbArray($table['s_site'],'','*','gid','asc',0,1)?>
<?php while($S = db_fetch_array($SITES)):?>
<option value="<?php echo $S['uid']?>"<?php if($account==$S['uid']):?> selected="selected"<?php endif?>>ㆍ<?php echo $S['name']?></option>
<?php endwhile?>
<?php if(!db_num_rows($SITES)):?>
<option value="">등록된 사이트가 없습니다.</option>
<?php endif?>
</select>
</div>
<div class="clear"></div>
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="comment" />
<input type="hidden" name="a" value="" />
<table summary="한줄의견리스트 입니다.">
<caption>한줄의견리스트</caption>
<colgroup>
<col width="30">
<col width="50">
<col>
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('oneline_members[]');" /></th>
<th scope="col">번호</th>
<th scope="col">한줄의견</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>
<?php while($R=db_fetch_array($RCD)):?>
<?php $_R=getUidData($table['s_comment'],$R['parent'])?>
<?php $R['mobile']=isMobileConnect($R['agent'])?>
<tr>
<td><input type="checkbox" name="oneline_members[]" value="<?php echo $R['uid']?>" /></td>
<td><?php echo $NUM-((($p-1)*$recnum)+$_rec++)?></td>
<td class="sbj">
<?php if($R['mobile']):?><img src="<?php echo $g['img_core']?>/_public/ico_mobile.gif" class="imgpos" alt="모바일" title="모바일(<?php echo $R['mobile']?>)로 등록된 글입니다" /><?php endif?>
<a href="<?php echo getCyncUrl($_R['cync'].',CMT:'.$_R['uid'].',s:'.$R['site'])?>#CMT" target="_blank"><?php echo getStrCut($R['content'],40,'..')?></a>
<?php if(getNew($R['d_regis'],24)):?><span class="new">new</span><?php endif?>
</td>
<td><?php echo getDateFormat($R['d_regis'],'Y.m.d H:i')?></td>
</tr>
<?php endwhile?>
<?php if(!$NUM):?>

View File

@@ -0,0 +1,19 @@
#paperlist {padding:0 0 30px 0;}
#paperlist .info {height:28px;}
#paperlist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#paperlist .info .category {float:right;}
#paperlist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#paperlist table caption {display:none;}
#paperlist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#paperlist thead .side1 {border-left:#D2D2D2 solid 1px;}
#paperlist thead .side2 {border-right:#D2D2D2 solid 1px;}
#paperlist tbody td {text-align:center;color:#888888;font-family:arial;font-size:10px;border-bottom:#E6E6E6 solid 1px;letter-spacing:-1px;}

View File

@@ -0,0 +1,201 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
if ($inbox == 3)
{
$sqlque = 'by_mbruid='.$M['memberuid'];
}
else
{
$sqlque = 'my_mbruid='.$M['memberuid'];
if ($inbox) $sqlque .= " and inbox='".$inbox."'";
if ($where && $keyword)
{
$sqlque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
}
$RCD = getDbArray($table['s_paper'],$sqlque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_paper'],$sqlque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="paperlist">
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>개(<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<select onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_page'])?>&inbox='+this.value);">
<option value="">&nbsp;+ 전체</option>
<option value="">-------------</option>
<option value="1"<?php if($inbox==1):?> selected="selected"<?php endif?>>받은쪽지함</option>
<option value="2"<?php if($inbox==2):?> selected="selected"<?php endif?>>쪽지보관함</option>
<option value="3"<?php if($inbox==3):?> selected="selected"<?php endif?>>보낸쪽지함</option>
</select>
</div>
<div class="clear"></div>
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>" onsubmit="return submitCheck(this);">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="front" value="<?php echo $front?>" />
<input type="hidden" name="a" value="" />
<table summary="쪽지 리스트입니다.">
<caption>쪽지</caption>
<colgroup>
<col width="30">
<col width="50">
<col width="80">
<col width="20">
<col>
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('members[]');" /></th>
<th scope="col">번호</th>
<th scope="col"><?php echo $inbox==3?'받는이':'보낸이'?></th>
<th scope="col"></th>
<th scope="col">내용</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>
<?php while($R=db_fetch_array($RCD)):?>
<?php $R['content']=str_replace('&nbsp;',' ',$R['content'])?>
<?php $M=getDbData($table['s_mbrdata'],'memberuid='.$R[($index==3?'m':'b').'y_mbruid'],'*')?>
<tr>
<td><input type="checkbox" name="members[]" value="<?php echo $R['uid']?>" /></td>
<td><?php echo $NUM-((($p-1)*$recnum)+$_rec++)?></td>
<td class="cat"><?php echo $M[$_HS['nametype']]?$M[$_HS['nametype']]:'시스템'?></td>
<td><img src="<?php echo $g['img_core']?>/_public/ico_paper.gif" alt=""<?php if($R['d_read']):?> title="<?php echo getDateFormat($R['d_read'],'Y.m.d H:i 열람')?>" class="isread"<?php endif?> /></td>
<td class="sbj">
<a href="#." title="<?php echo getStrCut(htmlspecialchars(strip_tags($R['content'])),100,'...')?>" onmouseover="qTilePop(this);" onmouseout="qTilePopKill(this);"><?php echo getStrCut(strip_tags($R['content']),50,'..')?></a>
<?php if(getNew($R['d_regis'],24)):?><span class="new">new</span><?php endif?>
</td>
<td><?php echo getDateFormat($R['d_regis'],'Y.m.d H:i')?></td>
</tr>
<?php endwhile?>
<?php if(!$NUM):?>
<tr>
<td><input type="checkbox" disabled="disabled" /></td>
<td>1</td>
<td class="cat">시스템</td>
<td><img src="<?php echo $g['img_core']?>/_public/ico_paper.gif" alt="" /></td>
<td class="sbj1">쪽지가 없습니다.</td>
<td><?php echo getDateFormat($date['totime'],'Y.m.d H:i')?></td>

View File

@@ -0,0 +1,16 @@
#pointlist {padding:0 0 30px 0;}
#pointlist .info {height:28px;}
#pointlist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#pointlist .info .category {float:right;}
#pointlist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#pointlist table caption {display:none;}
#pointlist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#pointlist thead .side1 {border-left:#D2D2D2 solid 1px;}

View File

@@ -0,0 +1,205 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$type = $type ? $type : 'point';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$sqlque = 'my_mbruid='.$M['memberuid'];
if ($price == '1') $sqlque .= ' and price > 0';
if ($price == '2') $sqlque .= ' and price < 0';
if ($where && $keyword)
{
$sqlque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_'.$type],$sqlque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_'.$type],$sqlque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="pointlist">
<div class="info">
<div class="article">
<span class="tx">
<a class="<?php if($type=='point'):?>b <?php endif?>hand" onclick="document.hideForm.type.value='point';document.hideForm.submit();">포인트</a> |
<a class="<?php if($type=='cash'):?>b <?php endif?>hand" onclick="document.hideForm.type.value='cash';document.hideForm.submit();">적립금</a> |
<a class="<?php if($type=='money'):?>b <?php endif?>hand" onclick="document.hideForm.type.value='money';document.hideForm.submit();">예치금</a>
</span>
<?php echo number_format($M[$type])?> (<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<form name="giveForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>" onsubmit="return giveCheck(this);">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="a" value="admin_action" />
<input type="hidden" name="act" value="give_point" />
<input type="checkbox" name="mbrmembers[]" value="<?php echo $M['memberuid']?>" checked="checked" class="hide" />
<input type="hidden" name="pointType" value="<?php echo $type?>" />
<select name="how" class="sm">
<option value="+">+</option>
<option value="-">-</option>
</select>
<input type="text" name="price" size="5" class="input" /><?php echo $type=='point'?'P':'원'?> | 지급사유 :
<input type="text" name="comment" size="35" class="input" />
<input type="submit" class="btngray" value="지급(차감)" />
</form>
</div>
<div class="clear"></div>
</div>
<form name="hideForm" action="<?php echo $g['s']?>/" method="get">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="iframe" value="<?php echo $iframe?>" />
<input type="hidden" name="front" value="<?php echo $front?>" />
<input type="hidden" name="mbruid" value="<?php echo $mbruid?>" />
<input type="hidden" name="page" value="<?php echo $page?>" />
<input type="hidden" name="type" value="<?php echo $type?>" />
<input type="hidden" name="price" value="<?php echo $price?>" />
</form>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>" onsubmit="return submitCheck(this);">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="front" value="<?php echo $front?>" />
<input type="hidden" name="a" value="" />
<table summary="포인트 리스트입니다.">
<caption>포인트</caption>
<colgroup>
<col width="30">
<col width="50">
<col width="80">
<col>
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('members[]');" /></th>
<th scope="col">번호</th>
<th scope="col">
<select onchange="document.hideForm.price.value=this.value;document.hideForm.submit();">
<option value="">&nbsp;+ 전체</option>
<option value="">-----</option>
<option value="1"<?php if($price=='1'):?> selected="selected"<?php endif?>>획득</option>
<option value="2"<?php if($price=='2'):?> selected="selected"<?php endif?>>사용</option>
</select>
</th>
<th scope="col">내역</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>

View File

@@ -0,0 +1,31 @@
/* list */
#bbslist {margin:auto;padding:0 0 30px 0;}
#bbslist .info {height:28px;}
#bbslist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#bbslist .info .article a {position:relative;top:3px;left:3px;}
#bbslist .info .category {float:right;}
#bbslist .info .category select .sline {color:#c0c0c0;}
#bbslist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#bbslist table caption {display:none;}
#bbslist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#bbslist thead .side1 {border-left:#D2D2D2 solid 1px;}
#bbslist thead .side2 {border-right:#D2D2D2 solid 1px;}
#bbslist tbody .noticetr td {background:url('');background:#FAFAFA;border-bottom:#EBEBEB solid 1px;}
#bbslist tbody .noticetr td a {font-weight:bold;}
#bbslist tbody td {text-align:center;color:#888888;font-family:arial;font-size:10px;border-bottom:#E6E6E6 solid 1px;letter-spacing:-1px;}
#bbslist .bbsid {font-size:11px;font-family:arial;}

View File

@@ -0,0 +1,205 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'gid';
$orderby= $orderby ? $orderby : 'asc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$bbsque = 'mbruid='.$M['memberuid'];
if ($account) $bbsque .= ' and site='.$account;
if ($bid) $bbsque .= ' and bbs='.$bid;
if ($where && $keyword)
{
if (strstr('[name][nic][id][ip]',$where)) $bbsque .= " and ".$where."='".$keyword."'";
else if ($where == 'term') $bbsque .= " and d_regis like '".$keyword."%'";
else $bbsque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['bbsdata'],$bbsque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['bbsdata'],$bbsque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="bbslist">
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>개(<?php echo $p?>/<?php echo $TPG?>페이지)
<a href="<?php echo $g['s']?>/?r=<?php echo $r?>&amp;m=bbs&amp;mbruid=<?php echo $M['memberuid']?>&amp;mod=rss" target="_blank"><img src="<?php echo $g['img_core']?>/_public/ico_rss.gif" alt="rss" /></a>
</div>
<div class="category">
<select name="account" class="account" onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_reset'])?>&page=<?php echo $page?>&bid=<?php echo $bid?>&account='+this.value);">
<option value="">&nbsp;+ 전체사이트</option>
<option value="">----------------</option>
<?php $SITES = getDbArray($table['s_site'],'','*','gid','asc',0,1)?>
<?php while($S = db_fetch_array($SITES)):?>
<option value="<?php echo $S['uid']?>"<?php if($account==$S['uid']):?> selected="selected"<?php endif?>>ㆍ<?php echo $S['name']?></option>
<?php endwhile?>
<?php if(!db_num_rows($SITES)):?>
<option value="">등록된 사이트가 없습니다.</option>
<?php endif?>
</select>
<select name="bid" onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_reset'])?>&page=<?php echo $page?>&account=<?php echo $account?>&bid='+this.value);">
<option value="">&nbsp;+ 전체게시판</option>
<option value="">----------------</option>
<?php $SITES = getDbArray($table['s_site'],'','*','gid','asc',0,1)?>
<?php $_BBSLIST = getDbArray($table['bbslist'],'','*','gid','asc',0,1)?>
<?php while($_B=db_fetch_array($_BBSLIST)):?>
<option value="<?php echo $_B['uid']?>"<?php if($_B['uid']==$bid):?> selected="selected"<?php endif?>>ㆍ<?php echo $_B['name']?>(<?php echo $_B['id']?>)</option>
<?php endwhile?>
<?php if(!db_num_rows($_BBSLIST)):?>
<option value="">등록된 게시판이 없습니다.</option>
<?php endif?>
</select>
</div>
<div class="clear"></div>
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="bbs" />
<input type="hidden" name="a" value="" />
<table summary="<?php echo $B['name']?$B['name']:'전체'?> 게시물리스트 입니다.">
<caption><?php echo $B['name']?$B['name']:'전체게시물'?></caption>
<colgroup>
<col width="30">
<col width="50">
<col width="80">
<col>
<col width="70">
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('post_members[]');" /></th>
<th scope="col">번호</th>
<th scope="col">게시판</th>
<th scope="col">제목</th>
<th scope="col">조회</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>
<?php while($R=db_fetch_array($RCD)):?>
<?php $R['mobile']=isMobileConnect($R['agent'])?>
<tr>
<td><input type="checkbox" name="post_members[]" value="<?php echo $R['uid']?>" /></td>
<td>
<?php if($R['uid'] != $uid):?>
<?php echo $NUM-((($p-1)*$recnum)+$_rec++)?>
<?php else:$_rec++?>
<span class="now">&gt;&gt;</span>
<?php endif?>
</td>
<td class="bbsid"><?php echo $R['bbsid']?></td>

View File

@@ -0,0 +1,18 @@
#scraplist {padding:0 0 30px 0;}
#scraplist .info {height:28px;}
#scraplist .info .article {float:left;font-size:11px;font-family:gothic,dotum;color:#c0c0c0;padding:5px 0 0 5px;}
#scraplist .info .category {float:right;}
#scraplist table {width:100%;border-spacing:0px;border-collapse:collapse;}
#scraplist table caption {display:none;}
#scraplist thead th {height:28px;border-top:#D2D2D2 solid 1px;border-bottom:#D2D2D2 solid 1px;background:url('../../../../../../_core/image/_public/bg_list_tt.jpg');font-size:11px;font-family:dotum;font-weight:normal;color:#787878;}
#scraplist thead .side1 {border-left:#D2D2D2 solid 1px;}
#scraplist thead .side2 {border-right:#D2D2D2 solid 1px;}

View File

@@ -0,0 +1,172 @@
<?php
include_once $g['dir_module_skin'].'_menu.php';
$sort = $sort ? $sort : 'uid';
$orderby= $orderby ? $orderby : 'desc';
$recnum = $recnum && $recnum < 200 ? $recnum : 15;
$sqlque = 'mbruid='.$M['memberuid'];
if ($category) $sqlque .= " and category='".$category."'";
if ($where && $keyword)
{
$sqlque .= getSearchSql($where,$keyword,$ikeyword,'or');
}
$RCD = getDbArray($table['s_scrap'],$sqlque,'*',$sort,$orderby,$recnum,$p);
$NUM = getDbRows($table['s_scrap'],$sqlque);
$TPG = getTotalPage($NUM,$recnum);
?>
<div id="scraplist">
<div class="info">
<div class="article">
<?php echo number_format($NUM)?>개(<?php echo $p?>/<?php echo $TPG?>페이지)
</div>
<div class="category">
<select onchange="goHref('<?php echo str_replace('&amp;','&',$g['url_page'])?>&category='+this.value);">
<option value="">&nbsp;+ 전체</option>
<option value="">-------------</option>
<?php $_CATS = getDbSelect($table['s_scrap'],"mbruid=".$M['memberuid']." and category<>'' group by category",'category')?>
<?php while($_R=db_fetch_array($_CATS)):?>
<option value="<?php echo $_R['category']?>"<?php if($_R['category']==$category):?> selected="selected"<?php endif?>>ㆍ<?php echo $_R['category']?></option>
<?php endwhile?>
</select>
</div>
<div class="clear"></div>
</div>
<form name="procForm" action="<?php echo $g['s']?>/" method="post" target="_action_frame_<?php echo $m?>" onsubmit="return submitCheck(this);">
<input type="hidden" name="r" value="<?php echo $r?>" />
<input type="hidden" name="m" value="<?php echo $m?>" />
<input type="hidden" name="front" value="<?php echo $front?>" />
<input type="hidden" name="a" value="" />
<table summary="스크랩 리스트입니다.">
<caption>스크랩</caption>
<colgroup>
<col width="30">
<col width="50">
<col width="100">
<col>
<col width="90">
</colgroup>
<thead>
<tr>
<th scope="col" class="side1"><img src="<?php echo $g['img_core']?>/_public/ico_check_01.gif" class="hand" alt="" onclick="chkFlag('members[]');" /></th>
<th scope="col">번호</th>
<th scope="col">분류</th>
<th scope="col">제목</th>
<th scope="col" class="side2">날짜</th>
</tr>
</thead>
<tbody>
<?php while($R=db_fetch_array($RCD)):?>
<tr>
<td><input type="checkbox" name="members[]" value="<?php echo $R['uid']?>" /></td>
<td><?php echo $NUM-((($p-1)*$recnum)+$_rec++)?></td>
<td class="cat"><?php echo $R['category']?></td>
<td class="sbj">
<a href="<?php echo $R['url']?>" target="_blank"><?php echo $R['subject']?></a>
<?php if(getNew($R['d_regis'],24)):?><span class="new">new</span><?php endif?>
</td>
<td><?php echo getDateFormat($R['d_regis'],'Y.m.d H:i')?></td>
</tr>
<?php endwhile?>
<?php if(!$NUM):?>
<tr>
<td><input type="checkbox" disabled="disabled" /></td>
<td>1</td>