<?php if($title || $text || ($link && $link_text)): ?>  
          <!-- sliding text line -->
          <div class="desc">
        <?php if($title):?><b class="title"><?php if($link): ?><a href="<?php echo $link;?>" title="<?php echo $title;?>"><?php endif;?><?php echo $title;?><?php if($link): ?></a><?php endif;?></b><br /><?php endif;?>
        <?php if($subtitle):?><b class="subtitle"><?php echo $subtitle;?></b><br /><?php endif;?>
        <?php if($text)?><?php echo $text;?>
        <?php if($link && $text):?><a href="<?php echo $link;?>" title="<?php echo $title;?>" <?php echo $open_page;?>><?php echo $link_text;?></a><?php endif;?>
          </div>
          <!-- /sliding text line -->
          <?php endif;?>