Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/kpmim.org/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/kpmim.org/data1.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);
	$youtube_links_data = $db->get_all_crm_youtube_links_info($page_id_code);
?>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
     <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>
    <!-- The above 4 meta tags *must* come first in the head; any other head content must come *after* these tags -->

    <!-- Title -->
    <title><?php echo $var_title; ?></title>

    <!-- Favicon -->
    <link rel="icon" href="img/core-img/favicon.ico">

    <!-- Core Stylesheet -->
    <link rel="stylesheet" href="style.css">
	
</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">
					<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
                        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" border=1>
<thead>
    <tr>
        <th width="20" class="tab_data" style="text-align:center !important;">Sr.No</th>
        <th width="350" class="tab_data" style="text-align:center !important;" >Title</th>
        <th width="70" class="tab_data" style="text-align:center !important;">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/fileicon.jpg" 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" border=1>
            <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" border=1>
        <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($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" border=1>
        <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        
                        }
					     
                        
                        if($page_id_code == 10)
                        {
                        ?>
               <table cellspacing='0' class="data_table_main" border=1>
                <thead>
                    <tr>
                       
                        <th width="50" class="tab_data" style="text-align:center !important;">Serial No</th>
                        <th width="100" class="tab_data" style="text-align:center !important;">Full Name</th>
						<th width="70" class="tab_data" style="text-align:center !important;">Designation</th>
                       	<!-- <th class="tab_data">Qualification</th>
				    	<th class="tab_data">Subject</th>
                        <th class="tab_data">Experience</th>
						<th class="tab_data">Email</th>
                        <th class="tab_data">Department</th>
						<th class="tab_data">Teaching Staff</th> -->
						<th width="100" class="tab_data" style="text-align:center !important;">Profile</th>
                    </tr>
                </thead>
                <tbody>
                        
                        <?php
                        
                           	$f_report_details = $db->get_all_faculty_info();
							if(!empty($f_report_details))
							{
								$counter =0;
								foreach($f_report_details as $f_record)
								{
									$id				=	$f_report_details[$counter][0];
									$full_name		=	$f_report_details[$counter][1];
									$designation	=	$f_report_details[$counter][2];
									$qualification	=	$f_report_details[$counter][3];
									$subject		=	$f_report_details[$counter][4];
									$experience		=	$f_report_details[$counter][5];
									$email			=	$f_report_details[$counter][6];
									$department		=	$f_report_details[$counter][7];
									$staff			=	$f_report_details[$counter][8];
									$image		    =	$f_report_details[$counter][9];
                    ?>
                     <tr>
                                            <td><?php echo $counter+1; ?></td>
											<td><?php echo $full_name; ?></td>
											<td><?php echo $designation; ?></td>
										<!--	<td><?php echo $qualification; ?></td>
											<td><?php echo $subject; ?></td>
											<td><?php echo $experience; ?></td>
											<td><?php echo $email; ?></td>
											<td><?php echo $department; ?></td>
											<td><?php echo $staff; ?></td> -->
											<?php
											if($image != "")
											{
											?>
                                            <td><a href="/profile-picture/<?php echo $image; ?>" target="_blank"><img src="/profile-picture/<?php echo $image; ?>" height="50px" width="50px"></a></td>

											<?php
											}else
											{
											?>
											 <td><img src="/images/no_image_available.png" height="50px" width="50px"></td>

											<?php
											}
											?>
										
										</tr>
                    
                    
                    <?php
                    	$counter ++;
						}
					}
					?>
					</tbody>
    </table>
					<?php
                } 
           ?>

                </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