전화번호 특정레벨(회원)에게 노출 어떻게 해야할까요? ㅠ 정보
전화번호 특정레벨(회원)에게 노출 어떻게 해야할까요? ㅠ첨부파일
본문
//아래는 사용중인 view스킨입니다. //
* 레벨 3이하인 경우 : 전화번호가 ***.****.****으로 보이고
* 레벨 4 이상인 회원일 경우 전화번호가 보였으면 합니다.
* 첨부파일 : 엑셀 올렸습니다.
고수님들 답변 부탁드릴께요~ *^^*
<tr><td width=100%>
<table width=100% cellpadding=2 cellspacing=0>
<tr><td bgcolor=#E3E3E3>
<table width=100% cellpadding=5 cellspacing=1 style="border:1px solid #D3D3D3">
<tr><td height=28 width=20% class="04">업종</td><td width=30% class="02"><?=$view[wr_10]?></td>
<td height=28 width=20% class="04">전화번호</td><td width=30% class="02"><font color=#F80000><b><?=$view[wr_8]?></b></font></td></tr>
<tr><td height=28 width=20% class="04">버스운행</td><td width=30% class="02"><?=$two01?></td>
<td height=28 width=20% class="04">홈페이지</td>
<td width=30% class="02">
<?
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<a href='{$view[link_href][$i]}' target=_blank>";
echo " <span style=\"color:#888;\">{$link}</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[link_hit][$i]}]</span>";
echo "</a>";
}
}
?>
</td></tr>
* 레벨 3이하인 경우 : 전화번호가 ***.****.****으로 보이고
* 레벨 4 이상인 회원일 경우 전화번호가 보였으면 합니다.
* 첨부파일 : 엑셀 올렸습니다.
고수님들 답변 부탁드릴께요~ *^^*
<tr><td width=100%>
<table width=100% cellpadding=2 cellspacing=0>
<tr><td bgcolor=#E3E3E3>
<table width=100% cellpadding=5 cellspacing=1 style="border:1px solid #D3D3D3">
<tr><td height=28 width=20% class="04">업종</td><td width=30% class="02"><?=$view[wr_10]?></td>
<td height=28 width=20% class="04">전화번호</td><td width=30% class="02"><font color=#F80000><b><?=$view[wr_8]?></b></font></td></tr>
<tr><td height=28 width=20% class="04">버스운행</td><td width=30% class="02"><?=$two01?></td>
<td height=28 width=20% class="04">홈페이지</td>
<td width=30% class="02">
<?
// 링크
$cnt = 0;
for ($i=1; $i<=$g4[link_count]; $i++) {
if ($view[link][$i]) {
$cnt++;
$link = cut_str($view[link][$i], 70);
echo "<a href='{$view[link_href][$i]}' target=_blank>";
echo " <span style=\"color:#888;\">{$link}</span>";
echo " <span style=\"color:#ff6600; font-size:11px;\">[{$view[link_hit][$i]}]</span>";
echo "</a>";
}
}
?>
</td></tr>
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '282958' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php