Şuanki Dizin: /home/wwwdreamtechnolo/public_html/uesmahilamahavidyalaya.org/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/uesmahilamahavidyalaya.org/contents.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); $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 class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>UES Mahavidyalay</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('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="90" 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/documentlogo.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($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 } ?> </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