File name: welboard2/skin/gradation3/view.fom (5,630 bytes) Text file viewer v1.2
    1 : {&
    2 :   /* file: view.fom
    3 :      author: 서광현
    4 : 
    5 :      Copyright (c) 2001/03/25 by Wesoft
    6 :      All Rights Reserved.
    7 : 
    8 :   */
    9 : 
   10 :   WIDTH= board_width;
   11 :   BARCOLOR= "background='" ~ skin ~ "altgry.gif'";
   12 :   ARG= strform("db={$db}&pg={$pg}&bp={$bp}&sk={$sk}&no={$no}&k={$k}&cn={$cn}&cs={$cs}&cc={$cc}&vn={$vn}");
   13 :  }
   14 : <!-- {$PROGRAM_NAME} {$PROGRAM_VERSION} -->
   15 : <html>
   16 : <head>
   17 : <meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
   18 : <title>게시판 내용물 보기</title>
   19 : <link rel=stylesheet type="text/css" href="jscss/common.css">
   20 : <script src="jscss/common.js" language="javascript"></script>
   21 : <script src="jscss/image.js" language="javascript"></script>
   22 : <script language="javascript">
   23 : <!--
   24 :  com_argument= "{$ARG}";
   25 :  virtual_number= "{$vn}";
   26 :  user_class= "{$us_class}";
   27 :  preload_backhome_image();
   28 : //-->
   29 : </script>
   30 : </head>{?*system_htskip,{$board_header}{!goto skip_title}}
   31 : <body {$background} topmargin=2>
   32 : {$scenter}
   33 : <table border=0 cellspacing=0 cellpadding=1 width={$WIDTH}>
   34 : <tr>
   35 :  <td width=1>
   36 :  <table border=1 cellspacing=0>
   37 :  <tr>
   38 :  <td nowrap id=tdb bgcolor={$titlebgcolor}>
   39 :  <font size=3 color={$titlecolor}><b>&nbsp;{$board_name}&nbsp;</b></font></td>
   40 :  </tr>
   41 :  </table></td>
   42 :  <td valign=bottom id=tdb>{$board_comment}</td>
   43 : </tr>
   44 : </table>{:skip_title}
   45 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
   46 :        style="border-width:1px; border-color:#000000">
   47 :  <tr>
   48 :   <td nowrap id=tdb width=25%>
   49 : {&
   50 :   if(mflag==1)
   51 :    {
   52 :       button(1,"gomodify()","수정하기","");
   53 :       print("&nbsp;\n");
   54 :       button(1,"godelete("~selno~","~answer_cnt~")","삭제하기","");
   55 :    }
   56 :  }
   57 : &nbsp;</td>
   58 :   <td nowrap align=center valign=bottom id=tdb width=50%>
   59 :    번호 ( <font color=#f00000>{$vno}</font> )
   60 :    등록번호 ( <font color=#f00000>{$selno}</font> )
   61 :    라인수 ( <font color=#f00000>{$linecnt}</font> )
   62 :    조회수 ( <font color=#f00000>{$readcnt}</font> ){$answer_desc}</td>
   63 :   <td align=right id=tdb width=25%>
   64 : {&button(1,"golist()","목록으로 가기","width:90")}</td>
   65 :  </tr>
   66 : </table>
   67 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}
   68 :        style="border-width:1px;border-color:#000000;border-top:none;border-right:none">
   69 :  <tr bgcolor={$view_subject_bgcolor}>
   70 :   <td nowrap id=tdv align=center width=60>제 목</td>
   71 :   <td nowrap id=tdv align=center width=70><font color=#f00000>{$kind}</font></td>
   72 :   <td id=tdv>&nbsp;
   73 :    <font size=2 color={$view_subject_color}><b>{$edit_subject}</b></font></td>
   74 :  </tr>
   75 : </table>{?!*attfile,{!goto next}}
   76 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}
   77 :        style="border-width:1px;border-color:#000000;border-top:none;border-right:none">
   78 :  <tr bgcolor={$view_download_bgcolor}>
   79 :   <td id=tdv align=center width=60>파일받기</td>
   80 :   <td id=tdv>&nbsp;<font color=#007000>{?*!fsize
   81 :     </font><font color=#f00000>{$attfile} 파일이 없습니다!{!goto next_downmsg}}
   82 :    {$downicon} <a href="download.wel?db={$db}&no={$selno}"
   83 :    title="{$attfile} 파일을 다운(download) 받습니다.">{$attfile}</a>
   84 :    ({$fsize} {$funit}){:next_downmsg}</font>
   85 :    (다운받기: <font color=#f00000>{$downcnt}</font> 회)</td>
   86 :  </tr>
   87 : </table>{:next}
   88 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} bgcolor={$view_content_bgcolor}
   89 :        style="border-width:1px;border-color:#000000;border-top:none;border-bottom:none">
   90 :  <tr>
   91 :   <td id=tdc>{$content} </td>
   92 :  </tr>
   93 : </table>
   94 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
   95 :        style="border-width:1px; border-color:#000000">
   96 :  <tr>
   97 :   <td id=tdb width=22%>{$writer}{$modifier}</td>
   98 :   <td id=tdb width=56%>{$write_info}{$modify_info}</td>
   99 :   <td align=right id=tdb width=22%>
  100 : {&
  101 :   if(write_answer==0) print("&nbsp;");
  102 :     else if(answer_button==1) button(1,"goanswer()","답변글 쓰기","width:90");
  103 :      else
  104 :       {
  105 :          bt_comment= "답변이 너무 많아서 더 이상 쓸 수 없습니다.";
  106 :          button(1,"","답변글쓰기","!color:#c0c0c0;width:90");
  107 :       }
  108 : }</td>
  109 :  </tr>
  110 : </table>
  111 : <p style="margin:4px 0 0 0;line-height:0"></p>
  112 : {&
  113 :    if(prev_subject=="") vsubject= "&nbsp;";
  114 :     else vsubject= "<a href='javascript:goview(" ~ prev_selno ~ ","
  115 :                  ~ prev_vno ~ ")'>" ~ prev_subject ~ "</a>";
  116 :  }
  117 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}
  118 :        style="border-width:1px;border-color:#000000;border-right:none;border-bottom:none">
  119 :  <tr bgcolor=#ffffff>
  120 :   <td nowrap id=tdv align=center width=60>이 전</td>
  121 :   <td nowrap id=tdv align=center width=70><font color=#f00000>{$prev_kind}</font></td>
  122 :   <td id=tdv align=left>&nbsp;{$prev_indent}{$vsubject}</td>
  123 :  </tr>
  124 : </table>
  125 : {&
  126 :    if(next_subject=="") vsubject= "&nbsp;";
  127 :     else vsubject= "<a href='javascript:goview(" ~ next_selno ~ ","
  128 :                  ~ next_vno ~ ")'>" ~ next_subject ~ "</a>";
  129 :  }
  130 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH}
  131 :        style="border-width:1px;border-color:#000000;border-right:none;border-bottom:none">
  132 :  <tr bgcolor=#e8e8e8>
  133 :   <td nowrap id=tdv align=center width=60>다 음</td>
  134 :   <td nowrap id=tdv align=center width=70><font color=#f00000>{$next_kind}</font></td>
  135 :   <td id=tdv align=left>&nbsp;{$next_indent}{$vsubject}</td>
  136 :  </tr>
  137 : </table>
  138 : <table border=1 cellspacing=0 cellpadding=0 width={$WIDTH} {$BARCOLOR}
  139 :        style="border-width:1px; border-color:#000000">
  140 :  <tr>
  141 :   <td id=tdb width=25%>&nbsp;</td>
  142 :   <td nowrap align=center id=tdb width=50%>{$view_cpright}</td>
  143 :   <td align=right width=25% id=tdb>{$logo_img}{$back_link}{$home_link}</td>
  144 :  </tr>
  145 : </table>{?*!viewboard_flag,{!goto end_view}}
  146 : <p style="margin:4px 0 0 0;line-height:0"></p>
  147 : {&
  148 :    include("include/board.sub");
  149 :  }{:end_view}{?*system_htskip,{$board_tailer}{!goto end_form}}
  150 : <font size=2><b>{$board_cpright}</b></font>
  151 : {$ecenter}
  152 : </body>{:end_form}
  153 : </html>
File name: welboard2/skin/gradation3/view.fom (5,630 bytes) Wesoft Corp. ⓒ 2001 All rights reserved.