Â¥¾Æ¾ÓèØ      2001/12/20 02:08:07     12934     0   
   Á¦·Îº¸µå °øÁö»çÇ×(°Ô½Ã¹° ÃßÃâ) Ãâ·Â·çƾ
¿øÇϽô ºÐµéÀÌ ³Ê¹« ¸¹¾Æ¼­ COMPUZ.com °øÁö»çÇ׿¡ ¾²ÀÎ °Ô½Ã¹° Ãâ·Â ·çƾÀ» ¼öÁ¤, ¿Ã·Áµå¸³´Ï´Ù.

±ÞÇÏ°Ô ¼öÁ¤ÇÏ´À¶ó ¾ÊµÉ¼öµµ ÀÖ½À´Ï´Ù. ¹ö±× ÀÖÀ¸¸é ¿Ã·ÁÁÖ¼¼¿°...--;;

¸ÕÀú, ´ÙÀ½À» º¹»çÇؼ­ notice.php ·Î ÀúÀåÇÕ´Ï´Ù.
----------------------------------------------------------------------------------------------------------------
<?
/////////////////////////////////////////////////////////////////////////
// COMPUZ.com °øÁö»çÇ× Ãâ·Â ·çƾ
//
// ¸¸µç»ç¶÷ : Â¥¾Æ¾ÓèØ
// ¸¶Áö¸· ¼öÁ¤ÀÏ : 2001³â 12¿ù 19ÀÏ
//
// http://www.compuz.com
// webmaster@compuz.com
//

// Àý´ë °æ·Î¼³Á¤
// define('F_URL','Àý´ë°æ·Î);
define('F_URL','/home/jjjang/public_html');

// Á¦·Îº¸µå Æú´õ¼³Á¤
//define('F_ZERO',F_URL.'Á¦·Îº¸µå Æú´õÀ̸§');  
define('F_ZERO',F_URL.'/zboard');

//
/////////////////////////////////////////////////////////////////////////
if(!$id) {
include(F_ZERO.'/lib.php');
}

