½ÅÀçÈÆ      2001/12/13 03:49:47     17333     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 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.

       

281 ÄÄÇ»ÅÍ ¿À·¡Çؼ­ ´«ÀÌ ÇÇ°ïÇÒ¶§ Áö¾Ð¹ý [2] ½ÅÀ¯ 01/11 15138 05/21(10:48)
280 ¿©·¯°¡Áö ¿îµ¿È­²ö ¹­´Â ¹æ¹ý!! [2] ½ÅÀ¯ 01/11 12643 05/21(10:48)
279 XPÀÇ ÀÚµ¿ ²¨Áü ¿¹¾àÇϱâ [6] ½ÅÀ¯ 01/11 14801 01/20(01:07)
278 ¼îÇθôâ¾÷ : ¼îÇθôÁ¦ÀÛ±âȹ [2] Á¤Àξƺü 12/09 11841 05/21(10:48)
277 ¼îÇθôâ¾÷ â¾÷½Ã ¾Ë¾ÆµÎ¾î¾ßÇÒ ¼îÇθô¼Ö·ç¼Ç Á¾... Á¤Àξƺü 12/09 12151
276 ¼îÇθôâ¾÷ : ³ëÇϿ츦 ã´Â ¼îÇθôâ¾÷ÀÚ.. Á¤Àξƺü 12/09 11738
275 ¼îÇθô â¾÷ : ¼îÇθô ¼Ö·ç¼Ç°ú Á¦ÀÛ¾÷ü ¼±Á¤½Ã... Á¤Àξƺü 12/09 12020
274 ¼îÇθôâ¾÷ : ¼îÇθô ½ÇÆÐÇÏÁö ¾ÊÀ¸·Á¸é.. Á¤Àξƺü 12/09 11712
273 ¼îÇθô â¾÷ : ¼îÇθô â¾÷ÀÇ À߸øµÈ ¼±Åà Á¤Àξƺü 12/09 11510
272 ȨÆäÀÌÁö ¿î¿µÀ» À§ÇØ ÇÊ¿äÇÑ °Íµé [1] Á¤Àξƺü 12/09 13154 01/13(14:07)
271 À©µµ¿ì XP¿¡¼­ ³×Æ®¿öÅ© ¼Óµµ 100% ·Î È°¿ëÇϱâ Á¤Àξƺü 11/17 15674
270 ÀÎÅÍ³Ý ½ÃÀÛÆäÀÌÁö °íÁ¤ ¹æ¹ý [1] Á¤Àξƺü 11/17 12172 01/10(04:08)
269 À¯ÇØ »çÀÌÆ® Â÷´Ü ¹æ¹ý [2] Á¤Àξƺü 11/17 14040 01/13(11:28)
268 ÇÁ·Î±×·¥ ¼³Ä¡ÇÏ°í »èÁ¦ ÇßÀ»°æ¿ì ·¹Áö½ºÆ®¸® Á¦... [1] Á¤Àξƺü 11/17 12756 11/22(20:30)
265 Æ÷Åä¼¥ ½ÇÇàÁß ²¨Áú ¶§ ´ëóÇÏ´Â ¹æ¹ý À¥µðÀÚÀÎ 11/15 16972
FIRST123456713LAST