Made copyright year in footer dynamic with php.

migrationdev
YandolsZX 7 years ago
parent bf9135ebfc
commit 195c089024
  1. 9
      index2.php

@ -2,6 +2,7 @@
<!-- <!--
New Icarus Imeji Uploader by YandolsZX New Icarus Imeji Uploader by YandolsZX
Icarus Front-end version 2.0 Icarus Front-end version 2.0
Template "Identity" by @ajlkn, licensed under under the CCA 3.0 license (html5up.net/license)
--> -->
<html lang="en" xmlns:og="https://ogp.me/ns#"> <html lang="en" xmlns:og="https://ogp.me/ns#">
<head> <head>
@ -118,8 +119,12 @@
<!-- Footer --> <!-- Footer -->
<footer id="footer"> <footer id="footer">
<ul class="copyright"> <ul class="copyright">
<li>Icarus Imeji Uploader 2.0 by Yandols ZeonX<br/><br/> <li>Icarus Imeji Uploader 2.0 by Yandols ZeonX<br/><br/>Copyright &copy;
Copyright &copy; 2016 Locaria Technologies.</li> <?php
$fromYear = 2006;
$thisYear = (int)date('Y');
echo $fromYear . (($fromYear != $thisYear) ? '-' . $thisYear : '');?>
Locaria Technologies.</li>
</ul> </ul>
<ul class="copyright"> <ul class="copyright">
<li><a href="https://gist.github.com/Yandols/cd7d5e6d24d4dbffd80aa3ebbeeaef8c" target="_blank">ShareX Support</a></li> <li><a href="https://gist.github.com/Yandols/cd7d5e6d24d4dbffd80aa3ebbeeaef8c" target="_blank">ShareX Support</a></li>

Loading…
Cancel
Save