Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/admin/amazon_covers.php
<?php
define("FORUM_ADMIN",1);
include_once("../../../mainfile.php");
require_once("../../../modules/topMusic/admin/lib/com/sergids/topmusic/model/AmazonAdminDAO.php");

global $prefix,$db,$language,$Default_Theme;

if(file_exists("../../../modules/topMusic/admin/language/lang-".$language.".php")) {
	require_once("../../../modules/topMusic/admin/language/lang-".$language.".php");
} else {
	require_once("../../../modules/topMusic/admin/language/lang-english.php");
}

$amazonDAO=new AmazonAdminDAO($db,$prefix);
$amazonDAO->setAlbumsCover($_GET['idartist'],$language);
$error=$db->sql_error(); ?>
<html>
	<head>
		<LINK REL="StyleSheet" HREF="../../../themes/<?=$Default_Theme?>/style/style.css" TYPE="text/css">
		<title><?=_TOPMUSIC?> - <?=_TOPMUSIC_AMAZONTOOLZ?></title>
	</head>
	<body>
<?php
if($error['message']!=""){ ?>
	<table width="100%">
		<tr><td>&nbsp;</td></tr>
		<tr><td align="center"><?=_TOPMUSIC_ERRORUPDATINGALBUMCOVERS?>:</td></tr>
		<tr><td align="center"><?=$error['message']?></td></tr>
		<tr><td>&nbsp;</td></tr>
		<tr><td align="center"><a href="#" onClick="window.close()"><?=_TOPMUSIC_CLOSE?></a></td></tr>
	</table>
<?php }else{ ?>

	<table width="100%">
		<tr><td>&nbsp;</td></tr>
		<tr><td align="center"><?=_TOPMUSIC_ALBUMCOVERSUPDATESUCCESSFULLY?></td></tr>
		<tr><td>&nbsp;</td></tr>
		<tr><td align="center"><a href="#" onClick="window.close()"><?=_TOPMUSIC_CLOSE?></a></td></tr>
	</table>
	
<?php } ?> 
</body>
</html>
Return current item: Top Music module