¸ð¹ÙÀÏ¿¡¼ µî·Ï½Ã ±ÛÁ¦¸ñ¿·¿¡ ¸ð¹ÙÀÏ ¾ÆÀÌÄÜ »ý¼ºÇϱâ (ȨÇÇ°ü¸®) | |
2013-01-03 (¸ñ) 18:21 Á¶È¸:2865 121.xxx.145 | |
|
º» È°¿ëÆíÀº Á¦°¡ °í¹ÎÇÏ°í »ðÁúÇÑ ´ÙÀ½ ¸·Èù°ÍÀ» À̱ÔÇÏ´Ô²²¼ ´äº¯Áּ̽À´Ï´Ù. »ðÁú : ¹ÚÁ¤È¯ ¿Ï¼º : À̱ÔÇÏ.¤»¤» º» È°¿ë¼Ò½º´Â ¸ð¹ÙÀÏ¿¡¼ ±ÛÀ» µî·ÏÇÏ¸é °Ô½ÃÆÇ¿¡ ¸ð¹ÙÀÏ ¾ÆÀÌÄÜÀÌ ³ªÅ¸³³´Ï´Ù. Å×½ºÆ® : ÈÞ´ëÆùÀ¸·Î hubis.or.kr Á¢¼ÓÈÄ ÀÚÀ¯°Ô½ÃÆÇ¿¡ ±Û½áº¸¼¼¿ä!! (¹°·Ð ´Ù¸¥ °÷µµ °¡´ÉÇÏÁö¸¸..´Ù¸¥°÷Àº Á»..½ÇÁ¦ ¿î¿µÁßÀΠȨÆäÀÌÁö¶ó¼.¤»¤») http://hubis.or.kr/hu/board.php?board=free (ÀÚÀ¯°Ô½ÃÆÇ ½ÇÁ¦ ÁÖ¼Ò) ÀÚ ±×·³ ¼ÂÆÃÀ» Çغ¼±î¿ä? 1. »ç¿ëÇÏ°í °è½Ã´Â technote/lib.php ÆÄÀÏ¿¡ ¾Æ·¡ ¼Ò½º Ãß°¡ // Á¢¼ÓÇüÅ ¾Ë¾Æº¸±â function is_mobile() { // À¥ºê¶ó¿ìÀú user agent üũ if ( preg_match('/(iphone|samsung|lgtel|mobile)/i', $_SERVER['HTTP_USER_AGENT']) ) return true; else return false; } (Àú´Â 259Âë ¿¡¼ Ãß°¡Çß¾î¿ä! function ÀÖ´Â°Í º¸½Ã°í Àû´çÇÑ °÷¿¡ ³ÖÀ¸¼¼¿ä!) 2. »ç¿ëÇÏ°í °è½Ã´Â ¸ð¹ÙÀÏ ±Û¾²±â 4_write.php ÆÄÀÏÀ» ¿¾î¼ ¼Ò½º Ãß°¡ÇÕ´Ï´Ù. <?function WRITE_form_add10($Write_add_array){ global $Bconfig,$this_skin,$Take_value;?> <tr> <td class=write_left_td><?=$Write_add_array[0]?></td> <td class=write_check_td><img src="<?=$this_skin.'/b_img/icons/'.$Write_add_array[1]?>" /></td> <td class=write_right_td><input type="hidden" name="user_add10" value="<?=(is_mobile())?'m':''?>" /> </td> </tr> <?}?> 3. ÀÏ¹Ý ±Û¾²±â 4_write.php ÆÄÀÏÀ» ¿¾î¼ Ãß°¡ÇÕ´Ï´Ù.(ÀÏ¹Ý ±Û¾²±â ÀÏ°æ¿ì ÀÔ·Ââ Ãâ·Â¾ÈµÇ°Ô ¼³Á¤) <?function WRITE_form_add10($Write_add_array){ global $Bconfig,$this_skin,$Take_value;?> <? if ( is_mobile() ) { ?> <tr> <td class=write_left_td><li><?=$Write_add_array[0]?></td> <td class=write_check_td><img src="<?=$this_skin.'/b_img/icons/'.$Write_add_array[1]?>"></td> <td width=1 valign=top><img src='<?=$this_skin?>/b_img/icons/line.gif'></td><td class=write_right_td> <input type="hidden" name="user_add10" value="<?=(is_mobile())?'m':''?>" /> </td> </tr> <tr><td class=write_td_back colspan=4></td></tr> <? } ?> <?}?> 4. ÀÌÁ¦ ±ÛÁ¦¸ñ ¿·¿¡ ¾ÆÀÌÄÜÀÌ Ãâ·ÂµÇ°Ô Çؾ߰ÚÁÒ! »ç¿ëÇϽô 2_index.php ÆÄÀÏÀ» ¿¾î¼ //[4] ±ÛÁ¦¸ñ function INDEX_cell_4(){ global $Bconfig,$Index_data,$this_skin,$no,$subject_link_function,$search;?> ÀÌ·¸°Ô ½ÃÀ۵Ǵ ºÎºÐ º¸À̽ÃÁÒ! ............. if($Index_data['give_point']>0) //Æ÷ÀÎÆ® Áõ¿©±Û Ç¥½Ã echo " <img src='$this_skin/b_img/attrib/money.gif' align=absmiddle><font style='font-size:7pt; font-family:Tahoma; color:#ff6600;'>". number_format($Index_data['give_point'])."</font>"; // º¸µå¼³Á¤ [6-16] - ¸ð¹ÙÀÏ ¾ÆÀÌÄÜ Ç¥½Ã Ãß°¡ºÎºÐ if ($Index_data['user_add10']=="m") echo "<img src='$this_skin/b_img/attrib/money.gif' align=absmiddle>"; ÀÌ»ó ¸ðµç°ÍÀÌ ³¡³µ½À´Ï´Ù. ¿À´Ã ÀÌ°ÅÇÑ´Ù°í »ý °í»ýÇß´ä´Ï´Ù.¤»¤» Ãßõ ¸¹ÀÌ ´·¯ÁÖ¼¼¿ä!! ÇÔ²² ³ª´©´Â Å×Å©³ëÆ® »çÀÌÆ®.¤»¤» Ãâó : http://www.technote.co.kr/php/technote1/board.php?board=apple&search=%B8%F0%B9%D9%C0%CF&shwhere=subject|&command=body&no=1274
|