묻고답하기

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

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

 

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 남기남
데벨 CentOS 가상서버 비추얼호스트 도메인연결 질문드립니다. [1] 2012.05.13 by 엘카
zzand12 제발도와주세요 .... 너무급해요...  
nyou8797 확장변수 다중선택에서 체크박스의 선택개수를 제한하기  
맹이01 회원가입창 스킨 & 편집 여부.. [1] file 2012.05.14 by 에릭리카드
lasertank2 메뉴 높이값(?) 문제 [1] file 2012.05.14
참오디 메일폼을 찾고있는데요^^  
제로이드 아이콘샵 출력 위치를 바꾸려하는데 제목 앞부분좀 찾아주세요 [1] file 2012.05.14 by 카이네드
bonafide 모바일 버전에 구글 광고 추가하기..  
mastervon 글자칸이 마우스로 클릭이 안됩니다.;;  
하양곰 기본 레이아웃 중 '기업형 Enterprise' 레이아웃에서...  
제로이드 게시판 목록 기준에서 게시물제목부분을 건드리려면 어딜수정해야하나요 [1] file 2012.05.14 by 굿총
세상을 board생성이 안보입니다. [2] file 2012.05.14 by sejin7940
빛의바다 최근글을 추출했는데 글자간격을 조절 할 수 있을까요?? [2] 2012.05.14 by sejin7940
참오디 영문 게시판이 따로 없나요? [1] 2012.05.14 by sejin7940
마보스 전체쪽지 질문드립니다. [1] 2012.05.14 by sejin7940
리게 팝업으로 다운받는방법 [1] 2012.05.14 by sejin7940
툴툴스 게시판의 알림 문구 수정시 어디를 수정 해야하나요? [1] 2012.05.14 by sejin7940
액션액션 admin 페이지에 접속이 안됍니다. [2] 2012.05.14 by sejin7940
주니주니11 최근게시물의 날짜 형식.. [1] 2012.05.14 by 에릭리카드
제스제스 확장변수로 정렬대상 바꾸기..  
은바가지 지금까지 쉬운설치가 잘 되었는데..이번 업데이트에는 설치가  
Free942 포인트 부족시 다운로드 금지  
마보스 전체 레이아웃 에서요  
KTK 댓글 초기화 방법!! [1] 2012.05.15 by sejin7940
starofbaby 데이터 이전시 회원 누락 [1] 2012.05.15 by sejin7940
참오디 첨부파일 용량을 늘리고 싶은데요^^ [1] 2012.05.15 by br's
캐스퍼 XE FAQ v1.6.0.1 글쓰기 하면 오류 납니다. [1] 2012.05.15 by sejin7940
Free942 수정해버리면 작성자 이모티콘이 바껴버리는데~ [1] 2012.05.15 by sejin7940
누빠 첨부파일이 있는 글 삭제시 서버에서 첨부파일 삭제가 안됩니다!  
최윤한 가상의 서브도메인을 만들어 같은 이름의 폴더로 리다이렉트 어떻게 하나요?