묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
회원가입시나 수정시 닉네임/ID /E-mail 은 중복체크를 하자나요 . 이름도 가능할까요?
2005.06.22 17:24
회원가입시나 수정시 닉네임/ID /E-mail 은 중복체크를 하자나요 . 이름도 가능할까요?
$lang->msg_exists_nick_name = \
if ($data[ismember]) {
if(!$connect) dbconn();
$tempx = mysql_fetch_array(mysql_query("select * from zetyx_member_table where no=$data[ismember]"));
$picture=$tempx[picture];
$tempx[comment] = stripslashes($tempx[comment]);
} else {
$picture="$dir/no_img.gif" ;
}
if ($picture == '')
{
$picture="$dir/no_img.gif" ;
}
$resizepic = $picture;
$image_info = @getimagesize($resizepic);
$_x = 90;
$_y = 90;
if($image_info[0]>980 && $image_info[1]>710) {
$img_a = "<a onfocus=blur() href=\".javascriptvoid(window.open('$dir/view_image.php?filename=".urlencode($resizepic)."','resizepic','width=980,height=680,scrollbars=yes,toolbars=no'))\">";
} elseif($image_info[0]>980) {
$img_a = "<a onfocus=blur() href=\".javascriptvoid(window.open('$dir/view_image.php?filename=".urlencode($resizepic)."','resizepic','width=980,height=$image_info[1],scrollbars=yes,toolbars=no'))\">";
} elseif($image_info[1]>710) {
$img_a = "<a onfocus=blur() href=\".javascriptvoid(window.open('$dir/view_image.php?filename=".urlencode($resizepic)."','resizepic','width=$image_info[0],height=710,scrollbars=yes,toolbars=no'))\">";
} else {
$img_a = "<a onfocus=blur() href=\".javascriptvoid(window.open('$dir/view_image.php?filename=".urlencode($resizepic)."','resizepic','width=$image_info[0],height=$image_info[1],scrollbars=no,toolbars=no'))\">";
}
$img_a2 = "</a>";
if (date("A", $data[reg_date]) == 'AM')
$ampm = "오전";
else
$ampm = "오후";
$date=date("Y년 m월 d일 ".$ampm." h시 i분 s초", $data[reg_date]);
?>
윗부분 소스가 멤버관련 내용입니다..
출력변수:원하는 부분에 아래의 소스를 넣으면 되겠죠..
<?=$resizepic?>