- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
<?php
if ($fields['emailhide'] == "true" OR $fields['emailhide'] == true OR $fields['emailhide'] == 1) {
$newEmail = $values['fid2'][0]['val'];
$cond = 1;
$this->smarty->assign('is_phone', 1);
} elseif ($fields['emailhide'] == "false" OR $fields['emailhide'] == false OR $fields['emailhide'] == 0) {
$newEmail = $fields['email'];
$cond = 0;
$this->smarty->assign('is_phone', 0);
}
if ($this->user->is_phone == 1 OR $this->user->is_phone == true OR $this->user->is_phone == 'true') {
$this->smarty->assign('is_phone', 1);
} elseif ($this->user->is_phone == 0 OR $this->user->is_phone == false OR $this->user->is_phone == 'false') {
$this->smarty->assign('is_phone', 0);
Dummy00001 15.10.2015 15:09 # 0
guest 16.10.2015 10:24 # 0
imihajlov 16.10.2015 11:27 # 0