Ejemplo n.º 1
0
				<td class="ac_submit"><a href="javascript:document.sendform.submit();"><img src="../../skin/images/application_go.png" alt="suchen" />&nbsp;suchen</a>&nbsp;<input style="display:none;" name="debug" value="<?php 
echo $debug;
?>
"></td>
			</tr>
		</table>
		</form>
		<hr />
<?php 
// ------------------------------------------------------------------------------------------
//	Datenlesen
// ------------------------------------------------------------------------------------------
$oWAWI->errormsg = '';
$oWAWI->result = array();
$check = $konto . $kontonr . $konto_search;
if ($check != '' && !$oWAWI->konto($konto, $kontonr, $konto_search)) {
    $errormsg[] = $oWAWI->errormsg;
}
// Check ob Daten gefunden
if (is_array($oWAWI->result) && count($oWAWI->result) == 1) {
    echo output_konteninformation($oWAWI->result, $debug);
} else {
    if (is_array($oWAWI->result) && count($oWAWI->result) > 1) {
        echo output_konten($oWAWI->result, $debug);
    } else {
        if ($check != '') {
            $errormsg[] = 'keine Daten gefunden';
        } else {
            $errormsg[] = 'Auswahl fehlt';
        }
    }