M

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

<?
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'> &nbsp;<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 질문답변

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

+
제목 글쓴이 날짜 조회
15년 전 조회 1,647
15년 전 조회 1,537
15년 전 조회 1,563
15년 전 조회 1,532
15년 전 조회 2,964
15년 전 조회 1,515
15년 전 조회 1,568
15년 전 조회 1,540
15년 전 조회 1,523
15년 전 조회 1,453
15년 전 조회 1,678
15년 전 조회 1,602
15년 전 조회 1,413
15년 전 조회 1,548
15년 전 조회 1,612
15년 전 조회 1,712
15년 전 조회 1,573
15년 전 조회 1,837
15년 전 조회 1,740
15년 전 조회 1,518
🐛 버그신고