Skip to content

Commit

Permalink
First Commit And Developed By #MUFAzmi
Browse files Browse the repository at this point in the history
  • Loading branch information
Social Codia authored Aug 24, 2020
0 parents commit fc9de53
Show file tree
Hide file tree
Showing 79 changed files with 44,712 additions and 0 deletions.
43 changes: 43 additions & 0 deletions about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?php require_once("include/header.php") ?>
<?php require_once("include/navbar.php") ?>
<main>
</main>
<body class="mufazmi" >
<div class="parallax-container">
<div class="parallax">
<div class=" center"> <br><br>
<h3 class=" red-text text-darken-2">Welcome To Social Codia's Blog</h3>
<h5>The Number One Coding Website Of The Social Media.</h5>
<a href="" class="btn large">Find More</a>
</div>
<img src="img/banner2.jpg" class="responsive-img" alt="">
</div>
</div>

<div class="container">
<div class="row">
<div class="col s12 m4 l4">
<div class="card z-depth-0">
<h2 class="center"><i class="material-icons large">copyright</i></h2>
<h5 class="center">Copyright</h5>
<p class="grey-text text-darken-2">The Social Codia is the synonymous of the Social Media, which aims to provide infomartion Programming, Technology, Networking and all about Social Media.</p>
</div>
</div>
<div class="col s12 m4 l4">
<div class="card z-depth-0">
<h2 class="center"><i class="material-icons large">cast</i></h2>
<h5 class="center">Mission</h5>
<p class="grey-text text-darken-2">The Social Codia is the synonymous of the Social Media, which aims to provide infomartion Programming, Technology, Networking and all about Social Media.</p>
</div>
</div>
<div class="col s12 m4 l4">
<div class="card z-depth-0">
<h2 class="center"><i class="material-icons large">tag_faces</i></h2>
<h5 class="center">About Social Codia</h5>
<p class="grey-text text-darken-2">The Social Codia is the synonymous of the Social Media, which aims to provide infomartion Programming, Technology, Networking and all about Social Media.</p>
</div>
</div>
</div>
</div>
<!-- *********************************footer section has been started from here***************************************** -->
<?php require_once("include/footer.php") ?>
39 changes: 39 additions & 0 deletions admin/about.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php require_once('include/header.php'); ?>

<main>
</main>
<body class=" blue lighten-5" >
<nav class="teal">
<div class="container">
<div class="nav-wrapper">
<a href="#" class="brand-logo center">Social Codia</a>
<a href="#" class="sidenav-trigger show-on-large" data-target="slide-out"><i class="material-icons">menu</i></a>
</div>
</div>
</nav>

<!-- **************************The navbar menu collection list******************************* -->
<?php require_once('include/sidenav.php'); ?>

<div class="card mufazmi">
<div class="card-image">
<img src="../img/banner.png" alt="" class="responsive-img">
</div>
<div class="card-content">
<p>
The SOCIAL CODIA is a synonimous of SOCIAL MEDIA, ok
The SOCIAL CODIA's mission is to provide infomation all about Programming, Netwoking, Technology and Social Media.
we have a group of developers and this project is launched by one of our members,
you know, if you subscirbed, likes or follows our page then you are also a part of our community,
feel free if you are not a developer , programmer or any other post form infomation technology, then you also don't need to worry,
we will tech you freely, or if you are developer, programmer or any other post form infomation technology, then that's great news for us and both,
you have any doubt from any programming language, then please please this is our request we will also help you to solve any query,

by the way, Let's finish,

Thanks for following our page , and joining our community.
</p>
</div>
</div>

<?php require_once('include/footer.php'); ?>
52 changes: 52 additions & 0 deletions admin/allposts.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<?php require_once('include/header.php'); ?>
<?php require_once('include/navbar.php'); ?>
<?php require_once('include/sidenav.php'); ?>
<?php $posts = $func->getPosts() ?>
<?php

if (isset($_GET['delete']))
{
$postId = $_GET['delete'];
$func->deletePostById($postId);
}

?>

<div class="row">

<?php
foreach ($posts as $post)
{
$postCard = <<<HERE
<div class="col l3 m3 s12">
<div class="card z-depth-0 small" style="height:450px;">
<div class="card-image">
<img src="../uploads/$post->postImage" alt="" class="responsive-img">
<a href="" class="btn-floating halfway-fab waves-effect waves-light red"><i class="material-icons">keyboard_arrow_left</i></a>
</div>
<div class="card-content">
<h6 style="font-weight:bold;">$post->postTitle</h6>
<span>$post->postContent</span>
</div>
<div class="card-action">
<div class="left">
<a href="publish?edit=$post->postId"><i class="material-icons">edit</i></a>
</div>
<div class="right">
<a href="?delete=$post->postId"><i class="material-icons">delete</i></a>
</div>
</div>
</div>
</div>
HERE;;
echo $postCard;
}
?>


</div>



<?php require_once('include/footer.php'); ?>
4 changes: 4 additions & 0 deletions admin/css/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
session_start();
header("LOCATION:../dashboard.php");
?>
Loading

0 comments on commit fc9de53

Please sign in to comment.