묻고답하기

아래 제목을 없애고 카테고리를 오른쪽으로 이동시키려고합니다. 어떻게 해야하나요..

어느부분을 수정해야하나요...ㅜㅜ

 

http://kin.naver.com/detail/detail.php?d1id=1&dir_id=10111&eid=1z9pnKkBqsPe+h3oVwBNkoxLMZkO+KED

 

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ소스ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

 

 


<?
 if($mode=="reply") $title="답 글 쓰 기";
 elseif($mode=="modify") $title="글 수 정";
 else $title="새 글 쓰 기";

 $a_preview = str_replace(">","><font class=list_eng>",$a_preview)."&nbsp;&nbsp;";
 $a_imagebox = str_replace(">","><font class=list_eng>",$a_imagebox)."&nbsp;&nbsp;";
?>

<SCRIPT LANGUAGE="JavaScript">
<!--
function formresize(mode) {
        if (mode == 0) {
                document.write.memo.cols  = 80;
                document.write.memo.rows  = 20; }
        if (mode == 1) {
                document.write.memo.cols += 5; }
        if (mode == 2) {
                document.write.memo.rows += 3; }
}
// -->
</SCRIPT>
<?
  /*
  write.php 는 글쓰기 폼입니다.
  아래 변수를 사용합니다.
  */
  if($mode=="reply") {
    $memo = stripslashes($memo);
    $memo = htmlspecialchars($memo);
    $title="답 글 쓰 기";
    $writemode_init_edit = "<script>init_form();init();</script>";
  } else if($mode=="modify") {
    $memo = stripslashes($memo);
    $memo = htmlspecialchars($memo);
    $title="글 수 정";
    $writemode_init_edit_hidden = "<input type=hidden name='tmpContent' value=\"$memo\">";
    $writemode_init_edit = "<script>Edit();</script>";
  } else {
    $title="새 글 쓰 기";
    $writemode_init_edit = "<script>init();</script>";
  }
?>

<!-- web editor javascript -->
<script LANGUAGE="Javascript">

/*********************************************
* 새창 띄우기 함수
*********************************************/
function init_form() {
    document.oncontextmenu = function() { popupHide(); }
}

/*********************************************
** 게시판 글쓰기 전송
*********************************************/
<?
if (9 < $member[level]) { //비회원용
?>
function write_form_check() {

 if(document.write.edit_mode.value == "text_layer"){
  document.write.memo.value = document.write.html_body.value + document.write.bground.value;
 }else if(document.write.edit_mode.value == "html_layer"){
  document.write.memo.value = TextEditor.document.body.innerHTML + document.write.bground.value;
 }

 if(!document.write.name.value) {
     alert('이름을 입력하여 주세요.');
  document.write.name.focus();
        return false;
 }
 
 if(!document.write.password.value) {
        alert('비밀번호을 입력하여 주세요.');
        document.write.password.focus();
        return false;
    }

    if(!document.write.memo.value) {
        alert('내용을 입력하여 주세요.');
        document.write.memo.focus();
        return false;
    }

    if(!check_submit()) {
        return false;
    }

    document.check_attack.check.value=1;
    show_waiting();
    hideImageBox();

}
<?} else { //회원용?>
function write_form_check() {

 if(document.write.edit_mode.value == "text_layer"){
  document.write.memo.value = document.write.html_body.value + document.write.bground.value;
 }else if(document.write.edit_mode.value == "html_layer"){
  document.write.memo.value = TextEditor.document.body.innerHTML + document.write.bground.value;
    }

    if(!document.write.memo.value) {
        alert('내용을 입력하여 주세요.');
        document.write.memo.focus();
        return false;
    }

    if(!check_submit()) {
        return false;
    }

    document.check_attack.check.value=1;
    show_waiting();
    hideImageBox();

}
<?}?>
var n   = 0;
function inFind(nettop) {
 var NS4 = (document.layers);  
 var IE4 = (document.all);
 //var win = window;   
 var win = TextEditor;   
 var txt, i, found;
 var str;

 if(nettop==""){
  str = showModalDialog( "<?=$dir?>/include/inFind.html","","font-family:Verdana; font-size:12;dialogWidth:210px; dialogHeight:167px;status:no;help:no;self-close:no" );
 }else{
  str = showModalDialog( "<?=$dir?>/include/inFind.html",nettop,"font-family:Verdana; font-size:12;dialogWidth:200px; dialogHeight:125px;status:no;help:no;self-close:no" );
 }

  if (str == "" || str == null)
    return false;
  if (NS4) {
    if (!win.find(str))
      while(win.find(str, false, true))
        n++;
    else
      n++;
    if (n == 0)
      alert("단어를 찾을수가 없습니다.");
  return false;
  }
  if (IE4) {
    txt = win.document.body.createTextRange();

    for (i = 0; i <= n && (found = txt.findText(str)) != false; i++) {
      txt.moveStart("character", 1);
      txt.moveEnd("textedit");
  }
    if (found) {
      txt.moveStart("character", -1);
      txt.findText(str);
      txt.select();
      txt.scrollIntoView();
      n++;
    }
    else {
      if (n > 0) {
        n = 0;
        inFind(str);
      }
      else
        alert("단어를 찾을수가 없습니다.");
  return false;
    }
  }
  inFind(str);
  return false;
}

