Untitled Document

کتابخانه بانو امین(ره)

تغییر اندازه فونت

A+ | A- | Reset

SetQuery("SELECT * FROM #__xemusicgal as a " . "\n left join #__xemusicgal_catg as c on c.cid=a.catid" . "\n WHERE a.published = '1' AND c.published = '1'" . "\n ORDER BY c.ordering asc"); $rows = $database->loadObjectList(); $array_1 = array("&","<",">","'",'"'); $array_2 = array("&","<",">","'",'"'); $playlist = "\n\n"; foreach($rows as $row) { $row->name = str_replace($array_1,$array_2,$row->name); $row->imgtitle = str_replace($array_1,$array_2,$row->imgtitle); $row->imgtext = str_replace($array_1,$array_2,$row->imgtext); $playlist .= "\n"; $playlist .= "
"; $playlist .= "imgthumbname . "]]>
\n"; } $playlist .= "
"; $playlist = utf8_encode($playlist); $thefile = fopen($mosConfig_absolute_path . "/" . $file, "w+"); fwrite($thefile, $playlist); fclose($thefile); } ?>