( ′∀`)σ≡σ☆))Д′)レ(゚∀゚;)ヘ=З=З=Зε≡(ノ´_ゝ`)ノ HEX
HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux mail.thebrand.ai 6.8.0-107-generic #107-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 13 19:51:50 UTC 2026 x86_64
User: www-data (33)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: /var/www/html/tmpr/../tmpr/..//tmpr/../tmpr/../brandKit/fontcombinationapi.php
<?php
$apiUrl = 'https://www.thebrand.ai/TheBrandZ/brandkit.php?mode=getFontCombinations';
$response = file_get_contents($apiUrl);

if ($response !== false) {
    # Decode the JSON data
    $data = json_decode($response, true);

    if ($data !== null && isset($data['font']) && is_array($data['font'])) {
        echo '<select class="form-select mb-2" id="fontSelector" name="fontSelector">';
        echo '<option value="" disabled selected>Select a Font</option>';

        foreach ($data['font'] as $item) {
            $title = $item['title'];
            $fontid = $item['fontid'];

            echo '<option value="' . $fontid . '" style="font-family: ' . $title . ';">' . $title . '</option>';
        }

        echo '</select>';
    }
}
?>