// ÀÛ¼ºÀÚ : ÃÖ»ó¹Î
// ¼öÁ¤ÀÏ : 2002³â 3¿ù 9ÀÏ
// ÆÄÀϸí : index.html
// Ãʱâȸé
// Çì´õÆÄÀÏ
include ("inc/header.html");
include ("common/dbConnect.php");
include ("common/common.php");
// ÇѸ¶µð Äõ¸®
$query = "select * from postIt order by no limit 0, 1";
$result = $conn->runQuery($query);
$postItCount = mysql_num_rows($result);
if($postItCount == 0) {
$msg = "
ÇöÀç 90%Á¤µµ ¿Ï¼ºµÇ¾ú½À´Ï´Ù. ÀÚÀßÇѰмöÁ¤ÇÒ°Ô ¸î°³ÀÖ±ä Çϰí, ±â´É»ó Ãß°¡µµ ¸î°³ ÀÖÁö¸¸ °ÅÀÇ ´Ù µÈ µí Çϳ׿ä. ÃßÄ«ÃßÄ«";
}
else {
$rows = mysql_fetch_array($result);
$no = $rows[no];
$id = $rows[id];
$content = $rows[content];
$writeDate = $rows[writeDate];
}
// °øÁö»çÇ× Äõ¸®
$query = "select no, subject, writeDate from notice order by no desc limit 0, 5 ";
$result = $conn->runQuery($query);
$noticeCount = mysql_num_rows($result);
if($noticeCount == 0) {
$noticeSubject[] = "¢Æ °øÁö»çÇ×ÀÌ ¾ø½À´Ï´Ù.";
}
else {
while($rows = mysql_fetch_array($result)) {
if(dateCheck($rows[writeDate], 2)) {
$noticeSubject[] = "
".strSplit($rows[subject], 22, "..")."
";
}
else {
$noticeSubject[] = "
".strSplit($rows[subject], 22, "..")."";
}
}
}
?>
 |
 |
ÀÌ ¸§ : Áø¿µÀÌ
³ª ÀÌ : ¼¸¥°¡±îÀÌ
¸ñ Ç¥ : 3°³ ±¹¾î(?) .. 4°³ ±¹¾ð°¡...
°ÅÁÖÁö : Á߰
Á¿ì¸í : À½.. ÇÔ ¹°¾îºÁ¾ß°Ú´ç..
(³ª¶ó¿¡ Ãæ, ºÎ¸ð´Ô²² È¿! À̰ſ´´ø°¡..)
|
 |
ÀÌ ¸§ : »ó¹Ì´Ï
³ª ÀÌ : Áø¿µÀ̺¸´Ù 9ÀÏ ºü¸§
¸ñ Ç¥ : ¶ó¸é°°Àº Àλý
°ÅÁÖÁö : Á߰
Á¿ì¸í : ¾î´À À½½Ä°úµµ ¾î¿ï¸®¸é¼µµ, ÀÚ½ÅÀÇ ¸ÀÀ»
ÀÒÁö ¾Ê´Â ¶ó¸é°°ÀÌ »ì°ÍÀÌ´Ù.
|
|
|
|
// ǪÅÍÆÄÀÏ
include ("./inc/footer.html");
?>