Uygulamayı yükle
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Not: This feature may not be available in some browsers.

Çözüldü Warez Laravel Cms Yardım

zFixxy

⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
Son görülme
Katılım
12 Ocak 2023
Mesajlar
56
Tepkime puanı
24
Puanları
10
NullCash
0
Bu Kullanıcı Forumdan Kalıcı Olarak Yasaklanmıştır.
Codecanyon dan bir cms buldum warez olarak indirdim bunu güncellemem için lisans istiyor lisans varmış gibi gösterme imkanım varmı

Tema linki

Kod:
<template>
    <div class="max-width-1200">
        <div class="flexbox-annotated-section">
            <div class="flexbox-annotated-section-annotation">
                <div class="annotated-section-title pd-all-20">
                    <h2>License</h2>
                </div>
                <div class="annotated-section-description pd-all-20 p-none-t">
                    <p class="color-note">Setup license code</p>
                </div>
            </div>

            <div class="flexbox-annotated-section-content">
                <div class="wrapper-content pd-all-20">
                    <div style="margin: auto; width:30px;" v-if="isLoading">
                        <half-circle-spinner
                            :animation-duration="1000"
                            :size="15"
                            color="#808080"
                        />
                    </div>
                    <div v-if="!isLoading && !verified">
                        <div class="note note-warning">
                            <p v-if="manageLicense === 'yes'">Your license is invalid. Please activate your license!</p>
                            <p v-if="manageLicense === 'no'">You doesn't have permission to activate the license!</p>
                        </div>
                        <div class="form-group mb-3">
                            <label class="text-title-field" for="buyer">Your username on Envato</label>
                            <input type="text" class="next-input" v-model="buyer" id="buyer" placeholder="Your Envato's username" :disabled="manageLicense === 'no'" :readonly="manageLicense === 'no'">
                            <div>
                                <small>If your profile page is <a href="https://codecanyon.net/user/john-smith" rel="nofollow">https://codecanyon.net/user/john-smith</a>, then your username on Envato is <strong>john-smith</strong>.</small>
                            </div>
                        </div>
                        <div class="form-group mb-3">
                            <div>
                                <div class="float-start">
                                    <label class="text-title-field" for="purchase_code">Purchase code</label>
                                </div>
                                <div class="float-end text-end">
                                    <small><a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code" target="_blank">What's this?</a></small>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            <input type="text" class="next-input" v-model="purchaseCode" id="purchase_code" :disabled="manageLicense === 'no'" :readonly="manageLicense === 'no'" placeholder="Ex: 10101010-10aa-0101-a1b1010a01b10">
                        </div>
                        <div class="form-group mb-3">
                            <label><input type="checkbox" name="license_rules_agreement" value="1" v-model="licenseRulesAgreement" :disabled="manageLicense === 'no'" :readonly="manageLicense === 'no'">Confirm that, according to the Envato License Terms, each license entitles one person for a single project. Creating multiple unregistered installations is a copyright violation.
                                <a href="https://codecanyon.net/licenses/standard" target="_blank" rel="nofollow">More info</a>.</label>
                        </div>
                        <div class="form-group mb-3">
                            <button :class="activating ? 'btn btn-info button-loading' : 'btn btn-info'" type="button" :disabled="manageLicense === 'no'" @click="activateLicense()">Activate license</button>
                            <button :class="deactivating ? 'btn btn-info button-loading ms-2' : 'btn btn-warning ms-2'" type="button" :disabled="manageLicense === 'no'" @click="resetLicense()">Reset license on this domain</button>
                        </div>
                        <hr>
                        <div class="form-group mb-3">
                            <p><small class="text-danger">Note: Your site IP will be added to blacklist after 5 failed attempts.</small></p>
                            <p>
                                <small>A purchase code (license) is only valid for One Domain. Are you using this theme on a new domain? Purchase a
                                <a href="https://codecanyon.net/user/botble/portfolio" target="_blank" rel="nofollow">new license here</a> to get a new purchase code.</small>
                            </p>
                        </div>
                    </div>
                    <div v-if="!isLoading && verified">
                        <p class="text-info">Licensed to {{ license.licensed_to }}. Activated since {{ license.activated_at }}.</p>
                        <div class="form-group mb-3">
                            <button :class="deactivating ? 'btn btn-warning button-loading' : 'btn btn-warning'" type="button" @click="deactivateLicense()" :disabled="manageLicense === 'no'">Deactivate license</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
    import {HalfCircleSpinner} from 'epic-spinners'

    export default {
        components: {
            HalfCircleSpinner
        },

        props: {
            verifyUrl: {
                type: String,
                default: () => null,
                required: true
            },
            activateLicenseUrl: {
                type: String,
                default: () => null,
                required: true
            },
            deactivateLicenseUrl: {
                type: String,
                default: () => null,
                required: true
            },
            resetLicenseUrl: {
                type: String,
                default: () => null,
                required: true
            },
            manageLicense: {
                type: String,
                default: () => 'no',
                required: true
            },
        },

        data() {
            return {
                isLoading: true,
                verified: false,
                purchaseCode: null,
                buyer: null,
                licenseRulesAgreement: 0,
                activating: false,
                deactivating: false,
                license: null,
            };
        },
        mounted() {
            this.verifyLicense();
        },

        methods: {
            verifyLicense() {
                axios.get(this.verifyUrl)
                    .then(res =>  {
                        if (!res.data.error) {
                            this.verified = true;
                            this.license = res.data.data;
                        }
                        this.isLoading = false;
                    })
                    .catch(res =>  {
                        Botble.handleError(res.response.data);
                        this.isLoading = false;
                    });
            },

            activateLicense() {
                this.activating = true;
                axios.post(this.activateLicenseUrl, {purchase_code: this.purchaseCode, buyer: this.buyer, license_rules_agreement: this.licenseRulesAgreement})
                    .then(res =>  {
                        if (res.data.error) {
                            Botble.showError(res.data.message);
                        } else {
                            this.verified = true;
                            this.license = res.data.data;
                            Botble.showSuccess(res.data.message);
                        }
                        this.activating = false;
                    })
                    .catch(res =>  {
                        Botble.handleError(res.response.data);
                        this.activating = false;
                    });
            },
            deactivateLicense() {
                this.deactivating = true;
                axios.post(this.deactivateLicenseUrl)
                    .then(res =>  {
                        if (res.data.error) {
                            Botble.showError(res.data.message);
                        } else {
                            this.verified = false;
                        }
                        this.deactivating = false;
                    })
                    .catch(res =>  {
                        Botble.handleError(res.response.data);
                        this.deactivating = false;
                    });
            },
            resetLicense() {
                this.deactivating = true;
                axios.post(this.resetLicenseUrl, {purchase_code: this.purchaseCode, buyer: this.buyer, license_rules_agreement: this.licenseRulesAgreement})
                    .then(res =>  {
                        if (res.data.error) {
                            Botble.showError(res.data.message);
                            this.deactivating = false;

                            return false;
                        }

                        this.verified = false;

                        this.deactivating = false;

                        Botble.showSuccess(res.data.message);
                    })
                    .catch(res =>  {
                        Botble.handleError(res.response.data);
                        this.deactivating = false;
                    });
            },
        }
    }
