File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- <nav>
1+ <!-- nav>
22 <a href="?page=home" <?php if ($ current_page === 'home ' ) echo 'class="active" ' ; ?> >Home</a>
33 <a href="?page=pricing" <?php if ($ current_page === 'pricing ' ) echo 'class="active" ' ; ?> >Pricing</a>
44 <a href="?page=about" <?php if ($ current_page === 'about ' ) echo 'class="active" ' ; ?> >About</a>
55 <a href="?page=contact" <?php if ($ current_page === 'contact ' ) echo 'class="active" ' ; ?> >Contact</a>
66 <a href="?page=faq" <?php if ($ current_page === 'faq ' ) echo 'class="active" ' ; ?> >FAQ</a>
7+ </nav-->
8+ <nav>
9+ <a href="?page=home&alert_type=info&alert_message=Welcome+home%2C+PHP+hero!" <?php if ($ current_page === 'home ' ) echo 'class="active" ' ; ?> >Home</a>
10+ <a href="?page=pricing&alert_type=success&alert_message=Wow%2C+our+prices+are+awesome!" <?php if ($ current_page === 'pricing ' ) echo 'class="active" ' ; ?> >Pricing</a>
11+ <a href="?page=about&alert_type=info&alert_message=Just+a+few+PHP+files+doing+cool+stuff." <?php if ($ current_page === 'about ' ) echo 'class="active" ' ; ?> >About</a>
12+ <a href="?page=contact&alert_type=warning&alert_message=We+don%27t+bite...+usually." <?php if ($ current_page === 'contact ' ) echo 'class="active" ' ; ?> >Contact</a>
13+ <a href="?page=faq&alert_type=error&alert_message=These+FAQs+are+so+frequent%2C+they+need+a+vacation." <?php if ($ current_page === 'faq ' ) echo 'class="active" ' ; ?> >FAQ</a>
714</nav>
You can’t perform that action at this time.
0 commit comments