hi i use if condition for $page->template=='templatename' but after 2. if condition codes get error
codes are the same but when i add 2. condition gets an error "syntax error, unexpected end of file"
<?php //gallery lightbox css
if ($page->template=='photos'){?>
<link rel="stylesheet" href="<?=$config->urls->templates;?>assets/css/lightbox.css">
<?php} ?>
this works fine
but
<?php //gallery lightbox css
if ($page->template=='photos'){?>
<link rel="stylesheet" href="<?=$config->urls->templates;?>assets/css/lightbox.css">
<?php} ?>
. . . . .. . . . . .. . . . .. . .
. . . . .. . . . . . . .. . . . ..
<?php //products calendar css
if ($page->template=='products'){?>
<link rel="stylesheet" href="<?=$config->urls->templates;?>assets/css/calendar.css">
<?php} ?>
whats wrong? 2.condition for same operator ($page->template) using different?