@@ -113,7 +113,7 @@ |
||
113 | 113 | foreach($csv_value as $field_name => $field_val){ |
114 | 114 | if($csv_key == 0){ |
115 | 115 | echo "<th>".ucfirst($field_name)."</th>"; |
116 | - }else{ |
|
116 | + } else{ |
|
117 | 117 | echo "<td class='portlet-content'>".$field_val."</td>"; |
118 | 118 | } |
119 | 119 | } |
@@ -22,8 +22,9 @@ discard block |
||
22 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
23 | 23 | ############################################################################### |
24 | 24 | |
25 | -if (!defined('BASEPATH')) |
|
26 | - exit('No direct script access allowed'); |
|
25 | +if (!defined('BASEPATH')) { |
|
26 | + exit('No direct script access allowed'); |
|
27 | +} |
|
27 | 28 | |
28 | 29 | class Email_form { |
29 | 30 | function __construct($library_name = '') { |
@@ -153,7 +154,7 @@ discard block |
||
153 | 154 | $account_data = $this->CI->session->userdata("accountinfo"); |
154 | 155 | $loginid = $account_data['id']; |
155 | 156 | |
156 | - }else{ |
|
157 | + } else{ |
|
157 | 158 | $loginid = "0"; |
158 | 159 | } |
159 | 160 | $form['forms'] = array(base_url() . 'email/email_client_area/', array('id' => 'commission_form', 'method' => 'POST', 'name' => 'commission_form')); |
@@ -113,7 +113,7 @@ |
||
113 | 113 | foreach($csv_value as $field_name => $field_val){ |
114 | 114 | if($csv_key == 0){ |
115 | 115 | echo "<th>".ucfirst($field_name)."</th>"; |
116 | - }else{ |
|
116 | + } else{ |
|
117 | 117 | echo "<td class='portlet-content'>".$field_val."</td>"; |
118 | 118 | } |
119 | 119 | } |
@@ -113,7 +113,7 @@ |
||
113 | 113 | foreach($csv_value as $field_name => $field_val){ |
114 | 114 | if($csv_key == 0){ |
115 | 115 | echo "<th>".ucfirst($field_name)."</th>"; |
116 | - }else{ |
|
116 | + } else{ |
|
117 | 117 | echo "<td class='portlet-content'>".$field_val."</td>"; |
118 | 118 | } |
119 | 119 | } |
@@ -22,8 +22,9 @@ |
||
22 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
23 | 23 | ############################################################################### |
24 | 24 | |
25 | -if (!defined('BASEPATH')) |
|
26 | - exit('No direct script access allowed'); |
|
25 | +if (!defined('BASEPATH')) { |
|
26 | + exit('No direct script access allowed'); |
|
27 | +} |
|
27 | 28 | |
28 | 29 | class Package_form { |
29 | 30 |
@@ -22,8 +22,9 @@ |
||
22 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
23 | 23 | ############################################################################### |
24 | 24 | |
25 | -if (!defined('BASEPATH')) |
|
26 | - exit('No direct script access allowed'); |
|
25 | +if (!defined('BASEPATH')) { |
|
26 | + exit('No direct script access allowed'); |
|
27 | +} |
|
27 | 28 | |
28 | 29 | class Package_form { |
29 | 30 |
@@ -32,8 +32,9 @@ |
||
32 | 32 | $this->load->library('astpp/form'); |
33 | 33 | $this->load->model('taxes_model'); |
34 | 34 | |
35 | - if ($this->session->userdata('user_login') == FALSE) |
|
36 | - redirect(base_url() . '/astpp/login'); |
|
35 | + if ($this->session->userdata('user_login') == FALSE) { |
|
36 | + redirect(base_url() . '/astpp/login'); |
|
37 | + } |
|
37 | 38 | } |
38 | 39 | |
39 | 40 | function taxes_add() { |
@@ -22,8 +22,9 @@ |
||
22 | 22 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
23 | 23 | ############################################################################### |
24 | 24 | |
25 | -if (!defined('BASEPATH')) |
|
26 | - exit('No direct script access allowed'); |
|
25 | +if (!defined('BASEPATH')) { |
|
26 | + exit('No direct script access allowed'); |
|
27 | +} |
|
27 | 28 | |
28 | 29 | class Package_form { |
29 | 30 |
@@ -32,8 +32,9 @@ |
||
32 | 32 | $this->load->library('astpp/form'); |
33 | 33 | $this->load->model('taxes_model'); |
34 | 34 | |
35 | - if ($this->session->userdata('user_login') == FALSE) |
|
36 | - redirect(base_url() . '/astpp/login'); |
|
35 | + if ($this->session->userdata('user_login') == FALSE) { |
|
36 | + redirect(base_url() . '/astpp/login'); |
|
37 | + } |
|
37 | 38 | } |
38 | 39 | |
39 | 40 | function taxes_add() { |