Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/admin/musicmoz_searchsong.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("../lib/com/sergids/topmusic/model/ConfigDAO.php");
require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/model/MusicMozAdminDAO.php");
require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/model/AlbumAdminDAO.php");
require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/view/MusicMozAdminView.php");
global $prefix,$db,$language,$Default_Theme;

$albumDAO=new AlbumAdminDAO($db,$prefix);
$album=$albumDAO->getAlbum($_GET['idalbum'],"english");
$musicDAO = new MusicMozAdminDAO($db,$prefix);
$albums=$musicDAO->searchAlbum(stripslashes($album->title),stripslashes($album->artistname));
$album2=$albums[0];
$album=$musicDAO->getAlbum($album2->musicmoz_url);
$album->musicmoz_url=$album2->musicmoz_url;
$album->id=$_GET['idalbum'];
//die(print_r($album));
MusicMozAdminView::printSongResults($album,$Default_Theme);?>
Return current item: Top Music module