\n"); echo ("\n"); echo ("\n"); echo ("Motomercado News\n"); echo ("http://www.yamahamalaga.org/\n"); echo ("News Yamaha Malaga\n"); echo ("en\n"); echo ("info@yamahamalaga.org\n"); define('IN_YAMAHA', true); $yamaha_root_path = './'; include($yamaha_root_path . 'extension.inc'); include($yamaha_root_path . 'common.'.$phpEx); $result = mysql_query("SELECT nw_id, nw_ingangsdatum, nw_verloopdatum, nw_titel, nw_intro, nw_bericht FROM nieuws WHERE nw_taal = 'en' AND nw_nieuws = 1 AND nw_ingangsdatum <= current_date and nw_verloopdatum > current_date ORDER BY nw_ingangsdatum DESC, nw_id"); while ($record = mysql_fetch_assoc($result)) { $post_text = $record['nw_bericht'] . "
" . $record['nw_bericht']; $post_text = str_replace("\n", "\n
\n", $post_text); echo ("\n"); echo ("". $record['nw_titel'] . "\n"); echo ("" . $record['nw_ingangsdatum'] . "
" . $post_text); if(file_exists("newsdocs/{$record['nw_id']}foto_th.jpg")) { echo ("

"); } echo ("

]]>
\n"); echo ("http://www.yamahamalaga.org/nieuws.php?id={$record['nw_id']}\n"); echo ("http://www.yamahamalaga.org/nieuws.php?id={$record['nw_id']}\n"); echo ("
\n"); } mysql_free_result($result); echo ("
\n"); echo ("
\n"); ?>