function inTable(){
 var ed
 var value = showModalDialog( "<?=$dir?>/include/instable.html","","font-family:Verdana; font-size:12;dialogWidth:410px; dialogHeight:520px;status:no;help:no;self-close:no" );
 if( value != null ){
  TextEditor.document.body.focus();
        TextEditor.document.selection.createRange().pasteHTML(value);
 }
 TextEditor.document.body.focus();
}

function inEmotcon(){
 var ed
 var value = showModalDialog( "<?=$dir?>/include/emoticon.php?tempdir=<?=$dir?>","","font-family:Verdana; font-size:12;dialogWidth:23em; dialogHeight:30em;status:no;help:no;self-close:no" );
 if( value != null ){
  TextEditor.document.body.focus();
        TextEditor.document.selection.createRange().pasteHTML(value);
 }
 TextEditor.document.body.focus();
}

//배경삽입
function bgimg(){
// layeroff();
 var ed;
 var value = showModalDialog( "<?=$dir?>/include/background.html?tempdir=<?=$dir?>","","font-family:Verdana; font-size:12;dialogWidth:520px; dialogHeight:490px;status:no;help:no;self-close:no;scroll:no" );
 if( value != null ){
        TextEditor.document.body.focus();
        TextEditor.document.body.style.backgroundColor = '';
  TextEditor.document.body.style.backgroundImage = "url(\"" + value + "\")";
  document.all["bground"].innerText = "<style type='text/css'>table tr.bground { margin-left: 1em;   background-image: url('"+value+"');background-attachment: fixed; background-repeat: repeat;}</style>";
 }
 TextEditor.document.body.focus();
}
function inSpchar(){
  var value = showModalDialog( "<?=$dir?>/include/letter.html","","font-family:Verdana; font-size:12;dialogWidth:370px; dialogHeight:280px;status:no;help:no;self-close:no;scroll:no" );
  if( value != null ){
    TextEditor.document.body.focus();
    TextEditor.document.selection.createRange().pasteHTML(value);
  }
  TextEditor.document.body.focus();
}

function inColorPicker(which) {
  var value = showModalDialog("<?=$dir?>/include/kkaok_color.html","","font-family:Verdana; font-size:12;dialogWidth:270px; dialogHeight:465px;status:no;help:no;self-close:no;scroll:no" );
  switch (which) {
    case 0:
        SelectionCommand2(value,'forecolor');
        break;
    case 1:
        SelectionCommand2(value,"backcolor")
        break;
    case 2:
        bgcolor(value,"bgcolor");
    break;
  }
}

function EditHr(){
 popupHide();
 TextEditor.focus();
 var edValue_k = edValue;
 
 str=showModalDialog('<?=$dir?>/include/editHR.html', edValue_k, 'dialogWidth:350px; dialogHeight:300px; status:0; scroll:0; help:0;');
 
 if (str) {
        edValue_k.style.width = str.style.width;
        edValue_k.style.height = str.style.height;
        edValue_k.color = str.color;
        edValue_k.noShade = str.noShade;
      }
}

