[eluser]Nima A.[/eluser]
Hi,
1. first, I don't think using native php coding is a good approach for views (esp. for control structures such as for,while, etc ... ), in these cases, php alternate syntax performs a bit faster and it's more readable ,
2. you can retrieve data from your model and then pass it to view using controller
3. design and implement a model for your news that represents it's structure and call it in every method of every controller that you want, I don't think setting and creating queries in controller is a good approach !