-
Notifications
You must be signed in to change notification settings - Fork 0
/
PostView.aspx
266 lines (261 loc) ยท 17.8 KB
/
PostView.aspx
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
๏ปฟ<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="PostView.aspx.cs" Inherits="myblog.Post.Resetagahanap" ValidateRequest="false" EnableEventValidation="false" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<form action="#" runat="server">
<asp:Label ID="lblID" runat="server"></asp:Label>
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<div class="container1">
<div class="icontopright myfootershare">
</div>
<img src="<%#Eval("PImg")%>" alt="<%#Eval("PTitle")%>" style="width: 100%;">
<div class="content1">
<h3 style="color: white"><%#Eval("PTitle")%></h3>
<span class="meta">Posted on <%#Eval("PDate")%>
</span>
</div>
</div>
<div class="content">
<div class="col-lg-10 col-md-10 mx-auto testing">
<h5>
<%#Eval("PDescription")%>
</h5>
<a>View: <span class="fa fa-eye"></span> <%#Eval("PView")%></a>
<br />
<a>Comment: <img src="img/chat.png" height="15" width="15" /> <%#Eval("PNumComment")%></a>
<br />
<a href="../Category/Post_<%#Eval("PCategory")%>">
<span class="ti-folder mr-1"></span><%#Eval("PCategory")%>
</a>
<br />
<asp:LinkButton ID="LinkButton1" runat="server" OnClick="btnlike_Click"><img src="img/like.png" height="15" width="15" /> <%#Eval("PLike")%></asp:LinkButton>
<a href="https://www.facebook.com/sharer.php?u=https://albertzz.somee.com/PostSearch?<%#Eval("PTitle")%>" onclick="window.open(this.href, '', 'resizable=yes,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no,width=600,height=600'); return false;"><span class="ti-facebook"></span></a>
<a href="https://twitter.com/share?url=https://albertzz.somee.com/PostSearch?<%#Eval("PTitle")%>" onclick="window.open(this.href, '', 'resizable=yes,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no,width=600,height=600'); return false;"><span class="ti-twitter"></span></a>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
<hr />
<section class="blog-post-area">
<div class="container">
<div class="row">
<div class="col-lg-8">
<div class="content">
<article>
<asp:Label ID="lblContent" runat="server"> </asp:Label>
</article>
<hr />
<h6 class="panel-title">Did you like our post?  <asp:LinkButton ID="LinkButton2" runat="server" OnClick="btnlike_Click"><img src="img/like.png" height="15" width="15" /></asp:LinkButton></h6>
<hr />
<h6 class="panel-title">Previous Comment  <img src="img/chat.png" height="15" width="15" /><asp:Label ID="Label2" runat="server"></asp:Label>
</h6>
<asp:Repeater ID="Repeater2" runat="server">
<ItemTemplate>
<div class="commentbox">
<b>
<asp:Label ID="Label1" runat="server" Text='<%#Eval("UserName") %>'>'></asp:Label></b> (<asp:Label ID="Label2" runat="server" Text='<%#Eval("CommentDate") %>'>'></asp:Label>):<br />
<asp:Label ID="Label3" runat="server" Text='<%#Eval("CommentMessage") %>'></asp:Label><br />
</div>
</ItemTemplate>
</asp:Repeater>
<hr />
<a class="genric-btn link" data-toggle="modal" data-target="#exampleModal">Comment Here</a>
</div>
</div>
<!-- Start Blog Post Siddebar -->
<div class="col-lg-4 sidebar-widgets" id="SearchHere">
<div class="widget-wrap">
<div class="single-sidebar-widget search-widget">
<center>
<asp:TextBox ID="txtSearch" runat="server" type="text" name="search" placeholder="Search Posts" onfocus="this.placeholder = ''" onblur="this.placeholder = 'Search Posts'"
class="single-input"></asp:TextBox>
<asp:Button ID="btnSearch" runat="server" Text="Search" class="genric-btn primary circle" OnClick="btnSearch_Click" />
</center>
</div>
<div class="single-sidebar-widget popular-post-widget">
<center>
<h4 class="details mt-0">Most View Posts</h4>
<br />
<asp:Repeater ID="Repeater_MostView" runat="server">
<ItemTemplate>
<div class="amenities-thumb">
<asp:ImageButton ID="ImageButtonReadMore" runat="server" class="img-fluid" ImageUrl='<%#Eval("PImg")%>' OnClick="ImageButtonReadMore_Click" />
</div>
<asp:Label ID="Label1" runat="server" Visible="false" Text='<%#Eval("PID")%>'></asp:Label>
<div class="amenities-details">
<a>
<h6><%#Eval("PTitle")%></h6>
</a>
<hr />
<a><span class="ti-calendar"></span> <%#Eval("PDate")%></a>
<a><span class="fa fa-eye"></span> <%#Eval("PView")%></a>
<a><img src="img/like.png" height="15" width="15" /> <%#Eval("PLike")%></a>
<img src="../img/chat.png" height="15" width="15" /><asp:Label ID="Label2" runat="server" Text='<%#Eval("PNumComment")%>'></asp:Label>
<asp:Button ID="btnReadMore" class="blog-post-btn" runat="server" Text="Read More" OnClick="Button_btnReadMore" />
<span class="ti-arrow-right"></span>
<hr />
</div>
</ItemTemplate>
</asp:Repeater>
</center>
</div>
<div class="single-sidebar-widget popular-post-widget">
<h4 class="details mt-0">About Me?</h4>
<br />
<div class="single-post-list">
<div class="thumb">
<center>
<img class="img-fluid" src="https://add.pics/images/2021/05/15/profileblur.png" alt="Pogi" style="width:220px;height:391px" onclick="this.src='https://add.pics/images/2021/04/02/profile.jpg'">
</center>
</div>
<br />
<div class="details mt-0">
<a>
<h6>Albert Querido Pasco
<span class="lnr lnr-coffee-cup"></span>
</h6>
</a>
<p>Thinker๐ญ๐ฎ</p>
<p>Mysterious๐๐ถ</p>
<p>Friendly???(Maybe not)(I like being alone๐ค 'cuz everyone are judgmental[Ako rin]๐ and NO ONE'S UNDERSTAND ME!)๐
๐</p>
<p>FUNNY??๐๐(I dunno!๐ฎ๐)</p>
<p>Bored ๐</p>
<p>Practical(I'm always something sure)๐ </p>
<p>Kind/Gentle (IF) ๐</p>
<p>CCL? (Coffee & Cat Lover)โ๐ป</p>
<p>Calm/Peaceful โ</p>
<p>Impatient ๐ ๐
</p>
<p>Cacography(Poor Spelling) ๐ฅบ</p>
<p>Resourceful /tactful(Strategy) ๐</p>
<p>Manageable/Arrangeable ๐๐๐๐</p>
<p>Always like a new things/discover๐ฑ๐๐๐</p>
<p>Gamers ๐ป๐ฎ</p>
<p>Artist๐น๐ง๐ค๐ถ (not yet, in my dream)lol...</p>
<p>Watchers (Movies ๐ฅ /TV ๐บ Series /Anime) ๐๐๐</p>
<p>And Also I Like fiddling (Electronic/Electrical Gadgets & Computer ๐ป, Smartphone๐ฑand Internet World ๐) ๐
๐</p>
<p>
<b>This kinds if my attitude/character.
If no one's didn't accept this phenomenon (hahaha ๐๐
)
Just get out in my way.</b>
</p>
</div>
</div>
</div>
<div class="single-sidebar-widget post-category-widget">
<h4 class="category-title">Contents <span class="fa fa-briefcase"></span></h4>
<ul class="cat-list mt-0">
<li>
<a href="../Category/Post_My Photography.aspx" class="d-flex justify-content-between">
<p>My Photography </p>
<asp:Label ID="lblMyPhotography" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="../Category/Post_Anime Recommendations.aspx" class="d-flex justify-content-between">
<p>Anime Recommendations </p>
<asp:Label ID="lblAnimeRecom" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="../Category/Post_Simple Program.aspx" class="d-flex justify-content-between">
<p>Simple Program </p>
<asp:Label ID="lblSimpleProg" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="../Category/Post_Course Project Systems.aspx" class="d-flex justify-content-between">
<p>My Course/School Project Systems </p>
<asp:Label ID="lblCourse" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="../Category/Post_Miscellaneous.aspx" class="d-flex justify-content-between">
<p>Miscellaneous</p>
<asp:Label ID="lblMiscellaneous" runat="server"></asp:Label>
</a>
</li>
</ul>
<hr />
<h6 class="category-title">Tutorials <span class="fa fa-book"></span></h6>
<ul class="cat-list mt-0">
<li>
<a href="../Category/Post_Basic Functionality Syntax.aspx" class="d-flex justify-content-between">
<p>About Basic Functionality Syntax </p>
<asp:Label ID="lbltutbasicpc" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="../Category/Post_Tweaks Troubleshooting PC.aspx" class="d-flex justify-content-between">
<p>About Tweaks/Troubleshooting PC </p>
<asp:Label ID="lbltuttweakpc" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="../Category/Post_Android Phone.aspx" class="d-flex justify-content-between">
<p>About Android phone </p>
<asp:Label ID="lbltutphone" runat="server"></asp:Label>
</a>
</li>
</ul>
<hr />
<h6 class="category-title">A-Tools <span class="fa fa-lock"></span></h6>
<ul class="cat-list mt-0">
<li>
<a href="#" class="d-flex justify-content-between">
<p>Coming Soon! </p>
<asp:Label ID="Label3" runat="server"></asp:Label>
</a>
</li>
<li>
<a href="#" class="d-flex justify-content-between">
<p>...</p>
<asp:Label ID="Label4" runat="server"></asp:Label>
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Modal -->
<div class="modal" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<br />
<br />
<br />
<br />
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Comment Form. <span class="fa fa-user-secret"></span></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<label for="name">Name*</label>
<asp:TextBox ID="txtname" runat="server" placeholder="Name" CssClass="form-control"></asp:TextBox>
<label for="email">Date</label>
<asp:TextBox ID="txtdate" runat="server" TextMode="Date" placeholder="Date" CssClass="form-control"></asp:TextBox>
<label for="mobile">Comment</label>
<asp:TextBox CssClass="form-control" ID="txtcomments" runat="server" TextMode="MultiLine" Rows="3" placeholder="Your Comments Here" ClientIDMode="Static"></asp:TextBox>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<asp:Button class="btn btn-success" ID="btncomment" runat="server" Text="Comment" OnClick="Button1_Click" />
</div>
</div>
</div>
</div>
</form>
<script>
ClassicEditor
.create(document.querySelector( '#txtcomments' ) )
.then( editor => {
console.log( editor );
} )
.catch( error => {
console.error( error );
} );
</script>
</asp:Content>