<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <meta http-equiv="content-type" content="text/html; charset=windows-1255"/> <meta http-equiv="content-Language" content="he"/> <style> body {font-size:18px;font-family:arial;margin:0;direction:rtl;} a {display:inline-block;white-space:nowrap;margin-left:5px;font-weight:bold;text-decoration:none;color:#147;} a:hover {text-decoration:underline;} marquee {position:relative;top:1px;} #wrapper {border:1px solid #cfd7e4;height:25px;} #wrapper #logoImage {border:1px solid #cfd7e4;} .date {display:inline-block;margin:0 0 0 10px;} .moving_up, .moving_down {cursor:pointer;direction:ltr;text-align:left;display:inline-block;padding:0 0 0 16px;margin:0 0 0 16px;background-repeat:no-repeat;background-position:left;} .moving_up {color:#090;background-image:url(images/arrow_green.gif);} .moving_down {color:#f00;background-image:url(images/arrow_red.gif);} </style><div id="wrapper"> <marquee direction=right behavior="scroll" scrollamount="1" scrolldelay="10" truespeed onmouseover="this.scrollAmount=0" onmouseout="this.scrollAmount=1"> <b> <?php $FILE = "http://www.music-news.co.il/DesktopModules/DnnForge%20-%20NewsArticles/Rss.aspx?TabID=213&ModuleID=884&MaxCount=25"; $cont = file_get_contents($FILE); preg_match_all("!<item>(.*?)</item>!si",$cont,$cont_r); foreach($cont_r as $val){ $titlea = preg_replace("!<item>.*<title>(.*?)</title.*!si",'\\1\\2',$val); $link = preg_replace("!<item>.*<link>(.*?)</link.*!si",'\\1\\2',$val); $date = preg_replace("!<item>.*<pubDate>(.*?)</pubDate.*!si",'\\1\\2',$val); $date = date('j/m H:i', strtotime($date)); $title = str_replace("'","",$titlea); $title=iconv("UTF-8", "windows-1255", $title); $link=iconv("UTF-8", "windows-1255", $link);
print "</u><span style='font-size:9.0pt;color:red'><b>$date</b></span> <a target='news' HREF='$link'><span style='font-size:10.0pt;color:000099'></g>$title</g></span></a> \n"; } $FILE = "http://rcs.mako.co.il/rss/f6750a2610f26110VgnVCM1000005201000aRCRD.xml"; $cont = file_get_contents($FILE); preg_match_all("!<item>(.*?)</item>!si",$cont,$cont_r);
foreach($cont_r as $val){ $titlea = preg_replace("!<item>.*<title>(.*?)</title.*!si",'\\1\\2',$val); $link = preg_replace("!<item>.*<link>(.*?)</link.*!si",'\\1\\2',$val); $date = preg_replace("!<item>.*<pubDate>(.*?)</pubDate.*!si",'\\1\\2',$val); $date = date('j/m H:i', strtotime($date)); $title = str_replace("'","",$titlea); $title=iconv("UTF-8", "windows-1255", $title);
print "</u><span style='font-size:9.0pt;color:red'><b>$date</b></span> <a target='news' HREF='$link'><span style='font-size:10.0pt;color:000099'></g>$title</g></span></a> \n"; } ?> </marquee>
|