খবর:
গণশুনানীঃ প্রত্যেক মাসের তৃতীয় বৃহস্পতিবার ** বিশ্ব পরিবেশ দিবস ০৫ ই জুন ** এবারের বিশ্ব পরিবেশ দিবসের বাংলা প্রতিপাদ্য : শত কোটি জনের অপার স্বপ্ন,একটি বিশ্ব,করি না নিঃস্ব। ** আন্তর্জাতিক ওজন দিবসঃ১৬ সেপ্টেম্বর ** গত ০৮/০৪/২০১৫ ইং তারিখ হতে সারাদেশে পরিবেশগত ছাড়পত্রের অাবেদন অনলাইনে গ্রহীত হচ্ছে। আড্রেস http://ecc.doe.gov.bd ** 2 February is World Wetlands Day:World Wetlands Day 2015: Wetlands for Our Future ** **
যোগাযোগের ঠিকানা
পরিবেশ ভবন, ই/১৬, আগারগাঁও, শেরে বাংলা নগর, ঢাকা-১২০৭ টেলিফোন: ৮৮-০২-৮১৮১৮০০ ফ্যাক্স: ৮৮-০২-৮১৮১৭৭২
ইমেল:dg@doe.gov.bd
This is an example of a HTML caption with a link.
Latest News:
টেন্ডার বিজ্ঞপ্তি

Download

Upload Date:2015-10-07
Latest News
মহাপরিচালক
মোঃ রইছউল আলম মন্ডল
ইনোভেশন কার্যক্রম
ইনফোর্সমেন্ট ইনফো
প্রেস রিলিজ
ভিজিটরস ইনফো
Online: 52
Hits:'; // Before unique hits. $beforeUniqueText = 'Unique Visits:'; // Display hits on this page: // 0 = No // 1 = Yes $display = 1; // Only change this if you are recording both values. // Separator for unique and all hits display - use HTML tags! (line break is default) $separator = "
"; // Default would output: // Visits: 10 // Unique Visits: 10 /*--------------------------*/ /*--------BEGIN CODE--------*/ $log_file = dirname(__FILE__) . '/' . $lf_name; //Check for "?display=true" in URL. if ($_GET['display'] == "true") { //Show include() info. die("
<? include(\"" . dirname(__FILE__) . '/' . basename(__FILE__) . "\"); ?>
"); } else { //Visit or IP. $uIP = $_SERVER['REMOTE_ADDR']; //Check for "hits.txt" file. if (file_exists($log_file)) { //Check if today is first day of month if (date('j') == 10) { //Ensure that monthly dir exists if (!file_exists($monthly_path)) { mkdir($monthly_path); } //Check if prev month log file exists already $prev_name = $monthly_path . '/' . date("n-Y", strtotime("-1 month")); if (!file_exists($prev_name)) { //If not, move/rename current file copy($log_file, $prev_name); //Create new $toWrite based on CONFIG //Write file according to CONFIG above. if ($type == 0) { $toWrite = "1"; $info = $beforeAllText . "1"; } else if ($type == 1) { $toWrite = "1;" . $uIP . ","; $info = $beforeUniqueText . "1"; } else if ($type == 2) { $toWrite = "1;1;" . $uIP . ","; $info = $beforeAllText . "1" . $separator . $beforeUniqueText . "1"; } goto write_logfile; } } //Get contents of "hits.txt" file. $log = file_get_contents($log_file); //Get type from CONFIG above. if ($type == 0) { //Create info to write to log file and info to show. $toWrite = intval($log) + 1; $info = $beforeAllText . $toWrite; } else if ($type == 1) { //Separate log file into hits and IPs. $hits = reset(explode(";", $log)); $IPs = end(explode(";", $log)); $IPArray = explode(",", $IPs); //Check for visitor IP in list of IPs. if (array_search($uIP, $IPArray, true) === false) { //If doesnt' exist increase hits and include IP. $hits = intval($hits) + 1; $toWrite = $hits . ";" . $IPs . $uIP . ","; } else { //Otherwise nothing. $toWrite = $log; } //Info to show. $info = $beforeUniqueText . $hits; } else if ($type == 2) { //Position of separators. $c1Pos = strpos($log, ";"); $c2Pos = strrpos($log, ";"); //Separate log file into regular hits, unique hits, and IPs. $pieces = explode(";", $log); $allHits = $pieces[0]; $uniqueHits = $pieces[1]; $IPs = $pieces[2]; $IPArray = explode(",", $IPs); //Increase regular hits. $allHits = intval($allHits) + 1; //Search for visitor IP in list of IPs. if (array_search($uIP, $IPArray, true) === false) { //Increase ONLY unique hits and append IP. $uniqueHits = intval($uniqueHits) + 1; $toWrite = $allHits . ";" . $uniqueHits . ";" . $IPs . $uIP . ","; } else { //Else just include regular hits. $toWrite = $allHits . ";" . $uniqueHits . ";" . $IPs; } //Info to show. $info = $beforeAllText . $allHits . $separator . $beforeUniqueText . $uniqueHits; } } else { //If "hits.txt" doesn't exist, create it. $fp = fopen($log_file ,"w"); fclose($fp); //Write file according to CONFIG above. if ($type == 0) { $toWrite = "1"; $info = $beforeAllText . "1"; } else if ($type == 1) { $toWrite = "1;" . $uIP . ","; $info = $beforeUniqueText . "1"; } else if ($type == 2) { $toWrite = "1;1;" . $uIP . ","; $info = $beforeAllText . "1" . $separator . $beforeUniqueText . "1"; } } write_logfile: //Put $toWrite in log file file_put_contents($log_file, $toWrite); //Display info if is set in CONFIG. if ($display == 1) { echo $info; } } ?>


কর্মকর্তা/কর্মচারীর তালিকা