Skip to content

Commit dcd3b90

Browse files
committed
news
1 parent 8a33f88 commit dcd3b90

File tree

6 files changed

+12
-67
lines changed

6 files changed

+12
-67
lines changed

.DS_Store

0 Bytes
Binary file not shown.

controllers/docsController.php

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ public static function loadDoc($param)
8484
8585
</div>';
8686
}
87-
public function loadDocuments()
8887

8988
public static function loadFullDoc()
9089
{

models/docsModel.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ public function validDocument($category,$document)
3939
$statement = $this->conn->prepare($query);
4040
$statement->execute([$category,$document]);
4141
$documents=[];
42-
$row = $statement->fetch())
42+
$row = $statement->fetch();
4343
return $row[0];
4444

4545
}
4646
}
4747

4848

4949

50-
}
50+
5151
?>

public/.DS_Store

6 KB
Binary file not shown.

views/index.php

+10-63
Original file line numberDiff line numberDiff line change
@@ -44,114 +44,61 @@
4444
<ul class="news_block">
4545
<li id="news1">
4646
<div class="news_img">
47-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/documentPreview.html" class="link_news">
47+
<a href="docs?category=math" class="link_news">
4848
<img src="public/images/news2.jpg">
4949
</a>
5050
<!--<div class="test_div">-->
5151
<div class="hover-block">
5252
<span class="line"></span>
5353
<span class="line"></span>
5454
<div class="holder">
55-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/documentPreview.html" class="link_detail">
55+
<a href="docs?category=math" class="link_detail">
5656
READ MORE
5757
</a>
5858
</div>
5959
</div>
6060
</div>
61-
<p>Descriereeee</p>
61+
<p>Mathematics</p>
6262

6363
</li>
6464
<li id="news2">
6565
<div class="news_img">
66-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_news">
66+
<a href="docs?category=english" class="link_news">
6767
<img src="public/images/news2.jpg">
6868
</a>
6969
<!--<div class="test_div">-->
7070
<div class="hover-block">
7171
<span class="line"></span>
7272
<span class="line"></span>
7373
<div class="holder">
74-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_detail">
74+
<a href="docs?category=english" class="link_detail">
7575
READ MORE
7676
</a>
7777
</div>
7878
</div>
7979
</div>
80-
<p>Descriereeee</p>
80+
<p>English</p>
8181
</li>
8282
<li id="news3">
8383
<div class="news_img">
84-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_news">
84+
<a href="docs?category=c" class="link_news">
8585
<img src="public/images/news2.jpg">
8686
</a>
8787
<!--<div class="test_div">-->
8888
<div class="hover-block">
8989
<span class="line"></span>
9090
<span class="line"></span>
9191
<div class="holder">
92-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_detail">
92+
<a href="docs?category=c" class="link_detail">
9393
READ MORE
9494
</a>
9595
</div>
9696
</div>
9797
</div>
98-
<p>Descriereeee</p>
99-
</li>
100-
<li id="news4">
101-
<div class="news_img">
102-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_news">
103-
<img src="../images/news2.jpg">
104-
</a>
105-
<!--<div class="test_div">-->
106-
<div class="hover-block">
107-
<span class="line"></span>
108-
<span class="line"></span>
109-
<div class="holder">
110-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_detail">
111-
READ MORE
112-
</a>
113-
</div>
114-
</div>
115-
</div>
116-
<p>Descriereeee</p>
117-
</li>
118-
<li id="news5">
119-
<div class="news_img">
120-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_news">
121-
<img src="../images/news2.jpg">
122-
</a>
123-
<!--<div class="test_div">-->
124-
<div class="hover-block">
125-
<span class="line"></span>
126-
<span class="line"></span>
127-
<div class="holder">
128-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_detail">
129-
READ MORE
130-
</a>
131-
</div>
132-
</div>
133-
</div>
134-
<p>Descriereeee</p>
135-
</li>
136-
<li id="news6">
137-
<div class="news_img">
138-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_news">
139-
<img src="../images/news2.jpg">
140-
</a>
141-
<!--<div class="test_div">-->
142-
<div class="hover-block">
143-
<span class="line"></span>
144-
<span class="line"></span>
145-
<div class="holder">
146-
<a href="http://127.0.0.1/SkIns-Skill-Instructor-/html/displayVideo.html" class="link_detail">
147-
READ MORE
148-
</a>
149-
</div>
150-
</div>
151-
</div>
152-
<p>Descriereeee</p>
98+
<p>C/C++ Programming</p>
15399
</li>
154100

101+
155102
</ul>
156103
</center>
157104
</div>

views/menu.php

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<div class="bar3"></div>
55
</div>
66

7-
<div class="logat_icon">nume</div>
87
<script src="public/javascript/login.js"></script>
98
<script src="public/javascript/home.js"></script>
109
<?php

0 commit comments

Comments
 (0)