function EditImg(){
 popupHide();
 TextEditor.focus();
 var edValue_k = edValue;
 str=showModalDialog('<?=$dir?>/include/imgEdit.html', edValue_k, 'dialogWidth:500px; dialogHeight:300px; status:0; scroll:0; help:0;');
    if (str) {
        edValue_k.style.width=str.style.width;
        edValue_k.style.height=str.style.height;
        edValue_k.vspace=str.vspace;
        edValue_k.align=str.align;
        edValue_k.hspace=str.hspace;
        edValue_k.border=str.border;
    }
}

function EditTable(){
 popupHide();
 TextEditor.focus();
 var edValue_k = edValue;
 str=showModalDialog('<?=$dir?>/include/editTable.html', edValue_k, 'dialogWidth:420px; dialogHeight:550px;status:0;scroll:1; help:0;');

 if (str) {
  edValue_k.cellPadding=str.cellPadding;
  edValue_k.cellSpacing=str.cellSpacing;
  if (str.border) {
   edValue_k.border=str.border;
  }
  edValue_k.style.width=str.style.width;
  edValue_k.style.height=str.style.height;
  edValue_k.align=str.align;
  edValue_k.borderColor=str.borderColor;
  edValue_k.bgColor=str.bgColor;
 }
}

function EditTd(){
 popupHide();
 TextEditor.focus();
 var edValue_k = edValue;
 str=showModalDialog('<?=$dir?>/include/editCell.html', edValue, 'dialogWidth:350px; dialogHeight:300px;status:0;scroll:1; help:0;');

 if (str) {
  edValue_k.vAlign=str.vAlign;
  edValue_k.style.width=str.style.width;
  edValue_k.style.height=str.style.height;
  edValue_k.align=str.align;
  edValue_k.borderColor=str.borderColor;
  edValue_k.bgColor=str.bgColor;
 }
}

