/var/www/enzatesting.onesolution.hk/master_customer_stamp_modifyform.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<?php require_once "inc/configure.php";

$refid setDefaultReqVar("refid"'');
if( 
$refid){
    
$sql "SELECT * FROM master_customer WHERE refid=:refid";
    
$sth $dbh->prepare($sql);
    
$sth->execute(  array(':refid' => $refid) );    
            
} else {
    exit;
}
//echo $sql;
$row $sth->fetch();
$sth=null;

?>
<!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" />
<title>ENZA</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<?php require_once "inc/jsheader.php"?>
</head>
<body>
<form action="master_customer_stamp_modify.php" method="post" enctype="multipart/form-data">
  <input type="hidden" name="action" value="customer_stamp_modify" />
  <input type="hidden" name="refid" value="<?=$refid?>" />
  <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr> 
      <!--<td valign="top" class="top"><?php //require"mod_webhead.php"; ?></td>--> 
    </tr>
    <tr>
      <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <!--<td valign="top" class="menu_bg"><?php //require"mod_menu.php"; ?></td>-->
            <td valign="top" class="padding1"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr></tr>
                <tr>
                  <td class="c3_bg"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="20" class="separator"><input type="image" src="image/icon_save.jpg" width="20" height="20" class="pressnhide2" /></td>
                        <td width="20" class="separator"><a href="<?=basename($_SERVER['REQUEST_URI'])?>"><img src="image/icon_undo.jpg" width="20" height="20" /></a></td>
                        <!--<td width="20" class="separator"><img src="image/icon_redo.jpg" width="20" height="20" /></td>
                <td width="20" class="separator"><img src="image/icon_delete.jpg" width="20" height="20" /></td>-->
                        <td class="separator stext1"><?=CUSTOMER?><?=WS?><?=STAMP?>
                          - <span>
                          <?=MODIFY?>
                          </span></td>
                        <!--<td class="separator etext1"><?=$row['itemno']?> - <span><?=$row['name']?></span></td>--> 
                        <!--<td width="200" align="right" class="separator etext2">Last Modified: <?=$row['lastupdate']?></td>--> 
                        <!--<td width="80" align="right" class="separator etext2"><a href="master_customer_index.php?act=resume"><img src="image/icon_close.jpg" width="20" height="20" align="absmiddle" /><?=CLOSE?></a></td>--> 
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td valign="top" class="c2_bg" style="height:50px"><!--main form-->
                    
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                      <tr>
                        <td align="left" class="title1"><?=CUSTOMER?></td>
                        <td align="left">&nbsp;</td>
                      </tr>
                      <tr>
                        <td align="left" class="form_text"><?=CUSTOMER?><?=WS?><?=NAME?>:</td>
                        <td align="left" class="form form_w"><?=$row['custname_en']?></td>
                      </tr>  
                      <tr>
                        <td align="left" class="form_text"><?=CUSTOMER?><?=WS?><?=NAME?><?=WS?>(<?=CHINESE?>):</td>
                        <td align="left" class="form form_w"><?=$row['custname_sc']?></td>
                      </tr>                                            
                      <tr>
                        <td align="left" class="form_text"><?=CUSTOMER?><?=WS?><?=CODE?>:</td>
                        <td align="left" class="form form_w"><?=$row['custcode']?></td>
                      </tr>

                      <tr>
                         <td align="left" class="form_text"><?=STAMP?>:</td>
                    <td align="left" class="form form_w"><input type="file" name="stamp_image" /></td>
                      </tr>
                      <tr>
                        <td align="left" class="form_text"><?=STAMP?><?=WS?><?=REMARKS?></td>
                   <td align="left" class="form form_w"><input type="text" name="stamp_remark" value="<?=$row['stamp_remark']?>"/></td>
                      </tr>
                    </table>
                    
                    <!-- end of mainform--></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>