MINI MINI MANI MO

Path : /home/lhcar/www/sub05/
File Upload :
Current File : /home/lhcar/www/sub05/write02_.php

<? include "$DOCUMENT_ROOT/inc/header.php";?>
<? include "$DOCUMENT_ROOT/inc/top_menu.php";?>
<? include "$DOCUMENT_ROOT/inc/cus_vs.php";?>
<?
companyUpOnly();
if($idx){
	$row = mysql_fetch_array(mysql_query("SELECT * FROM tow WHERE idx='$idx' and user_id='".$_SESSION[login_id]."' "));
	$phone1=explode("-", $row[phone1]);
	$phone2=explode("-", $row[phone2]);
	if($row[idx]){
		$tow_mod="modify";
	}
}else{
	$tow_mod="regist";
}
?>
<script language="JavaScript" type="text/JavaScript">
	var old_menu = '';  
	function menuclick( s_men)  {
//		  if( old_menu != s_men ) { 
		  	 if( old_menu !='' ) {  document.getElementById(old_menu).style.display = 'none';  } 
		  	  document.getElementById(s_men).style.display = 'block';  old_menu = s_men; 
//		  } 
//		  else {  s_men.style.display = 'none';  old_menu = '';  }
 } 
	</script>
	<style type="text/css">
