<?
include_once("./_common.php");
include_once(G5_PATH."/head.sub.php");
$i=0;
$query5 = "select * from g5_board where bo_table = 'library' ";
$result5 = sql_query($query5);
while($row  = sql_fetch_array($result5)) {
	

              $rowbo_1 = $row[bo_1]; //parts
              $rowbo_2 = $row[bo_2]; //parts
              $rowbo_3 = $row[bo_3]; //parts
              $rowbo_4 = $row[bo_4]; //parts
              $rowbo_5 = $row[bo_5]; //parts
              $rowbo_6 = $row[bo_6]; //parts
              $rowbo_7 = $row[bo_7]; //parts
              $rowbo_8 = $row[bo_8]; //parts
              $rowbo_9 = $row[bo_9]; //parts
              $rowbo_10 = $row[bo_10]; //parts
	$i++;
}
?>
<style>
.board_top { clear:both; }

.board_list { clear:both; width:100%; table-layout:fixed; margin:5px 0 0 0; }
.board_list th { font-size:12px; } 
.board_list th { white-space:nowrap; height:35px; overflow:hidden; text-align:center; } 
.board_list th { border-top:1px solid #ddd; border-bottom:1px solid #ddd; } 

.board_list tr.bg0 { background-color:#fafafa; } 
.board_list tr.bg1 { background-color:#ffffff; } 

.board_list td { padding:.5em; }
.board_list td { border-bottom:0px solid #ddd; } 
.board_list td.num { font-size:11px; color:#888888; font-family:Tahoma; text-align:center; height:35px; }
.board_list td.checkbox { text-align:center; }
.board_list td.subject { font-size:12px; color:#888888; overflow:hidden; text-align:center; }
.board_list td.member { font-size:12px; color:#888888; font-weight:normal;  text-align:right;}
.board_list td.name { font-size:11px; font-weight:normal; padding:0 0 0 20px; }
.board_list td.datetime { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.hit { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.good { font:normal 11px tahoma; color:#BABABA; text-align:center; }
.board_list td.nogood { font:normal 11px tahoma; color:#BABABA; text-align:center; }

.board_list .notice { font-size:12px; color:#383838; font-weight:bold; }
.board_list .current { font:10px verdana; font-weight:bold; color:#E15916; }
.board_list .comment { font-family:Tahoma; font-size:10px; color:#EE5A00; }

.board_button { clear:both; margin:10px 0 0 0; }

.board_page { clear:both; text-align:center; margin:3px 0 0 0; }
.board_page a:link { color:#777; }

.board_search { text-align:center; margin:10px 0 0 0; }
.board_search .stx { height:20px; border:1px solid #9A9A9A; border-right:1px solid #D8D8D8; border-bottom:1px solid #D8D8D8; padding:4 0 0 5; }
</style><div style="padding:7"></div>
<? include(G5_PATH."/gnu_lib/menu.php");
?>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<table width=90%>
	  <form action="update.php" method="post">
    <input type='hidden' name='bo_table' value='library'>
	<tr>
	<td height=100 colspan=2 ALIGN=center>대여자 검색 <input type="radio" name="bo_7" value="1" <? if($rowbo_7==1 || $rowbo_7 =="") echo "checked";?>> 코드 <input type="radio" name="bo_7"  value="2" <? if($rowbo_7==2) echo "checked";?>> 이름&nbsp;&nbsp;&nbsp;O 대여 시 코드로 대여를 할 것인지 이름으로 대여를 할 것인지를 선택합니다</td>

</tr>
	<tr><td colspan = 8 align=center>
	<table>
<tr>
	<td ALIGN=center>
	<table>
	
<tr><td>&nbsp;</td></tr>
<? $bo_table = "library";?>
<tr>
	<td>대여 기간(일반회원)</td>
	<td><input type="text" name="bo_1" value="<?=$rowbo_1?>" numeric size=10> 일</td>

</tr>
<tr>
	<td>대여 권수</td>
	<td><input type="text" name="bo_8" value="<?=$rowbo_8?>" numeric  size=10> 권</td>

</tr>
<tr>
	<td>연체료(일)</td>
	<td><input type="text" name="bo_2" value="<?=$rowbo_2?>" numeric  size=10> 원</td>

</tr>

</table></td><td>
<table>
<tr><td>&nbsp;</td></tr>
<tr>
	<td>대여 기간(정회원)</td>
	<td><input type="text" name="bo_3" value="<?=$rowbo_3?>" numeric size=10> 일</td>

</tr>

<tr>
	<td>대여 권수</td>
	<td><input type="text" name="bo_9" value="<?=$rowbo_9?>" numeric  size=10> 권</td>

</tr>

<tr>
	<td>연체료(일)</td>
	<td><input type="text" name="bo_4" value="<?=$rowbo_4?>" numeric  size=10> 원</td>

</tr>

</table>
</td><td>
<table><tr><td>&nbsp;</td></tr>
<tr>
	<td>대여 기간(특별회원)</td>
	<td><input type="text" name="bo_5" value="<?=$rowbo_5?>" numeric size=10> 일</td>

</tr>
<tr>
	<td>대여 권수</td>
	<td><input type="text" name="bo_10" value="<?=$rowbo_10?>" numeric  size=10> 권</td>

</tr>
<tr>
	<td>연체료(일)</td>
	<td><input type="text" name="bo_6" value="<?=$rowbo_6?>" numeric  size=10> 원</td>

</tr>

</table>
</td>
</tr>
<tr>
	<td align=center colspan=2><br><input type=image id="btn_submit" src="<?php echo G5_URL ?>/skin/board/library//img/btn_write.gif" border=0 accesskey='s'>&nbsp;</td>
	<td></td>
</tr>
</table>
</td></tr>

</form>


