묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이름아이콘이 있는사람은 레벨아이콘 표시 안되게 하려면..
2004.01.12 09:09
// 이름앞에 붙는 아이콘 정의;;
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/admin10_face.gif>";
elseif($level==9) $face_image="<b><img src=images/admin9_face.gif border=0 align=absmiddle>";
elseif($level==8) $face_image="<b><img src=images/admin8_face.gif border=0 align=absmiddle>";
elseif($level==7) $face_image="<b><img src=images/admin7_face.gif border=0 align=absmiddle>";
elseif($level==6) $face_image="<b><img src=images/admin6_face.gif border=0 align=absmiddle>";
elseif($level==5) $face_image="<b><img src=images/admin5_face.gif border=0 align=absmiddle>";
elseif($level==4) $face_image="<b><img src=images/admin4_face.gif border=0 align=absmiddle>";
elseif($level==3) $face_image="<b><img src=images/admin3_face.gif border=0 align=absmiddle>";
elseif($level==2) $face_image="<b><img src=images/admin2_face.gif border=0 align=absmiddle>";
elseif($level==1) $face_image="<b><img src=images/admin1_face.gif border=0 align=absmiddle>";
else
{
if($group[icon]) $face_image="<img src=icon/$group[icon] border=0 align=absmiddle>";
else $face_image="<img src=images/member_face.gif border=0 align=absmiddle>";
}
}
else $face_image="<img src=images/admin10_face.gif border=0 align=absmiddle>";
$face_image="<div align=left> ".$face_image;
}
$temp_name = get_private_icon($data[ismember], "1");
if($temp_name) $face_image="<img src='$temp_name' border=0 align=absmiddle>";
if($group[use_icon]==1&&$data[ismember]) $face_image="<b>";
//if($data[ismember]&&$data[parent]) $face_image="<b>";
//elseif($data[parent]) $face_image="";
return $face_image;
}
이름아이콘이 있는사람은 레벨아이콘 표시 안되게 하려면 위에서 어떻게 고쳐야되요?
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/admin10_face.gif>";
elseif($level==9) $face_image="<b><img src=images/admin9_face.gif border=0 align=absmiddle>";
elseif($level==8) $face_image="<b><img src=images/admin8_face.gif border=0 align=absmiddle>";
elseif($level==7) $face_image="<b><img src=images/admin7_face.gif border=0 align=absmiddle>";
elseif($level==6) $face_image="<b><img src=images/admin6_face.gif border=0 align=absmiddle>";
elseif($level==5) $face_image="<b><img src=images/admin5_face.gif border=0 align=absmiddle>";
elseif($level==4) $face_image="<b><img src=images/admin4_face.gif border=0 align=absmiddle>";
elseif($level==3) $face_image="<b><img src=images/admin3_face.gif border=0 align=absmiddle>";
elseif($level==2) $face_image="<b><img src=images/admin2_face.gif border=0 align=absmiddle>";
elseif($level==1) $face_image="<b><img src=images/admin1_face.gif border=0 align=absmiddle>";
else
{
if($group[icon]) $face_image="<img src=icon/$group[icon] border=0 align=absmiddle>";
else $face_image="<img src=images/member_face.gif border=0 align=absmiddle>";
}
}
else $face_image="<img src=images/admin10_face.gif border=0 align=absmiddle>";
$face_image="<div align=left> ".$face_image;
}
$temp_name = get_private_icon($data[ismember], "1");
if($temp_name) $face_image="<img src='$temp_name' border=0 align=absmiddle>";
if($group[use_icon]==1&&$data[ismember]) $face_image="<b>";
//if($data[ismember]&&$data[parent]) $face_image="<b>";
//elseif($data[parent]) $face_image="";
return $face_image;
}
이름아이콘이 있는사람은 레벨아이콘 표시 안되게 하려면 위에서 어떻게 고쳐야되요?