묻고답하기

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

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

 

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 남기남
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 네임 서버 관련 질문 입니다..  
김태준218 자동로그인 유지 기간이 있나요??  
이경우808 익스플로어6에서만 메인페이지 상단이 뜹니다... [1] 2008.08.04 by e~세상쉼터
apollos 레이 아웃 일괄적용을 체크 해제 했는데도 모든 페이지에 [1] 2008.08.04 by e~세상쉼터
하나로45 캐시 재생성/ 세션정리 의 의미를 설명해 주실분? [1] 2008.08.04 by Adios
이영곡 제로보드 권한 설정을 707로 변경 못할경우 일어나는 문제는? [1] 2008.08.04 by e~세상쉼터
손형민927 set_magic_quotes_runtime(0) 을 추가하라?!  
하나로45 로그인이 안되는 문제에 대하여 검토한 내용중에~ [2] 2008.08.04 by 하나로45
초보자 외부게시판 문제 질문좀 드립니다.  
티카™ 문서와 댓글을 저장 하면 페이지가 멈춰버립니다. [4] file 2008.08.04 by 티카™
고스톱 제 PC 로작업하고 지금 서버에 설치할려고 그러는데요~~ [2] 2008.08.04 by 고스톱
탁이 권한 설정 변경후에도 계속 705를 고집합니다..ㅡㅡ;. [2] 2008.08.04 by 탁이.
미소년게이머 썸네일 등록시 첨부파일 안보이게 하기 [3] 2008.08.04 by 프링글스
멋죙~! 제가만든 홈피 다른사람이 보려면 어떡해요?? [4] 2008.08.04 by 멋죙~!
LunarDream 제로보드 xe 레이아웃 제작시 css 파일 문제~!  
자꾸땀흘러 수신한 메일이 깨져서 들어 옵니다. [2] 2008.08.04 by 자꾸땀흘러
자꾸땀흘러 메일 발송하면 Content-Transfer-Encoding: BASE64 라고 나옵니다. file  
어르시니 최근글추출 위젯 관련 입니다 [2] file 2008.08.04 by 어르시니
ldddd ip.pw찾기 [1] 2008.08.04 by 필로스
히야크 게시판과 로그인 화면 만드는 거 도와주실 분!!!!!!!!!!!!!!!!!!!!!