[제나플러스] 오늘 생일자 출력하기 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[제나플러스] 오늘 생일자 출력하기

페이지 정보

profile_image
작성자 제로
댓글 0건 조회 51,675회 작성일 10-08-15 02:48

본문

<?
if (!defined("_GNUBOARD_")) exit; // 個別ページに接近不可
?>
<style type="text/css">
/* birth */
#zp_birth { border:1px solid #dbe1e4; }
#zp_birth .birth_bar { padding:5px 10px; font-weight:bold; background:url(<?=$birth_skin_path?>/img/birth_bar.gif) repeat-x; text-align:center; color:#ffffff; }
.zn_birth2_box { border:1px solid #dddddd; padding:5px 10px 10px 10px; }
.zn_birth2_title { border:1px solid #dddddd; padding:5px; text-align:center; font-weight:bold; }
</style>

<div id="zp_birth">
<?
$today = getdate();
$b_mon = $today['mon'];
$b_day = $today['mday'];
$b_year = $today['year'];
$birthday = date("md");

$sql = " select mb_id, mb_nick, mb_name, mb_birth from {$g4['member_table']} where substring(mb_birth,5,4) = '{$birthday}' ";
$result = sql_query($sql);
?>
<div class="birth_bar"><?=$b_mon?>月 <?=$b_day?>日 誕生日</div>
<?
echo "<marquee direction=down truespeed scrollamount='1' scrolldelay=50 onmouseover='this.stop();' onmouseout='this.start();' height=50>";
echo "<ul>";
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$birth_month = substr("$row[mb_birth]",-4,2);
$birth_day = substr("$row[mb_birth]",-2,2);
if ($birth_month == $b_mon) {
echo "<li><img src='$birth_skin_path/img/bullet_red.gif' border=0 style='vertical-align:middle;'>$row[mb_nick] 会員</li>";
}
}
echo "</ul>";
echo "</marquee>";
?>
</div>

댓글목록

등록된 댓글이 없습니다.

Total 829건 18 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 날짜
404 제로 48684 09-17
403 제로 106195 08-25
열람중 제로 51676 08-15
401 제로 47623 08-12
400 제로 102670 08-06
399 제로 79017 07-23
398 제로 91867 07-21
397 제로 55005 06-14
396 제로 78837 06-14
395 제로 111258 06-12
394 제로 98128 06-12
393 제로 101169 06-12
392 제로 107334 06-12
391 제로 104745 06-11
390 제로 156056 06-11
389 제로 89372 05-31
388 제로 92872 05-31
387 제로 61141 05-22
386 제로 48900 05-21
385 제로 45470 05-18
384 제로 97441 05-12
383 제로 108285 05-08
382 제로 54487 05-08
381 제로 109052 05-08
380 제로 91456 05-07

검색


사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5470-4714
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
335,355
어제
547,766
최대
552,140
전체
18,360,066
Copyright (c) 株式会社YHPLUS. All rights reserved.