query("SELECT * from links where position like 'footer' order by sort"); ?>