Şuanki Dizin: /home/wwwdreamtechnolo/public_html/pdpczare.com/879_dfdf7_sdddadmin/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/pdpczare.com/879_dfdf7_sdddadmin/data.php |
<?php 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); ?> <!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 ##### --> <div id="preloader"> <i class="circle-preloader"></i> </div> <!-- ##### Header Area Start ##### --> <?php include('header.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"> <thead> <tr> <th width="20" class="tab_data">Sr.No</th> <th width="350" class="tab_data" >Title</th> <th width="50" 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/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 } ?> </div> </div> </div> </section> <!-- ##### About Us Area End ##### --> <!-- ##### Team Area Start ##### --> <!-- ##### Footer Area Start ##### --> <?php include('footer.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>
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