</script>

Kod:
import LicenseComponent from './components/LicenseComponent.vue';

if (typeof vueApp !== 'undefined') {
    vueApp.booting(vue => {
        vue.component('license-component', LicenseComponent);
    });
}

class SettingManagement {
    init() {
        this.handleMultipleAdminEmails();

        $('input[data-key=email-config-status-btn]').on('change', event => {
            let _self = $(event.currentTarget);
            let key = _self.prop('id');
            let url = _self.data('change-url');

            $.ajax({
                type: 'POST',
                url: url,
                data: {
                    key: key,
                    value: _self.prop('checked') ? 1 : 0
                },
                success: res => {
                    if (!res.error) {
                        Botble.showSuccess(res.message);
                    } else {
                        Botble.showError(res.message);
                    }
                },
                error: res => {
                    Botble.handleError(res);
                }
            });
        });

        $(document).on('change', '.setting-select-options', event => {
            $('.setting-wrapper').addClass('hidden');
            $('.setting-wrapper[data-type=' + $(event.currentTarget).val() + ']').removeClass('hidden');
        });

        $('.send-test-email-trigger-button').on('click', event => {
            event.preventDefault();
            let _self = $(event.currentTarget);
            let defaultText = _self.text();

            _self.text(_self.data('saving'));

            $.ajax({
                type: 'POST',
                url: route('settings.email.edit'),
                data: _self.closest('form').serialize(),
                success: res => {
                    if (!res.error) {
                        Botble.showSuccess(res.message);
                        $('#send-test-email-modal').modal('show');
                    } else {
                        Botble.showError(res.message);
                    }

                    _self.text(defaultText);
                },
                error: res => {
                    Botble.handleError(res);
                    _self.text(defaultText);
                }
            });
        });

        $('#send-test-email-btn').on('click', event => {
            event.preventDefault();
            let _self = $(event.currentTarget);

            _self.addClass('button-loading');

            $.ajax({
                type: 'POST',
                url: route('setting.email.send.test'),
                data: {
                    email: _self.closest('.modal-content').find('input[name=email]').val()
                },
                success: res => {
                    if (!res.error) {
                        Botble.showSuccess(res.message);
                    } else {
                        Botble.showError(res.message);
                    }
                    _self.removeClass('button-loading');
                    _self.closest('.modal').modal('hide');
                },
                error: res => {
                    Botble.handleError(res);
                    _self.removeClass('button-loading');
                    _self.closest('.modal').modal('hide');
                }
            });
        });

        $('.generate-thumbnails-trigger-button').on('click', event => {
            event.preventDefault();
            let _self = $(event.currentTarget);
            let defaultText = _self.text();

            _self.text(_self.data('saving'));

            $.ajax({
                type: 'POST',
                url: route('settings.media.post'),
                data: _self.closest('form').serialize(),
                success: res => {
                    if (!res.error) {
                        $('#generate-thumbnails-modal').modal('show');
                    } else {
                        Botble.showError(res.message);
                    }

                    _self.text(defaultText);
                },
                error: res => {
                    Botble.handleError(res);
                    _self.text(defaultText);
                }
            });
        });

        $('#generate-thumbnails-button').on('click', event => {
            event.preventDefault();
            let _self = $(event.currentTarget);

            _self.addClass('button-loading');

            $.ajax({
                type: 'POST',
                url: route('settings.media.generate-thumbnails'),
                success: res => {
                    if (!res.error) {
                        Botble.showSuccess(res.message);
                    } else {
                        Botble.showError(res.message);
                    }
                    _self.removeClass('button-loading');
                    _self.closest('.modal').modal('hide');
                },
                error: res => {
                    Botble.handleError(res);
                    _self.removeClass('button-loading');
                    _self.closest('.modal').modal('hide');
                }
            });
        });


        if (typeof CodeMirror !== 'undefined') {
            Botble.initCodeEditor('mail-template-editor');
        }

        $(document).on('click', '.btn-trigger-reset-to-default', event => {
            event.preventDefault();
            $('#reset-template-to-default-button').data('target', $(event.currentTarget).data('target'));
            $('#reset-template-to-default-modal').modal('show');
        });

        $(document).on('click', '.js-select-mail-variable', event => {
            event.preventDefault();
            let $this = $(event.currentTarget);

            let doc = $('.CodeMirror')[0].CodeMirror;

            const key = '{{ ' + $this.data('key') + ' }}';

            // If there's a selection, replace the selection.
            if (doc.somethingSelected()) {
                doc.replaceSelection(key);
                return;
            }

            // Otherwise, we insert at the cursor position.
            let cursor = doc.getCursor();
            let pos = {
                line: cursor.line,
                ch: cursor.ch
            }
            doc.replaceRange(key, pos);
        });

        $(document).on('click', '.js-select-mail-function', event => {
            event.preventDefault();
            const $this = $(event.currentTarget);

            const CodeMirror = $('.CodeMirror')[0].CodeMirror;

            const key = $this.data('sample');

            // If there's a selection, replace the selection.
            if (CodeMirror.somethingSelected()) {
                CodeMirror.replaceSelection(key);
                return;
            }

            // Otherwise, we insert at the cursor position.
            const cursor = CodeMirror.getCursor();
            const position = {
                line: cursor.line,
                ch: cursor.ch
            }
            CodeMirror.replaceRange(key, position);
        })

        $(document).on('click', '#reset-template-to-default-button', event => {
            event.preventDefault();
            let _self = $(event.currentTarget);

            _self.addClass('button-loading');

            $.ajax({
                type: 'POST',
                cache: false,
                url: _self.data('target'),
                data: {
                    email_subject_key: $('input[name=email_subject_key]').val(),
                    module: $('input[name=module]').val(),
                    template_file: $('input[name=template_file]').val(),
                },
                success: res => {
                    if (!res.error) {
                        Botble.showSuccess(res.message);
                        setTimeout(() => {
                            window.location.reload();
                        }, 1000);
                    } else {
                        Botble.showError(res.message);
                    }
                    _self.removeClass('button-loading');
                    $('#reset-template-to-default-modal').modal('hide');
                },
                error: res => {
                    Botble.handleError(res);
                    _self.removeClass('button-loading');
                }
            });
        });

        $(document).on('change', '.check-all', event => {
            let _self = $(event.currentTarget);
            let set = _self.attr('data-set');
            let checked = _self.prop('checked');
            $(set).each((index, el) => {
                if (checked) {
                    $(el).prop('checked', true);
                } else {
                    $(el).prop('checked', false);
                }
            });
        });

        $('input.setting-selection-option').each(function (index, el) {
            const $settingContentContainer = $($(el).data('target'));
            $(el).on('change', function () {
                if ($(el).val() == '1') {
                    $settingContentContainer.removeClass('d-none');
                    Botble.initResources();
                } else {
                    $settingContentContainer.addClass('d-none');
                }
            });
        });
    }

