Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tengku Kaisar
V3423084_CMS
Commits
df92f0ca
Commit
df92f0ca
authored
7 months ago
by
Tengku Kaisar
Browse files
Options
Download
Email Patches
Plain Diff
Upload New File
parent
ff625e49
main
No related merge requests found
Pipeline
#3406
failed with stages
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.php
+43
-0
index.php
with
43 additions
and
0 deletions
+43
-0
index.php
0 → 100644
View file @
df92f0ca
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Create Post
</title>
<link
rel=
"stylesheet"
href=
"style.css"
>
<!-- Link ke file CSS eksternal -->
</head>
<body>
<div
class=
"container"
>
<h1>
Create a Post
</h1>
<form
method=
"POST"
action=
"post_process.php"
>
<label
for=
"username"
>
Username:
</label>
<input
type=
"text"
id=
"username"
name=
"username"
required
>
<label
for=
"email"
>
Email:
</label>
<input
type=
"email"
id=
"email"
name=
"email"
required
>
<label
for=
"title"
>
Title:
</label>
<input
type=
"text"
id=
"title"
name=
"title"
required
>
<label
for=
"author"
>
Author:
</label>
<input
type=
"text"
id=
"author"
name=
"author"
required
>
<label
for=
"content"
>
Content:
</label>
<textarea
id=
"content"
name=
"content"
rows=
"5"
required
></textarea>
<input
type=
"submit"
value=
"Submit Post"
>
</form>
</div>
<div
class=
"container"
id=
"posts"
>
<h2>
Posted Articles:
</h2>
<!-- Di sinilah postingan yang dibuat akan ditampilkan -->
<?php
include
'display_posts.php'
;
?>
</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help