Example #1
0
<html>
<head>
	<title>Logos</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>

<?php 
error_reporting(E_ALL);
$_PATH['classes'] = 'classes/';
include_once $_PATH['classes'] . 'Config.class.php';
include_once $_PATH['classes'] . 'Artists.class.php';
include_once $_PATH['classes'] . 'util/UnicodeEntities.class.php';
$_PATH['logos'] = Config::FOLDER_LOGOS;
$artists = Artists::getListArtists();
$uniReplace = new UnicodeEntities();
echo "\n<h2>Logos</h2>Currently " . count($artists) . " different logos are included.<br/>\n\n<hr color=\"#000\"/>";
//List of letters
echo "<center>";
$letter = 35;
echo "<a href=\"#" . chr($letter) . "\">" . chr($letter) . "</a> ";
for ($letter = 65; $letter < 91; $letter++) {
    echo "<a href=\"#" . chr($letter) . "\">" . chr($letter) . "</a> ";
}
echo "</center>\n\n";
$uniReplace = new UnicodeEntities();
$prevAscii = -1;
//List of artists
foreach ($artists as $a) {
    $name = $a->getName();
    $file = $a->getPathLogo();