|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/board/ |
Upload File : |
<h2><?=$titlePathName?></h2>
<?
if($idx){
$qry = "SELECT * FROM board_$tableName where no='$idx'";
$result= mysql_query($qry,$db_con);
$row = mysql_fetch_array($result);
$loginDate = substr($row[logindate],0,10);
$regDate = substr($row[cdate],0,10);
//$naviChkName = "수정";
}else{
//$naviChkName = "등록";
}
?>
<table cellspacing="5" cellpadding="0" class="view_type1">
<colgroup>
<col style="width:40px;"><col>
</colgroup>
<?if($tab == 2 && $tabs==1){?>
<tr>
<th scope="row" height=40px>:: 題 目</th>
<td class="none_a"><input type="checkbox" id="m_chk" name="m_chk" class="input_box" <?if($row[general_setting] == "on") echo"checked";?>/><b>member only</b></td>
</tr>
<?}?>
<?if($sessionLevel == 15){?>
<tr>
<th scope="row" height=40px>is_secret</th>
<td class="none_a"><input type="checkbox" id="is_secret" name="is_secret" class="input_box" value="Y" <?if($row[is_secret] == "Y") echo"checked";?>/><b>secret check</b></td>
</tr>
<?}?>
<?if($sessionLevel == 15 && $tabs==13){?>
<tr height="28">
<th>携帯電話</th>
<td>
<input name="tel1" type="text" size="3" maxlength="3" value="<?=$tel[0]?>"> -
<input name="tel2" type="text" size="4" maxlength="4" value="<?=$tel[1]?>"> -
<input name="tel3" type="text" size="4" maxlength="4" value="<?=$tel[2]?>">
관리자만 보입니다.(수정중)
</td>
</tr>
<tr height="28">
<th>問い合わせ</th>
<td>
<INPUT TYPE="checkbox" NAME="tel_ok" value="1" class="checkbox" <?if($data[tel_ok])echo"checked";?>>
<select name="tel_date" class="board_line_Left_10">
<option value="">통화가능한 시간을 선택해 주세요.</option>
<option value="오전 9시30 ~ 오전 11시" <?if($data[tel_date]=="오전 9시30 ~ 오전 11시")echo"selected";?>>오전 9시30 ~ 오전 11시</option>
<option value="오전 11시 ~ 오후 2시" <?if($data[tel_date]=="오전 11시 ~ 오후 2시")echo"selected";?>>오전 11시 ~ 오후 2시</option>
<option value="오후 2시 ~ 오후 4시" <?if($data[tel_date]=="오후 2시 ~ 오후 4시")echo"selected";?>>오후 2시 ~ 오후 4시</option>
<option value="오후 4시 ~ 오후 6시" <?if($data[tel_date]=="오후 4시 ~ 오후 6시")echo"selected";?>>오후 4시 ~ 오후 6시</option>
</select>
</td>
</tr>
<?}?>
<tr>
<th scope="row" height=40px>:: 題 目</th>
<td class="none_a"><input type="text" id="subject" name="subject" value="<?=stripslashes($row[subject])?>" size="73" class="input_box" /></td>
</tr>
<tr>
<td class="none_a" colspan="2">
<textarea cols="60" id="editor_kama" name="contents" rows="10"><?=stripslashes($row[contents])?></textarea>
<script type="text/javascript">
//<![CDATA[
CKEDITOR.replace( 'editor_kama',
{
skin : 'kama',
enterMode : 2,
shiftEnterMode : 3,
language : 'ja',
//filebrowserBrowseUrl : '/browser/browse.php',
filebrowserUploadUrl : '/ckfinder/core/connector/php/connector.php?command=QuickUpload&type=Files'
//filebrowserWindowWidth : '640 ',
//filebrowserWindowHeight : '480'
});
//]]>
</script>
</td>
</tr>
<tr>
<th scope="row" height=40px>:: 添 附</th>
<td class="none_a"><input name="addfile" type="file">
<?
$imgName = get_db("select original_name from files where module_no = '$idx' and module_name='$tableName' order by no");
if($imgName){
echo $imgName."<input type='checkbox' name='delfile' value='1'>添付削除 ";
}
?>
<br><font color=blue>※動画ファイルは(wmv,asf,mov)のみ、20mb以下で保存することが可能です。 </font>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin:10px 0 0 0" >
<tr>
<td align="right">
<a onclick="javascript:formChange('','list')" style="CURSOR: hand" id="btn">■ リスト ■<!--img src="<?=$images?>/btn_write.gif" /--></a>
<a onclick="writeChk(<?=$idx?>)" style="CURSOR: hand" id="btn">■ 完了 ■</a>
</td>
</tr>
</table>