Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 36

Admin Panel Home Page

Below are some of the snapshots of files and codes we had to code ourselves:-

Index.php
<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="utf-8">

<meta http-equiv="X-UA-Compatible" content="IE=edge">

<meta name="viewport" content="width=device-width, initial-scale=1">

<meta
name="description" content="Prtyek News Live : हहहहह हहह हहहहह हहह हह हहहहहह हह हहहह हहहहहह">
<meta
name="keywords" content="news, newspaper, magazine, blog, post, article Prtyek News Live, hindi news, news in hindi, hindi
news headlines,

हहहहहह
हहहहहह, latest news in hindi, hindi news live, hindi samachar, breaking news in hindi, headlines in hindi, हहहहह हहहह,
हहहहहहहह हहहहहह">

<title>The Pratyek News : Hindi News, Latest News in Hindi Today, Online News And Live T.V | Pratyeknewslive |
Pratyeknews</title>

<script
type='text/javascript' src='https://platform-
api.sharethis.com/js/sharethis.js#property=5d79cadfab6f1000123c8945&product=inline-share-buttons'
async='async'></script>

<!-- Favicon and touch icons -->

<link rel="shortcut icon" href="assets/images/favicon.png" type="image/x-icon">

<link rel="apple-touch-icon" type="image/x-icon" href="assets/images/ico/apple-touch-icon-57-precomposed.png">

<link rel="apple-touch-icon" type="image/x-icon" sizes="72x72" href="assets/images/ico/apple-touch-icon-72-


precomposed.png">

<link rel="apple-touch-icon" type="image/x-icon" sizes="114x114" href="assets/images/ico/apple-touch-icon-114-


precomposed.png">

<link rel="apple-touch-icon" type="image/x-icon" sizes="144x144" href="assets/images/ico/apple-touch-icon-144-


precomposed.png">

<!-- jquery ui css -->

<link href="assets/css/jquery-ui.min.css" rel="stylesheet" type="text/css"/>

<!-- Bootstrap -->

<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

<!--Animate css-->

<link href="assets/css/animate.min.css" rel="stylesheet" type="text/css"/>

<!-- Navigation css-->

<link href="assets/bootsnav/css/bootsnav.css" rel="stylesheet" type="text/css"/>

<!-- youtube css -->

<link href="assets/css/RYPP.css" rel="stylesheet" type="text/css"/>


<!-- font awesome -->

<link href="assets/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

<!-- themify-icons -->

<link href="assets/themify-icons/themify-icons.css" rel="stylesheet" type="text/css"/>

<!-- weather-icons -->

<link href="assets/weather-icons/css/weather-icons.min.css" rel="stylesheet" type="text/css"/>

<!-- flat icon -->

<link href="assets/css/flaticon.css" rel="stylesheet" type="text/css"/>

<!-- Important Owl stylesheet -->

<link href="assets/owl-carousel/owl.carousel.css" rel="stylesheet" type="text/css"/>

<!-- Default Theme -->

<link href="assets/owl-carousel/owl.theme.css" rel="stylesheet" type="text/css"/>

<!-- owl transitions -->

<link href="assets/owl-carousel/owl.transitions.css" rel="stylesheet" type="text/css"/>

<!-- style css -->

<link href="assets/css/style.css" rel="stylesheet" type="text/css"/>

</head>

<body>

<!-- PAGE LOADER -->

<div class="se-pre-con"></div>

<!-- *** START PAGE HEADER SECTION *** -->

<?php include('./header.php');?>

<!-- *** END OF /. PAGE HEADER SECTION *** -->

<!-- *** START PAGE MAIN CONTENT *** -->

<main class="page_main_wrapper">

<!-- START NEWSTRICKER -->

<div class="container">

<div class="newstricker_inner">
<div class="trending"><strong>Trending</strong> Now</div>

<div id="NewsTicker" class="owl-carousel owl-theme">

<?php

include('./db.php');

// Create connection

$conn = new mysqli($servername, $username, $password, $dbname);

// Check connection

if ($conn->connect_error) {

die("Connection failed: " . $conn->connect_error);

mysqli_set_charset($conn,"utf8");

$sql = "SELECT * FROM shayri where verify='VERIFIED' and category='Trending' order by id desc limit 4";

$result = $conn->query($sql);

if ($result->num_rows >0) {

// output data of each row

while($row = $result->fetch_assoc()) {

<div class="item">

<a href="./news.php?id=<?php echo $row['id']; ?>"><?php echo $row['title']; ?></a>

</div>
<?php

$conn->close();

</div>
</div>

</div>

<?php
include('./footer.php');?>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->

<script src="assets/js/jquery.min.js" type="text/javascript"></script>

<!-- jquery ui js -->

<script src="assets/js/jquery-ui.min.js" type="text/javascript"></script>

<!-- Include all compiled plugins (below), or include individual files as needed -->

<script src="assets/js/bootstrap.min.js" type="text/javascript"></script>

<!-- Bootsnav js -->

<script src="assets/bootsnav/js/bootsnav.js" type="text/javascript"></script>

<!-- theia sticky sidebar -->

<script src="assets/js/theia-sticky-sidebar.js" type="text/javascript"></script>

<!-- youtube js -->

<script src="assets/js/RYPP.js" type="text/javascript"></script>

<!-- owl include js plugin -->

<script src="assets/owl-carousel/owl.carousel.min.js" type="text/javascript"></script>

<!-- custom js -->

<script src="assets/js/custom.js" type="text/javascript"></script>

</body>

</html>

You might also like