selectRow(' SELECT ?#, c.entry { , l.name_loc' . $_SESSION['locale'] . ' as `name_loc` , l.subname_loc' . $_SESSION['locale'] . ' as `subname_loc` , ? } FROM '.$UDWBaseconf['aowow']['db'].'.?_aowow_factiontemplate, ?_creature_template c { LEFT JOIN (?_locales_creature l) ON l.entry=c.entry AND ? } WHERE c.entry=?d AND factiontemplateID=FactionAlliance LIMIT 1 ', $npc_cols[0], ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, $id ); return creatureinfo2($row); }