1?'='.$_GET['class']:'%2='.$_GET['class']).' ORDER BY tpl_id ASC'; $result = db_query($sql); $str_out='Der Schneider kann dir diese Dinge verkaufen:`0'; $str_out.='`n`n
| Name | Beschreibung | Preis | '.create_lnk($row['tpl_name'],$str_filename."?op=buy&id=".$row['tpl_id']).' | '.$row['tpl_description'].' | '.($row['tpl_gold']>0?' `^'.$row['tpl_gold'].' Gold':'').($row['tpl_gems']>0?' `#'.$row['tpl_gems'].' Edelstein'.($row['tpl_gems']>1?'e':''):'').'`0 |
';
}
$str_out.='
|---|