묻고답하기

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

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

 

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 남기남
elise 사진이 엑박 뜨네요  
아모스™ 글 쓰기와 내용보기의 이미지 링크 문제  
anndy 사이트 url 어떻게 바꿔요,,?  
김강렬 컬러셋 자동 변경에 대해..  
Lord Kelvin 최근게시물 IE7에서 뭉쳐보이는 현상  
변경시 회원 닉네임 변경시, 지난게시물의 닉네임이 바뀌지 않네요.  
mean550 최근게시물 css 수정 위치좀 ;; file  
romiroan 이건 대체... 왜 그럴까요 ㅡㅡ? 고수님만... file  
trutheyes 게시판 아이콘 삭제 및 조정.... [6] file 2008.08.05 by trutheyes
로이573 메뉴 레이어가 깨집니다. file  
탁군 처음 페이지 설정이후 다시...관리 모드로 들어가는 법이요. [3] 2008.08.05 by 탁군
럭셜진 제가 쓰는 메뉴인데요! 제로보드와 연계 가능할까요?  
도롱이 게시판에서 상단내용, 하단내용 include 질문드립니다.  
trutheyes 갤러리 게시판 line 조절....문의 드립니다 file  
JJEUYOSI 펼침메뉴에대해서  
제로보드짱! zbXE 과외 해주실 분.  
김유진362 급합니다. 갑자기 홈페이지 연결이 안되네요. [1] file 2008.08.05 by C。9ːHena〃
catsby.myid.net 부탁합니다 . 외부에서 잘열리는지 리플 부탁요.. [4] 2008.08.05 by catsby
파부 iconv가 설치되어 있는데.. 설치화면에서는 설치하라고 나오네요.. file  
dsfds rss 위젯 출력이 안됩니다.  
최병호874 위젯 질문이용 [2] file 2008.08.05 by 최병호874
태극무검 db  
항상곁에 제로보드xe 1.0.3 을 사용 하고있는데요 [5] 2008.08.05 by D.F Kim
Elia RSS 리더 위젯 출력이 안됩니다. [1] 2008.08.05 by greenb
SIDe 게시판 글의 작성시간이 삐져나옵니다. file  
최병호874 zbxe/index.php 문의 [3] 2008.08.05 by 최병호874
이영길 최근이미지게시물 출력에 대해서 질문좀... [5] 2008.08.05 by 이영길
이응석608 제발 도와주세요 ㅜㅜ  
designoh 갤러리형 스킨 제목 글자수 지정은 못하는 것인가요?? [2] 2008.08.04 by designoh
지우개님 CentOS 네임 서버 관련 질문 입니다..