Şuanki Dizin: /home/wwwdreamtechnolo/public_html/governmentofindia.in/ |
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/governmentofindia.in/index.php |
<?php require_once('dt_admin/lib/functions.php'); $db = new login_function(); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title><?php echo $project_title; ?>-Schemes in English, Hindi & Marathi</title> <link rel="icon" href="<?php echo $ico_icon_path; ?>" type="image/ico"> <meta name="description" content="Explore comprehensive information about Government of India and state-level schemes in English, Hindi, and Marathi. Stay updated on welfare programs, benefits, and eligibility details to empower your knowledge." /> <meta name="keywords" content="Government of India schemes, state government schemes, central government schemes, welfare programs, scheme benefits, eligibility criteria, English schemes blog, Hindi schemes blog, Marathi schemes blog, state-level welfare programs" /> <meta name="robots" content="index,follow"> <meta name="author" content="<?php echo $project_title; ?>"> <link rel="stylesheet" type="text/css" href="<?php echo $project_base_url; ?>css/bootstrap.css" /> <link rel="stylesheet" type="text/css" href="<?php echo $project_base_url; ?>css/web.css" /> </head> <body> <?php require_once('header.php'); ?> <div class="container text-center"> <div class="row justify-content-center"> <!--Left Section--> <div class="col-md-8 col-lg-8 col-sm-12 col-xs-12 first_section"> <?php //Pagination $results_per_page = 15; $number_of_result = $db->get_total_count_of_news(); //determine the total number of pages available $number_of_page = ceil ($number_of_result / $results_per_page); if (!isset ($_GET['page']) ) { $page = 1; } else { $page = $_GET['page']; } $page_first_result = ($page-1) * $results_per_page; $data = array(); $data = $db-> get_multiple_rows_of_published_posts($page_first_result,$results_per_page); if(!empty($data)) { $counter=0; foreach($data as $record) { $date = ""; $id = $record[0]; $category = $record[1]; $title = $record[2]; $post_visits = $record[3]; $date = $record[4]; $time = $record[5]; $main_title = $db->get_name_of_post_from_id($id); $seo_english_title = $db->get_page_english_title_from_post_id($id); $thumbnail_image_data = $db->get_thumbnail_image_from_post_id($id); $thumbnail_image_name = ""; $thumbnail_image_alt = ""; if(!empty($thumbnail_image_data)) { $thumbnail_image_name = $thumbnail_image_data[1]; $thumbnail_image_alt = $thumbnail_image_data[0]; } $displ_title_name = str_replace(" ","-",$seo_english_title); /********************Category Data Display****************************/ $sub_category_name = ""; $main_category_name = ""; $post_subcat_id = $db->get_post_sub_category_id($id); $sub_category_data = $db->get_sub_category_name_from_id($post_subcat_id); if(!empty($sub_category_data)) { $main_category_id = $sub_category_data[0]; $sub_category_name = $sub_category_data[1]; $main_category_name = $db->get_main_category_name_from_id($main_category_id); } $date_data = explode("-",$date); $date = $date_data[2]."-".$date_data[1]."-".$date_data[0]; /********************End Category Data Display****************************/ $db_author_name = ""; $display_author_name = ""; $db_author_name = $db->get_post_author_name_from_post_id($id); if($db_author_name!="") { $display_author_name = $db_author_name; } else { $display_author_name = $author; } $title_color_name = $db->get_text_title_color($id); if($title_color_name=="") { $title_color_name = "#005174"; } ?> <!--Blog Post List--> <div class="blog_posts" <?php if($counter!=0){ ?>style="margin-top:20px;"<?php } ?>> <a href="<?php echo $project_base_url; ?>post.php?pid=<?php echo $id; ?>&<?php echo $displ_title_name; ?>" class="blog_title" style="color:<?php echo $title_color_name; ?>"><?php echo $main_title; ?></a> <img src="<?php echo $project_base_url; ?>post-images/<?php echo $thumbnail_image_name; ?>" class="blog_img" alt="<?php echo $thumbnail_image_alt; ?>" /> <a href="<?php echo $project_base_url; ?>post.php?pid=<?php echo $id; ?>&<?php echo $displ_title_name; ?>" class="read_more">Read More..</a> <div class="blog_post_bottom"> <img src="<?php echo $project_base_url; ?>images/datetime.png" alt="blog post date" class="post_bottom_icon" /><span class="post_bottom_txt"><?php echo $date; ?></span> <!--<img src="images/comments.png" alt="post comments" class="post_bottom_icon" /><span class="post_bottom_txt">253 Comments</span>--> <img src="<?php echo $project_base_url; ?>images/author.png" alt="author name" class="post_bottom_icon" /><span class="post_bottom_txt"><?php echo $display_author_name; ?></span> <!--<img src="<?php echo $project_base_url; ?>images/category.png" alt="post category" class="post_bottom_icon" /><span class="post_bottom_txt"><?php echo $main_category_name; ?>/<?php echo $sub_category_name; ?></span>--> </div> </div> <!--End Of Blog Post List--> <?php $counter++; } } else { ?> <div class="blog_posts"> <span class="no_post_availble">Posts Will Be Published Soon..</span> </div> <?php } ?> <div class="page_number_container"> <?php //display the link of the pages in URL for($page = 1; $page<= $number_of_page; $page++) { echo '<a href="'.$project_base_url.'index.php?page=' . $page . '" class="page_number_links">' . $page . ' </a>'; } ?> </div> </div> <!--End Left Section--> <?php require_once('right-side.php'); ?> </div> </div> <?php require_once('footer.php'); ?> </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