256 Kilobytes

Answers in Server-Side | By August R. Garcia

Published 2 weeks agoMon, 25 Nov 2019 15:05:52 -0800 | Last update 2 weeks agoMon, 25 Nov 2019 16:36:40 -0800

42 views, 0 RAMs, and 0 comments

Tags: PHP, Laravel, Copyright Footer, Quality Threads

Profile Photo - August R. Garcia August R. Garcia LARPing as a Sysadmi... Portland, OR
🗎 208 🗨 1036 🐏 319
Site Owner

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

.footer-copyright p span {
  margin-left:  0.5em;
  margin-right: 0.5em;
  // 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">
    <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>

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

Download more RAM. 🐏 ⨉ 0 Posted by August R. Garcia 2 weeks ago

Edit History

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

Sir, I can do you a nice SEO.

Post a New Comment

To leave a comment, login to your account or create an account.

Do you like having a good time?

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
You can also login to an existing account or recover your password. All use of this site is subject to terms outlined in the terms of service and privacy policy.