PHP Code:
if ($forumid==49 OR $forumid==50 OR $forumid==51)
{
eval("\$mycustombanner .= \"".gettemplate('mycustombanner_WWP')."\";");
}
elseif ($forumid==1 OR $forumid==22 OR $forumid==23 OR $forumid==25 OR $forumid==27)
{
eval("\$mycustombanner .= \"".gettemplate('mycustombanner_LPS')."\";");
}
elseif ($forumid==60 OR $forumid==62 OR $forumid==63 OR $forumid==65 OR $forumid==67)
{
eval("\$mycustombanner .= \"".gettemplate('mycustombanner_OJI')."\";");
}
OK..... Looking at the code above
I have created two custom templates, one called mycustombanner_LPS and the other called mycustombanner_WWP.
Now I want to show mycustombanner_WWP in forum ID's 49, 50 and 51 and mycustombanner_LPS in forum ID's 1, 22, 23, 25 and 27.
And then add mycustombanner_OJI to forum ID's 60, 62, 63, 65 and 67.
Can you please tell me if I have altered the above code correctly?
Thank you..........
XrayheaD