구매고객
판매자
솔루션별 질문
객관적이지 않은 사유는 인정되지 않으며, 신고 권한이 제재될 수 있습니다.
0/200
신고 사유에 해당하지 않는 글을 신고하면 신고 권한이 제한될 수 있습니다.
이 회원의 커뮤니티 콘텐츠와 알림을 내 화면에서만 숨깁니다.
신고는 접수되지 않으며, 숨긴 회원은 내 정보에서 다시 보이게 할 수 있습니다.
신고할 글이 아닌가요? 이 회원만 숨기기
신고하기로 돌아가기
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.
전체 67032개 중 57601-57620번째
댓글 4개
-------------------------------------------------------
<? if($is_admin){ ?>
<!-- le 와 불여우 호환 토글용 스크립트 - 헐랭이 -->
<script language="javascript">
function Displaytoggle_memocv(index) {
for (i=1; i<=2; i++)
if (index == i) {
thisMenumocv2 = eval(document.getElementById("toggle_memocv" + i + "").style);
thisMenumocv2.display = "none";
document.getElementById("toggle_memocv").style.display = "none";
}
else {
otherMenumocv2 = eval(document.getElementById("toggle_memocv" + i + "").style);
otherMenumocv2.display = "";
document.getElementById("toggle_memocv").style.display = "";
}
}
</script>
<div id="toggle_memocv1" style="display:;"><a href="javascript:Displaytoggle_memocv(1)" class="button" onfocus='this.blur()'><br />
<font color=red class=small>* 게시물 요약 보기 - 운영자 전용</font></a></div>
<div id="toggle_memocv" style="display:none;width:100%;">
<span id="toggle_memocv2" style="display:none;"><a href="javascript:Displaytoggle_memocv(2)" class="button" onfocus='this.blur()'><br />
<font color=#ff9966 class=small>* 게시물 요약 닫기</font></a></span>
<table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" style="border:1px solid #336699;">
<tr>
<td height="20" colspan="2" style="padding-left:10px;"><strong>게시물 요약 - 운영자 전용 </strong></td>
</tr>
<tr>
<td width="50%" height="20" align="center" bgcolor="#FFFF99">게시물 등록 순위 </td>
<td width="50%" height="20" align="center" bgcolor="#FFFF99">댓글 등록 순위</td>
</tr>
<tr>
<td width="50%" valign="top" bgcolor="#FFFFFF" style="padding-left:10px;">
<?
$sum = "select left(wr_datetime,10),mb_id, wr_name, count(mb_id) as id from g4_write_{$bo_table} where wr_is_comment ='0' and mb_id !='' group by left(wr_datetime,10), mb_id order by id DESC limit 20";
$res_sum = mysql_query($sum) or die(mysql_error());
for($i = 1 ; $sum_rows = mysql_fetch_array($res_sum) ; $i++){
echo $i.":".$sum_rows[mb_id]."($sum_rows[wr_name])"."[".$sum_rows[id]."]<br>";
} //for
?> </td>
<td width="50%" valign="top" bgcolor="#FFFFFF" style="padding-left:10px;">
<?
$sum1 = "select left(wr_datetime,10),mb_id, count(mb_id) as cmt from g4_write_{$bo_table} where wr_is_comment ='1' and mb_id !='' group by left(wr_datetime,10), mb_id order by cmt DESC limit 20";
$res_sum1 = mysql_query($sum1);
for($i = 1 ; $sum_rows1 = mysql_fetch_array($res_sum1) ; $i++){
echo $i.":".$sum_rows[mb_id]."($sum_rows[wr_name])"."[".$sum_rows1[cmt]."]<br>";
} //for
?> </td>
</tr>
</table>
</div>
<? } //if ?>
2:korea(운영자)[4]
3:korea(운영자)[4]
4:korea(운영자)[3]
5:korea(운영자)[2]
6:korea(운영자)[1]
목록을 출력하면 위와 같이 출력되어 나옵니다~ 어떻게 응용해야 할지 막막하네요~