Hier kann eine Notiz zum Merk-Eintrag hinzugefügt werden (optional)
'STAAT' => $staat,
'GAME1' => $game1, 'GAME2' => $game2, 'GAME3' => $game3,
if(!empty($row['staat'])){ $staat = "<img src="include/images/flags/".$row['staat']."" border="0" />"; } else { $staat = ""; }
if(!empty($row['game1'])){ $game1 = "<img src="include/images/game_icon/".$row['game1']."" border="0" />"; } else { $game1 = ""; } if(!empty($row['game2'])){ $game2 = "<img src="include/images/game_icon/".$row['game2']."" border="0" />"; } else { $game2 = ""; } if(!empty($row['game3'])){ $game3 = "<img src="include/images/game_icon/".$row['game3']."" border="0" />"; } else { $game3 = ""; }
$abf = 'SELECT
game1,game2,game3,
$row['staat'] = '<option></option>'.arliste ( $row['staat'] , get_nationality_array() , $tpl , 'staat' );
$row['game1'] = '<option></option>'.arliste ( $row['game1'] , get_nationality_array1() , $tpl , 'game1' ); $row['game2'] = '<option></option>'.arliste ( $row['game2'] , get_nationality_array2() , $tpl , 'game2' ); $row['game3'] = '<option></option>'.arliste ( $row['game3'] , get_nationality_array3() , $tpl , 'game3' );
staat = '".escape($_POST['staat'], 'string')."',
game1 = '".escape($_POST['game1'], 'string')."', game2 = '".escape($_POST['game2'], 'string')."', game3 = '".escape($_POST['game3'], 'string')."',
<label style="float:left; width:35%;">{_lang_state}</label><select style="margin-bottom:2px;" name="staat">{_list_staat@<option%1 value="%2">%3</option>}</select><br style="clear:both;" />
<label style="float:left; width:35%;">{_lang_game1}</label><select style="margin-bottom:2px;" name="game1">{_list_game1@<option%1 value="%2">%3</option>}</select><br style="clear:both;" /> <label style="float:left; width:35%;">{_lang_game2}</label><select style="margin-bottom:2px;" name="game2">{_list_game2@<option%1 value="%2">%3</option>}</select><br style="clear:both;" /> <label style="float:left; width:35%;">{_lang_game3}</label><select style="margin-bottom:2px;" name="game3">{_list_game3@<option%1 value="%2">%3</option>}</select><br style="clear:both;" />
<tr> <td height="25">Spiele</td> <td height="25"> {GAME1} {GAME2} {GAME3}</td> </tr>
function profilefields_show_spez_staat ($value,$uid) { global $lang; return ( profilefields_show_echo_standart ( $lang['state'], ((!empty($value) AND file_exists('include/images/flags/'.$value))?'<img src="include/images/flags/'.$value.'" alt="'.$value.'" title="'.$value.'" />':'') ) ); }
function profilefields_show_spez_game1 ($value,$uid) { global $lang; return ( profilefields_show_echo_standart ( $lang['game1'], ((!empty($value) AND file_exists('include/images/game_icon/'.$value))?'<img src="include/images/game_icon/'.$value.'" alt="'.$value.'" title="'.$value.'" />':'') ) ); } function profilefields_show_spez_game2 ($value,$uid) { global $lang; return ( profilefields_show_echo_standart ( $lang['game2'], ((!empty($value) AND file_exists('include/images/game_icon/'.$value))?'<img src="include/images/game_icon/'.$value.'" alt="'.$value.'" title="'.$value.'" />':'') ) ); } function profilefields_show_spez_game3 ($value,$uid) { global $lang; return ( profilefields_show_echo_standart ( $lang['game3'], ((!empty($value) AND file_exists('include/images/game_icon/'.$value))?'<img src="include/images/game_icon/'.$value.'" alt="'.$value.'" title="'.$value.'" />':'') ) ); }
function get_nationality_array () { $ar = array(); $o = opendir ( 'include/images/flags' ); while ( $f = readdir ( $o ) ) { if ( $f != '.' AND $f != '..' ) { $ar[$f] = $f; } } return ( $ar ); }
function get_nationality_array1 () { $ar = array(); $o = opendir ( 'include/images/game_icon' ); while ( $f = readdir ( $o ) ) { if ( $f != '.' AND $f != '..' ) { $ar[$f] = $f; } } return ( $ar ); } function get_nationality_array2 () { $ar = array(); $o = opendir ( 'include/images/game_icon' ); while ( $f = readdir ( $o ) ) { if ( $f != '.' AND $f != '..' ) { $ar[$f] = $f; } } return ( $ar ); } function get_nationality_array3 () { $ar = array(); $o = opendir ( 'include/images/game_icon' ); while ( $f = readdir ( $o ) ) { if ( $f != '.' AND $f != '..' ) { $ar[$f] = $f; } } return ( $ar ); }