Subversion Repositories Applications.papyrus

Rev

Rev 2123 | Rev 2125 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2123 Rev 2124
Line 200... Line 200...
200
		while($rec = $req->fetchRow(DB_FETCHMODE_ASSOC)) {
200
		while($rec = $req->fetchRow(DB_FETCHMODE_ASSOC)) {
201
			$rec['url_simple'] = $rec['url'] = sprintf("http://%s/bdtfx-nn-%d", _MRS_SPHINX_BASEHOST, $rec['id']);
201
			$rec['url_simple'] = $rec['url'] = sprintf("http://%s/bdtfx-nn-%d", _MRS_SPHINX_BASEHOST, $rec['id']);
202
			$rec['description'] = substr($rec['description'], 0, 400 + 2 * MORE_RESULTAT_TAILLE_DESCRIPTION);
202
			$rec['description'] = substr($rec['description'], 0, 400 + 2 * MORE_RESULTAT_TAILLE_DESCRIPTION);
203
			$content[$rec['id']] = $rec;
203
			$content[$rec['id']] = $rec;
204
		}
204
		}
205
		var_dump($content);
-
 
206
		return $content;		
205
		return $content;		
207
	}
206
	}
208
}
207
}