    handleMultipleAdminEmails() {

        let $wrapper = $('#admin_email_wrapper');

        if (!$wrapper.length) {
            return;
        }

        let $addBtn = $wrapper.find('#add');
        let max = parseInt($wrapper.data('max'), 10);

        let emails = $wrapper.data('emails');

        if (emails.length === 0) {
            emails = [''];
        }

        const onAddEmail = () => {
            let count = $wrapper.find('input[type=email]').length;

            if (count >= max) {
                $addBtn.addClass('disabled');
            } else {
                $addBtn.removeClass('disabled');
            }
        }

        const addEmail = (value = '') => {
            return $addBtn.before(`<div class="d-flex mt-2 more-email align-items-center">
                <input type="email" class="next-input" placeholder="${$addBtn.data('placeholder')}" name="admin_email[]" value="${value ? value : ''}" />
                <a class="btn btn-link text-danger"><i class="fas fa-minus"></i></a>
            </div>`)
        }

        const render = () => {
            emails.forEach(email => {
                addEmail(email);
            })
            onAddEmail();
        }

        $wrapper.on('click', '.more-email > a', function () {
            $(this).parent('.more-email').remove();
            onAddEmail();
        })

        $addBtn.on('click', e => {
            e.preventDefault();
            addEmail();
            onAddEmail();
        })

        render();
    }
}

