256 Kilobytes

Answers in Server-Side | By August R. Garcia

Published | Last Update

211 views, 0 RAMs, and 0 comments

Tags: PHP, Laravel, Copyright Footer, Quality Threads

Profile Photo - August R. GarciaAugust R. GarciaLARPing as a Sysadmi...Portland, ORSite Owner

The only part about this that isn't vanilla PHP is using {{ $var }} as shorthand for <?= htmlspecialchars($var); ?>.

<style>
.footer-copyright p span {
  margin-left:  0.5em;
  margin-right: 0.5em;
}
</style>
<?php
  // Automatically show the current year as 2019-YYYY or if no years
  // have passed since 2019, show "2019"
  $year = (date("Y") > 2019) ? "2019-".date("Y") : "2019";
?>
<div class="footer-copyright">
  <p>
    <span><a href="{{ route('home'            ) }}">&copy; {{$year}} - 256 Kilobytes, LLC</a></span>  &mdash;
    <span><a href="{{ route('terms-of-service') }}">Terms of Service                </a></span>  &bull;
    <span><a href="{{ route('privacy-policy'  ) }}">Privacy Policy                  </a></span>
  </p>
</div>

Truly a legendary piece of code. Pour up right now.

Download more RAM. 🐏 ⨉ 0Posted by August R. Garcia 7 months ago

Edit History

• [2019-11-25 15:05 PST] August R. Garcia (7 months ago)
• [2019-11-25 15:05 PST] August R. Garcia (7 months ago)
🕓 Posted at 25 November, 2019 15:05 PM PST

Sir, I can do you a nice SEO.

Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!