| Line 64... |
Line 64... |
| 64 |
-khtml-user-select: none;
|
64 |
-khtml-user-select: none;
|
| 65 |
-moz-user-select: none;
|
65 |
-moz-user-select: none;
|
| 66 |
-ms-user-select: none;
|
66 |
-ms-user-select: none;
|
| 67 |
user-select: none;
|
67 |
user-select: none;
|
| 68 |
}
|
68 |
}
|
| - |
|
69 |
|
| - |
|
70 |
|
| - |
|
71 |
.custom_class
|
| - |
|
72 |
{color: red;}
|
| 69 |
</style>
|
73 |
</style>
|
| - |
|
74 |
<?php
|
| - |
|
75 |
if($message != null){?>
|
| - |
|
76 |
<script>
|
| - |
|
77 |
$(document).ready(function(){
|
| - |
|
78 |
$('#message').empty();
|
| - |
|
79 |
$('#message').append("Location is not serviceable...");
|
| - |
|
80 |
$('#message').removeClass('hidden');
|
| - |
|
81 |
|
| - |
|
82 |
setTimeout(function() {
|
| - |
|
83 |
$('#message').addClass('hidden');
|
| - |
|
84 |
}, 2000);
|
| - |
|
85 |
});
|
| - |
|
86 |
</script>
|
| - |
|
87 |
<?php }?>
|
| - |
|
88 |
<div class="modal fade" id="loadingModal">
|
| - |
|
89 |
<div class="modal-dialog">
|
| - |
|
90 |
<div class="modal-content">
|
| - |
|
91 |
<div class="modal-body">
|
| - |
|
92 |
<div class="text-center">
|
| - |
|
93 |
<img src="/img/ajax-loader.gif"/>
|
| - |
|
94 |
</div>
|
| - |
|
95 |
</div>
|
| - |
|
96 |
</div><!-- /.modal-content -->
|
| - |
|
97 |
</div><!-- /.modal-dialog -->
|
| - |
|
98 |
</div>
|
| 70 |
<div class="alert alert-danger hidden" id="message"></div>
|
99 |
<div class="alert alert-danger hidden" id="message"></div>
|
| 71 |
<div class="alert alert-success hidden" id="message_success"></div>
|
100 |
<div class="alert alert-success hidden" id="message_success"></div>
|
| 72 |
<div class='container' style='margin-bottom:50px;'>
|
101 |
<div class='container' style='margin-bottom:50px;'>
|
| 73 |
|
102 |
|
| 74 |
|
103 |
|
| 75 |
|
104 |
|
| 76 |
|
105 |
|
| 77 |
<div class='row' style="padding-bottom:40px;">
|
106 |
<div class='row' style="padding-bottom:55px;">
|
| 78 |
|
107 |
|
| 79 |
|
108 |
|
| 80 |
<div class= 'row'>
|
109 |
<div class= 'row'>
|
| 81 |
<div class='col-xs-12' style="background-color:white;margin-top:5px;">
|
110 |
<div class='col-xs-12' style="background-color:white;margin-top:5px;">
|
| 82 |
<h4>Shipping Address: <a href= "<?php echo $base_url;?>shippings/add" class='btn btn-success btn-xs' style='float:right;'>Add New Address</a></h4>
|
111 |
<h4>Shipping Address: <a href= "<?php echo $base_url;?>shippings/add/<?php echo $user_name.'/'.$user_contact;?>" class='btn btn-success btn-xs' style='float:right;'>Add New Address</a></h4>
|
| 83 |
<br>
|
112 |
<br>
|
| 84 |
|
113 |
|
| 85 |
</div>
|
114 |
</div>
|
| 86 |
</div>
|
115 |
</div>
|
| 87 |
<div class='col-xs-12' style='background-color:white;padding:40px;padding:3px 20px;'>
|
116 |
<div class='col-xs-12' style='background-color:white;padding:40px;padding:3px 20px;'>
|
| - |
|
117 |
|
| 88 |
<div style='background-color:#f8f8f8;padding:5px;'>
|
118 |
<div style='background-color:#f8f8f8;padding:5px;'>
|
| 89 |
<?php
|
119 |
<?php
|
| 90 |
for($i=0;$i<count($firstshowaddress);$i++){?>
|
120 |
for($i=0;$i<count($firstshowaddress);$i++){?>
|
| 91 |
|
121 |
|
| 92 |
<?php if($i==3):?>
|
122 |
<?php if($i==3):?>
|
| 93 |
<div id='showmoreaddressdropdown' style='display:none;'>
|
123 |
<div id='showmoreaddressdropdown' style='display:none;'>
|
| 94 |
<?php endif;?>
|
124 |
<?php endif;?>
|
| 95 |
<?php //if(count($firstshowaddress)>$i):?>
|
125 |
<?php //if(count($firstshowaddress)>$i):?>
|
| 96 |
<?php if($defaultAddressFound):?>
|
126 |
<div style = 'height:60px;padding:4px;' id = "address<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>" class='myaddress <?php if($defaultselectedaddress == $address['addresses'][$firstshowaddress[$i]]['id']){echo "addressselect";}?>'>
|
| 97 |
<div style = 'height:100px;padding:4px;' id = "address<?php echo $firstshowaddress[$i]['id'];?>" class="myaddress <?php if($defaultaddressid == $firstshowaddress[$i]['id']){echo "addressselect";} elseif($i==0){echo "addressselect";}?>">
|
127 |
|
| 98 |
<?php else:?>
|
- |
|
| 99 |
<div style = 'height:100px;padding:4px;' id = "address<?php echo $firstshowaddress[$i]['id'];?>" class="myaddress">
|
- |
|
| 100 |
<?php endif;?>
|
128 |
<input type="radio" class="css-checkbox" id='<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>' name="selectedaddress" <?php if($defaultselectedaddress == $address['addresses'][$firstshowaddress[$i]]['id']){echo "checked";}?>>
|
| 101 |
<?php if($defaultAddressFound):?>
|
- |
|
| 102 |
<input type="radio" class="css-checkbox" id='<?php echo $firstshowaddress[$i]['id'];?>' name="selectedaddress" <?php if($defaultaddressid == $firstshowaddress[$i]['id']){echo "checked";} elseif($i==0){echo "checked";}?> value="<?php echo $firstshowaddress[$i]['id'];?>">
|
129 |
|
| 103 |
<?php else:?>
|
- |
|
| 104 |
<input type="radio" class="css-checkbox" id='<?php echo $firstshowaddress[$i]['id'];?>' name="selectedaddress" value="<?php echo $firstshowaddress[$i]['id'];?>">
|
- |
|
| 105 |
<?php endif;?>
|
- |
|
| 106 |
<label for="<?php echo $firstshowaddress[$i]['id'];?>" class="css-label radGroup2" data-pin="<?php echo $firstshowaddress[$i]['pin'];?>" data-id="<?php echo $firstshowaddress[$i]['id'];?>">
|
130 |
<label for="<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>" class="css-label radGroup2" data-pin="<?php echo $address['addresses'][$firstshowaddress[$i]]['pin'];?>" data-id="<?php echo $address['addresses'][$firstshowaddress[$i]]['id'];?>">
|
| 107 |
<?php
|
131 |
<?php
|
| 108 |
if(isset($firstshowaddress[$i]['line1']) && !empty($firstshowaddress[$i]['line1']))
|
132 |
if(isset($address['addresses'][$firstshowaddress[$i]]['line1']) && !empty($address['addresses'][$firstshowaddress[$i]]['line1']))
|
| 109 |
{echo "Address: ",$firstshowaddress[$i]['line1'];}
|
133 |
{echo "Address: ",$address['addresses'][$firstshowaddress[$i]]['line1'];}
|
| 110 |
if(isset($firstshowaddress[$i]['line2']) && !empty($firstshowaddress[$i]['line2']))
|
134 |
if(isset($address['addresses'][$firstshowaddress[$i]]['line2']) && !empty($address['addresses'][$firstshowaddress[$i]]['line2']))
|
| 111 |
{echo ",",$firstshowaddress[$i]['line2'];}
|
135 |
{echo ",",$address['addresses'][$firstshowaddress[$i]]['line2'];}
|
| 112 |
if(isset($firstshowaddress[$i]['city']) && !empty($firstshowaddress[$i]['city']))
|
136 |
if(isset($address['addresses'][$firstshowaddress[$i]]['city']) && !empty($address['addresses'][$firstshowaddress[$i]]['city']))
|
| 113 |
{echo "<br>",$firstshowaddress[$i]['city'];}
|
137 |
{echo "<br>",$address['addresses'][$firstshowaddress[$i]]['city'];}
|
| 114 |
if(isset($firstshowaddress[$i]['state']) && !empty($firstshowaddress[$i]['state']))
|
138 |
if(isset($address['addresses'][$firstshowaddress[$i]]['state']) && !empty($address['addresses'][$firstshowaddress[$i]]['state']))
|
| 115 |
{echo ", ",$firstshowaddress[$i]['state'];}
|
139 |
{echo ", ",$address['addresses'][$firstshowaddress[$i]]['state'];}
|
| 116 |
if(isset($firstshowaddress[$i]['pin']) && !empty($firstshowaddress[$i]['pin']))
|
140 |
if(isset($address['addresses'][$firstshowaddress[$i]]['pin']) && !empty($address['addresses'][$firstshowaddress[$i]]['pin']))
|
| 117 |
{echo ",",$firstshowaddress[$i]['pin'];}
|
141 |
{echo ",",$address['addresses'][$firstshowaddress[$i]]['pin'];}
|
| 118 |
?>
|
142 |
?>
|
| 119 |
</label>
|
143 |
</label>
|
| 120 |
|
144 |
|
| 121 |
</div><hr style='margin:0px;padding:0px;border-color:#58d936;'>
|
145 |
</div><hr style='margin:0px;padding:0px;border-color:#58d936;'>
|
| 122 |
<?php //endif;?>
|
146 |
<?php //endif;?>
|
| Line 138... |
Line 162... |
| 138 |
<!-- Cart section started -->
|
162 |
<!-- Cart section started -->
|
| 139 |
<div class='row' style='padding:0px;' id='footer'>
|
163 |
<div class='row' style='padding:0px;' id='footer'>
|
| 140 |
<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
|
164 |
<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
|
| 141 |
<h4>Total payable Amount: ₹ <?php echo number_format($totalPayable);?></h4>
|
165 |
<h4>Total payable Amount: ₹ <?php echo number_format($totalPayable);?></h4>
|
| 142 |
<a href="#" style='padding-right:2px;color:blue;font-size:15px;' class="confirmprepaid"><u>Other Pay Option</u></a>
|
166 |
<a href="#" style='padding-right:2px;color:blue;font-size:15px;' class="confirmprepaid"><u>Other Pay Option</u></a>
|
| 143 |
<button class="btn btn-success confirmcheckout">Confirm Order via COD</button>
|
167 |
<button class="btn btn-success confirmcheckout pull-right" >Confirm Order via COD</button>
|
| 144 |
</div>
|
168 |
</div>
|
| 145 |
</div>
|
169 |
</div>
|
| 146 |
|
170 |
|
| 147 |
<!-- Cart section end -->
|
171 |
<!-- Cart section end -->
|
| 148 |
</div>
|
172 |
</div>
|