My approach:
<?
switch($id)
{
case 1:
?>
a lots of html stuff goes here...
<?
break;
case 2:
?>
a lots of html stuff goes here2...
<?
break;
}
?>
Is there any way to do this thing prettier? I mean more readable or something? I would really appreaciate that. (haven't learned smarty yet...)