½ÅÀçÈÆ      2001/12/13 03:49:47     17289     0   
   Á¦·Îº¸µå °øÁö»ðÀÔ¹ý=[¾ÆÀÌÄÜ]+³¯Â¥+Á¦¸ñ ÃֱٰԽù°
°£´ÜÇѰǵ¥¿ä;;
¿©±â´Ù ¿Ã·ÁµÎ µÉÁö ¸ð¸£°Ú³×¿©;;
¾î´ÀºÐ²²¼­ ¸¸µé¾î´Þ¶ó±¸ Çϼż­ ¿Ã¸³´Ï´Ù;;
Âà´ÔÀÇ °Ô½Ã¹°À» ¼öÁ¤Çؼ­ ¸¸µé¾ú½À´Ï´Ù
³Ê¹« °£´ÜÇÑ ¼öÁ¤ÀÌ¶ó¼­ ºÎ²ô·´³×¿©;;

======================================================
<?
function jju($id, $number)
{
        global $dbconn;
        
        if ($dbconn=="")
        {
                $dbconn=mysql_connect("localhost","¾ÆÀ̵ð","ºñ¹Ð¹øÈ£");  
                mysql_select_db("DBÀ̸§",$dbconn);
        }

        $result=mysql_query("select * from zetyx_board_$id order by no desc limit $number",$dbconn);  
        
        echo "<table width=100% border=0 cellspacing=0 cellpadding=0>";
        
        while($data=mysql_fetch_array($result))
  {
                $data[subject] = stripslashes($data[subject]);
                            $data[reg_date]=date("m/d",$data[reg_date]);//³¯Â¥Ãâ·ÂÇÔ¼öºÎºÐ'¡Û¿ù¡ÛÀÏ'Çü½ÄÀ» ¿øÇϽŴٸé'm¿ùdÀÏ'·Î °íÃÄÁÖ¼¼¿ä
                $max = 27; // Á¦¸ñ¿¡³ª¿Ã ±Û ½Ï¶Ò ÀÚ¸£±â
                $count = strlen($data[subject]);
                if($count >= $max)
                {
                        for ($pos=$max;$pos>0 && ord($new[subject][$pos-1])>=127;$pos--);
                        if (($max-$pos)%2 == 0)
                        $data[subject] = substr($data[subject], 0, $max) . "...";
                        else
                        $data[subject] = substr($data[subject], 0, $max+1) . "...";
                }
                else
                {
                        $data[subject] = "$data[subject]";
                }
                echo "<tr>";  
                echo "<td align=left height=20><img src='±×¸²°æ·Î/arr.gif'><font color='000000' face='±¼¸²' size='2'>".stripslashes("[$data[reg_date]]")."</font><a href=http://Á¦·Îº¸µå°æ·Î/zboard.php?id=$id&no=$data[no]>".stripslashes("$data[subject]")."</a></td>";   //¾ÆÀÌÄÜ,³¯Â¥,Á¦¸ñ Ãâ·Â
                echo "</tr>";
                            echo "<tr>";
                            echo "<td align=left height=5><img src='±×¸²°æ·Î/dot.gif'>";//Ä­¸¶´Ù ³ª¿Ã Á¡¼± À̹ÌÁö
                            echo "</tr>";
  }
  echo "</table>";
}
?>
====================================================================
ÀÌ°É XXX.php ÆÄÀÏ·Î ¸¸µå½Ã±¸¿©
ºÒ·¯³¾ html ¹®¼­¿¡
<? include"XXX.php"; ?>
<? jju("°Ô½ÃÆÇÀ̸§",ºÒ·¯³¾°Ô½Ã¹°¼ýÀÚ); ?>
ÀÌ·±½ÄÀ¸·ç ÇØÁÖ½Ã¸é µË´Ï´Ù

ÁÖÀÇ»çÇ× ÀÖ½À´Ï´Ù
¸¸¾à ´Ù¸¥ ÇÑ°³´õÀÇ °Ô½ÃÆÇÀ» °°Àº html¿¡ ¹®¼­¿¡
ÀÌ °Ô½Ã¹°ÆÄÀÏÀ» ÀÌ¿ëÇؼ­ ºÒ·¯µéÀ̽Ƕ§´Â
<? jju("°Ô½ÃÆÇÀ̸§",ºÒ·¯³¾°Ô½Ã¹°¼ýÀÚ); ?>
ÀÌ ºÎºÐ¸¸ ½áÁּžßÇÕ´Ï´Ù
ÀÎŬ·çµå¸¦ µÎ¹øÇØÁÖ½Ã°ÔµÇ¸é ¹Ýº¹Çؼ­ ºÒ·¯µéÀÌ´Â °á°ú°¡ µÇ±â¶§¹®¿¡
Àú ºÎºÐ¸¸ ½áÁÖ½Ã¸é µË´Ï´Ù
½±°Ô Ç¥ÇöÇÏÀÚ¸é ÀÌ·¸°Ô µÇ´Â°ÅÁÒ
===================================
=°øÁö»çÇ×=
<? include"XXX.php"; ?>
<? jju("°Ô½ÃÆÇÀ̸§",ºÒ·¯³¾°Ô½Ã¹°¼ýÀÚ); ?>

=´º½º=
<? jju("°Ô½ÃÆÇÀ̸§",ºÒ·¯³¾°Ô½Ã¹°¼ýÀÚ); ?>
====================================
ÀÌ·±½ÄÀ¸·ç¿ä ^^

¿¹Á¦ÆÄÀÏÀ» ¸µÅ©ÇصѲ²¿©

http://jjuya.freesian.com/php/test.php

±Û±¸ ³ª¿À°Ô µÉ À̹ÌÁö ÆÄÀÏ µÎ°³ ¸µÅ©ÇصΰڽÀ´Ï´Ù
´Ù¿î¹Þ¾Æ¼­ »ç¿ëÇϼ¼¿©~
¾ÆÂü ±×¸®±¸ µû·Î ½ºÅ¸ÀÏÀ» Àû¿ëÇصÎÁö ¾Ê¾Ò±â¶§¹®¿¡
»ç¿ëÇÏ°Ô µÉ html¹®¼­¿¡

<style type="text/css">
A:link {color:#999999; text-decoration:none; font-size:12px}
A:visited {color:#999999; text-decoration: none; font-size:12px}
A:hover {color:#000000; text-decoration: underline; font-size:12px}
</style>

ÀÌ°É ÇØµÎ½Ã¸é ¿¹Á¦ÆÄÀÏ°ú ¶È°°ÀÌ ³ª¿À°ÔµË´Ï´ç;;;
¹ÌÈíÇÏÁö¸¸ ¸¹Àº µµ¿òµÇ±æ ¹Ù·¡¿©;;




   
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.

       

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