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