Update index.php

pull/8/head
SuperDev 2 years ago committed by GitHub
parent 58533da66c
commit a96f3e2a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,11 +107,10 @@ $plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
</div> </div>
</div> </div>
<br> <br>
<?php if(!plausibledatadomain&&plausibledomain == ''){ ?> <?php if(!plausibledatadomain&&plausibledomain&&plausibleembedtoken == ''){ ?>
<?php }else{ ?> <?php }else{ ?>
<iframe plausible-embed src="<?=plausibledomain?>/share/<?=plausibledatadomain?>?auth=<?=plausibleembedtoken?>&embed=true&theme=light&background=%23EBECED" scrolling="no" frameborder="0" loading="lazy" style="width: 1px; min-width: 100%; height: 1600px;"></iframe> <iframe plausible-embed src="<?=plausibledomain?>/share/<?=plausibledatadomain?>?auth=<?=plausibleembedtoken?>&embed=true&theme=light&background=%23EBECED" scrolling="no" frameborder="0" loading="lazy" style="width: 1px; min-width: 100%; height: 1600px;"></iframe>
<div style="font-size: 14px; padding-bottom: 14px;">Stats powered by <a target="_blank" style="color: #4F46E5; text-decoration: underline;" href="https://plausible.io">Plausible Analytics</a></div>
<script async src="<?=plausibledomain?>js/embed.host.js"></script> <script async src="<?=plausibledomain?>js/embed.host.js"></script>
<?php } ?> <?php } ?>

Loading…
Cancel
Save