What is the logic or idea behind doing multiple layouts while having per se the same index file, or a user being able to choose layouts.
It's kind of confusing for me
See my news goes like index.php?cat=1
Would the code be to have a different layout be somethoing
if(cat=1)
{
// stuff here to choose a different layout
}
if(cat=2)
{
// stuff here to choose a different layout
}
etc.
else
// show the regular layout
?