{"id":7243,"date":"2021-01-13T09:11:45","date_gmt":"2021-01-13T07:11:45","guid":{"rendered":"https:\/\/elitmusic.gr\/label\/?page_id=7243"},"modified":"2026-01-09T02:12:42","modified_gmt":"2026-01-09T00:12:42","slug":"apply","status":"publish","type":"page","link":"https:\/\/elitmusic.gr\/label\/enter\/notice\/apply\/","title":{"rendered":"\u03a3\u03c4\u03b5\u03af\u03bb\u03b5 \u03bc\u03b1\u03c2 \u03b4\u03b5\u03af\u03b3\u03bc\u03b1\/demo &#8211; Demo Submission"},"content":{"rendered":"\n<h6 class=\"wp-block-heading has-text-align-center\"><strong>\u03a6\u03cc\u03c1\u03bc\u03b1 \u03b5\u03bd\u03b4\u03b9\u03b1\u03c6\u03b5\u03c1\u03cc\u03bc\u03b5\u03bd\u03bf\u03c5 \u03ba\u03b1\u03bb\u03bb\u03b9\u03c4\u03ad\u03c7\u03bd\u03b7, \u03bc\u03bf\u03c5\u03c3\u03b9\u03ba\u03bf\u03cd \u03c3\u03c7\u03ae\u03bc\u03b1\u03c4\u03bf\u03c2 \u03ae \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03bf\u03cd<\/strong><\/h6>\n\n\n\n<div id=\"web-to-lead-form-container\">\n    <div id=\"status-message\">\n        <div class=\"spinner\"><\/div>\n        <h4>\u03a4\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03c3\u03b1\u03c2 \u03b1\u03bd\u03b5\u03b2\u03b1\u03af\u03bd\u03bf\u03c5\u03bd&#8230;<\/h4>\n        <p>\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03bc\u03b7\u03bd \u03ba\u03bb\u03b5\u03af\u03c3\u03b5\u03c4\u03b5 \u03b1\u03c5\u03c4\u03cc \u03c4\u03bf \u03c0\u03b1\u03c1\u03ac\u03b8\u03c5\u03c1\u03bf \u03bc\u03ad\u03c7\u03c1\u03b9 \u03bd\u03b1 \u03bf\u03bb\u03bf\u03ba\u03bb\u03b7\u03c1\u03c9\u03b8\u03b5\u03af \u03b7 \u03b4\u03b9\u03b1\u03b4\u03b9\u03ba\u03b1\u03c3\u03af\u03b1.<\/p>\n    <\/div>\n\n    <form id=\"web-to-lead-form\" method=\"post\" enctype=\"multipart\/form-data\">\n        <div>\n            <h6>\u03a3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u0395\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1\u03c2<\/h6>\n            <input type=\"text\" name=\"firstName\" placeholder=\"\u038c\u03bd\u03bf\u03bc\u03b1 *\" required>\n            <input type=\"text\" name=\"lastName\" placeholder=\"\u0395\u03c0\u03ce\u03bd\u03c5\u03bc\u03bf *\" required>\n            <input type=\"email\" name=\"emailAddress\" placeholder=\"Email Address *\" required>\n            <input type=\"number\" min=\"1960\" max=\"2005\" name=\"birth\" placeholder=\"\u03a7\u03c1\u03bf\u03bd\u03bf\u03bb\u03bf\u03b3\u03af\u03b1 \u0393\u03ad\u03bd\u03bd\u03b7\u03c3\u03b7\u03c2(\u03c0.\u03c7 1989) *\" required>\n            <input type=\"tel\" name=\"phoneNumber\" pattern=\"[0-9]*\" placeholder=\"\u039a\u03b9\u03bd\u03b7\u03c4\u03cc \u03a4\u03b7\u03bb. *\" minlength=\"10\" maxlength=\"10\" required>\n            <input type=\"text\" name=\"addressCity\" placeholder=\"\u03a0\u03cc\u03bb\u03b7 *\" required>\n            <input type=\"text\" pattern=\"[0-9]*\" minlength=\"5\" maxlength=\"5\" name=\"addressPostalCode\" placeholder=\"\u03a4\u03b1\u03c7\u03c5\u03b4\u03c1\u03bf\u03bc\u03b9\u03ba\u03cc\u03c2 \u039a\u03ce\u03b4\u03b9\u03ba\u03b1\u03c2 *\" required>\n        <\/div>\n\n        <div>\n            <h6>Social Profile<\/h6>\n            <label class=\"lab\">Instagram Profile URL<\/label>        \n            <input id=\"instagram\" type=\"url\" name=\"instagram\" placeholder=\"\u03c0.\u03c7 https:\/\/www.instagram.com\/elitmusic\/\">\n            <label class=\"lab\">TikTok Profile URL<\/label>        \n            <input id=\"tiktok\" type=\"url\" name=\"tiktok\" placeholder=\"\u03c0.\u03c7 https:\/\/www.tiktok.com\/@elitmusic.gr\/\">\n            <label class=\"lab\">Facebook Profile URL<\/label>\n            <input id=\"facebook\" type=\"url\" name=\"facebook\" placeholder=\"\u03c0.\u03c7 https:\/\/facebook.com\/elitmusicgr\">\n            <label class=\"lab\">Youtube Channel URL<\/label>        \n            <input id=\"youtube\" type=\"url\" name=\"youtube\" placeholder=\"\u03c0.\u03c7 https:\/\/www.youtube.com\/c\/Elitmusicgr\">\n            <label class=\"lab\">Soundcloud URL<\/label>        \n            <input id=\"soundcloud\" type=\"url\" name=\"soundcloud\" placeholder=\"\u03c0.\u03c7 https:\/\/soundcloud.com\/athensmusicgr\">\n        <\/div>\n\n        <div class=\"files\">\n            <h6><b>\u0395\u03c0\u03b9\u03bb\u03bf\u03b3\u03ae \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd, \u03b4\u03b5\u03b9\u03b3\u03bc\u03ac\u03c4\u03c9\u03bd, demo<\/b><\/h6>\n            <input type=\"file\" name=\"files[]\" id=\"files\" multiple accept=\".mp3, .wav, .mp4, .mov, .mpg, .avi, .mpeg, .wmv, .doc, .docx, .pdf\" required>\n            <p>\u0388\u03c7\u03b5\u03c4\u03b5 \u03c4\u03b7\u03bd \u03b4\u03c5\u03bd\u03b1\u03c4\u03cc\u03c4\u03b7\u03c4\u03b1 \u03bd\u03b1 \u03b1\u03bd\u03b5\u03b2\u03ac\u03c3\u03b5\u03c4\u03b5 \u03ad\u03c9\u03c2 4 \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ba\u03b1\u03b9 \u03ad\u03c9\u03c2 100Mb \u03c3\u03c5\u03bd\u03bf\u03bb\u03b9\u03ba\u03ac. \u0393\u03af\u03bd\u03bf\u03bd\u03c4\u03b1\u03b9 \u03b1\u03c0\u03bf\u03b4\u03b5\u03ba\u03c4\u03ac \u03bc\u03cc\u03bd\u03bf \u03b1\u03c1\u03c7\u03b5\u03af\u03b1 \u03ae\u03c7\u03bf\u03c5 (mp3, wav), \u03b2\u03af\u03bd\u03c4\u03b5\u03bf (mp4, mpeg, mpg, avi, mov \u03ae wmv) \u03ba\u03b1\u03b9 (pdf, doc, docx) \u03b3\u03b9\u03b1 \u03b2\u03b9\u03bf\u03b3\u03c1\u03b1\u03c6\u03b9\u03ba\u03cc \u03ba\u03b1\u03b9 \u03c3\u03c4\u03af\u03c7\u03bf\u03c5\u03c2.<\/p>\n            <p id=\"form-error\" style=\"color: red; display: none; font-weight: bold;\"><\/p>\n            <textarea id=\"description\" name=\"description\" placeholder=\"\u03a0\u03c1\u03cc\u03c3\u03b8\u03b5\u03c4\u03b5\u03c2 \u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2\" rows=\"4\"><\/textarea>\n        <\/div>\n\n        <div class=\"notice\">\n            <p>\u0397 <b>Elit Music<\/b> \u03b5\u03b3\u03b3\u03c5\u03ac\u03c4\u03b1\u03b9 \u03cc\u03c4\u03b9 \u03c4\u03b1 \u03c0\u03b1\u03c1\u03b1\u03c0\u03ac\u03bd\u03c9 \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u03c4\u03b1 \u03bf\u03c0\u03bf\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03b5\u03af\u03c4\u03b5 \u03b8\u03b1 \u03c7\u03c1\u03b7\u03c3\u03b9\u03bc\u03bf\u03c0\u03bf\u03b9\u03b7\u03b8\u03bf\u03cd\u03bd \u03b1\u03c0\u03bf\u03ba\u03bb\u03b5\u03b9\u03c3\u03c4\u03b9\u03ba\u03ac \u03b3\u03b9\u03b1 \u03c4\u03bf\u03bd \u03c3\u03ba\u03bf\u03c0\u03cc \u03c4\u03bf\u03bd \u03bf\u03c0\u03bf\u03af\u03bf \u03c0\u03c1\u03bf\u03bf\u03c1\u03af\u03b6\u03bf\u03bd\u03c4\u03b1\u03b9 \u03ba\u03b1\u03b9 \u03b4\u03b5\u03bd \u03b8\u03b1 \u03b4\u03b7\u03bc\u03bf\u03c3\u03b9\u03bf\u03c0\u03bf\u03b9\u03b7\u03b8\u03bf\u03cd\u03bd \u03c3\u03b5 \u03c4\u03c1\u03af\u03c4\u03bf\u03c5\u03c2 \u03b3\u03b9\u03b1 \u03ba\u03b1\u03bc\u03af\u03b1 \u03ac\u03bb\u03bb\u03b7 \u03b5\u03bd\u03ad\u03c1\u03b3\u03b5\u03b9\u03b1.<br>\n                <input type=\"checkbox\" id=\"notice\" name=\"notice\" value=\"agree\" required>\n                <label for=\"notice\">\u0392\u03b5\u03b2\u03b1\u03b9\u03ce\u03bd\u03c9 \u03bf\u03c4\u03b9 \u03c4\u03b1 \u03c0\u03c1\u03bf\u03c3\u03c9\u03c0\u03b9\u03ba\u03ac \u03c3\u03c4\u03bf\u03b9\u03c7\u03b5\u03af\u03b1 \u03c4\u03b1 \u03bf\u03c0\u03bf\u03af\u03b1 \u03ba\u03b1\u03c4\u03b1\u03c7\u03c9\u03c1\u03ce \u03b5\u03af\u03bd\u03b1\u03b9 \u03c3\u03c9\u03c3\u03c4\u03ac, \u03ad\u03c7\u03c9 \u03b4\u03b9\u03b1\u03b2\u03ac\u03c3\u03b5\u03b9 \u03ba\u03b1\u03b9 \u03b5\u03af\u03bc\u03b1\u03b9 \u03c3\u03cd\u03bc\u03c6\u03c9\u03bd\u03bf\u03c2 \u03bc\u03b5 \u03c4\u03b9\u03c2 <a href=\"https:\/\/elitmusic.gr\/label\/enter\/notice\/\">\u03c0\u03bb\u03b7\u03c1\u03bf\u03c6\u03bf\u03c1\u03af\u03b5\u03c2 \u03c0\u03c1\u03b9\u03bd \u03c4\u03b7\u03bd \u03c3\u03c5\u03bc\u03c0\u03bb\u03ae\u03c1\u03c9\u03c3\u03b7 \u03c4\u03b7\u03c2 \u03c6\u03cc\u03c1\u03bc\u03b1\u03c2 \u03ba\u03b1\u03b9 \u03b1\u03c0\u03bf\u03c3\u03c4\u03bf\u03bb\u03ae \u03b4\u03b5\u03b9\u03b3\u03bc\u03ac\u03c4\u03c9\u03bd \/ demo <\/a> \u03ba\u03b1\u03b9 \u03b5\u03c0\u03af\u03c3\u03b7\u03c2 \u03c3\u03c5\u03bc\u03c6\u03c9\u03bd\u03ce \u03c3\u03c4\u03b7\u03bd \u03b5\u03bd\u03b4\u03b5\u03c7\u03cc\u03bc\u03b5\u03bd\u03b7 \u03b5\u03c0\u03b9\u03ba\u03bf\u03b9\u03bd\u03c9\u03bd\u03af\u03b1 \u03bc\u03b5 \u03c4\u03b7\u03bd \u03c7\u03c1\u03ae\u03c3\u03b7 \u03c4\u03bf\u03c5\u03c2.<\/label>\n            <\/p>      \n        <\/div>\n\n        <div>\n            <button id=\"submit\" type=\"submit\" name=\"submit\" value=\"Upload File\">\u0391\u03a0\u039f\u03a3\u03a4\u039f\u039b\u0397<\/button>\n        <\/div>\n    <\/form>\n<\/div>\n\n\n\n<script type=\"text\/javascript\">\n(function() {\n    const form = document.getElementById('web-to-lead-form');\n    const fileInput = document.getElementById('files');\n    const errorDisplay = document.getElementById('form-error');\n    const statusMsg = document.getElementById('status-message');\n\n    form.addEventListener('submit', function(e) {\n        e.preventDefault();\n\n        const files = fileInput.files;\n        if (files.length === 0) {\n            showError(\"\u03a0\u03b1\u03c1\u03b1\u03ba\u03b1\u03bb\u03ce \u03b5\u03c0\u03b9\u03bb\u03ad\u03be\u03c4\u03b5 \u03c4\u03bf\u03c5\u03bb\u03ac\u03c7\u03b9\u03c3\u03c4\u03bf\u03bd \u03ad\u03bd\u03b1 \u03b1\u03c1\u03c7\u03b5\u03af\u03bf.\");\n            return;\n        }\n\n        \/\/ UI State\n        form.style.display = 'none';\n        statusMsg.style.display = 'block';\n        window.scrollTo(0, 0);\n\n        \/\/ STEP 1: Upload Files to PHP First\n        const fileData = new FormData();\n        for (let i = 0; i < files.length; i++) {\n            fileData.append('files[]', files[i]);\n        }\n\n        fetch('https:\/\/elitmusic.gr\/label\/leads_files_upload.php', {\n            method: 'POST',\n            body: fileData\n        })\n        .then(response => response.json())\n        .then(uploadResult => {\n            if (uploadResult.status === 'success') {\n                \/\/ STEP 2: Use the CORRECT filenames from PHP for the API\n                sendToApi(uploadResult.filenames);\n            } else {\n                handleCriticalError(\"\u03a3\u03c6\u03ac\u03bb\u03bc\u03b1 \u03ba\u03b1\u03c4\u03ac \u03c4\u03bf \u03b1\u03bd\u03ad\u03b2\u03b1\u03c3\u03bc\u03b1 \u03c4\u03c9\u03bd \u03b1\u03c1\u03c7\u03b5\u03af\u03c9\u03bd.\");\n            }\n        })\n        .catch(() => handleCriticalError(\"\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 \u03bc\u03b5 \u03c4\u03bf\u03bd server (Upload).\"));\n    });\n\n    function sendToApi(finalFilenames) {\n        let audio = [], video = [], doc = [];\n\n        finalFilenames.forEach(name => {\n            const ext = name.split('.').pop().toLowerCase();\n            const url = 'https:\/\/athensmusic.gr\/ams_data\/demoauditions\/' + name;\n\n            if (['mp3', 'wav'].includes(ext)) audio.push(url);\n            else if (['mp4', 'mov', 'avi', 'mpg', 'mpeg', 'wmv'].includes(ext)) video.push(url);\n            else if (['pdf', 'doc', 'docx'].includes(ext)) doc.push(url);\n        });\n\n        const socialMediaArray = [\n            form.instagram.value, form.tiktok.value, form.facebook.value, \n            form.youtube.value, form.soundcloud.value\n        ].filter(val => val);\n\n        const payloadData = {\n            firstName: form.firstName.value,\n            lastName: form.lastName.value,\n            emailAddress: form.emailAddress.value,\n            birth: form.birth.value,\n            phoneNumber: form.phoneNumber.value,\n            addressCity: form.addressCity.value,\n            addressPostalCode: form.addressPostalCode.value,\n            category: [\"Elit Music\"],\n            socialmedia: socialMediaArray,\n            audio: audio,\n            video: video,\n            doc: doc,\n            description: form.description.value\n        };\n\n        const xhr = new XMLHttpRequest();\n        xhr.open('POST', 'https:\/\/athensmusic.gr\/ams\/api\/v1\/LeadCapture\/0945a0ca0cabfd78855f7ae2e1ebc95f', true);\n        xhr.setRequestHeader('Content-Type', 'application\/json');\n        \n        xhr.onload = function() {\n            if (xhr.status >= 200 && xhr.status < 300) {\n                window.location.href = \"https:\/\/elitmusic.gr\/label\/apply\/success\/\";\n            } else {\n                handleCriticalError(\"\u03a0\u03b1\u03c1\u03bf\u03c5\u03c3\u03b9\u03ac\u03c3\u03c4\u03b7\u03ba\u03b5 \u03c3\u03c6\u03ac\u03bb\u03bc\u03b1 (API Error).\");\n            }\n        };\n        xhr.onerror = () => handleCriticalError(\"\u0391\u03c0\u03bf\u03c4\u03c5\u03c7\u03af\u03b1 \u03c3\u03cd\u03bd\u03b4\u03b5\u03c3\u03b7\u03c2 (API).\");\n        xhr.send(JSON.stringify(payloadData));\n    }\n\n    function showError(msg) {\n        errorDisplay.innerText = msg;\n        errorDisplay.style.display = 'block';\n    }\n\n    function handleCriticalError(msg) {\n        statusMsg.style.display = 'none';\n        form.style.display = 'block';\n        showError(msg);\n    }\n})();\n<\/script>\n\n\n\n<style>\n    #post-7243 label {\n        font-size: 14px;\n    }\n    input#files {\n    color: #fada29;\n    width: -webkit-fill-available;\n    margin-top: 12px;\n    }\n\tinput[type=url] {\n    margin: 0 0 12px 0;\n    }\n\t#post-7243 h6 {\n    margin: 16px 0 0 0;\n\t}\n\tselect#type {\n    margin-top: 7px;\n    }\n    .stl  {\n        -webkit-border-radius: 6px;\n        border-radius: 6px;\n        font-size: 16px;\n        padding: 11px 14px;\n        width: -webkit-fill-available;\n        background-color: #000;\n        color: #999;\n        margin-bottom: 7px;\n        border: solid 1px;\n        border-color: #333;\n    }    \n    option {\n\t    background-color: #222;\n\t}\n    .files p {\n        font-size: 13px;\n        margin-bottom: 2px;\n        margin-top: 8px;\n    }\n    button#submit, input#input_1, input#input_2, input#input_3, input#input_4 {\n        margin-top: 7px;\n        border-radius: 6px;\n        background: red;\n        width: -webkit-fill-available;\n    }\n    textarea {\n        resize: vertical;\n    }\n    .notice p {\n\tfont-size: 14px;\n\tpadding-top:6px;\n\t}\n    #status-message {\n        display: none;\n        text-align: center;\n        padding: 40px 20px;\n    }\n    .spinner {\n        border: 4px solid #f3f3f3;\n        border-top: 4px solid #3498db;\n        border-radius: 50%;\n        width: 40px;\n        height: 40px;\n        animation: spin 1s linear infinite;\n        margin: 20px auto;\n    }\n    @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }\n<\/style>\n","protected":false},"excerpt":{"rendered":"<p>\u03a6\u03cc\u03c1\u03bc\u03b1 \u03b5\u03bd\u03b4\u03b9\u03b1\u03c6\u03b5\u03c1\u03cc\u03bc\u03b5\u03bd\u03bf\u03c5 \u03ba\u03b1\u03bb\u03bb\u03b9\u03c4\u03ad\u03c7\u03bd\u03b7, \u03bc\u03bf\u03c5\u03c3\u03b9\u03ba\u03bf\u03cd \u03c3\u03c7\u03ae\u03bc\u03b1\u03c4\u03bf\u03c2 \u03ae \u03b4\u03b7\u03bc\u03b9\u03bf\u03c5\u03c1\u03b3\u03bf\u03cd \u03a4\u03b1<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/elitmusic.gr\/label\/enter\/notice\/apply\/\" class=\"readmore\">\u0394\u0395\u0399\u03a4\u0395 \u03a0\u0395\u03a1\u0399\u03a3\u03a3\u039f\u03a4\u0395\u03a1\u0391<span class=\"screen-reader-text\">\u03a3\u03c4\u03b5\u03af\u03bb\u03b5 \u03bc\u03b1\u03c2 \u03b4\u03b5\u03af\u03b3\u03bc\u03b1\/demo &#8211; Demo Submission<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6678,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"wf_page_folders":[71],"class_list":["post-7243","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/pages\/7243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/comments?post=7243"}],"version-history":[{"count":709,"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/pages\/7243\/revisions"}],"predecessor-version":[{"id":10807,"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/pages\/7243\/revisions\/10807"}],"up":[{"embeddable":true,"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/pages\/6678"}],"wp:attachment":[{"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/media?parent=7243"}],"wp:term":[{"taxonomy":"wf_page_folders","embeddable":true,"href":"https:\/\/elitmusic.gr\/label\/wp-json\/wp\/v2\/wf_page_folders?post=7243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}