include "utils/db_utils.php"; include "utils/string_utils.php"; include "utils/config.php"; $con = db_connect(); mysqli_set_charset($con, "utf8"); $meta_title = $common_title; $meta_keywords = $common_keywords; $meta_description = $common_description; $meta_title = "Telugu to English Dictionary Meanings Words and Transliteration"; $meta_keywords = "English meaning for Telugu Words, Telugu to English Dictionary, Free Online Dictionary, Telugu to English Dictionary Free Download, Telugu to English Dictionary Software, Telugu to English Transliteration"; $meta_description = "Telugu to English Dictionary Online Searchable Telugu Dictionary Meanings and Words List. English Meanings for Telugu Words Free Telugu Dictionary Online Software."; $language = "telugu-english"; $where_str = " WHERE (1 = 1) "; $alpha = $_GET["alpha"]; if ( !empty($alpha) && ($alpha != "all") ) $where_str .= " AND EnglishWord LIKE '". $alpha . "%'"; $count = (!empty($alpha)) ? get_alpha_count_te($alpha) : 18200; $page_size = 20; $total_pages = ($count > 0) ? ceil($count/$page_size) : 1; if ( !empty($alpha) ){ $page_number = (isset($_GET["pn"]) && is_numeric($_GET["pn"]))?$_GET["pn"]:0; } else{ $page_number = (isset($_GET["pn"]) && is_numeric($_GET["pn"]))?$_GET["pn"]:rand ( 0 , ($total_pages - 10) ); } $from = ($page_number * $page_size); $to = ($page_number + 1) * $page_size; $qry = "SELECT * FROM Dictionary " . $where_str . " ORDER BY EnglishWord LIMIT $from, $page_size"; $res = mysqli_query($con, $qry) or die(mysqli_connect_error()); ?>
include "index-meta-css.html"; ?>