묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
레벨별 아이콘 붙일 때.....
2004.10.08 19:52
// 이름앞에 붙는 아이콘 정의;;
if($data[ismember])
{
$level_temp=mysql_fetch_row(mysql_query("select level from zetyx_member_table where no={$data[ismember]}"));
$level=$level_temp[0];
if($level==10) $face_image="<b><img src=images/sera_level4/10.gif >";
elseif($level==9) $face_image="<b><img src=images/sera_level4/9.gif >";
elseif($level==8) $face_image="<b><img src=images/sera_level4/8.gif >";
elseif($level==7) $face_image="<b><img src=images/sera_level4/7.gif >";
elseif($level==6) $face_image="<b><img src=images/sera_level4/6.gif >";
elseif($level==5) $face_image="<b><img src=images/sera_level4/5.gif >";
elseif($level==4) $face_image="<b><img src=images/sera_level4/4.gif >";
elseif($level==3) $face_image="<b><img src=images/sera_level4/3.gif >";
elseif($level==2) $face_image="<b><img src=images/sera_level4/2.gif >";
elseif($level==1) $face_image="<b><img src=images/sera_level4/1.gif >";
이렇게 썼거든요. 그런데 레벨10이 엑박으로 떠요. 분명히 업로드도 되있고 이름도 안 틀렸는데... 왜 그럴까요?
if($data[ismember])
{
$level_temp=mysql_fetch_row(mysql_query("select level from zetyx_member_table where no={$data[ismember]}"));
$level=$level_temp[0];
if($level==10) $face_image="<b><img src=images/sera_level4/10.gif >";
elseif($level==9) $face_image="<b><img src=images/sera_level4/9.gif >";
elseif($level==8) $face_image="<b><img src=images/sera_level4/8.gif >";
elseif($level==7) $face_image="<b><img src=images/sera_level4/7.gif >";
elseif($level==6) $face_image="<b><img src=images/sera_level4/6.gif >";
elseif($level==5) $face_image="<b><img src=images/sera_level4/5.gif >";
elseif($level==4) $face_image="<b><img src=images/sera_level4/4.gif >";
elseif($level==3) $face_image="<b><img src=images/sera_level4/3.gif >";
elseif($level==2) $face_image="<b><img src=images/sera_level4/2.gif >";
elseif($level==1) $face_image="<b><img src=images/sera_level4/1.gif >";
이렇게 썼거든요. 그런데 레벨10이 엑박으로 떠요. 분명히 업로드도 되있고 이름도 안 틀렸는데... 왜 그럴까요?