1 | <?php |
||
2 | |||
3 | /** |
||
4 | * @author Dlani |
||
5 | * @copyright 2008 |
||
6 | */ |
||
7 | $form_config = ' |
||
8 | 1 | <form action="' . $_SERVER['REQUEST_URI'] . '" method="post"> |
|
9 | <fieldset> |
||
10 | 1 | <legend><img src="../img/admin/tab-shipping.gif" alt="" title="" />' . $this->l('Frete via Correios') . '</legend> |
|
11 | |||
12 | <label>CEP</label> |
||
13 | <div class="margin-form"> |
||
14 | 1 | <input type="text" size="33" name="cep" value="' . $cep_orig . '" /> Ex. 99999999 </div> |
|
15 | <br /> |
||
16 | |||
17 | <label>Método de Comunicação</label> |
||
18 | <div class="margin-form"> |
||
19 | |||
20 | <select name="factory" />'; |
||
21 | |||
22 | 1 | foreach ($this->_factorys as $key => $name) |
|
23 | 1 | $form_config .= "<option value='{$key}' >$name</option>"; |
|
24 | |||
25 | |||
26 | $form_config .= '</select></div> |
||
27 | 1 | <center><input type="submit" name="submitcarrinho_correios" value="' . $this->l('Save') . '" class="button" /></center> |
|
28 | |||
29 | </fieldset> |
||
30 | </form>'; |
||
31 | ?> |