Tryag File Manager
Home
||
Turbo Force
||
B-F Config_Cpanel
Current Path :
/
home
/
egg.eemo.co.kr
/
public_html
/
super5
/
Or
Select Your Path :
Upload File :
New :
File
Dir
/home/egg.eemo.co.kr/public_html/super5/paper_install_print.php
<? session_cache_limiter('no-cache, must-revalidate'); session_start(); header("Pragma: no-cache"); header("Cache-Control: no-cache,must-revalidate"); header("Content-Type: text/html; charset=utf-8"); foreach($_POST as $key => $value) { ${$key}=$value; } foreach($_GET as $key => $value) { ${$key}=$value; } include_once("dbconn.php"); include_once("lib.php"); $rs=RS("select * from farm_install_paper where no='$no' "); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>설치신청서</title> </head> <body> <style> body { -webkit-print-color-adjust: exact; } </style> <table width='1024' cellpadding='0' cellspacing='0' border='0' style='margin-top:40px;padding:0'> <tr> <td height='100' align='center'> <h1>설치 신청서</h1> </td> </tr> <tr> <td height='30' align='left'> <b>1. 신청인</b> </td> </tr> <tr> <td> <table width='100%' style='border:2px black solid' cellspacing='0'> <tr> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd'>상호</th> <th height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs[sangho]?></th> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd'>성명</th> <th height='30' style='border-bottom:1px #b8b8b8 solid'><?=$rs[name]?></th> </tr> <tr> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd'>주소</th> <th height='30' colspan='3' style='border-bottom:1px #b8b8b8 solid'><?=$rs[addr]?> <?=$rs[addr2]?></th> </tr> <tr> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;background:#dddddd'>연락처</th> <th height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[tel]?></th> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;background:#dddddd'>FAX</th> <th height='30' width='350' style=''><?=$rs[fax]?></th> </tr> </table> </td> </tr> <tr> <td height='40' align='left'> </td> </tr> <tr> <td height='30' align='left'> <b>2. 설치 신청 정보</b> </td> </tr> <tr> <td> <table width='100%' style='border:2px black solid' cellspacing='0'> <tr> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd'>계약금</th> <th height='30' align='left' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;padding-left:10px'><?=$rs[geyak_money_perc]?>% (<?=number_format($rs[geyak_money])?>)</th> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd'>잔금</th> <th height='30' width='340' align='left' style='border-bottom:1px #b8b8b8 solid;padding-left:10px'><?=(100-$rs[geyak_money_perc])?>% <? if($rs[jan_chk]==1) { ?><img src='img/print_chk.png' height='20' style='margin-bottom:-5px'> 설치후 완납 <? ?><img src='img/print_nochk2.png' height='20' style='margin-bottom:-5px'> 분할납부 <? } else if($rs[jan_chk]==2) { ?><img src='img/print_nochk2.png' height='20' style='margin-bottom:-5px'> 설치후 완납 <? ?><img src='img/print_chk.png' height='20' style='margin-bottom:-5px'> 분할납부 <? } ?> </th> </tr> <tr> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;background:#dddddd'>A/S 기간</th> <th height='30' align='left' style='border-right:1px #b8b8b8 solid;padding-left:10px'> <? if($rs[as_gigan_type]==1) { ?><img src='img/print_chk.png' height='20' style='margin-bottom:-5px'> 1년(기본) <? ?><img src='img/print_nochk2.png' height='20' style='margin-bottom:-5px'> 3년 <? } else if($rs[as_gigan_type]==3) { ?><img src='img/print_nochk2.png' height='20' style='margin-bottom:-5px'> 1년(기본) <? ?><img src='img/print_chk.png' height='20' style='margin-bottom:-5px'> 3년 <? } ?> </th> <th width='150' height='30' style='border-right:1px #b8b8b8 solid;background:#dddddd'>방문요청일</th> <th height='30' style=''><?=$rs[bangmun_req_date]?></th> </tr> </table> </td> </tr> <tr> <td height='40' align='left'> </td> </tr> <tr> <td height='30' align='left'> <b>3. 축사정보</b> </td> </tr> <tr> <td> <table width='100%' style='border:2px black solid' cellspacing='0'> <tr> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>동번호</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>가로(m)</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>세로(m)</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>높이(m)</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>계사형태</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>카메라</td> <td width='100' align='center' height='30' style='border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>온습도센서</td> </tr> <? $result_dong=mysql_query("select * from farm_install_paper_dong where paper_no='$no' order by CAST(dong_name AS DECIMAL(10,2)) asc ") or die(); $cnt=mysql_num_rows($result_dong); $n=0; while($rs_dong=mysql_fetch_array($result_dong)) { $n++; if($cnt==$n) { ?> <tr> <td height='30' align='center' style='border-right:1px #b8b8b8 solid;'><?=$rs_dong[dong_name]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;'><?=$rs_dong[horize_size]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;'><?=$rs_dong[vertical_size]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;'><?=$rs_dong[height_size]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;'><?=$rs_dong[gesa_type]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;'><?=$rs_dong[cam_su]?>대</td> <td align='center' style=''><?=$rs_dong[temp_sensor_su]?>대</td> </tr> <? } else { ?> <tr> <td height='30' align='center' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs_dong[dong_name]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs_dong[horize_size]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs_dong[vertical_size]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs_dong[height_size]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs_dong[gesa_type]?></td> <td align='center' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid'><?=$rs_dong[cam_su]?>대</td> <td align='center' style='border-bottom:1px #b8b8b8 solid'><?=$rs_dong[temp_sensor_su]?>대</td> </tr> <?}}?> </table> </td> </tr> <tr> <td height='40' align='left'> </td> </tr> <tr> <td height='30' align='left'> <b>4. 추가 설치요청</b> </td> </tr> <tr> <td> <table width='100%' style='border:2px black solid' cellspacing='0'> <tr> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>구분</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>카메라(입구)</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>카메라(외벽)</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>진입차단기</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>센서(온습도)</td> <td width='100' align='center' height='30' style='border-right:1px #b8b8b8 solid;border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>모니터</td> <td width='100' align='center' height='30' style='border-bottom:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>테블릿PC</td> </tr> <tr> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;background:#dddddd;font-weight:bold'>대수</td> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[jj_lpr_su]?></td> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[jj_cam_su]?></td> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[jj_chadan_su]?></td> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[jj_temp_sensor_su]?></td> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[jj_monitor_su]?></td> <td align='center' height='30' style='border-right:1px #b8b8b8 solid;'><?=$rs[jj_tablet_su]?></td> </tr> </table> </td> </tr> <tr> <td height='80' align='center'> <b>위와 같이 설치를 요청합니다.</b> </td> </tr> <tr> <td height='50' align='right' style='padding-right:20px'> <b>성명 : <?=$rs[name]?> (서명)</b> </td> </tr> <tr> <td height='50' align='center'> <h2>주식회사 양계인</h2> </td> </tr> </table>