title: Building Mobile Sites with Smarty PHP Templates
body: <p>I have a custom built app that uses smarty. I need my app to support mobile devices (iphones, driods etc...) I know that the general web looks ok, and that also in many cases I can use CSS hacks, but is there a way in Smarty to detect what browser is being used then serve up templates based on that request? </p>
  
  <p>One type of template for:
  -Desktops and Laptops
  Another for 
  -Smart Phones </p>