function ContentEvent_nettop() {

  if (TextEditor.event.button==2 || TextEditor.event.button==3) {
    var oSource = TextEditor.event.srcElement ;
    if (!oSource.isTextEdit)
      oSource = TextEditor.event.srcElement.parentTextEdit;

    var strValue = TextEditor.event.srcElement.tagName; //선택된 부분의 태그 종류

 if ((strValue == "IMG" || strValue == "HR") && oSource != null) {
      var oTextRange = oSource.createTextRange();
    }

    var selectedRange = TextEditor.document.selection.createRange();
    var edValue = selectedRange.htmlText;

    //var strX = TextEditor.event.x+100;
    //var strY = TextEditor.event.y+200;
    var strX = TextEditor.event.screenX;
    var strY = TextEditor.event.screenY;

    if (strValue == "IMG")
      strH = "168px";
    else if (strValue == "HR" || strValue == "TABLE")
      strH = "135px";
    else
      strH = "252px";

    var strParam = "dialogLeft:" + strX + ";dialogTop:" + strY + ";"
    strParam = strParam+ "center:no;dialogWidth:150px; dialogHeight:" + strH + ";status:0;scroll:0; help:0;unadorned:yes;"

 var strRmenu = window.showModalDialog("<?=$dir?>/include/rightMenu.html", strValue , strParam);

    if (strRmenu == "TableEdit") {
      TextEditor.focus();
      var edValue = TextEditor.event.srcElement;
      if ( strValue == "TR" || strValue == "TD") {
        str=showModalDialog('<?=$dir?>/include/editCell.html', edValue, 'dialogWidth:300px; dialogHeight:215px;status:0;scroll:0; help:0;');
      }
      else {
        str=showModalDialog('<?=$dir?>/include/editTable.html', edValue, 'dialogWidth:410px; dialogHeight:520px;status:0;scroll:1; help:0;');
      }

      if (str) {
        if ( strValue == "TABLE") {
          TextEditor.event.srcElement.cellPadding=str.cellPadding;
          TextEditor.event.srcElement.cellSpacing=str.cellSpacing;
          if (str.border) {
            TextEditor.event.srcElement.border=str.border;
          }
        }

        else {
          TextEditor.event.srcElement.vAlign=str.vAlign;
        }

        TextEditor.event.srcElement.style.width=str.style.width;
        TextEditor.event.srcElement.style.height=str.style.height;

        TextEditor.event.srcElement.align=str.align;
        TextEditor.event.srcElement.borderColor=str.borderColor;
        TextEditor.event.srcElement.bgColor=str.bgColor;
      }
    }
    else if (strRmenu == "Table") {
  inTable();
 }

    else if (strRmenu == "insImage") {
      //OpenWin2('<?=$dir?>/include/addimage.php',400,300);
       alert('현재 준비중입니다.');
    }
 else if (strRmenu == "insLetter")
      OpenWin2('+ '+ '<?=$dir?>/include/letter.html',380,300);

    else if (strRmenu == "ImageEdit") {
      TextEditor.focus();
      var edValue = TextEditor.event.srcElement;
      str=showModalDialog('<?=$dir?>/include/imgEdit.html', edValue, 'dialogWidth:505px; dialogHeight:300px; status:0; scroll:0; help:0;');
      if (str) {
        TextEditor.event.srcElement.style.width=str.style.width;
        TextEditor.event.srcElement.style.height=str.style.height;
        TextEditor.event.srcElement.vspace=str.vspace;
        TextEditor.event.srcElement.align=str.align;
        TextEditor.event.srcElement.hspace=str.hspace;
        TextEditor.event.srcElement.border=str.border;
      }
    }
    else if (strRmenu == "HREdit") {
   TextEditor.focus();
      var edValue = TextEditor.event.srcElement;
      str=showModalDialog('<?=$dir?>/include/editHR.html', edValue, 'dialogWidth:300px; dialogHeight:275px; status:0; scroll:0; help:0;');
      if (str) {
        TextEditor.event.srcElement.style.width = str.style.width;
        TextEditor.event.srcElement.style.height = str.style.height;
        TextEditor.event.srcElement.color = str.color;
        TextEditor.event.srcElement.noShade = str.noShade;
      }
    }
    else if (strRmenu == "inEmotcon") {
      inEmotcon();
    }
    else
  if (strRmenu != "" && strRmenu != null)
  {
   //alert(strRmenu);
   SelectionCommand(this,strRmenu);
  }
  }
}

</script>
<script language="Javascript" src="<?=$dir?>/script/script.js"></script>
<link rel="stylesheet" type="text/css" href="<?=$dir?>/style/style.css">

<form method=post ENCTYPE="multipart/form-data" name=write action=write_ok.php>
<input type=hidden name=id value=<?=$id?>>
<input type=hidden name=no value=<?=$no?>>
<input type=hidden name=select_arrange value=<?=$select_arrange?>>
<input type=hidden name=desc value=<?=$desc?>>
<input type=hidden name=page_num value=<?=$page_num?>>
<input type=hidden name=keyword value="<?=$keyword?>">
<input type=hidden name=category value="<?=$category?>">
<input type=hidden name=sn value="<?=$sn?>">
<input type=hidden name=ss value="<?=$ss?>">
<input type=hidden name=sc value="<?=$sc?>">
<input type=hidden name=mode value="<?=$mode?>">
<input type=hidden name=page value=<?=$page?> />
<table align=center cellpadding="0" cellspacing="0" width=<?=$width?> style='border:1 solid #dedede;'>

<col width=150 align=right style=padding-right:10px;height:28px class=write></col><col class=write style=padding-left:10px;height:28px width=></col>
<tr class=title>
 <td colspan=2 class=title_han align=center>&nbsp;&nbsp;<?=$title?></td>
