function getExt($filename){ $last=substr(strrchr($filename,"."),0); return $last; } function isEmail($Email){ if($Email == "") return 1; if(eregi("([A-Z0-9\.\-]+@[A-Z0-9\.\-]+\.[A-Z\.]+)", $Email)) return 1; else return 0; } function trimcomplete($str){ if($str !=''){ $find = array(" ", "?", "’", "," , ":","'","\s","&"); $replace = array("-", "", "'", "", "","","-","","and"); $newstr=str_replace($find,$replace,trim(strtolower($str))); return $newstr; }else{ return $str; } } function trimspaces($str){ if($str !=''){ $newstr=str_replace(" ","-",$str); return $newstr; }else{ return $str; } } function trimslash($str){ if($str !=''){ $newstr=str_replace("/","-",$str); return $newstr; }else{ return $str; } } function trimdash($str){ if($str !=''){ $newstr=str_replace("---","-",$str); return $newstr; }else{ return $str; } } function trimquote($str){ //$str = str_replace(array('\'', '"', ',','.'), '', $str); return htmlspecialchars(trim(stripslashes($str))); } function trimnewline($str){ return $str; } function encrypt($id, $key) { $id = base_convert($id, 10, 36); // Save some space $data = @mcrypt_encrypt(MCRYPT_BLOWFISH, $key, $id, 'ecb'); $data = bin2hex($data); return $data; } function decrypt($encrypted_id, $key) { $data = @pack('H*', $encrypted_id); // Translate back to binary $data = @mcrypt_decrypt(MCRYPT_BLOWFISH, $key, $data, 'ecb'); $data = base_convert($data, 36, 10); return $data; } ?>
S.no | Chapter Name | Description |
---|---|---|
1 | Parts of Speech : General Introduction | Description |
2 | Parts of Speech (Detailed Description : The Noun) | Description |
3 | Parts of Speech (Detailed Description : The Pronoun) | Description |
4 | Parts of Speech (Detailed Description : The Adjective) | Description |
5 | Parts of Speech (Detailed Description : The Verb) | Description |
6 | Parts of Speech (Detailed Description : The Adverb) | Description |
7 | Parts of Speech (Detailed Description : The Preposition) | Description |
8 | Parts of Speech (Detailed Description : Interjection) | Description |
9 | The Determiners/Articles | Description |
10 | Verb : Tenses | Description |
11 | Active-Passive Voice | Description |
12 | Modal Auxiliaries | Description |
13 | Non-Finites | Description |
14 | Subject - verb agreement/concord | Description |
15 | Direct-Indirect Speech | Description |
16 | Conditional sentences | Description |
17 | Phrasal Verbs | Description |
18 | Common Idioms & Phrases | Description |
19 | Question Tag | Description |