Blame | Letzte Änderung | Log anzeigen | RSS feed
<?php/*** @package Content-management* @author Webagentur Niewerth <tiefland@weban.de>* @copyright 2011 Webagentur Niewerth* @license propietary http://www.weban.de* @version $Rev: 768 $* @filesource**//**** @package Content-management* @author Webagentur Niewerth <tiefland@weban.de>* @copyright 2011 Webagentur Niewerth*/// SVN: $Id: suche_login.php 768 2011-10-28 06:34:37Z tiefland $require_once "../toolbox/common.php";//var_dump($_POST);$suche = Weban_Utils::clean_global_input( "suche" );if ( $suche ){$sql = "SELECTid,CONCAT(vorname,' ', name1) AS login_name,name2 AS firma,plzFROMLoginsWHEREid LIKE '%$suche%'ORvorname LIKE '%$suche%'ORname1 LIKE '%$suche%'ORname2 LIKE '%$suche%'ORplz LIKE '%suche%'";$res = mysql_query( $sql );echo mysql_error();while ( $row = mysql_fetch_assoc( $res ) ){$logins[] = $row;}$GLOBALS["ui"]->assign( "logins", $logins );$GLOBALS["ui"]->display( "suche_login.tpl" );}?>