For a company to see its share price rise in the last year amid all the turmoil is commendable, though in the case of pub operator Mitchells and Butlers it is largely explained by its woeful performance in the preceding two years.Compared with the broader economy, the pub sector has been ahead of the curve, experiencing its own premature downturn, not helped by the smoking ban coming into effect on July 1 2007. In anticipation of the new legislation and broader lifestyle trends, M&B, which operates the O' Neill's and All Bar One chains, has been looking to change its hostelries from smoke-filled drinking dens to family-friendly eateries.Soon after the introduction of the smoking ban, M&B said it believed the new rules would benefit it in the long-term given its strong focus on food sales. Today's update suggests that was prescient.Reporting a sharp rise in sales, chief executive Adam Foyle said that residential and suburban pub businesses such as the Toby Carvery and Harvester performed well.He said they were benefitting from the 'staycation' trend, as cash-strapped Brits shun foreign holidays but still find enough cash to treat themselves when they stay at home.However, M&B's new emphasis on food sales has not gone down well in the urban areas such as London's financial district, where traders still apparently think that lunch is for wimps. Foyle said that city pubs such as its All Bar One outlets had seen 'sharp softening' in trading. The credit crunch has clearly played an important part in this.Turning to today's figures, in the residential estate, which accounts for 77% of total sales, same outlet like-for-like sales were up 3.8% in the 10 weeks to September 19. Same outlet like-for-like sales in the High Street, accounting for 23% of sales, were down 0.4% as growth rates in London and across its other high street pubs slowed.The shift to food-orientated outlets may have been related to factors that are more long-term than the credit crunch, but M&B's new emphasis has clearly left it well-placed to cope with the economic downturn.However, while M&B seems to have been ahead of economic cycle in experiencing and recovering from a downturn, one factor which tends to lag other indicators could yet cause it problems.'Unemployment continues to rise and is predicted to grow through the first half of next year,' M&B said.It also noted that a possible rise in VAT in January, following the cut that was implemented in the middle of the economic crisis, could further weaken consumer spending. 'These factors highlight the difficult economic environment that the industry faces over the next twelve months,' M&B said. 'However, we believe that the company's combination of strong sites, brands, operational skills and cost management leave the business well positioned in the face of these challenging market conditions.'Technical view: Mitchells & Butlers shares have had a good run since the 30-day average crossed the 90-day back in January. The shares then were 160p and they now sit very comfortably at about 274p. But with the averages having crossed back again in early August, the chart is looking much more stable and 300p may be a tough hurdle in the short term .