<!--
.style1 {font-weight: bold}
.div_con { width:759px; height:130px; overflow-y:scroll; text-align:left; white-space:pre-line; padding:10px; margin:0px;	border:1px solid #959595; line-height:150%;float:center; }
.confirm_area { margin:15px 0; }
.div_title { text-align:left; margin-bottom:5px;margin-left:5px; }
-->
    </style>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
   <tr>
    <td align="center">
<? include "$DOCUMENT_ROOT/inc/cus_menu.php";?>
<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0" style="margin:20px 100px 100px 100px;">
      <tr>
        <td align="center"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td class="title">견인현황</td>
                  </tr>
                  <tr>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="20" align="right"></td>
                  </tr>
                  <tr>
                    <td height="3"><table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" >
                        
                        <tr>
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr>
<form name="cform" method="post" action="write02_save.php" enctype="multipart/form-data" >
<input type="hidden" name="mode" value="<?=$tow_mod?>">
<input type="hidden" name="idx" value="<?=$idx?>">
                                <td height="5"><table width="100%"  style="border-collapse:collapse;" border="1" bordercolor="c6d0dd"  cellspacing="0" cellpadding="0">
                               <tr>
                <td width='15%' height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>등록일</strong></td>
                <td width="35%" align="left" style="padding-left:10px;">2021-01-01</td>
                <td width="15%" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>진행상태</strong></td>
                <td width="35%" align="left" style="padding-left:10px;"><input name="start" type="radio" style='vertical-align:middle; border:0px'> 대기 <input name="start" type="radio" style='vertical-align:middle; border:0px'> 진행 <input name="start" type="radio" style='vertical-align:middle; border:0px'> 종결</td>
              </tr>
                                  <tr>
                                    <td width='14%' height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>견인일시</strong></td>
                                    <td height="50"  align="left" style="padding-left:10px;"><table border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><input type="text" name="tow_date" style="width:90px" value="<?=$row[tow_date]?$row[tow_date]:date("Y-m-d");?>"/> </td>
          <td height="30" style="border:0px solid #333333;border-left:0px solid #FFFFFF;padding-left:5px; height:30px;"><img src="/admin/image/icon_data.gif" /></td>
          <td style="padding-left:5px"> / 비고 <input type="text" name="tow_date2" style="width:30%;width:170px;"/></td>
        </tr></table></td>
                                    <td width="14%" height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>운송(견인)</strong></td>
                                    <td width="36%" height="50"  align="left" style="padding-left:10px;"><input name="start" type="radio" style='vertical-align:middle; border:0px' />
탁송
  <input name="start" type="radio" style='vertical-align:middle; border:0px' />
타렉카
<input name="start" type="radio" style='vertical-align:middle; border:0px' />
완료
<input name="start" type="radio" style='vertical-align:middle; border:0px' />
보류</td>
                                  </tr>
                                  <tr>
                                    <td width='14%'  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>구분</strong></td>
                                    <td width="36%" height="50"  align="left" style="padding-left:10px;"><input name="type" type="radio" value="일반" style='vertical-align:middle' <? if($row[type]=="일반") echo "checked"; ?>/>
                                      일반
                                      <input name="type" type="radio" value="차령" style='vertical-align:middle'  <? if($row[type]=="차령") echo "checked"; ?>/>
                                      차령
                                      <input name="type" type="radio" value="조기" style='vertical-align:middle'  <? if($row[type]=="조기") echo "checked"; ?>/>
                                      조기 <input name="type" type="radio" value="조기(개인)" style='vertical-align:middle' <? if($row[type]=="조기(개인)") echo "checked"; ?>/> 조기(개인)</td>
                                    <td height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>운행(시동)</strong></td>
                                    <td height="50"  align="left" style="padding-left:10px;"><input name="start" type="radio" value="시동가능" style='vertical-align:middle'  <? if($row[start]=="시동가능") echo "checked"; ?>/>
                                      시동가능
                                      <input name="start" type="radio" value="시동불능" style='vertical-align:middle'  <? if($row[start]=="시동불능") echo "checked"; ?>/>
                                      시동불능</td>
                                  </tr>
                                  <tr>
                                    <td width='14%'  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>견인위치</strong></td>
                                    <td height="50" colspan="3"  align="left" style="padding:0 10px 0 10px;"><input type="text" name="area" style="width:100%" value="<?=$row[area]?>"/></td>
                                  </tr>
                                  <tr>
                                    <td width='14%'  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>차량번호</strong></td>
                                    <td width="36%" height="50"  align="left" style="padding-left:10px;"><input type="text" name="car_num" style="width:90%" value="<?=$row[car_num]?>"/></td>
                                    <td width='14%'  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>차주Tel</strong></td>
                                    <td height="50"  align="left" style="padding-left:10px;"><input name="phone1_1" type="text" size="5" maxlength="5" value="<?=$phone1[0]?>"/>
                                      -
                                      <input name="phone1_2" type="text" size="5" maxlength="5"  value="<?=$phone1[1]?>"/>
                                      -
                                      <input name="phone1_3" type="text" size="5" maxlength="5"  value="<?=$phone1[2]?>"/></td>
                                  </tr>
                                  <tr>
                                    <td height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>차명(모델명)</strong></td>
                                    <td height="50"  align="left" style="padding-left:10px;"><input type="text" name="car_name" style="width:90%" value="<?=$row[car_name]?>"/></td>
                                    <td  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>년식</strong></td>
                                    <td height="50"  align="left" style="padding-left:10px;"><input type="text" name="car_num" style="width:40%"/></td>
                                  </tr>
              <tr>
                <td  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2;'><strong>영업사원</strong></td>
                <td height="30" align="left" style="padding-left:10px;"><table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><select name="step2" onchange="document.cform.submit();" style="height:28px;">
      <option value="">::영업사원::</option>
    </select></td>
    <td style="padding-left:5px;">/</td>
    <td style="padding-left:5px;"><input type="text" name="textfield" id="textfield" /></td>
  </tr>
</table></td>
                <td width="14%" height="30" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>상담(등록)자</strong></td>
                <td width="36%" height="30"  align="left" style="padding-left:10px;">
				문인안</td>
              </tr>
            
                                 
              <tr>
                <td  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2; '><strong>거래처</strong></td>
                <td height="30" colspan="3" align="left" style="padding:0 10px 0 10px;"><input type="text" name="car_name" style="width:100%" value="<?=$row[car_name]?>"/></td>
                </tr>
                                  <tr>
                                    <td  height="50" align="center" bgcolor="#F6F6F6" style='color:#5e7ea2'><strong>세부사항</strong></td>
                                    <td height="50" colspan="3"  align="left" style="padding:5px 10px 5px 10px;"><textarea name="memo" style="width:100%; height:160px;"><?=$row[memo]?></textarea></td>
                                  </tr>
                                </table></td>
                              </tr>
                              <tr>
                                <td height="2">&nbsp;</td>
                              </tr>
                              <tr>
          <td height="5" align="center"><table border="0" cellspacing="0" cellpadding="3">
            <tr>
              <td><a href="sub02.php"><img src="/images/list_bt.jpg" border="0" /></a></td>
              <td><img src="/images/w_bt.jpg" onclick="document.cform.submit()"/></td>
            </tr>
          </table>            
            </td>
</form>
                              </tr>
                          </table></td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                        </tr>

                    </table></td>
                  </tr>
                  <tr>
                    <td height="5">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="5" align="center"><a href="write.php"></a></td>
                  </tr>
                  <tr>
                    <td height="5">&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
    </table>
</td>
      </tr>
    </table>
<? include "$DOCUMENT_ROOT/inc/bottom.php";?> 

OHA YOOOO