/home/mjc1/public_html/order/order_request.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<?
/*
Á¦Ç° Á¤º¸ Ãâ·Â ÆäÀÌÁö

*/
if($t=="A")
{
    
$msg "¿ëÁö";
    
$msg2 "¿ëÁö";
}
else
{
    
$msg "Çϵå¿þ¾î";
    
$msg2 "";
}


$position "$msg ÁÖ¹®";
$page_title "$msg ÁÖ¹®";
$sub_title "Á¦Ç° ÀÚ¼¼È÷º¸±â";
$upgrade_menu "m_b_menber_on.gif";
require 
"./inc/config.php";
require 
"./main_file/header.html";

$ware_class = new ware_class();

$bank explode("\r",$a_row[e_account]);
if(
$user_id){
    
$m_row $ware_class -> search_data("member","Mid",$user_id);
    
$tel explode("-",$m_row[Mtel1]);
    
$hp explode("-",$m_row[Mhp]);
    
$post explode("-",$m_row[Maddnum]);
    
$Madd $m_row[Madd];
    
}

?>
<SCRIPT LANGUAGE="JavaScript">
<!--
function addselect(a){
    //alert(a);
}
//-->
</SCRIPT>

      <TABLE height=18 cellSpacing=0 cellPadding=0 width=630 align=center 
      border=0>
        <TBODY>
        <TR>
          <TD width=7><IMG height=18 src="images/q&amp;a_td_1.gif" 
            width=7></TD>
          <TD vAlign=bottom width=623 
            background=images/q&amp;a_td_2.gif>&nbsp;<IMG height=9 
            src="images/bar1_2.gif" width=5>&nbsp;<FONT color=#ffffff><?=$page_title?></FONT></TD></TR></TBODY>
      </TABLE>
<BR><TABLE cellSpacing=0 cellPadding=0 border=0>
        <TBODY>
        <TR>
          <TD>&nbsp;</TD>
          <TD><FONT color=gray></FONT></TD></TR>
        </TBODY>
        </TABLE>
<BR><!--¸ÞÀθ®½ºÆ®ºÎºÐ-->
      <FORM name='order_buy' action='./order/order_save.php?mode=insert' method=post>
          
          <INPUT type='hidden' value='<?=$type?>' name='w_large'>
          <INPUT type='hidden' value='<?=$user_id?>' name='user_id'>
      
      <TABLE height=20 cellSpacing=0 borderColorDark=white cellPadding=2 
      width=630 align=center borderColorLight=gray border=1>
        <TBODY>
        <TR>
          <TD borderColorLight=gray bgColor=#d1d5d8 
            height=20>&nbsp;&nbsp;<FONT color=#173771><B><?=$msg?> ÁÖ¹® ½Åû ÀÛ¼º</B></FONT> 
           &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            [<IMG height=8 src="images/v_icon.gif" width=8>]´Â ÇʼöÀԷ Ç׸ñÀÔ´Ï´Ù. 
          </TD></TR>
          </TBODY>
          </TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width=630 align=center border=0>
        <TBODY>
        <TR>
          <TD align=middle bgColor=#e9e9e9 colSpan=2><BR>
            <TABLE cellSpacing=0 cellPadding=3 width=550 border='0'>
              <TBODY>
              <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>Á¦&nbsp;&nbsp;&nbsp;¸ñ</B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<INPUT maxLength=50 size=47 name=subject value='<?=$p?> <?=$msg2?> ÁÖ¹® ½Åû'> </TD></TR>
              <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>ÀÔ±ÝÀÚ À̸§</B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<INPUT maxLength=50 size=47 value='<?=$m_row[Mname]?>' name='name'> </TD></TR>
              <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>ÁÖ¹® <?=$msg?></B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<INPUT maxLength=40 size=30 value='<?=$p?>' name='w_name'> ¼ö·® <INPUT TYPE="text" NAME="item_0_ea" size='4'></TD>
              </TR>
<?
    $w_info 
"select * from order_info where temp='$t' order by uid asc";
    
$result_info mysql_query($w_info);
    
//echo$w_info;
    
$lop=0;
    while(
$w_row mysql_fetch_array($result_info,MYSQL_ASSOC)){
        
$w_uid_array[$lop] = $w_row[uid];
        
$w_title_array[$lop] = $w_row[w_title];
        
$lop++;

    }
?>
        <TR>
            <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>±âŸ ÁÖ¹®  <?=$msg?></B></FONT> </TD>
            <TD style='padding-left:10'>&nbsp;
            <SELECT NAME="add1_wname" onchange=addselect(this.value)>
            <option value='0'>:: ±âŸ ÁÖ¹® ¿ëÁö ¼±ÅÃ</option>
            <?
                
