¼¿·ºÆ® Ä«Å×°í¸® Á¦¸ñ ¿À¸¥ÂÊ¿¡ °Ô½Ã¹° ¼ö ³ªÅ¸³»±â (ȨÇÇ°ü¸®) | |
2003-10-22 (¼ö) 08:28 Á¶È¸:1191 | |
|
Æîħ¸Þ´º¸¦ ÀÌ¿ëÇÏ´Â ¼¿·ºÆ® Ä«Å×°í¸®¿¡¸¸ Àû¿ëµË´Ï´Ù. ¿¹Á¦´Â ½ºÅ©¸° ¼¦À» º¸½Ã±¸¿ä, Á¦·Îº¸µå µð·ºÅ丮 ³»ÀÇ _head.php ÆÄÀÏÀ» Á¶±Ý¸¸(3ºÎºÐ) ¼öÁ¤ÇϽøéµË´Ï´Ù. ¼öÁ¤ÇÒ ºÎºÐÀº ¾Æ·¡¿Í °°½À´Ï´Ù. _head.phpÆÄÀÏ¿¡¼ Ä«Å×°í¸®¶ó°í °Ë»öÇϽøé ù¹ø°·Î ³ª¿É´Ï´Ù. // Ä«Å×°í¸® Àоî¿À±â if($setup[use_category]) { $_dbTimeStart = getmicrotime(); $result=mysql_query("select * from $t_category"."_$id order by no"); $_dbTime += getmicrotime()-$_dbTimeStart; $a_category="<select name=category onchange=category_change()><option value=''>Category ($setup[total_article])</option>"; while($data=mysql_fetch_array($result)) { $category_num_c[]=$data[no]; $category_name_c[]=$data[name]; $category_n_c[]=$data[num]; $category_data[$data[no]]=$data[name]; $_category_data[$data[no]]=$data[num]; if($category==$data[no]) $a_category.="<option value=$data[no] selected>$data[name]($data[num])</option>"; else $a_category.="<option value=$data[no]>$data[name] ($data[num])</option>"; . . . À§ÀÇ ÆĶõ»ö ±Û¾¾ ºÎºÐÀÌ Ãß°¡ÇÏ¼Å¾ß ÇÒ °ÍÀÔ´Ï´Ù. ¸Ç óÀ½ÀÇ ($setup[total_article])Àº ÃÑ °Ô½Ã¹°ÀÇ ¼ö (xxx°³)¸¦ ³ªÅ¸³»´Â °ÍÀÔ´Ï´Ù. µÎ¹ø°´Â Ä«Å×°í¸®¸¦ ¼±ÅÃÇÏ¿´À»½Ã ±× ÇØ´ç Ä«Å×°í¸®ÀÇ °Ô½Ã¹° ¼ö¸¦ ³ªÅ¸³»´Â °ÍÀ̱¸¿ä, ¼¼¹ø°´Â Ä«Å×°í¸® ¼¿·ºÆ® ¸Þ´º¸¦ ÆîÃÆÀ» ½Ã °¢ Ä«Å×°í¸®¸¶´Ù °Ô½Ã¹° ¼ö¸¦ ³ªÅ¸³»´Â °ÍÀÔ´Ï´Ù. ¼³¸íÀÌ ÀÌÇØ°¡ ¾È°¡½Ã´Â ºÐµéÀº Á÷Á¢ Çغ¸½Ã¸é ½±°Ô ÀÌÇØÇÏ½Ç ¼ö ÀÖÀ»°ÍÀÔ´Ï´Ù. <Ãâó :nzeo.com/Á¶ÀºÀÏ´Ô> |