Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/admin/musicmoz_searchalbum.php
<?php
define('FORUM_ADMIN','1');
define(INCLUDE_PATH,"../../../");
$tm_include='';

require_once(INCLUDE_PATH."config.php");
require_once(INCLUDE_PATH."db/db.php");

require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/model/MusicMozAdminDAO.php");
require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/model/ArtistAdminDAO.php");
require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/view/MusicMozAdminView.php");
global $prefix,$db,$language,$Default_Theme;

$artistDAO=new ArtistAdminDAO($db,$prefix);
$artist=$artistDAO->getArtist($_GET['idartist'],"english");
$musicDAO = new MusicMozAdminDAO($db,$prefix);
$albums=$musicDAO->searchAlbum(stripslashes($_GET["album"]),stripslashes($artist->name));
//print_r($albums);
MusicMozAdminView::printAlbumResults($_GET['idartist'],$albums,$Default_Theme);
?>
Return current item: Top Music module