Á¤¼ºÈÆ      2002/02/25 15:06:42     505   
   Â¥¾Æ¾Ó´Ô....ÃֽŰԽù° »Ì±âÁ» ¾Ë·ÁÁÖ¼¼¿ä
¾È³çÇϼ¼¿ä
ÆÁ¶õ¿¡¼­ °ü¸®ÀÚ´Ô²¾¼­ ¿Ã·Á ³õÀº °Ô½Ã¹° »Ì±â¸¦ µû¶ó Çغ¸¾Ò´Âµ¥..

Warning: Failed opening 'notice.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home2/ezi/public_html/notice.htm on line 2

Fatal error: Call to undefined function: dbconn() in /home2/ezi/public_html/notice.htm on line 3

notice.php , notice.htm À» ¸¸µé¾î notice.htmÀ» ½ÇÇà Çϴϱñ...ÀÌ·± ¿¡·¯°¡ ³ª´Âµ¥
¸Ó°¡ ¹®Á¦ÀÎÁö ¾Ë·ÁÁÖ¼¼¿ä....

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

// Àý´ë °æ·Î¼³Á¤
// define('F_URL','Àý´ë°æ·Î);
define('F_URL','/home2/ezi/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>

");}

?>



notice.htm˼
<?
        include "notice.php";
        if(!$connect) $connect=dbConn();
?>


// ÇѱÛÁ¦¸ñ, ¿µ¹®Á¦¸ñ, °Ô½ÃÆÇ ID, Ç¥½ÃÇà¼ö, Á¦¸ñ±æÀÌ(¿µ¹®±âÁØ)
<? show_list("°øÁö»çÇ×","¿µ¹®Á¦¸ñ","ezi3",7,80); ?>


<? if($connect) mysql_close($connect); $connect=""; ?>

ÀÌ·¸°Ô ¸¸µé¾î ¿Ã·Á ºÃ½À´Ï´Ù.
Â¥¾Æ¾Ó´Ô Á» °¡¸£ÃÄ ÁÖ¼¼¿ä
Á¦°¡ ¹«ÁöÇÑ°Ç ¾Æ½ÃÁ®???
writer ip : 211.243.146.127    
      

       

11506 »ç¶ûºñ Bgm ÀνºÅçÀÌ.. [1] 10/12 3
11505 DB ¿À·ù ¤Ñ¤Ñ;; [1] 10/12 1126
11504 DB ¿¡·¯¿¡ ´ëÇؼ­¿ä.. [1] À¯±¤Èñ(cpuebl 10/12 1115
11503 DB¿¡·¯~~ [3] Á¤¼Ò¿¬ 10/12 923
11502 DB¿¡·¯ ¸Þ¼¼Áö°¡ ÀÚ²Ù¶°¿ä~~~!! [1] ÃÖ°æ¹Ì 10/12 1161
11501 Àúµµ µðºñ¿¡·¯ ¶ß³×¿ä... [1] À̵æÈñ 10/12 438
11500 ÀÚ²Ù DB ¿À·ù¶°¿ä ¤Ñ¤Ñ; [1] 10/12 438
11499 Æ÷¼¼À̵· DB ¹®Á¦ÀÖ³ª¿ä? [1] /(``)/³¯¾Æ¶ù~ 10/12 1393
11498 [re] Á¦ Áú¹® ´äº¯¾ÈÇØÁּż­ ´Ù½Ã ¿Ã¸³´Ï´Ù~! 10/12 504
11497 ¸ÞÀÏÀ» º¸³¾¼ö °¡ ¾ø³×¿ä. [1] »ï¿ùÅä³¢ 10/12 5
11496 [re] ÇÑ°¡Áö ÀÏ·Î ¿©·¯¹ø ±«·ÓÈ÷³×¿ä^^;; 10/12 5
11495 [re] FTP ¿¢¼¼½º ±Çȯ 10/12 620
11494 Áú¹® '')/ [1] 10/12 439
11493 [re] µµ¸ÞÀÎ ¼¼ÆÃÀ» ³ªÁß¿¡ Çصµ ±¦Âú³ª¿ä? 10/12 1088
11492 µµ¸ÞÀÎ ¼¼ÆÃÀ» ³ªÁß¿¡ Çصµ ±¦Âú³ª¿ä? À¯´Ï 10/12 711
FIRST845852853854855856857858865LAST