모바일에서 특정레벨 이상만 이미지 원본이 새창으로 뜨게 하고싶은데요 채택완료
미스터짱
10년 전
조회 5,035
모바일에서 특정레벨 이상만 이미지 원본이 새창으로 뜨게 하고싶은데요.. 이렇게 해도 적용이 안되네요.......
도와주세요~
</p><p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);">if(G5_IS_MOBILE && $member['mb_level']< 8 ){</span><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> </span></p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> //$img = '<a href="'.G5_BBS_URL.'/view_image.php?bo_table='.$board['bo_table'].'&fn='.urlencode($file).'" target="_blank" class="view_image">'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> $img .= '<img src="'.G5_DATA_URL.'/file/'.$board['bo_table'].'/'.urlencode($file).'" alt="'.$content.'">'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> //$img .= '</a>'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> return $img; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);">}else{ </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> $img = '<a href="'.G5_BBS_URL.'/view_image.php?bo_table='.$board['bo_table'].'&fn='.urlencode($file).'" target="_blank" class="view_image">'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> $img .= '<img src="'.G5_DATA_URL.'/file/'.$board['bo_table'].'/'.urlencode($file).'" alt="'.$content.'">'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> $img .= '</a>'; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> return $img; </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> } </span><br style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"><p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);"> }</span> </p><p><span style="font-family: 돋움, dotum, helvetica; font-size: 12px; line-height: 20.3999996185303px; text-align: justify; background-color: rgb(236, 237, 239);">
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인