Example #1
0
                    </div>
                    <div class="row">
                        <?php 
echo steam_block(39933033, "Web Developer");
?>
                        <?php 
echo steam_block(52978826, "Map Liaison");
?>
                    </div>
                    <div class="row">
                        <?php 
echo steam_block(81714101, "Models");
?>
                        <?php 
echo steam_block(100668404, "Models");
?>
                    </div>
                    <div class="row">
                        <?php 
echo steam_block(11840527, "Models");
?>
                    </div>
                </div>
                <a class="button" id="modstf" href="http://mods.tf" target="_blank"></a>
                <a class="button" id="tf2maps" href="http://tf2maps.net" target="_blank"></a>
                <a class="button" id="specialeffect" href="http://www.specialeffect.org.uk/" target="_blank"></a>
                <a href="http://www.valvesoftware.com/" id="legal"></a>
            </div>
        </div>
    </body>
</html>
Example #2
0
$art_id = $_GET['id'];
if (!$art_id) {
    $art_id = 1;
}
$credits = [1 => 223976371, 2 => 109208338, 3 => 125948669, 4 => 77737195, 5 => 98612134, 6 => 119051773, 7 => 143799368, 8 => 83527684, 9 => 106682175, 10 => 203984915, 11 => 82489742, 12 => 134324669, 13 => 119019787, 14 => 119019787, 15 => 93946450, 16 => 11390639, 17 => 7508825, 18 => 193342335, 19 => 58909697, 20 => 45176684, 21 => 75909945, 22 => 77956547, 23 => 46762167, 24 => 112049695, 25 => 42147009, 26 => 98912174, 27 => 112203169, 28 => 158613105, 29 => 100851125, 30 => 75909945];
include '../php/credits.php';
$artist_id = $credits[$art_id];
if ($artist_id) {
    get_credit_data([$artist_id]);
}
?>
                <div class="display">
                    <img class="artwork" src="../images/gallery/gallery_art_<?php 
print $art_id;
?>
.png"/>
                    <?php 
if ($artist_id) {
    echo '<div id="credits">
                    <div class="row">';
    echo steam_block($artist_id);
    echo '</div>
                </div>';
}
?>
                </div>
            </div>
        </div>
    </body>
</html>