어떤이유에선지 자꾸 오류를 ㅠㅠ.. > Forum

본문 바로가기

사이트 내 전체검색

Forum

어떤이유에선지 자꾸 오류를 ㅠㅠ..

페이지 정보

작성자 유슈 작성일 09-05-27 19:11 조회 1,128 댓글 0 제로보드

본문

view





if (NS) document.captureEvents(Event.DBLCLICK);
document.ondblclick = search;


function search() {
SearchPage = "http://search.naver.com/search.naver";
if (NS) {
txt = document.getSelection();
} else {
txt = document.selection.createRange();
txt = txt.text
}
if (!NS) document.selection.empty();
if (txt > '') {
OpenUrl = SearchPage+'?where=nexearch&query='+txt;
window.open(OpenUrl,"NaverSearch");
}
}
//-->


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


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



$comment_cnt = @mysql_fetch_array(mysql_query("select count(*) cnt from $t_comment"."_$id where parent=$data[no]"));
$date="".date("l, j F Y", $data[reg_date])."";



// 데이터 정렬하기
$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]; // 지급아이템
$ll6=$lovelet_data[5]; // Cube
$ll7=$lovelet_data[6]; // EXP
$ll8=$lovelet_data[7]; // 요약
$ll9=$lovelet_data[8]; // 본문



// 글 목록에서 등급보여주기
if ($ll4=="grade_all") $grade="grade_all.gif";
elseif ($ll4=="grade_12") $grade="grade_12.gif";
elseif ($ll4=="grade_15") $grade="grade_15.gif";
elseif ($ll4=="grade_18") $grade="grade_18.gif";
else $grade="grade_n.gif";



// 글 목록에서 요일보여주기
$DAY = explode("-",$ll6);
$dd = date("w", strtotime("$ll6"));
$week = array("★", "☆", "★", "☆", "★", "☆", "★");



$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++;} //평균 계산시 점수를 준것들에만 반영
}
?>




&nbsp;&nbsp;<?=$subject?>&nbsp;&nbsp;<?=$dir?/<?=$grade?> align=absmiddle><?=$hide_category_start?> | <?=$category_name?><?=$hide_category_end?><?=$hit?> Hit(s)

<?=$date?>




<?=$a_img1?><?=$screenshot1?>


기본정보 |
의뢰인 :&nbsp;<?=$ll1?>
장소 :&nbsp;<?=$ll2?>
선행퀘스트(조건) :&nbsp;<?=$ll3?>
지급아이템 :&nbsp;<?=$ll4?>
Cube :&nbsp;<? if (!$ll5) { echo "미정";}
else {echo "$ll5"." ";}?>
EXP :&nbsp;<? if (!$ll6) { echo "미정";}
else {echo "$ll6&nbsp;($week[$dd])";}?>
홈페이지 :&nbsp; target=_blank><?=$data[sitelink1]?>
난이도 :&nbsp;<?include"$dir/starpoint.php"?>
세부정보 |
<?=$ll7?>

<?=stripslashes($ll8)?>
<?=$c_max?>Byte |




write



<? 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]; // 상영시간
$ll6=$lovelet_data[5]; // 개봉일
$ll7=$lovelet_data[6]; // 간단한 소개글
$ll8=$lovelet_data[7]; // 본문
?>




<?=$write_str?>

<?=$hide_start?>


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

<?=$hide_end?>



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

감독 |&nbsp; maxlength=200 class=input2 style='width:50%;' onchange="changeinfo();">

주연 |&nbsp; maxlength=200 class=input2 style='width:100%;' onchange="changeinfo();">

장르 |&nbsp; maxlength=200 class=input2 style='width:100%;' onchange="changeinfo();">

관람등급 |&nbsp; onchange="changeinfo();">&nbsp;&nbsp;<?=$dir?/grade_all.gif alt='전체관람가'>&nbsp;&nbsp;>&nbsp;&nbsp;<?=$dir?/grade_12.gif alt='만 12세 이상관람가'>&nbsp;&nbsp;>&nbsp;&nbsp;<?=$dir?/grade_15.gif alt='만 15세 이상관람가'>&nbsp;&nbsp;>&nbsp;&nbsp;<?=$dir?/grade_18.gif alt='만 18세 이상관람가'>

상영시간 |&nbsp; maxlength=4 class=input2 onchange="changeinfo();">&nbsp;(단위 : 분)

개봉일 |&nbsp; maxlength=10 class=input2 onchange="changeinfo();">&nbsp;(형식 : 2003-02-09)

공식사이트 |&nbsp;

영화포스터 |&nbsp;<?=$file_name1?>

요약소개 |&nbsp; maxlength=200 class=input2 style='width:100%;' onchange="changeinfo();">

시놉시스 |&nbsp;<?=stripslashes($ll8)?>

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





ㅠㅠㅠ번거롭게해서죄송합니다.


하지만 어디가 잘못된건지도모르겠고 ㅠㅠㅠ어떻게해야할지


등급도 뜨지않고, Cube 이곳과 요약에 undefined 만 뜨네요. ㅠ.ㅜ.........

0 Comments

등록된 댓글이 없습니다.

Copyright ⓒ 2003-2024 LOVELET.COM. All rights reserved.
PC 버전으로 보기