Share, , Google Plus, Pinterest,

Print

Posted in:

Digital Newsstand on Homepage

Digital Newsstand
Digital Newsstand These links bring you the newest yacht charter information from thousands of worldwide sources.
{source}
[[?php // 5 latest blogs from Kim

      $theurl = JURI::base() ;

      $db =& JFactory::getDBO();
      $query = “SELECT CONCAT(‘<li><a  href=\”$theurl/digital-newsstand.html\”>’,title,'</a></li>  ‘) AS recent_diginews FROM #__content WHERE catid = 98 ORDER BY created DESC LIMIT 5;”;
      $db->setQuery($query);
      $rows = $db->loadObjectList();
     echo “<ul >”;
 
      foreach ( $rows as $row ) {
      echo “$row->recent_diginews\n”;
      }

 

    echo “</ul>”;

?]]
{/source}