Airlangga University Team of Developers Journal Collection of Scholarly Journal Articles, Airlangga University http://journal.unair.ac.id '.date("d-m-Y H:i:s").' (c) 2007 - Universitas Airlangga fandykusjanto@staf.unair.ac.id'; $q = mysql_query("select row_id,judul,title,abstrak,date_format(tgl_artikel,'%d-%m-%Y'),id_media,volume,nomor,tgl_artikel from jurnal order by row_id desc LIMIT 0,5 "); while($r = mysql_fetch_row($q)){ $penulisnya = ""; $q2 = mysql_query("select nama from penulis where id_artikel=".$r[0]); while($r2 = mysql_fetch_row($q2)){ $penulisnya .= " ; ".$r2[0]; } $q2 = mysql_query("select id_bidang, namamedia from media where row_id=".$r[5]); while($r2 = mysql_fetch_row($q2)){ $bidangnya = $r2[0]; } $penulisnya = substr($penulisnya,2); $q2 = mysql_query("select id_bidang, namamedia from media where row_id=".$r[5]); $r2 = mysql_fetch_row($q2); $bidangnya = $r2[0]; $file_xml .= ' '.ucwords(strtolower(strip_tags($r[2]))).' http://journal.unair.ac.id/detail_jurnal.php?id='.$r[0].'&med='.$r[5].'&bid='.$bidangnya.' Vol. '.$r[6].' - No. '.$r[7].' - Terbit. '.substr($r[8],0,7).', '.$r2[1].' '.$r[4].' '; } $file_xml .= ' '; fwrite($file_tmp,$file_xml); echo ' '; ?>