16
Installation, Update & Configuration / Re: Cannot modify header information - headers already sent by
« on: November 18, 2010, 06:29:58 PM »
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<?php /**************************************************************************
5* *
6* 4images - A Web Based Image Gallery Management System *
7* ---------------------------------------------------------------- *
8* *
9* File: search.php *
10* Copyright: (C) 2002-2009 Jan Sorgalla *
or this?
26 $main_template = 'eingabe';
27 define('GET_CACHES', 1);
28 define('ROOT_PATH', './');
29 include(ROOT_PATH.'global.php');
30 require(ROOT_PATH.'includes/sessions.php');
31 $user_access = get_permission();
32 include(ROOT_PATH.'includes/search_utils.php');
33 error_reporting(E_ALL);
34 $org_search_keywords = $search_keywords;
35 $org_search_user = $search_user;
91 if ($search_word_cache[$i] == "and" || $search_word_cache[$i] == "und" || $search_word_cache[$i] == "or" || $search_word_cache[$i] == "oder" || $search_word_cache[$i] 91 == "not") {
92 if (!$is_first_word) {
93 $operator = $search_word_cache[$i];
94 }
95 }
96 elseif (is_array($search_word_cache[$i])) {
97 if ($search_terms) {
98 $operator = "and";
99 }
100 foreach ($search_word_cache[$i] as $key => $val) {
or line
101 if ($is_first_word || $operator == "or" || $operator == "oder") {
eingabe.php is a additional page
2<html>
3<head>
4<?php /**************************************************************************
5* *
6* 4images - A Web Based Image Gallery Management System *
7* ---------------------------------------------------------------- *
8* *
9* File: search.php *
10* Copyright: (C) 2002-2009 Jan Sorgalla *
or this?
26 $main_template = 'eingabe';
27 define('GET_CACHES', 1);
28 define('ROOT_PATH', './');
29 include(ROOT_PATH.'global.php');
30 require(ROOT_PATH.'includes/sessions.php');
31 $user_access = get_permission();
32 include(ROOT_PATH.'includes/search_utils.php');
33 error_reporting(E_ALL);
34 $org_search_keywords = $search_keywords;
35 $org_search_user = $search_user;
91 if ($search_word_cache[$i] == "and" || $search_word_cache[$i] == "und" || $search_word_cache[$i] == "or" || $search_word_cache[$i] == "oder" || $search_word_cache[$i] 91 == "not") {
92 if (!$is_first_word) {
93 $operator = $search_word_cache[$i];
94 }
95 }
96 elseif (is_array($search_word_cache[$i])) {
97 if ($search_terms) {
98 $operator = "and";
99 }
100 foreach ($search_word_cache[$i] as $key => $val) {
or line
101 if ($is_first_word || $operator == "or" || $operator == "oder") {
eingabe.php is a additional page