To assign a new theme to magento follow these steps
1) Go to admin > System > Configuration
2) select ‘Design’ tab on the left menu bar under General Tab.
For step by step procedure to assigning new Magento theme, Visit full Blog: Assigning New Magento Theme
FindNerd is the right place to resolve PHP language problems. Here you can post PHP Questions and Answers.