<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가

include_once($set_skin_path.'/set.load.php');

$set = amina_set_info($set_val);

$set['info_speed'] = $set['info_speed'] > 0 ? $set['info_speed'] : 700;
$set['info_pause'] = $set['info_pause'] > 0 ? $set['info_pause'] : 2000;
$set['info_show'] = $set['info_show'] > 0 ? $set['info_show'] : 1;

?>
<p></p>
<table border=1 class="set_tbl">
<colgroup>
	<col class="w80">
</colgroup>
<tr class="head_gray">
<td>설정안내</td>
<td>공지 등록시 바(|)는 입력할 수 없음. 단, 태그는 사용가능</td>
</tr>		
<tr>
<td>출력설정</td>
<td>
	<label><input type="checkbox" name="info_page" value="1"<?php if($set['info_page']) echo ' checked'; ?>> 첫페이지에서만 출력</label>
	&nbsp;
	<label><input type="checkbox" name="info_list" value="1"<?php if($set['info_list']) echo ' checked'; ?>> 글목록에서만 출력</label>
</td>
</tr>
<tr>
<td>롤링설정</td>
<td>
	<label>롤링속도 <input type="text" name="info_speed" size=4 maxlength=10 numeric value="<?php echo $set['info_speed']; ?>"></label>
	&nbsp;
	<label>대기시간 <input type="text" name="info_pause" size=4 maxlength=10 numeric value="<?php echo $set['info_pause']; ?>"></label>
	&nbsp;
	<label>노출수 <input type="text" name="info_show" size=2 maxlength=10 numeric value="<?php echo $set['info_show']; ?>"></label>
	&nbsp;-&nbsp;
	<label><input type="checkbox" name="info_down" value="1"<?php if($set['info_down']) echo ' checked'; ?>> 아래로</label>
</td>
</tr>
<tr>
<td>공지 #01</td>
<td><input type="text" name="info_msg1" size=50 value="<?php echo $set['info_msg1']; ?>"></td>
</tr>
<tr>
<td>공지 #02</td>
<td><input type="text" name="info_msg2" size=50 value="<?php echo $set['info_msg2']; ?>"></td>
</tr>
<tr class="trfoot">
<td>공지 #03</td>
<td><input type="text" name="info_msg3" size=50 value="<?php echo $set['info_msg3']; ?>"></td>
</tr>
</table>