/////////////////////////////////////////////////////////////////////////
// °øÁö»çÇ× Ãâ·Â ·çƾ
/////////////////////////////////////////////////////////////////////////
function show_list($kr_title,$en_title,$id,$no_article){
        $query="select no,name,email,memo,reg_date,subject from zetyx_board_$id order by reg_date desc";
        $result=mysql_query($query);

        echo("

        <div align='center'>
               <table border='0' width='580' cellspacing='0' cellpadding='0'>
                       <tr bgcolor='black' height='16'>
                              <td>
                                       <img src='/zboard/images/bullet1.gif'> <font color='#ffffff'>
                                       <a href='/zboard/zboard.php?id=$id' class='menu'><b>$kr_title</b></a></font>
                              </td>
                              <td align='right'>
                                      <a href='/zboard/zboard.php?id=$id' class='menu'><b>more </b></a>
                              </td>
                       </tr>
                       <tr>
                              <td width='580' valign='top' colspan='2'>

        ");

        for($i=0;$i<$no_article;$i++){
               if($row=mysql_fetch_array($result)){
               //Á¦¸ñ ±æÀÌÁ¦ÇÑ
                              if(strlen($row[subject])>50){
                                             $row[subject]=substr($row[subject],0,50);
                                             $row[subject] .= "...";
                              }
                              //³»¿ë ÁÙ ¶ç¿ì±â
                              $row[memo]=nl2br($row[memo]);
                              //³»¿ë ±æÀÌÁ¦ÇÑ
                              if(strlen($row[memo])>200){
                                             $row[memo]=substr($row[memo],0,200);
                                             $row[memo] .= " <a href='/zboard/zboard.php?id=$id&no=$row[no]'>... more</a>";
                              }
                              //timestamp¸¦ ³¯Â¥·Î °¡°ø
                              $date=date("y/m/d",$row[reg_date]);

               echo("
          
               <table border='0' width='580' cellspacing='0' cellpadding='0'>                
                       <tr>
                              <td height='2'></td>
                       </tr>
                       <tr>
                              <td height='10'>
                                      <table border='0' bgcolor='#EDEDED' width='580' cellspacing='0' cellpadding='0'>
                                      <tr>
                                      <td>
                                        <img src='/zboard/images/bullet2.gif'>
                                        <a href='/zboard/zboard.php?id=$id&no=$row[no]'> $row[subject]</a>
                                       </td>
                                              <td align='right'><font size='1'> 20$date </font></td>
                                      </tr>
                                      </table>
                              </td>
                       </tr>
               </table>

               ");}}

               echo ("
    
                              </td>
                       </tr>
                       <tr>
                              <td height='2'></td>
                       </tr>
               </table>
               </div>

");}

?>
----------------------------------------------------------------------------------------------------------------
¿©±â±îÁö º¹»çÇϼ¼¿°...^^;;

¸Þ¸ðÀåÀ̳ª ±âŸ ÆíÁý±â·Î ±âº»°æ·Î¸¦ ¼öÁ¤ÇÕ´Ï´Ù.
ÀúÀåÇϽŠÈÄ, °èÁ¤¿¡ ¾÷·Îµå ÇØÁֽʽÿä.

°Ô½Ã¹° ÃßÃâÀÌ Ç¥½ÃµÉ ÆÄÀÏÀ» ´ÙÀ½°ú °°ÀÌ ¼öÁ¤ÇØ Áֽʽÿä.

Á¦ÀÏ »ó´Ü¿¡ Æ÷Ç﵃ ³»¿ë
=============================================================
<?
        include "notice.php";
        if(!$connect) $connect=dbConn();
?>
=============================================================

°Ô½ÃÆÇ ÃßÃâ½Ã »ðÀÔ³»¿ë(Áߺ¹ »ç¿ë°¡´É)
=============================================================
// ÇѱÛÁ¦¸ñ, ¿µ¹®Á¦¸ñ, °Ô½ÃÆÇ ID, Ç¥½ÃÇà¼ö, Á¦¸ñ±æÀÌ(¿µ¹®±âÁØ)
<? show_list("ÇѱÛÁ¦¸ñ","¿µ¹®Á¦¸ñ","notice",7,80); ?>
=============================================================

Á¦ÀÏ ÇÏ´Ü¿¡ Æ÷Ç﵃ ³»¿ë
=============================================================
<? if($connect) mysql_close($connect); $connect=""; ?>
=============================================================

ÀúÀåÇϽŠÈÄ, °èÁ¤¿¡ ¾÷·Îµå ÇØÁֽʽÿä.

´ÙÀ½, ÀÎÅͳÝÀ¸·Î ºÒ·¯º¾´Ï´Ù.

º¸À̳ª¿ä? ¼öÁ¤ÇÒ ºÎºÐ ÀÖÀ¸¸é ¸»¾¸ÇØ ÁÖ¼¼¿°...^^;;

Ä¿¹Â´ÏƼ¸¦ ²Þ²Ù´Â... Â¥¾Æ¾ÓèØ
   
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.

       

24 Àâ±â¼ú Àε¥ÈÃ.. index.killer ó·³ µ¶Æ¯ÇÏ°ÔÇϱâ... [3] ¡ÙORC¡Ù 12/27 13280 07/01(21:21)
23 [Windows] ĸÃÄ ÇÁ·Î±×·¥¾øÀÌ È­¸é ĸÃÄÇϱâ [1] Â¥¾Æ¾ÓèØ 12/26 11660 01/19(16:00)
>> Á¦·Îº¸µå °øÁö»çÇ×(°Ô½Ã¹° ÃßÃâ) Ãâ·Â·çƾ Â¥¾Æ¾ÓèØ 12/20 12934
21 Ãʺ¸ÀÚµµÇÑ´Ù!  Á¦·Îº¸µå¿¡¼­ Àüü¸ÞÀÏ º¸³»±â!!... «¸«ã«óÏÖ 12/19 11980
20 Á¦·Îº¸µå Àüü¸ÞÀϸµÀÌ ¾ÊµÇ½Å´Ù¸é... Â¥¾Æ¾ÓèØ 12/19 12491
19 Á¦·Îº¸µå ¸ÞÀϸµ ¸ðµÎ üũÇÏ°Ô ¸¸µé±â... [1] Â¥¾Æ¾ÓèØ 12/19 12065 12/19(03:15)
18 Ãʺ¸µµ ÀÌÁ¨ ½±°Ô ³ëÇ÷¡ÀÓ ¼³Ä¡ ÇÑ´Ù.*--*[Æß] ½ÅÀçÈÆ 12/14 11659
17 Á¦·Îº¸µå °øÁö»ðÀÔ¹ý=[¾ÆÀÌÄÜ]+³¯Â¥+Á¦¸ñ ÃÖ±Ù°Ô... ½ÅÀçÈÆ 12/13 17288
16 mnv¾Æ¿ô·Î±×¿Í iframe»ç¿ë½Ã °Ô½ÃÆÇ °»½Å¹®Á¦ ÇØ... ½ÅÀçÈÆ 12/13 12564
15 30½Ã°£ÀÌ»ó³ë·ÂÇصµ MNV·Î±×ÀÎ2.4 ¼³Ä¡¸øÇѺР(¼ö... [9] ½ÅÀçÈÆ 12/13 14658 01/11(18:39)
14 ÃàÀü¸¸µé±â-<½ºÅ©·¡Ä¡ Å׵θ® ÀÌ¿ëÇϱâ> [7] ¿±±âÅ䲤ÀÌ 12/10 13196 06/22(13:56)
13 [Explorer] »ç¿ëÇϸ鼭 ¾Ë¾ÆµÎ¸é Æí¸®ÇÑ °Í.-_- with 12/09 14176
12 ÈÞÁöÅë À̸§ ¸¾µ¥·Î ¹Ù²Ù±â...^^;; Â¥¾Æ¾ÓèØ 12/05 15983
11 ÃÖ¼Ò,ÃÖ´ëÈ­,´Ý±â¹öÆ°ÀÌ ÀÌ»óÇØÁ³À»¶§... [2] Â¥¾Æ¾ÓèØ 12/05 13619 06/26(01:53)
10 ¼Ò½ºº¸±â ¹öÆ° ¸¸µé±â [1] Â¥¾Æ¾ÓèØ 11/27 13309 11/28(05:47)
FIRST1015161718192021LAST