</tr>


 <tr>
 <td align=center>
 <table align=center cellpadding="3" cellspacing="0" width=100% border=0>
  <tr height=5><td></td><td></td></tr>
  <tr height=5><td width='15%'></td><td></td></tr>
  <tr>
  <td width='250' align=center>&nbsp;&nbsp;이  름</td>
  <td><input type=text name=name value="<?=$name?>" <?=size(20)?> maxlength=20  style='border:1 solid #cccccc;'></td>
  </tr>
  <?=$hide_start?>
  <tr><td align=center>&nbsp;&nbsp;비밀번호</td>
  <td><input type=password name=password <?=size(20)?> maxlength=20  style='border:1 solid #cccccc;' ></td>
  </tr>
  
  <?=$hide_end?>

  <?=$hide_category_start?>
  <tr>
  <td align=center height="30">&nbsp;&nbsp;category</td>
  <td width=100% height="30"><?=$category_kind?></td>
  </tr>
  <?=$hide_category_end?>

  <tr>
  <td align=center>&nbsp;&nbsp;option</td>
  <td width=100% height="22" >
  <?=$hide_notice_start?><input type=checkbox name=notice <?=$notice?> value=1>공지사항<?=$hide_notice_end?>
  <?=$hide_html_start?><input type=hidden name=use_html checked value='2'><?=$hide_html_end?>
  <input type=checkbox name=reply_mail <?=$reply_mail?> value=1 >답변메일받기
  <?=$hide_secret_start?><input type=checkbox name=is_secret <?=$secret?> value=1 >비밀글<?=$hide_secret_end?>
  </td>
  </tr>
  
  <?=$hide_start?>
  <tr><td align=center>&nbsp;&nbsp;E-mail</td>
  <td><input style="width:95%" type=text name=email value="<?=$email?>" <?=size(34)?> maxlength=200  style='border:1 solid #cccccc;' ></td>
  </tr>
  <tr><td align="center">&nbsp;&nbsp;Homepage</td>
  <td><input style="width:95%" type=text name=homepage value="<?=$homepage?>" <?=size(34)?> maxlength=200  style='border:1 solid #cccccc;' ></td>
  </tr>
  
  <?=$hide_end?>
  
  
  
  
  
<tr valign=top>
</tr>


  
  
  
  
  
  
  
  
  
  
  
  

  <tr>
  <td align=center >&nbsp;&nbsp;편집모드</td>
  <td height="20">
  <input type="radio" name="radiobutton" onfocus=blur() onclick="javascript:layer_change('html_layer','text_layer');" checked>html Editor&nbsp;
  <input type="radio" name="radiobutton" onfocus=blur() onclick="javascript:layer_change('text_layer','html_layer');">html 직접입력 &nbsp;&nbsp;
  
  
  </td>
  </tr>
  <Tr>
  <Td colspan=2 align=center valign=top>
  <input type="hidden" name="edit_mode">
  <?=$writemode_init_edit_hidden?>
  <table width="100%" border=0 cellpadding=0 cellspacing=0 bordercolor="#ffffff" align=center>
   <tr id='edit_layer' style="display:block">
   <td width="100%" align=left><? include "$dir/include/edit.php"; ?></td>
   </tr>
   <tr id='text_layer' style="display:block">
   <td align=left bordercolor="#666666"><?  include "$dir/include/edit_body.php"; ?></td>
   </tr>
   <tr id='html_layer' style="display:none">
   <td align=left>      
   <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td height=1 width=1 colspan=3 background=<?=$dir?>/dot.gif></td>
    </tr>
    <tr>
    <td background=<?=$dir?>/dot2.gif width="1"><img src=<?=$dir?>/t.gif width="1"></td>
    <td>
    <textarea name=html_body <?=size2(90)?> rows=15 style=width:100% class="textarea1"></textarea>
    </td>
    <td width=1 background=<?=$dir?>/dot2.gif width="1"><img src=<?=$dir?>/t.gif width="1"></td>
    </tr>
    <tr>
    <td height=1 colspan=3 background=<?=$dir?>/dot.gif></td>
    </tr>
   </table>
   </td>
   </tr>
  </table>
  <?=$writemode_init_edit?>
  </td>
  </tr>


  
  <?=$hide_pds_start?>
  <tr><td align=center  valign="top">&nbsp;&nbsp;Upload 1</font></td>
  <td><input type=file name=file1 <?=size(34)?> maxlength=255  style='border:1 solid #cccccc;'  style=width:95%> <?=$file_name1?></td>
  </tr>
  <tr><td align=center  valign="top">&nbsp;&nbsp;Upload 2</font></td>
  <td><input type=file name=file2 <?=size(40)?> maxlength=255  style='border:1 solid #cccccc;'  style=width:95%> <?=$file_name2?></td>
  </tr>
  <?=$hide_pds_end?>
  
  
  
 </table>
 </td>
 </tr>
