|
Query($query);
$count = $DB->NumRows($result);
if (!$count) {
echo "등록된 공지사항이 없습니다. | ";
} else {
while($data = $DB->FetchArray($result)) {
$id = $data['id'];
$title = $data['title'];
$title_all = $data['title'];
$now_date = $data['now_date'];
if (strlen($title) > 50) {
//$title = cut_string($title, 50)."...";
}
echo "
$title |
$now_date |
";
}
}
?>
Query($query);
$data = $DB->FetchRow($result);
$smonth = substr($data['start_date'], 5, 2);
$sday = substr($data['start_date'], 8, 2);
$emonth = substr($data['end_date'], 5, 2);
$eday = substr($data['end_date'], 8, 2);
$cmonth = substr($data['concours_date'], 5, 2);
$cday = substr($data['concours_date'], 8, 2);
if(substr($smonth, 0, 1) == 0) {
$smonth = substr($smonth, 1, 1);
}
if(substr($sday, 0, 1) == 0) {
$sday = substr($sday, 1, 1);
}
if(substr($emonth, 0, 1) == 0) {
$emonth = substr($emonth, 1, 1);
}
if(substr($eday, 0, 1) == 0) {
$eday = substr($eday, 1, 1);
}
if(substr($cmonth, 0, 1) == 0) {
$cmonth = substr($cmonth, 1, 1);
}
if(substr($cday, 0, 1) == 0) {
$cday = substr($cday, 1, 1);
}
?>
 |

보컬, 기타(어쿠스틱, 일렉기타), 피아노, 베이스기타, 드럼 및 그외 타악기, 관악 및 그 외 악기 |

=substr($data['start_date'], 0, 4)?>년 =$smonth?>월 =$sday?>일(월) ~ =$emonth?>월 =$eday?>일(목) / 마감당일 오후 6시까지 |

=substr($data['concours_date'], 0, 4)?>년 =$cmonth?>월 =$cday?>일(토) 오전 9시 (서원대학교) |
|
|
Query($query);
$count = $DB->NumRows($result);
if (!$count) {
echo "등록된 갤러리가 없습니다. | ";
} else {
while($data = $DB->FetchArray($result)) {
$id = $data[id];
$title = $data[title];
$filename = $data[filename];
if(!$filename) {
$filename = "images/main/noimg.gif";
} else {
$filename = "http://www.cbsconcours.org/Upload/bbs_board3/".$filename;
}
echo "
|
";
}
}
?>
|
|