2003/07/25 13:44:25     461   
   ¸ðÁú¶ó´Ô~ [1]
*--------------------------------------------------------------------------------------*
<?
/***************************************************************************
* °øÅëÆÄÀÏ include
**************************************************************************/
        include "_head.php";

// »ç¿ë±ÇÇÑ Ã¼Å©
        if($setup[grant_view]<$member[level]&&!$is_admin) Error("»ç¿ë±ÇÇÑÀÌ ¾ø½À´Ï´Ù","login.php?id=$id&page=$page&page_num=$page_num&category=$category&sn=$sn&ss=
$ss&sc=$sc&keyword=$keyword&no=$no&file=zboard.php");

   $query = "select * from zetyx_vote_id where vote_no='$no' and vote_name='$id' and
user_id='$member[user_id]' or vote_no='$no' and vote_name='$id' and user_ip='$REMOTE_ADDR'";
   $result = mysql_query($query,$connect);
   $fields = mysql_num_fields($result);
   $rows = mysql_num_rows($result);
   $search = mysql_fetch_array($result);


        if(!$member[user_id]) Error("·Î±×ÀÎÇÏÁö ¾ÊÀ¸¼Ì½À´Ï´Ù");
           else if($rows==0){
        // ÇöÀç±ÛÀÇ Vote¼ö ¿Ã¸²;;
                if(!eregi($setup[no]."_".$no,  $HTTP_SESSION_VARS[zb_vote])) {
                        mysql_query("update $t_board"."_$id set vote=vote+1 where no='$sub_no'");
                        mysql_query("update $t_board"."_$id set vote=vote+1 where no='$no'");
                        mysql_query("insert into zetyx_vote_id (vote_no,vote_name,user_id,user_ip) values ('$no','$id',
'$member[user_id]','$REMOTE_ADDR')") or Error("µ¥ÀÌŸ ÀúÀå½Ã ¿À·ù ¹ß»ý");

                        // 4.0x ¿ë ¼¼¼Ç ó¸®
                        $zb_vote = $HTTP_SESSION_VARS[zb_vote] . "," . $setup[no]."_".$no;
                        session_register("zb_vote");

                        // ±âÁ¸ ¼¼¼Ç ó¸® (4.0x¿ë ¼¼¼Ç 󸮷ΠÀÎÇÏ¿© ÁÖ¼® ó¸®)
                        //$HTTP_SESSION_VARS[zb_vote] = $HTTP_SESSION_VARS[zb_vote] . "," . $setup[no]."_".$no;
                }
                else Error("ÀÌ¹Ì ÅõÇ¥Çϼ̽À´Ï´Ù");
        }
        else Error("ÀÌ¹Ì ÅõÇ¥Çϼ̽À´Ï´Ù");

        @mysql_close($connect);

// ÆäÀÌÁö À̵¿
        if($setup[use_alllist]) movepage("zboard.php?id=$id&page=$page&page_num=$page_num&select_arrange=
$select_arrange&desc=$des&sn=$sn&ss=$ss&sc=$sc&keyword=$keyword&category=$category&no=$no");
        else  movepage("view.php?id=$id&page=$page&page_num=$page_num&select_arrange=
$select_arrange&desc=$des&sn=$sn&ss=$ss&sc=$sc&keyword=$keyword&category=$category&no=$no");
  
?>
*--------------------------------------------------------------------------------------*

°¡¸£ÃÄ ÁֽŴë·Î ÀÌ·¸°Ô ÇÏ°í
·Î±×ÀÎ ¾ÈÇÏ°í ÅõÇ¥¸¦ Çϸé¿ä
¸Ç À§¿¡
*--------------------------------------------------------------------------------------*
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/sai2705/public_html/zboard/apply_vote.php on line 14

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sai2705/public_html/zboard/apply_vote.php on line 15

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sai2705/public_html/zboard/apply_vote.php on line 16
*--------------------------------------------------------------------------------------*
À̶ó°í ¶ß°Åµç¿ä.. ^^;; ÀÌ°Ç..;; ¸ÓÁ¶?

±×¸®°í ·Î±×ÀÎ ÇÏ°í ÅõÇ¥¸¦Çصµ
Áߺ¹ÅõÇ¥ÀÔ´Ï´Ù °¡À̳ª¶ó;;

µ¥ÀÌŸ ÀúÀå½Ã ¿À·ù ¹ß»ý
À̶ó´Â ¿À·ù°¡ ¶ß°í
Áߺ¹ÀûÀ¸·Î ¼³¹®Á¶»ç°¡ °è¼ÓÂïÈ÷±¸..
¶Ç ¸ÇÀ§¿¡
*--------------------------------------------------------------------------------------*
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/sai2705/public_html/zboard/apply_vote.php on line 14

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sai2705/public_html/zboard/apply_vote.php on line 15

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/sai2705/public_html/zboard/apply_vote.php on line 16
*--------------------------------------------------------------------------------------*
ÀÌ·¸°Ô ¶ß´Âµ¥ À̰ǹ¹Á¶..?
writer ip : 211.204.135.71    


211.111.3.98
2003/07/25 15:26:53
À§ ½ºÅ©¸³Æ®¸¦ »ç¿ëÇϱâ À§Çؼ­´Â DB Å×À̺íÀ» »ý¼ºÇÏ¼Å¾ß ÇÕ´Ï´Ù¸¸, ¾ÆÁ÷ »ý¼ºÇÏÁö ¾ÊÀ¸½Åµí Çϱº¿ä.. ^^ http://www.compuz.com/zboard/zboard.php?id=download6&no=59 À» Âü°íÇغ¸½Ã±â ¹Ù¶ø´Ï´Ù. °¨»çÇÕ´Ï´Ù.

      

       

21219 °èÁ¤ ¿¬Àå¿¡ °üÇÏ¿©.. [1] °­¼ø¿µ 09/06 1608
21218 ±â°£ ¿¬Àå ¾ðÁ¦±îÁöÀԴϱî? [2] »ö¿¬ÇÊ 09/06 3
21217 htpasswd [1] °í±¸¸¶ 09/06 1
21216 ¹®Àǵ帳´Ï´Ù. [1] Á¶»ó±Ù 09/06 1
21215 µµ¸ÞÀÎ Á¢¼ÓÀÌ µÇÁö ¾Ê½À´Ï´Ù. [1] ¹ÚÁö¿ë 09/06 5
21214 °èÁ¤¿¬Àå°ú °ü·ÃÇÏ¿© ¹®Àǵ帳´Ï´Ù. [1] Çѽ°æ 09/06 1
21213 °èÁ¤ ¿¬Àå¿¡ ´ëÇÑ Áú¹®ÀÔ´Ï´Ù. [1] ½Å¿µ¼ö 09/06 1
21212 °èÁ¤¿¬ÀåÇߴµ¥..-¤±- [1] 09/06 1644
21211 ¿ë·®ÀÌ ´ÃÁú ¾Ê¾Ò±º¿ä.. [1] dummy 09/06 1401
21210 ¼­ºñ½º º¯°æ¿¡ °üÇÑ ¿ä±Ý ¹®ÀÇ [1] ÇÑÁÖ¸¾ 09/06 1
21209 Dbase ¿¡·¯°¡ ³³´Ï´Ù. [1] saltflower 09/05 2044
21208 À̺ÐÀ» ¿î¿µÁøÀ¸·Î Á» ÀÓ¸íÇØÁÖ¼ÌÀ¸¸é ÇÕ´Ï´Ù. [1] ³ë¼÷ 09/04 1831
21207 ¾ÆÀ̵ð, ºñ¹Ð¹øÈ£ °ü·Ã Áú¹® [2] ³ë¼÷ 09/04 3
21206 °èÁ¤ ¿¬Àå or º¯°æ? [1] ±èÁÖ¿ë 09/04 1425
21205 ¹®Àǵ帳´Ï´Ù [1] Ä«¹Â 09/03 2
FIRST201208209210211212213214221LAST