Untitled

mail@pastecode.io avatar
unknown
php
2 years ago
8.5 kB
2
Indexable
Never
<?php if($isDemo == true){?>
<!-- ##### Toggle Themes Demo #### -->
<div class="customizer-toggle">
    <a href="javascript:void" class="">
        <i class="fa fa-wrench"></i>
    </a>
</div>
<aside class="customizer drawer position-right">
    <div class="customizer__inner">
        <div class="customizer__header">
            <div class="customizer__title">
                <h3 class="mb-0">Select Template</h3>
            </div>
            <button type="button" class="close">
                <span aria-hidden="true">×</span>
            </button>
        </div>
        <div perfectscrollbar="" class="customizer__body ps ps--active-y">
            <div class="customizer__body-inner">
                <section>
                    <ul class="dt-list dt-list-sm">
                        <li class="list__item ng-star-inserted">
                            <div class="choose-option">
                                <a class="choose-option__icon" data-url="<?=base_url('switchtemplate/1')?>" href="javascript:void">
                                    <img alt="Light" src="<?=base_url('assets/dist/img/classic_template.png')?>">
                                </a>
                                <p class="choose-option__name">Classic Template</p>
                            </div>
                        </li>
                        <li class="list__item ng-star-inserted">
                            <div class="choose-option active">
                                <a class="choose-option__icon" data-id="<?=base_url('switchtemplate/2')?>" href="javascript:void">
                                    <img alt="Semi Dark" src="<?=base_url('assets/dist/img/modern_template.png')?>">
                                </a>
                                <p class="choose-option__name">Modern Template</p>
                            </div>
                        </li>
                    </ul>
                </section>
            </div>
        </div>
    </div>
</aside>
<?php }?>
<?php if($pageTitle=="Login" OR $this->uri->segment(1)=="signup" OR $pageTitle=="Forgot Password" OR $pageTitle=="Reset Password") {?>
<?php } else { ?>
<!-- Footer -->
<footer class="dt-footer">
<?php if($isDemo == false && ($role == ROLE_ADMIN || $role == ROLE_MANAGER)) {?>
<?php if(empty($companyInfo['envato_purchase_code'])) {?>
    <!-- Modal -->
    <div class="modal display-b" id="envatopurchasemodal" tabindex="-1"
        role="dialog" aria-labelledby="model-8" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered"
            role="document">
            <!-- Modal Content -->
            <div class="modal-content">
                <!-- Modal Header -->
                <div class="modal-header">
                    <h3 class="modal-title" id="model-8">Envato Purchase Code</h3>
                </div>
                <!-- /modal header -->
                <?php echo form_open(base_url( 'settings/envatopurchasecode' ) , array( 'id' => "envatopurchase", 'class' => 'form' ));?>
                <!-- Modal Body -->
                <div class="modal-body">
                    <p>Please verify your Proinvest purchase by entering the purchase code below.</p>
                    <div class="form-group">
                        <input class="form-control" name="purchasecode" type="text" placeholder="Envato Purchase Code">
                    </div>
                </div>
                <!-- /modal body -->
                <!-- Modal Footer -->
                <div class="modal-footer">
                    <button type="button"
                        class="btn btn-secondary btn-sm"
                        data-dismiss="modal"><?php echo lang('cancel') ?>
                    </button>
                    <button type="submit" id="envatosave"
                        class="btn btn-primary btn-sm"><?php echo lang('save') ?>
                    </button>
                </div>
                <!-- /modal footer -->
                <?php echo form_close();?>
            </div>
            <!-- /modal content -->
        </div>
    </div>
    <!-- /modal -->
<?php }?>
<?php if(empty($companyInfo['envato_purchase_code']) && $companyInfo['valid'] == 0) {?>
    <!-- Modal -->
    <div class="modal display-b" id="envatopurchasemodal" tabindex="-1"
        role="dialog" aria-labelledby="model-8" aria-hidden="true">
        <div class="modal-dialog modal-dialog-centered"
            role="document">
            <!-- Modal Content -->
            <div class="modal-content">
                <!-- Modal Header -->
                <div class="modal-header">
                    <h3 class="modal-title" id="model-8">Envato Purchase Code</h3>
                </div>
                <!-- /modal header -->
                <?php echo form_open(base_url( 'settings/envatopurchasecode' ) , array( 'id' => "envatopurchase", 'class' => 'form' ));?>
                <!-- Modal Body -->
                <div class="modal-body">
                    <p>Your envato purchase code is not valid. Please enter correct purchase code.</p>
                    <div class="form-group">
                        <input class="form-control" name="purchasecode" type="text" placeholder="Envato Purchase Code">
                    </div>
                    <small>*Please note that your account will be deactivated if the correct purchase code is not entered and you will lose all your data.</small>
                    <small>Contact <a href="mailto:support@axis96.co">support@axis96.co</a>, if you feel this is a mistake.</small>
                </div>
                <!-- /modal body -->
                <!-- Modal Footer -->
                <div class="modal-footer">
                    <button type="submit" id="envatosave"
                        class="btn btn-primary btn-sm"><?php echo lang('save') ?>
                    </button>
                </div>
                <!-- /modal footer -->
                <?php echo form_close();?>
            </div>
            <!-- /modal content -->
        </div>
    </div>
    <!-- /modal -->
<?php } }?>
    Copyright <?php echo $this->security->xss_clean($this->companyName); ?> © <?php echo date ('Y'); ?>
</footer>
<!-- /footer -->

</div>
<!-- /site content wrapper -->
</main>
</div>
</div>
<?php } ?>
<?php if($this->chatPluginActive == 1) {?>
    <?php if($this->chatPlugin == 'Tawk') {?>
        <?php $segments = explode('/', trim(parse_url($this->tawkpropertyid, PHP_URL_PATH), '/'));?>
        <p class="hidden" id="tawk" data-value="<?php echo 'https://embed.tawk.to/'.$segments[1].'/'.$segments[2] ?>">
        <!--Start of Tawk.to Script-->
        <script type="text/javascript">
            var ppid = $('#tawk').attr('data-value');   
            var Tawkurl = ppid;
            var Tawk_API=Tawk_API||{}, Tawk_LoadStart=new Date();
            (function(){
            var s1=document.createElement("script"),s0=document.getElementsByTagName("script")[0];
            s1.async=true;
            s1.src=Tawkurl;
            s1.charset='UTF-8';
            s1.setAttribute('crossorigin','*');
            s0.parentNode.insertBefore(s1,s0);
            })();
        </script>
        <!--End of Tawk.to Script-->
    <?php }?>
<?php }?>
<script src="<?php echo base_url(); ?>assets/dist/summernote/summernote-bs4.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/lang.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/summernote/editor-summernote.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/moment/moment.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/bootstrap/bootstrap.bundle.min.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/contact.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/perfect-scrollbar.min.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/masonry.pkgd.min.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/sweetalert2.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/customizer.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/Chart.min.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/chartist.min.js"></script>
<script src="<?php echo base_url(); ?>assets/dist/js/script.js"></script>
</body>
</html>