<div class="link-elem email"><span><?php 
    _e('Email', 'all_in_one');
    ?>
</span> <sup class="sup-go go9">(9)</sup></div>
            <div class="link-elem refresh"></div>
            <div class="link-elem del-link"></div>
          </div>
        <?php 
}
?>

        <?php 
foreach (osc_has_links_rec_seo() as $links) {
    ?>
          <?php 
    $detail = ModelSeoLink::newInstance()->getRecLinkById($links['seo_link_id']);
    ?>

          <div class="link-row">
            <div class="link-elem id"><?php 
    echo $links['seo_link_id'];
    ?>
</div>
            <div class="link-elem url_to"><input type="text" name="seo_href_to<?php 
    echo $links['seo_link_id'];
    ?>
" id="seo_href_to" value="<?php 
    echo $detail['seo_href_to'];
    ?>
" size="20" /></div>
            <div class="link-elem url_from"><input type="text" name="seo_href_from<?php 
function osc_has_links_rec_seo()
{
    $links = ModelSeoLink::newInstance()->getAllRecLinks();
    return isset($links) ? $links : '';
}