</TABLE>
<table><tr><td><textarea name=bground style="display:none"></textarea></td></tr></table>
<Table width='<?=$width?>'>
  <tr bgcolor=ffffff>
  <td colspan=2 width=100%>
  <table border=0 cellspacing=0 cellpadding=0 width=100% height=32>
   <tr>
   <td>
    <table id="navi2" border="0" cellsapcing=0 cellpadding=0>
    <tr><td align="center">
    <a href="javascript:basic_pre_view()">미리보기&nbsp;</a>       </td>
    <!--<td align="center"><?=$a_imagebox?>그림창고&nbsp;</a></td>-->
    </tr></table>
   </td>
     
   <td align=right>
   <input type=submit value="작성완료" class=submit onclick="return write_form_check();">
   <input type=button value="취소하기" class=button onclick=history.back()>
     </td>
   </tr>
  </table>
  </td>
  </tr>
</table>
<!--배경색, 글자색 설정-->

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
요술봉 레이아웃 메뉴구성 질문입니다.  
역전말루홈런 외부페이지에서 executeQueryArray()를 사용할 수 있을까요??  
제이투자 http500 가 자주 발생합니다.  
papiano 제발 시급합니다~~!! file  
하늘(skycheer) 확장변수 입력 후 언어(다국어) 변경시 내용 無--소스가 누락된건가요?  
키스미베이베 첨부다운로드시 글쓴이에게 포인트 주기 ㅜㅜ  
한국12 한번만 봐주세요  
autism26 텍스타일에서 원격 발행을 설정할때  
감티탈랑 죄송합니다. 링크가 깨진 것 같습니다.... 해결 좀 해주세요ㅠㅠ  
몽실아빠 네이버 맵연동을 설치 했는데 에디터컴퍼넌트에 API [1] 2012.05.15 by 샹하이
혀기 1.5.2.2 업데이트 후... 컴포넌트 에디터 API 등록이 안됩니다. [1] 2012.05.15 by 샹하이
노튼 기간별 포인트 순위  
꿀꺽2 버전 1.4.5.7에서 faceoff 레이아웃 편집이 안됩니다.  
tooom 페이지 빈공간 문제  
양준호172 XE 답답합니다.  
임종관287 swf, mp4 파일을 그대로 볼 수 있나요?  
카나푸 메일 발송시 게시판 연동  
김현이512 ftp 설정에서 디렉토리 정보를 읽어올수가 없다고합니다. file  
액션액션 관리자에서 수정한 내용이 적용이 안되는경우  
팔도준 PlannerXE123 출력 위젯 사용 문의....  
bourne 결제 시스템에서 글씨가 겹치는 문제 file  
미식가 지식인 관련 질문. 댓글이 달리면 수정도 금지하는 방법과 운영자는 답변을 채택할 수 있게 만들고 싶습니다.  
핫남 초보자입니다. XE 배너 설정 질문드립니다. file  
서기에요 송동우님 한번만 더 확인부탁드립니다 (__) [2] file 2012.05.16 by 송동우
제이투자 [긴급]레이아웃편지에서 이런 메시지가 뜹니다.도와주세요;;  
챨스스 게시판 사진올릴 때 나타나는 질문 [1] 2012.05.16 by sejin7940
참오디 로그인후 이동하는 페이지 지정 [1] 2012.05.16 by sejin7940
도로독 이미지클릭시 통판(?)보기 해지와 마우스 오른쪽 버튼 금지 방법이?? [1] 2012.05.16 by sejin7940
EaglesV1 게시글 수정시 메일 전송 또는 게시글 저장 기능이 가능한가요?!  
좋은나무 계정 찾기에서 한메일 수신 문제