질문드려요;ㅁ; > Forum

본문 바로가기
  • kb@lovelet.com
사이트 내 전체검색

RESOURCES Forum

질문드려요;ㅁ;

페이지 정보

본문

영화게시판 Ver 3.0 Lite를 쓰고 있구..


http://show1485.digimoon.net/bbs/zboard.php?id=pro


이게 게시판 주소여요.



전에 질문드렸던건데 소스를 알아야 하실것 같다 하셔서 소스를 적어왔습니다.


---Write. php



<? include "$dir/module.php"; ?>


<?
// 데이터 정렬하기
$lovelet_data=array();
$lovelet_data=explode("||",$data[memo]);


$ll1=$lovelet_data[0]; // 성별/나이
$ll2=$lovelet_data[1]; // 키/몸무게
$ll3=$lovelet_data[2]; // 성격
$ll4=$lovelet_data[3]; // 특징 및 기타
$ll5=$lovelet_data[4]; // 직업 or 경험치
$ll6=$lovelet_data[5]; // 자캐관계도
$ll7=$lovelet_data[6]; // 한마디
$ll8=$lovelet_data[7]; // 가진포켓몬
$ll9=$lovelet_data[8]; // 인벤토리란


?>




프로필 작성


<?=$hide_start?>


닉네임 |&nbsp;
비밀번호 |&nbsp;
전자우편 |&nbsp;
홈페이지 |&nbsp;

<?=$hide_end?>



이름 |&nbsp; maxlength=200 class=input2 style='width:50%;'>&nbsp;(분류 : <?=$category_kind?>)

성별/나이 |&nbsp; class=input2 style='width:50%;' onchange="changeinfo();">

키/몸무게 |&nbsp; class=input2 style='width:100%;' onchange="changeinfo();">

성격 |&nbsp;<?=$ll3?>

특징 및 기타 |&nbsp;<?=$ll4?>

직업 or 경험치 |&nbsp; class=input2 onchange="changeinfo();">

관계 |&nbsp;<?=$ll6?>

공식사이트 |&nbsp;

두상 |&nbsp;<?=$file_name1?>

전신 |&nbsp;<?=$file_name2?>

한마디 |&nbsp; class=input2 style='width:100%;' onchange="changeinfo();">

가진 포켓몬 |&nbsp;<?=$ll8?>

Inventory |&nbsp;<?=stripslashes($ll9)?>

/submit.gif accesskey="s" onfocus='this.blur()' alt=확인><?=$dir?/cancel.gif alt=취소>


---View.php




if(v.style.display=="none"){
v.style.display ="";
}else{
v.style.display ="none";
}
}
-->



<? include "$dir/value.php3"; ?>


<?
if(eregi("\\.jpg|\\.png|\\.gif|\\.jpeg",$data['file_name2'])&&@file_exists($data['file_name2'])) {
$screenshot1 = $data['file_name2'];
$image_info = @getimagesize($screenshot1);
}
else {
$screenshot1="$dir/noimg2.gif";
}



// 데이터 정렬하기
$lovelet_data=array();
$lovelet_data=explode("||",$data[memo]);


$ll1=$lovelet_data[0]; // 성별/나이
$ll2=$lovelet_data[1]; // 키/몸무게
$ll3=$lovelet_data[2]; // 성격
$ll4=$lovelet_data[3]; // 특징 및 기타
$ll5=$lovelet_data[4]; // 직업 or 경험치
$ll6=$lovelet_data[5]; // 자캐관계도
$ll7=$lovelet_data[6]; // 한마디
$ll8=$lovelet_data[7]; // 가진포켓몬
$ll9=$lovelet_data[8]; // 인벤토리란


$totalcomment=0;
$myquery=mysql_query("select * from $t_comment"."_$id where parent='$data[no]' order by reg_date desc" );


while($comment_p = mysql_fetch_array($myquery) )
{
$point1=$comment_p[memo];
$point2=explode("||",$point1);
if (intval($point2[1])!=0) {
$totalcomment++;} //평균 계산시 점수를 준것들에만 반영
}
?>





<?=$screenshot1?>

<?=$subject?>&nbsp; | <?=$category_name?><?=$hide_category_end?>


성별/나이 :&nbsp;<?=$ll1?>
키/몸무게 :&nbsp;<?=$ll2?>
성격 :&nbsp;<?=$ll3?>
특징 및 기타 :<?=$ll4?>
직업 or 경험치 :<?=$ll5?>
홈페이지 :&nbsp;".$data[sitelink1]."

관계
<?=$ll6?>
가진 포켓몬
<?=$ll8?>
Inventory
<?=stripslashes($ll9)?>




-------


1. 태그는 사용할 수 없나요?


'가진 포켓몬', '특징 및 기타', '인벤토리'에 앞으로 이미지 태그나 링크 태그를 자주 써야할 것 같은데, 태그를 쓰면 태그에 \\가 붙거나,


한마디가 종종 \\, /로 변해버리더라구요. 게다가 작성 화면 상단에 그 이미지와 글이 뜹니다.


이걸 어떻게 수정하면 좋을까요? ;ㅁ;



2. 정렬 문제 어떻게 수정해야하나요?


보기엔 문제가 없지만 이미지와 조금 거리가 있는데다가 글자가 토막나 밑으로 엔터친듯 나타나서 스크롤바가 길어집니다.



도와주시면 감사하겠습니다.. ㅇ<-<

Share Post:

댓글목록

등록된 댓글이 없습니다.

Sign In
OR
Don't have an account? SIGN UP

Keywords

Visits

접속자

Total Visits
1,893,636