$(document).ready(() => {
    new SettingManagement().init();
});

buda setting.js

lisans dosyasın içindeki kodlar
 

La Câlin

Beyond Borders
⠀⠀
Son görülme
Katılım
30 Nis 2021
Mesajlar
30,289
Tepkime puanı
13,232
Puanları
1,530
NullCash
19,606
Aslında ufak bi detaylı göz atarsan lisansın nerede olduğun bulabilirsin kodlar açık
Kod:
  <div v-if="!isLoading && !verified">
                        <div class="note note-warning">
                            <p v-if="manageLicense === 'yes'">Your license is invalid. Please activate your license!</p>
                            <p v-if="manageLicense === 'no'">You doesn't have permission to activate the license!</p>
                        </div>
                        <div class="form-group mb-3">
                            <label class="text-title-field" for="buyer">Your username on Envato</label>
                            <input type="text" class="next-input" v-model="buyer" id="buyer" placeholder="Your Envato's username" :disabled="manageLicense === 'no'" :readonly="manageLicense === 'no'">
                            <div>
                                <small>If your profile page is <a href="https://codecanyon.net/user/john-smith" rel="nofollow">https://codecanyon.net/user/john-smith</a>, then your username on Envato is <strong>john-smith</strong>.</small>
                            </div>
                        </div>
                        <div class="form-group mb-3">
                            <div>
                                <div class="float-start">
                                    <label class="text-title-field" for="purchase_code">Purchase code</label>
                                </div>
                                <div class="float-end text-end">
                                    <small><a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code" target="_blank">What's this?</a></small>
                                </div>
                                <div class="clearfix"></div>
                            </div>
                            <input type="text" class="next-input" v-model="purchaseCode" id="purchase_code" :disabled="manageLicense === 'no'" :readonly="manageLicense === 'no'" placeholder="Ex: 10101010-10aa-0101-a1b1010a01b10">
                        </div>
                        <div class="form-group mb-3">
                            <label><input type="checkbox" name="license_rules_agreement" value="1" v-model="licenseRulesAgreement" :disabled="manageLicense === 'no'" :readonly="manageLicense === 'no'">Confirm that, according to the Envato License Terms, each license entitles one person for a single project. Creating multiple unregistered installations is a copyright violation.
                                <a href="https://codecanyon.net/licenses/standard" target="_blank" rel="nofollow">More info</a>.</label>
                        </div>
                        <div class="form-group mb-3">
                            <button :class="activating ? 'btn btn-info button-loading' : 'btn btn-info'" type="button" :disabled="manageLicense === 'no'" @click="activateLicense()">Activate license</button>
                            <button :class="deactivating ? 'btn btn-info button-loading ms-2' : 'btn btn-warning ms-2'" type="button" :disabled="manageLicense === 'no'" @click="resetLicense()">Reset license on this domain</button>
                        </div>
                        <hr>
                        <div class="form-group mb-3">
                            <p><small class="text-danger">Note: Your site IP will be added to blacklist after 5 failed attempts.</small></p>
                            <p>
                                <small>A purchase code (license) is only valid for One Domain. Are you using this theme on a new domain? Purchase a
                                <a href="https://codecanyon.net/user/botble/portfolio" target="_blank" rel="nofollow">new license here</a> to get a new purchase code.</small>
                            </p>
                        </div>
                    </div>
                    <div v-if="!isLoading && verified">
                        <p class="text-info">Licensed to {{ license.licensed_to }}. Activated since {{ license.activated_at }}.</p>
                        <div class="form-group mb-3">
                            <button :class="deactivating ? 'btn btn-warning button-loading' : 'btn btn-warning'" type="button" @click="deactivateLicense()" :disabled="manageLicense === 'no'">Deactivate license</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
2:
Kod:
import LicenseComponent from './components/LicenseComponent.vue';

if (typeof vueApp !== 'undefined') {
    vueApp.booting(vue => {
        vue.component('license-component', LicenseComponent);
 
DMCA compliant image
  • Üst