for($ii=0;$ii<sizeof($w_uid_array);$ii++){
                    echo(
"
                    <option value='
$w_title_array[$ii]'>$w_title_array[$ii]</option>
                        "
);
                }
            
?>
                
            </SELECT> ¼ö·® <INPUT TYPE="text" NAME="item_1_ea" size='4'>
                  
                  </TD>
        </TR>
        <TR>
            <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>±âŸ ÁÖ¹®  <?=$msg?></B></FONT> </TD>
            <TD style='padding-left:10'>&nbsp;
            <SELECT NAME="add2_wname" onchange=addselect(this.value)>
            <option value='0'>:: ±âŸ ÁÖ¹® ¿ëÁö ¼±ÅÃ</option>
            <?
                
for($ii=0;$ii<sizeof($w_uid_array);$ii++){
                    echo(
"
                    <option value='
$w_title_array[$ii]'>$w_title_array[$ii]</option>
                        "
);
                }
            
?>
                
            </SELECT> ¼ö·® <INPUT TYPE="text" NAME="item_2_ea" size='4'>
                  
                  </TD>
        </TR>
        <TR>
            <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>±âŸ ÁÖ¹®  <?=$msg?></B></FONT> </TD>
            <TD style='padding-left:10'>&nbsp;
            <SELECT NAME="add3_wname" onchange=addselect(this.value)>
            <option value='0'>:: ±âŸ ÁÖ¹® ¿ëÁö ¼±ÅÃ</option>
            <?
                
for($ii=0;$ii<sizeof($w_uid_array);$ii++){
                    echo(
"
                    <option value='
$w_title_array[$ii]'>$w_title_array[$ii]</option>
                        "
);
                }
            
?>
                
            </SELECT> ¼ö·® <INPUT TYPE="text" NAME="item_3_ea" size='4'>
                  
                  </TD>
        </TR>





<?
        

?>
            <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>¿ìÆí¹øÈ£</B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<input type="text" name="post1" class="input" size="4" value="<?=$post[0]?>"  onclick="na_open_window('orderbuy', './member/post_search01.html', 150, 200, 450, 410, 0, 0, 0, 0, 0)" readonly> - 
                  <input type="text" name="post2" class="input" size="4" value="<?=$post[1]?>" onclick="na_open_window('orderbuy', './member/post_search01.html', 150, 200, 450, 410, 0, 0, 0, 0, 0)" readonly>
                  <a href="javascript:na_open_window('orderbuy', './member/post_search01.html', 150, 200, 450, 410, 0, 0, 0, 0, 0)"><img src="images/button_add.gif"height=19 width=88 align="absmiddle" border="0"></a>
                </TD></TR>
            <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>ÁÖ¼Ò</B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<INPUT maxLength=50 size=47 name='address' value='<?=$Madd?>'> </TD></TR>
            <TR>
            <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>ÀüÈ­</B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<INPUT type='text' value='<?=$tel[0]?>' name=tel1 size='4' maxLength=4>
                  <INPUT type='text' value='<?=$tel[1]?>' name=tel2 size='4' maxLength=4> 
                  <INPUT type='text' value='<?=$tel[2]?>' name=tel3 size='4' maxLength=4> 
                
                </TD></TR>
            <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>ÇÚµåÆù</B></FONT> </TD>
                <TD style='padding-left:10'>&nbsp;<INPUT type='text' value='<?=$hp[0]?>' name=hp1 size='4' maxLength=4>
                 <INPUT type='text' value='<?=$hp[1]?>' name=hp2 size='4' maxLength=4> 
                 <INPUT type='text' value='<?=$hp[2]?>' name=hp3 size='4' maxLength=4> 
                </TD></TR>
            <TR>
                <TD align="center" width=110 height=30><IMG height=8 
                  src="images/v_icon.gif" width=8> &nbsp;<FONT 
                  color=#173771><B>³»¿ë</B></FONT> </TD>
                <TD style='padding-left:10' >&nbsp;<TEXTAREA name='content' rows='12' cols='65'></TEXTAREA> 
                </TD></TR>
              <TR>
                <TD colSpan=2>
              </TD></TR></TBODY>
        </TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width=550>
              <TBODY>
              
              <TR>
                <TD align="center" colSpan=2><INPUT  
                  Onclick="order_buy_form('order_buy');return false" type=image 
                  height=19 width=69 src="images/save.gif" 
                  name=submit1>&nbsp;&nbsp;&nbsp; <INPUT id=reset1 
                  onclick="this.form.reset();return false;" type=image height=19 
                  width=69 src="images/ReWrite.gif" name=reset1> 
                  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  <BR></TD></TR>
                  </TBODY>
                  </TABLE>
                  </TD>
                  </TR>
                  </TBODY>
                  </TABLE>
                  </FORM><!--¸ÞÀθ®½ºÆ®³¡-->
<BR>
<?require "./main_file/footer.html"?>