<?php if ($type=='index') { ?>
    <?php  include $this->GetTemplate('index_cms');  ?>
<?php }else{  ?>
    <?php  include $this->GetTemplate('category');  ?>
<?php } ?>
<?php if ($type=='tag') { ?>
<?php  include $this->GetTemplate('tags');  ?>
<?php } ?>