| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/stylerotica.com/public_html/EmblemAVS/ |
Upload File : |
<?php /* * The $emblem_config array should contain configuration settings for different site IDs. * Each site ID can have its own specific settings, while the 'default' key holds * settings that apply to all sites unless overridden. * * Main keys for each site ID: * - property_uuid: The unique identifier for the property (provided by ghost.army). * - property_group_id: The unique identifier for the property group (provided by ghost.army). * - origin_domain: The domain from which the request originates. * - success_redirect_url: The URL to redirect to upon successful verification. * * Default values (under 'default' key): * The values defined here, are always used if there is no "site ID" override. */ $emblem_config = [ // Site 0 (stylerotica.com) 0 => [ 'default' => [ 'property_uuid' => '0199c614-39fd-7199-beef-1681c69b6d5d', 'origin_domain' => $_SERVER['HTTP_HOST'] ?? 'stylerotica.com', 'success_redirect_url' => 'https://'.$_SERVER['HTTP_HOST'].'/members/avs_confirm.php', 'success_redirect_url_trial' => 'https://'.$_SERVER['HTTP_HOST'].'/trial/avs_confirm.php', 'custom_template_fields' => [ 'sitename' => 'Stylerotica', 'siteurl' => 'https://stylerotica.com', 'toururl' => 'https://stylerotica.com', 'site_logo' => 'https://stylerotica.com/custom_assets/images/logo.png', 'members_link' => 'https://stylerotica.com/members/', 'join_link' => 'https://join.stylerotica.com/signup/signup.php?nats=MC4wLjc1LjgzLjAuMC4wLjAuMA&step=2', 'vod_link' => '#', 'vod_login' => '#/odlogin.php', 'vod_join' => '#/register.php', 'support_link' => 'mailto:csdarkreach@gmail.com', ], ], ], 'default' => [ // Emblem Client API URL 'api_url' => 'https://emblem-avs-api.ghost.army/api/', // Emblem Client API Key 'api_key' => 'y5c4RpVumqaIqvCd1dTRGsohdBD12JQAEvNIstp4D9SwuKC6GHJ3wOOCkipccHdsg56rwx5wxsJkuwJ7', // Emblem Session Name 'session_name' => 'ghostarmy_emblem_avs_uuid', // Emblem Client API UUID (this should be added to your $userInfo array, fallback to the config if not set) 'property_uuid' => '0199c614-39fd-7199-beef-1681c69b6d5d', // Emblem Client API Group ID 'property_group_id' => 15, // Emblem Client API Origin Domain (must match the domain you registered with in ghost.army) // Leave the PHP logic to make it dynamic 'origin_domain' => isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'stylerotica.com', // Emblem Client Absolute Path 'emblem_absolute_path' => '/home/httpd/html/stylerotica.com/public_html/EmblemAVS/', // Emblem Template 'emblem_template' => 'EmblemAVS.Template.Custom.php', // Enforce Geo, should leave it false unless you wan't the Geo Fence to happen on ghost.army API Side 'enforce_geo' => false, // Success Redirect URL, we will append the UUID to the URL, to something like: members/?emblem_uuid=UUID // (this should be added to your $userInfo array, fallback to the config if not set) 'success_redirect_url' => 'https://'.$_SERVER['HTTP_HOST'].'/members/avs_confirm.php', // Success Redirect URL (trial), we will append the UUID to the URL, to something like: trial/?emblem_uuid=UUID // (this should be added to your $userInfo array, fallback to the config if not set) 'success_redirect_url_trial' => 'https://'.$_SERVER['HTTP_HOST'].'/trial/avs_confirm.php', // Before AV Message 'avs_message' => '⚠️ This website is restricted to users 18 years or older.', // AV Complete Message 'avs_complete' => 'You have successfully verified your age.', // AV Failed Message 'avs_failed' => 'You have failed to verify your age.', // AV Button Text 'avs_button' => 'Verify My Age', // AV Button Class 'avs_button_class' => 'btn btn-primary btn-lg text-white rounded-pill', // AV Button Text (Completed AVS) 'avs_button_success' => 'Continue to Members-Area', // AV Button Class (Completed AVS) 'avs_button_class_success' => 'btn btn-success btn-lg rounded-pill', ], ];