Files
sam-kd/inc/search.php
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

87 lines
4.3 KiB
PHP

<ul class="screen-info">
<li>스크린 틀수 : <?=$total_sum?></li>
<li>스크린 면적(㎡) 합 : <?=$total_m2?></li>
</ul>
<div id="list_search">
<div id="list_search1">
<a href="?rstate=1"><span class="btn_state color-red">등록</span></a>
<a href="?rstate=2"><span class="btn_state color-green">접수</span></a>
<a href="?rstate=3"><span class="btn_state color-black">완료</span></a>
</div>
<div id="list_search111">
<?php
if($separate_date=="1") {
?>
&nbsp; 출고일 <input type="radio" checked name="separate_date" value="1">
&nbsp; 접수일 <input type="radio" name="separate_date" value="2">
<?php
} ?>
<?php
if($separate_date=="2") {
?>
&nbsp; 출고일 <input type="radio" name="separate_date" value="1">
&nbsp; 접수일 <input type="radio" checked name="separate_date" value="2">
<?php
} ?>
<input id="preyear" type='button' onclick='pre_year()' value='전년도'>
<input id ="premonth" type='button' onclick='pre_month()' value='전월'>
<input type="text" id="fromdate" name="fromdate" size="12" value="<?=$fromdate?>" placeholder="기간 시작일">부터
<input type="text" id="todate" name="todate" size="12" value="<?=$todate?>" placeholder="기간 끝">까지
<input id ="thistoday" type='button' onclick='this_today()' value='금일'>
<input id ="Fromthistoday" type='button' onclick='Fromthis_today()' value='금일이후~'>
<input id ="tomorrow" type='button' onclick='this_tomorrow()' value='익일'>
<input id ="Fromtomorrow" type='button' onclick='From_tomorrow()' value='익일이후~'>
<input id ="thismonth" type='button' onclick='this_month()' value='당월'>
<!-- <input id ="thisyear" type='button' onclick='this_year()' value='당해년도'> -->
</div>
<div id="list_search2"><img src="../img/select_search.gif"></div>
<div id="list_search3">
<select name="find">
<?php
if($find=="")
{ ?>
<option value='all'>전체</option>
<option value='outworkplace'>현장명</option>
<option value='firstord'>발주처</option>
<option value='regist_state'>진행상태</option>
<?php
} ?>
<?php
if($find=="all")
{ ?>
<option value='all' selected>전체</option>
<option value='outworkplace'>현장명</option>
<?php
} ?>
<?php
if($find=="outworkplace")
{ ?>
<option value='all' >전체</option>
<option value='outworkplace' selected>현장명</option>
<?php
} ?>
<?php
if($find=="regist_state")
{ ?>
<option value='all' >전체</option>
<option value='regist_state' selected>진행상태</option>
<?php
} ?>
</select>
</div> <!-- end of list_search3 -->
<div id="list_search4"><input type="text" name="search" id="search" value="<?=$search?>"></div>
<div id="list_search5"><input type="image" src="../img/list_search_button.gif"></div>
<a href="#" onclick="window.open('print_list.php??mode=search&search=<?=$search?>&find=<?=$find?>&year=<?=$year?>&search=<?=$search?>&process=<?=$process?>&asprocess=<?=$asprocess?>&fromdate=<?=$fromdate?>&todate=<?=$todate?>','출고리스트','left=20,top=20, scrollbars=yes, toolbars=no,width=1300,height=870');" border="0">
&nbsp;&nbsp; 경동/대신 출고List</a> &nbsp;
<a href="#" onclick="window.open('print_list_all.php??mode=search&search=<?=$search?>&find=<?=$find?>&year=<?=$year?>&search=<?=$search?>&process=<?=$process?>&asprocess=<?=$asprocess?>&fromdate=<?=$fromdate?>&todate=<?=$todate?>','출고리스트','left=20,top=20, scrollbars=yes, toolbars=no,width=1300,height=870');" border="0">
&nbsp; ListAll</a> &nbsp;
<a href="#" onclick="window.open('print_exceptdone.php??mode=search&search=<?=$search?>&find=<?=$find?>&year=<?=$year?>&search=<?=$search?>&process=<?=$process?>&asprocess=<?=$asprocess?>&fromdate=<?=$fromdate?>&todate=<?=$todate?>','출고리스트','left=20,top=20, scrollbars=yes, toolbars=no,width=1300,height=870');" border="0">
&nbsp; 완료제외</a>
</div> <!-- end of list_search -->