File tree Expand file tree Collapse file tree 7 files changed +38
-95
lines changed Expand file tree Collapse file tree 7 files changed +38
-95
lines changed Original file line number Diff line number Diff line change 99require ('database/Connector.php ' );
1010require ('database/QueryBuilder.php ' );
1111
12- //return query builder instance
1312$ app ['database ' ] = new QueryBuilder (Connector::make ($ app ['config ' ]['database ' ]));
Original file line number Diff line number Diff line change 1- <!doctype html>
2- <html class =" no-js" lang =" " >
3- <head >
4- <meta charset = " utf-8" >
5- <meta http-equiv = " x-ua-compatible" content = " ie=edge" >
6- <title >mvc php</title >
7- <meta name = " description" content = " ${2}" >
8- <meta name = " viewport" content = " width=device-width, initial-scale=1" >
9-
10-
11- <link rel = " apple-touch-icon" href = " apple-touch-icon.png" >
12-
13- <link rel = " stylesheet" href = " https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css" >
14- <script src = " https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" ></script >
15-
16- </head >
17- <body >
18- <li ><a href = " /" >home</a ></li >
19- <li ><a href = " about" >About</a ></li >
20- <li ><a href = " contact" >Contact</a ></li >
1+ <?php require ('views/partials/head.php ' )?>
212
223<h1>welcome to the about page</h1>
234
24- <script src = " http://code.jquery.com/jquery-1.12.4.min.js" ></script >
25- <script >window.jQuery || document.write('<script src = " js/vendor/jquery-1.12.4.min.js" ><\/script>')</script >
26-
27-
28- <script >
29- window.ga=function(){ ga . q . push (arguments )} ;ga.q=[];ga.l=+new Date;
30- ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
31- </script >
32- <script src = " https://www.google-analytics.com/analytics.js" async defer ></script >
33- </body >
34- </html >
5+ <?php require ('views/partials/foot.php ' ) ?>
Original file line number Diff line number Diff line change 1- <!doctype html>
2- <html class =" no-js" lang =" " >
3- <head >
4- <meta charset = " utf-8" >
5- <meta http-equiv = " x-ua-compatible" content = " ie=edge" >
6- <title >mvc php</title >
7- <meta name = " description" content = " ${2}" >
8- <meta name = " viewport" content = " width=device-width, initial-scale=1" >
9-
10-
11- <link rel = " apple-touch-icon" href = " apple-touch-icon.png" >
12-
13- <link rel = " stylesheet" href = " https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css" >
14- <script src = " https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" ></script >
15-
16- </head >
17- <body >
18- <li ><a href = " /" >home</a ></li >
19- <li ><a href = " about" >About</a ></li >
20- <li ><a href = " contact" >Contact</a ></li >
1+ <?php require ('views/partials/head.php ' )?>
212
223 <h1>welcome to the contact page</h1>
234
24- <script src = " http://code.jquery.com/jquery-1.12.4.min.js" ></script >
25- <script >window.jQuery || document.write('<script src = " js/vendor/jquery-1.12.4.min.js" ><\/script>')</script >
26-
27-
28- <script >
29- window.ga=function(){ ga . q . push (arguments )} ;ga.q=[];ga.l=+new Date;
30- ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
31- </script >
32- <script src = " https://www.google-analytics.com/analytics.js" async defer ></script >
33- </body >
34- </html >
5+ <?php require ('views/partials/foot.php ' )?>
Original file line number Diff line number Diff line change 1- <!doctype html>
2- <html class="no-js" lang="">
3- <head>
4- <meta charset="utf-8">
5- <meta http-equiv="x-ua-compatible" content="ie=edge">
6- <title>mvc php</title>
7- <meta name="description" content="${2}">
8- <meta name="viewport" content="width=device-width, initial-scale=1">
9-
10-
11- <link rel="apple-touch-icon" href="apple-touch-icon.png">
12-
13- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css">
14- <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
15-
16- </head>
17- <body>
18-
19- <li><a href="/">home</a></li>
20- <li><a href="about">About</a></li>
21- <li><a href="contact">Contact</a></li>
1+ <?php require ('views/partials/head.php ' )?>
222
233
244 <ul>
288 <?php endforeach ; ?>
299 </ul>
3010
31- <script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
32- <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.12.4.min.js"><\/script>')</script>
33-
34-
35- <script>
36- window.ga=function(){ga.q.push(arguments)};ga.q=[];ga.l=+new Date;
37- ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
38- </script>
39- <script src="https://www.google-analytics.com/analytics.js" async defer></script>
40- </body>
41- </html>
11+ <?php require ('views/partials/foot.php ' )?>
Original file line number Diff line number Diff line change 1+ <script src =" http://code.jquery.com/jquery-1.12.4.min.js" ></script >
2+ <script >window.jQuery || document.write('<script src = " js/vendor/jquery-1.12.4.min.js" ><\/script>')</script >
3+
4+
5+ <script >
6+ window.ga=function(){ ga . q . push (arguments )} ;ga.q=[];ga.l=+new Date;
7+ ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
8+ </script >
9+ <script src = " https://www.google-analytics.com/analytics.js" async defer ></script >
10+ </body >
11+ </html >
Original file line number Diff line number Diff line change 1+ <!doctype html>
2+ <html class="no-js" lang="">
3+ <head>
4+ <meta charset="utf-8">
5+ <meta http-equiv="x-ua-compatible" content="ie=edge">
6+ <title>mvc php</title>
7+ <meta name="description" content="${2}">
8+ <meta name="viewport" content="width=device-width, initial-scale=1">
9+
10+
11+ <link rel="apple-touch-icon" href="apple-touch-icon.png">
12+
13+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css">
14+ <script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
15+
16+ </head>
17+ <body>
18+ <?php require ('nav.php ' ) ?>
Original file line number Diff line number Diff line change 1+ <li ><a href =" /" >home </a ></li >
2+ <li ><a href =" about" >About </a ></li >
3+ <li ><a href =" contact" >Contact </a ></li >
You can’t perform that action at this time.
0 commit comments