M

오늘생일자출력을 제로보드에서 옴겨왔습니다..

· 2010-06-07 (월) 10:55:10 · 1549 · 1
<?
if($daymode=="0"){
$que="select name, no, email, birth from zetyx_member_table where from_unixtime(birth,'%c')='$month' and level = 7 order by no desc limit 5";
}else{
$que="select name, no, email, birth from zetyx_member_table where from_unixtime(birth,'%c')='$month' and from_unixtime(birth,'%d')='$day' and level = 7 order by no desc limit 5";
}
$res= mysql_query($que,$connect);
$Total=mysql_num_rows($res);
for ($i=0 ; $i< $Total; $i++){ // 반복시작
mysql_data_seek($res,$i);
$row=mysql_fetch_array($res);
echo "<tr>
<td><img src='/images/bllet.gif' align='absmiddle' width='2' height='2' border='0'>  <b><font color='#8640FB'>".substr2($row[name],0,6)."</font></b> 생일 축하합니다.</td>
<td>".date("m",$row[birth])."월".date("d",$row[birth])."일</td>
</tr>";
}
?>

그누보드에서도 작동하게하고싶은데 너무어렵네요.. 어떤식으로 수정하면될까요.. 조금만이래도 알려주세요...ㅠㅠ
|

댓글 1개

그누에서 이미 생일자 출력 스킨이 있습니다~

http://sir.co.kr/bbs/board.php?bo_table=g4_skin&sca=&sfl=wr_subject&stx=%BB%FD%C0%CF&sop=and&x=18&y=10

참고해 보셔요~
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-06-07 조회 1,636
10-06-07 조회 1,743
10-06-07 조회 1,621
10-06-07 조회 1,644
10-06-07 조회 1,646
10-06-07 조회 3,130
10-06-07 조회 1,645
10-06-07 조회 1,666
10-06-07 조회 1,644
10-06-07 조회 1,608
10-06-07 조회 1,550
10-06-07 조회 1,769
10-06-07 조회 1,739
10-06-06 조회 1,508
10-06-06 조회 1,640
10-06-06 조회 1,706
10-06-06 조회 1,804
10-06-06 조회 1,661
10-06-06 조회 1,929
10-06-06 조회 1,837