-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnews.php
More file actions
39 lines (31 loc) · 1.12 KB
/
news.php
File metadata and controls
39 lines (31 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html ng-app="store" lang="en">
<head>
<title>News - CAP Distributing</title>
<meta name="description" content="We are constantly looking for more ways to quality items. Come and see what we are up to." />
<meta name="keywords" content="cap distributing news, update, info, events" />
<?php include_once("templates/head.html"); ?>
</head>
<body ng-controller="StoreController as store">
<?php include_once("templates/cap-logo.html"); ?>
<?php include_once("templates/nav.html"); ?>
<div class="container">
<h2>News</h2>
<div class="row news-div" ng-repeat="news in store.news" >
<a href ng-href="{{news.newsLink}}">
<h3>{{news.title}}</h3>
</a>
<div class="col-md-3">
<a href ng-href="{{news.newsLink}}">
<img class="news-img" ng-src="{{news.image.src}}" />
</a>
</div>
<div class="col-md-9">
<h4>{{news.date}}</h4>
<p ng-repeat="paragraphs in news.article">{{paragraphs}}</p>
</div>
</div>
</div><?php #End .container ?>
<?php include_once("templates/footer.html"); ?>
</body>
</html>