Okay here is the deal. I have an online music shop in place for my website, and I have some music already uploaded to the music shop. The tracks have a preview function that downloads the .m3u file so people can have a listen. What I need is somebody that can program a section on my frontpage so that the latest 3 or 4 tracks show up under a "new beats" section I have already created on the homepage. Along with a preview button that lets users preview the "preview file" that is already in place. Please reply or send me a pm with price quotes and etc...
Hey, I really appreciate the code that you guys provided. Unfortunately for me, I think the script doesn't even use a database. It seems like the actual store is a .php file that gathers the info from folders on the server. It really looks kinda complicated. Here is a look at the template code for the music store. Maybe you guys would be able to tell what's happening from the code {literal} <script language="javascript"> <!-- window.nam ="main"; var isNav4, isIE4, isMac, isNav6; if( parseInt( navigator.appVersion.charAt( 0 )) >= 4) { isNav4 = ( navigator.appName == "Netscape" && parseInt( navigator.appVersion ) != 5 ) ? true : false isNav6 = ( navigator.appName == "Netscape" && parseInt( navigator.appVersion ) == 5 ) ? true : false isIE4 = ( navigator.appName.indexOf( "Microsoft" ) != -1 ) ? true : false isMac = ( navigator.platform.indexOf( "Mac" ) != -1 ) ? true : false } function doSubWin( url, winWidth, winHeight ) { if( isNav4 || isIE4 ) { var screenPosX,screenPosY; screenPosX = ( screen.availWidth - winWidth ) / 2; screenPosY = ( screen.availHeight - winHeight ) / 2; if( isNav4 ) { window.open( url, 'subwin','toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=1, copyhistory=0,width=' + winWidth + ',height=' + winHeight + ',screenX=' + screenPosX + ',screenY=' + screenPosY ); } if( isIE4 ) { newwin = window.open( url, 'subwin','toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=1, copyhistory=0,width=' + winWidth + ',height=' + winHeight + ',left=' +screenPosX+ ',top=' + screenPosY ); } } else { window.open( url, 'subwin','toolbar=0,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=1, copyhistory=0,width=' + winWidth + ',height=' + winHeight ); } } //--> </script> {/literal} <body> <table width="731" border="5" BORDERCOLOR="#333333" cellspacing="0" cellpadding="0" align=center bgcolor="#DEDED2" class=text_black> <tr> <td width=726 bgcolor="#4F4F4F"><table width="726" border="5" BORDERCOLOR="#333333" cellspacing="2" cellpadding="2" class=style2> <!-- Start Show Songs of this Album --> {foreach item=Song from=$Songs} <tr> <td width=300 bgcolor="#4F4F4F"> {$Song.artist} - {$Song.title} - {$Song.running_time} </td> <td width=28 bgcolor="#4F4F4F"> <!-- Start Link to Sample Sound --> {if $Song.demo_file_name neq ''} <a type="audio/x-ms-wma" href="public/demos/{$Song.demo_file_name|streaming_url}"> <img src="public/shop/graphic/playsound.png" width=32 height=32 border=0 BORDERCOLOR="#333333"> </a> {/if} <!-- End Link to Sample Sound --> </td> <td width=191 bgcolor="#4F4F4F"> <!-- Start Link to Free Download or Buy Song --> {if $Song.single eq 'yes'} {if $Song.free_download eq 'true'} <a href="{include file='shop/links/songdownload'}"> <img src="public/shop/graphic/downloadnow.gif" width=276 height=31 border=0> </a> {else} <a href="JavaScript:doSubWin('{include file='shop/links/song2cart'}','640','340');"> Buy this Song ! </a> {/if} {/if} <!-- End Link to Free Download or Buy Song --> </td> </tr> {/foreach} <!-- End Show Songs of this Album --> </table> </td> </tr> </table> HTML: