| | |
| | | unset($form); |
| | | |
| | | $this->dateformat = $app->lng('conf_format_dateshort'); |
| | | $this->datetimeformat = $app->lng('conf_format_datetime'); |
| | | |
| | | return true; |
| | | } |
| | |
| | | if($key == '#OFFSET#') $sql_offset = $app->functions->intval($val); |
| | | elseif($key == '#LIMIT#') $sql_limit = $app->functions->intval($val); |
| | | elseif(stristr($val, '%')) { |
| | | $sql_where .= "? like ? AND "; |
| | | $sql_where .= "?? like ? AND "; |
| | | } else { |
| | | $sql_where .= "? = ? AND "; |
| | | $sql_where .= "?? = ? AND "; |
| | | } |
| | | $params[] = $key; |
| | | $params[] = $val; |
| | |
| | | $startmodule=$_modules[0]; |
| | | } |
| | | } |
| | | $usertheme = $params["usertheme"]; |
| | | $usertheme = (isset($params["usertheme"]) && $params["usertheme"] != '')?$params["usertheme"]:'default'; |
| | | $type = 'user'; |
| | | $active = 1; |
| | | $insert_id = $app->functions->intval($insert_id); |