93 lines
4.7 KiB
PHP
93 lines
4.7 KiB
PHP
|
|
||
|
|
||
|
<?php
|
||
|
include('includes/config/config.php');
|
||
|
?>
|
||
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<style type="text/css">
|
||
|
|
||
|
.button_example{
|
||
|
border:1px solid #34740e; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 7px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 1px 5px 1px 5px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;
|
||
|
background-color: #4ba614; background-image: -webkit-gradient(linear, left top, left bottom, from(#4ba614), to(#008c00));
|
||
|
background-image: -webkit-linear-gradient(top, #4ba614, #008c00);
|
||
|
background-image: -moz-linear-gradient(top, #4ba614, #008c00);
|
||
|
background-image: -ms-linear-gradient(top, #4ba614, #008c00);
|
||
|
background-image: -o-linear-gradient(top, #4ba614, #008c00);
|
||
|
background-image: linear-gradient(to bottom, #4ba614, #008c00);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#4ba614, endColorstr=#008c00);
|
||
|
width:60px;
|
||
|
}
|
||
|
|
||
|
.button_example:hover{
|
||
|
border:1px solid #224b09;
|
||
|
background-color: #36780f; background-image: -webkit-gradient(linear, left top, left bottom, from(#36780f), to(#005900));
|
||
|
background-image: -webkit-linear-gradient(top, #36780f, #005900);
|
||
|
background-image: -moz-linear-gradient(top, #36780f, #005900);
|
||
|
background-image: -ms-linear-gradient(top, #36780f, #005900);
|
||
|
background-image: -o-linear-gradient(top, #36780f, #005900);
|
||
|
background-image: linear-gradient(to bottom, #36780f, #005900);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#36780f, endColorstr=#005900);
|
||
|
cursor:pointer;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<?php
|
||
|
|
||
|
$client_id_max = $_REQUEST['client_id_max'];
|
||
|
|
||
|
$sql="SELECT * FROM client_details WHERE location_id = '$client_id_max'";
|
||
|
$result = mysqli_query($conn,$sql);
|
||
|
$row = mysqli_fetch_array($result);
|
||
|
|
||
|
?>
|
||
|
|
||
|
|
||
|
<!-- --> <table>
|
||
|
<tr><td colspan="2" align="center"><span style="color:#293D3D; font-size:12px;" ><b>Shipping Address</b></span></td></tr>
|
||
|
|
||
|
<tr><input type="hidden" name="id" value="<?php echo $client_id_max?>">
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>Address:</b></span></td>
|
||
|
<td class="bdr_td">
|
||
|
<textarea cols="30" name="client_address_shipping" ><?php echo stripslashes($row['client_Address'])?></textarea>
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>City:</b></span></td>
|
||
|
<td >
|
||
|
<input class="textbox4" type="text" style="width:60px;" name="client_city_shipping" value="<?php echo stripslashes( $row['client_City'])?>">
|
||
|
<span style="color:#293D3D; font-size:10px;" class="bdr_td" ><b>State:</b></span>
|
||
|
<input class="textbox4" type="text" style="width:60px;" name="client_state_shipping" value="<?php echo stripslashes( $row['client_state'])?>">
|
||
|
<span style="color:#293D3D; font-size:10px;" class="bdr_td" ><b>Pin:</b></span>
|
||
|
<input class="textbox4" type="text" style="width:40px;" name="client_pin_shipping" value="<?php echo stripslashes( $row['pin'])?>">
|
||
|
</td>
|
||
|
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>Tel:</b></span></td>
|
||
|
<td class="bdr_td"><input class="textbox4" type="text" style="width:100%" name="client_tel_shipping" value="<?php echo stripslashes( $row['client_Tel'])?>"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>Email:</b></span></td>
|
||
|
<td class="bdr_td"><input class="textbox4" type="text" style="width:100%" name="client_email_shipping" value="<?php echo stripslashes( $row['client_Email'])?>"></td>
|
||
|
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>TIN no:</b></span></td>
|
||
|
<td class="bdr_td"><input class="textbox4" type="text" style="width:100%" name="client_tin_shipping" value="<?php echo stripslashes( $row['client_tin'])?>"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>STC no:</b></span></td>
|
||
|
<td class="bdr_td"><input class="textbox4" type="text" style="width:100%" name="client_stc_shipping" value="<?php echo stripslashes( $row['client_stc'])?>"></td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td align="left" class="bdr_td"><span style="color:#293D3D; font-size:10px;" ><b>CEC no:</b></span></td>
|
||
|
<td class="bdr_td"><input class="textbox4" type="text" style="width:100%" name="client_cec_shipping" value="<?php echo stripslashes( $row['client_cec'])?>"></td>
|
||
|
</tr>
|
||
|
<tr><td colspan="2" align="center"><input type="button" name="update" value="Save" class="button_example" onclick="update_data();"></td></tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
</html>
|