include "utils/db_utils.php"; include "utils/string_utils.php"; include "utils/config.php"; $con = db_connect(); mysqli_set_charset($con, "utf8"); $meta_title = "English to Telugu Dictionary Online | English to Telugu Meanings, Translation, Transliteration, Vocabulary & Downloads"; $meta_keywords = "English to Telugu Dictionary, English to Telugu Transliteration, English to Telugu Meanings, English to Telugu Dictionary Free Download"; $meta_description = "Searchable English to Telugu Dictionary Online Free English to Telugu Dictionary Meanings Software Online, Telugu Meanings for English Words and English Words List."; $where_str = " WHERE (1 = 1) "; $alpha = $_GET["alpha"]; if ( !empty($alpha) && ($alpha != "all") ) $where_str .= " AND EnglishWord LIKE '". $alpha . "%'"; if ( $alpha == "z" ) $where_str .= " OR EnglishWord LIKE 'y%'"; if (!empty($alpha)){ $count = get_alpha_count($alpha); if ( $alpha == "z" ) $count += get_alpha_count("y"); } else{ $count = 25600; //25667 } $page_size = 20; //($count > 20) ? 20 : $count; $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 - 5) ); } $from = ($page_number * $page_size); $to = ($page_number + 1) * $page_size; ?>
include "index-meta-css.html"; ?>