Notice (8) : Undefined index: host [APP/Controller/LoginController.php , line 109 ]Code Context } else {
$this -> set ( 'referer_app_url' , parse_url ( $return_url_base )[ 'host' ] ?: '/' );
$this -> viewBuilder ()-> setTemplate ( 'n_doptor_login' ); $authenticating_urls = [
'report.gov.bd' => [
'name' => 'প্রতিবেদন সেবা কাঠামো',
'port' => null,
'template' => 'report_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/report-login-page-assets/rms_logo.jpg'
],
'n-doptor.nothi.gov.bd' => [
'name' => '',
'port' => null,
'template' => 'n_doptor_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/img/ndoptor.svg'
],
'n-doptor-dashboard.nothi.gov.bd' => [
'name' => 'ড্যাশবোর্ড',
'port' => null,
'template' => 'dashboard_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/img/dashboard.svg'
],
'my-a2i.tappware.com' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi.png'
],
'my-nothi.tappware.com' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi.png'
],
'mynothi.tappware.com' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi_training.png'
],
'training.nothi.gov.bd' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi.png'
],
'digital.nothi.gov.bd' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi.png'
],
'prep-a2i.tappware.com' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi.png'
],
'a2i-nothi-next.tappware.com' => [
'name' => 'নথি | অফিস ব্যবস্থাপনা',
'port' => null,
'template' => 'nothi_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/nothi-login-page-assets/nothi.png'
],
'training.report.gov.bd' => [
'name' => 'প্রতিবেদন সেবা কাঠামো',
'port' => null,
'template' => 'report_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/report-login-page-assets/rms_logo.jpg'
],
'n-doptor-stage.nothi.gov.bd' => [
'name' => '',
'port' => null,
'template' => 'n_doptor_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/img/ndoptor.svg'
],
'n-doptor-dashboard-stage.nothi.gov.bd' => [
'name' => 'ড্যাশবোর্ড',
'port' => null,
'template' => 'dashboard_login',
'logo_url' => 'https://n-doptor-accounts-stage.nothi.gov.bd/img/dashboard.svg'
],
'mail-reader.tappware.com' => [
'name' => 'বকশি মেইল রিডার',
'port' => null,
'template' => 'bokshi_mail_reader_login',
'logo_url' => ''
],
'bokshi-mail-reader.tappware.com' => [
'name' => 'বকশি মেইল রিডার',
'port' => null,
'template' => 'bokshi_mail_reader_login',
'logo_url' => ''
]
]
$session = object(Cake\Http\Session) {
[protected] _engine => null
[protected] _started => null
[protected] _lifetime => (int) 1440
[protected] _isCLI => false
}
$return_url_base = null
$return_url_base_parse = [
'path' => '',
'port' => null
] App\Controller\LoginController::index() - APP/Controller/LoginController.php, line 109
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 609
Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 120
Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 94
Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 234
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 162
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 96
Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Cake\Http\Runner::run() - CORE/src/Http/Runner.php, line 51
Cake\Http\Server::run() - CORE/src/Http/Server.php, line 97
[main] - ROOT/webroot/index.php, line 40 Warning (512) : Unable to emit headers. Headers sent in file=/var/www/html/n-doptor-api/vendor/cakephp/cakephp/src/Error/Debugger.php line=856 [CORE/src/Http/ResponseEmitter.php , line 51 ]Code Context if ( Configure :: read ( 'debug' )) {
trigger_error ( $message , E_USER_WARNING );
} else { $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html lang="en"
class="wf-poppins-n3-active wf-poppins-n4-active wf-poppins-n5-active wf-poppins-n7-active wf-roboto-n3-active wf-roboto-n4-active wf-poppins-n6-active wf-roboto-n6-active wf-roboto-n7-active wf-roboto-n5-active wf-active">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href=".">
<title>দপ্তর ব্যবস্থাপনা</title>
<meta content="দপ্তর ব্যবস্থাপনা" name="description">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<!--begin::Fonts -->
<script src="/nothi-login-page-assets/webfont.js"></script>
<script>
WebFont.load({
google: {
"families": ["Poppins:300,400,500,600,700", "Roboto:300,400,500,600,700"]
},
active: function () {
sessionStorage.fonts = true;
}
});
</script>
<!--end::Fonts -->
<link href="/nothi-login-page-assets/all.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/style.bundle.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/nothi-style.css" rel="stylesheet" type="text/css">
<link href="/css/sweetalert2.min.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/loginReg.css" rel="stylesheet" type="text/css">
<link href="/favicon.png" rel="shortcut icon">
<script src="/nothi-login-page-assets/jquery.js" type="text/javascript"></script>
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/popper.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/tooltip.min.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/sticky.min.js" type="text/javascript"></script>
<style>
.organogram_buld_a {
margin-right: -140px;
}
@media (max-width: 1399px) {
.organogram_buld_a {
margin-right: -48px;
}
}
</style>
</head>
<!-- end::Head -->
<!-- begin::Body -->
<body class="app flex-lg-row align-items-center login" style=" overflow-x: hidden; background-image: url(/img/doptor-bg-3.jpg);
background-size: cover;
background-position: center center;
background-attachment: fixed;
background-color: #cde7a8;
background-repeat: no-repeat;" data-new-gr-c-s-check-loaded="14.1006.0" data-gr-ext-installed="">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="logo text-center mb-5 mt-3">
<img src="/img/doptor-logo.png" alt="Doptor" width="140px;">
</div>
<div class="row justify-content-center">
<style>
.field-icon {
float: right;
margin-left: -25px;
margin-right: 4px;
margin-top: -25px;
position: relative;
z-index: 2;
}
.container {
margin: auto;
}
</style>
<div class="row no-gutters login-form-wrapper" style="width: 50% !important;">
<div class="login-form col-lg-12 order-sm-1 order-lg-2 d-flex order-lg-2 order-1 flex-column
position-relative shadow"
style="background:rgba(255,255,255,.9)">
<div class="kt-login__signin p-3 ">
<ul class="nav nav-tabs mb-2" id="myTab" role="tablist">
<li class="nav-item flex-fill">
<a tabindex="22" aria-label="User Id or User Name" aria-controls="home"
aria-selected="true" class="nav-link text-center active" data-toggle="tab"
id="home-tab" role="tab" type="button"
onclick="switchTab($(this));$('.login .partners').css({'position':'absolute'});">লগইন</a>
</li>
<li class="nav-item flex-fill">
<a tabindex="23" aria-label="User Name" aria-controls="username-search"
aria-selected="false" class="nav-link text-center" data-toggle="tab"
id="username-search-tab" role="tab" type="button"
onclick="switchTab($(this));$('.login .partners').css({'position':'inherit'});">ইউজার
আইডি খুঁজুন
</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div aria-labelledby="home-tab" class="tab-pane fade show active" id="home"
role="tabpanel">
<form method="post" accept-charset="utf-8" id="login-form" autocomplete="off"
action="">
<div class="form-row">
<div class="flex-fill mr-2 alert-warning py-2 px-3 mb-2 ml-2"><span
class="mb-0 py-2 user-msg">ইউজার আইডি অথবা ইউজার নেম ব্যবহার করে প্রবেশ করুন</span>
</div>
<div class="col-6 mb-3">
<input type="text" name="username"
placeholder="ইউজার আইডি অথবা ইউজার নেম"
class="form-control username"></div>
<div class="col-6 mb-3">
<input type="password" name="password" id="password"
autocomplete="new-password" placeholder="পাসওয়ার্ড"
class="form-control secret_key"> <span id="togglePassword"
class="fas fa-fw fa-eye field-icon toggle-password"></span>
</div>
</div>
<div class="d-flex align-items-center justify-content-between"
style="margin-bottom: 6em">
<a class="font-weight-bold"
href="https://api-stage.doptor.gov.bd/password/reset?redirect=/">
পাসওয়ার্ড ভুলে গিয়েছেন?
</a>
<!-- <a class="font-weight-bold organogram_buld_a" style="margin-left: auto"-->
<!-- href="-->
<? //= N_DOPTOR ?><!--/build-organogram">-->
<!-- <button type="button" class="btn btn-sm btn-dark btn-square"><span-->
<!-- class="mr-1">অফিস নিবন্ধন</span>-->
<!-- <i class="fas fa-building"></i></button>-->
<!-- </a>-->
<!-- <a class="font-weight-bold" style="margin-left: auto"-->
<!-- href="-->
<? //= N_DOPTOR ?><!--/self-registration">-->
<!-- <button type="button" class="btn btn-sm btn-warning btn-square"><span-->
<!-- class="mr-1">নিবন্ধন করুন</span>-->
<!-- <i class="fas fa-user-plus"></i></button>-->
<!-- </a>-->
<button type="submit" class="btn btn-sm btn-primary btn-square"><span
class="mr-1">প্রবেশ</span><i
class="fas fa-sign-in-alt"></i></button>
</div>
</form>
</div>
<div aria-labelledby="username-search-tab" class="tab-pane fade" id="username-search"
role="tabpanel">
<div class="flex-fill alert-warning py-2 px-3"><span
class="mb-0 py-2 user-msg">এনআইডি নম্বর দিয়ে ইউজার আইডি খুঁজুন</span>
</div>
<div class="form-row">
<div class="col-9">
<input class="form-control" placeholder="NID নং" type="text"
id="nid_no_input" name="nid_no_input">
</div>
<div class="col-3">
<button onclick="searchUsernameByNid()"
class="btn btn-sm btn-primary btn-square text-nowrap"
style="width: 100%">
অনুরোধ করুন
<i class="flaticon-reply"></i>
</button>
</div>
</div>
<div class="d-flex mt-3 align-items-center justify-content-between">
</div>
</div>
</div>
<!-- <div class="text-white col-lg-12 order-sm-2 order-lg-1 order-2 bg-nothi shadow"-->
<!-- style="height: 40px">-->
<!-- </div>-->
</div>
<div class="partners mb-3 pb-4">
<div class="bg-white border-top border-bottom p-2 d-flex align-items-center justify-content-center">
<img src="/img/a2i-logo-set.svg" alt="" style="height:40px !important">
<!-- <doptor-holiday-calendar url="https://holiday-calendar.tappware.com"></doptor-holiday-calendar>-->
</div>
</div>
<!-- <div class="partners mt-1 mb-0">-->
<!-- <div class="bg-white border-top border-bottom p-2 d-flex align-items-center justify-content-around">-->
<!-- <a href="https://doptor-portal.tappware.com" target="_blank" class="kt-link"><i-->
<!-- class="fas fa-hand-point-right"></i> Standard and Guidelines in-->
<!-- Doptor Standard Portal</a>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
<script>
function pad(str, max) {
return str.length < max ? pad("0" + str, max) : str;
}
$(document).on('change', 'input[name=username]', function () {
if (!isNaN($(this).val())) {
var loginid = $(this).val();
var start = loginid.substr(0, 1);
var restof = loginid.substr(1);
loginid = start + pad(restof, 11);
$(this).val(loginid);
}
});
// $('.username').on('keypress', function (event) {
// var regex = new RegExp("^[0-9]+$");
// var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
// if (!regex.test(key)) {
// event.preventDefault();
// toastr.error('দয়া করে শুধু মাত্র ইংরেজি সংখ্যাটি ইনপুট দিন');
// return false;
// }
// });
$('.secret_key').on('keypress', function (event) {
var regex = new RegExp("^[a-zA-Z0-9$&+,_:;=?@#|'<>.^*()%!\\r\\n|\\r|\\n\-]+$");
var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
if (!regex.test(key)) {
event.preventDefault();
toastr.error('দয়া করে শুধু মাত্র ইংরেজি কীবোর্ড ব্যাবহার করুন');
return false;
}
});
const togglePassword = document.querySelector('#togglePassword');
const password = document.querySelector('#password');
$(document).off('click', '.toggle-password').on('click', '.toggle-password', function () {
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
password.setAttribute('type', type);
this.classList.toggle('fa-eye-slash');
});
</script>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function () {
$('input[name="username"]').focus();
})
var KTAppOptions = {
"colors": {
"state": {
"brand": "#5d78ff",
"dark": "#282a3c",
"light": "#ffffff",
"primary": "#5867dd",
"success": "#34bfa3",
"info": "#36a3f7",
"warning": "#ffb822",
"danger": "#fd3995"
},
"base": {
"label": ["#c5cbe3", "#a1a8c3", "#3d4465", "#3e4466"],
"shape": ["#f0f3ff", "#d9dffa", "#afb4d4", "#646c9a"]
}
}
};
</script>
<script src="/js/sweetalert2.min.js" type="text/javascript"></script>
<script src="/js/login-common.js" type="text/javascript"></script>
<script src="https://holiday-calendar.tappware.com/components/doptor-holiday-calendar.js"
type="text/javascript"></script>
<script>
let lock_minute = ""
let lock_sec = "";
function setLockTimeTimer() {
let totalSeconds = lock_minute * 60 + parseInt(lock_sec);
if (totalSeconds > 300) {
totalSeconds = 300;
}
const timerInterval = setInterval(() => {
if (totalSeconds <= 0) {
clearInterval(timerInterval);
window.location.reload()
return;
}
let minutes = Math.floor(totalSeconds / 60);
let seconds = totalSeconds % 60;
if (minutes > 0) {
if (minutes > 4) {
$('#fail_login_lock_timer').text(enTobn(minutes) + ' মিনিট ');
} else {
$('#fail_login_lock_timer').text(enTobn(minutes) + ' মিনিট ' + enTobn(seconds) + ' সেকেন্ড ');
}
} else {
$('#fail_login_lock_timer').text(enTobn(seconds) + ' সেকেন্ড ');
}
totalSeconds--;
}, 1000);
}
setLockTimeTimer();
</script>
</body>
</html>'
}
$maxBufferLength = (int) 8192
$file = '/var/www/html/n-doptor-api/vendor/cakephp/cakephp/src/Error/Debugger.php'
$line = (int) 856
$message = 'Unable to emit headers. Headers sent in file=/var/www/html/n-doptor-api/vendor/cakephp/cakephp/src/Error/Debugger.php line=856' Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 51
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/n-doptor-api/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php , line 152 ]Code Context $response -> getStatusCode (),
( $reasonPhrase ? ' ' . $reasonPhrase : '' )
)); $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html lang="en"
class="wf-poppins-n3-active wf-poppins-n4-active wf-poppins-n5-active wf-poppins-n7-active wf-roboto-n3-active wf-roboto-n4-active wf-poppins-n6-active wf-roboto-n6-active wf-roboto-n7-active wf-roboto-n5-active wf-active">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href=".">
<title>দপ্তর ব্যবস্থাপনা</title>
<meta content="দপ্তর ব্যবস্থাপনা" name="description">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<!--begin::Fonts -->
<script src="/nothi-login-page-assets/webfont.js"></script>
<script>
WebFont.load({
google: {
"families": ["Poppins:300,400,500,600,700", "Roboto:300,400,500,600,700"]
},
active: function () {
sessionStorage.fonts = true;
}
});
</script>
<!--end::Fonts -->
<link href="/nothi-login-page-assets/all.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/style.bundle.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/nothi-style.css" rel="stylesheet" type="text/css">
<link href="/css/sweetalert2.min.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/loginReg.css" rel="stylesheet" type="text/css">
<link href="/favicon.png" rel="shortcut icon">
<script src="/nothi-login-page-assets/jquery.js" type="text/javascript"></script>
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/popper.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/tooltip.min.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/sticky.min.js" type="text/javascript"></script>
<style>
.organogram_buld_a {
margin-right: -140px;
}
@media (max-width: 1399px) {
.organogram_buld_a {
margin-right: -48px;
}
}
</style>
</head>
<!-- end::Head -->
<!-- begin::Body -->
<body class="app flex-lg-row align-items-center login" style=" overflow-x: hidden; background-image: url(/img/doptor-bg-3.jpg);
background-size: cover;
background-position: center center;
background-attachment: fixed;
background-color: #cde7a8;
background-repeat: no-repeat;" data-new-gr-c-s-check-loaded="14.1006.0" data-gr-ext-installed="">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="logo text-center mb-5 mt-3">
<img src="/img/doptor-logo.png" alt="Doptor" width="140px;">
</div>
<div class="row justify-content-center">
<style>
.field-icon {
float: right;
margin-left: -25px;
margin-right: 4px;
margin-top: -25px;
position: relative;
z-index: 2;
}
.container {
margin: auto;
}
</style>
<div class="row no-gutters login-form-wrapper" style="width: 50% !important;">
<div class="login-form col-lg-12 order-sm-1 order-lg-2 d-flex order-lg-2 order-1 flex-column
position-relative shadow"
style="background:rgba(255,255,255,.9)">
<div class="kt-login__signin p-3 ">
<ul class="nav nav-tabs mb-2" id="myTab" role="tablist">
<li class="nav-item flex-fill">
<a tabindex="22" aria-label="User Id or User Name" aria-controls="home"
aria-selected="true" class="nav-link text-center active" data-toggle="tab"
id="home-tab" role="tab" type="button"
onclick="switchTab($(this));$('.login .partners').css({'position':'absolute'});">লগইন</a>
</li>
<li class="nav-item flex-fill">
<a tabindex="23" aria-label="User Name" aria-controls="username-search"
aria-selected="false" class="nav-link text-center" data-toggle="tab"
id="username-search-tab" role="tab" type="button"
onclick="switchTab($(this));$('.login .partners').css({'position':'inherit'});">ইউজার
আইডি খুঁজুন
</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div aria-labelledby="home-tab" class="tab-pane fade show active" id="home"
role="tabpanel">
<form method="post" accept-charset="utf-8" id="login-form" autocomplete="off"
action="">
<div class="form-row">
<div class="flex-fill mr-2 alert-warning py-2 px-3 mb-2 ml-2"><span
class="mb-0 py-2 user-msg">ইউজার আইডি অথবা ইউজার নেম ব্যবহার করে প্রবেশ করুন</span>
</div>
<div class="col-6 mb-3">
<input type="text" name="username"
placeholder="ইউজার আইডি অথবা ইউজার নেম"
class="form-control username"></div>
<div class="col-6 mb-3">
<input type="password" name="password" id="password"
autocomplete="new-password" placeholder="পাসওয়ার্ড"
class="form-control secret_key"> <span id="togglePassword"
class="fas fa-fw fa-eye field-icon toggle-password"></span>
</div>
</div>
<div class="d-flex align-items-center justify-content-between"
style="margin-bottom: 6em">
<a class="font-weight-bold"
href="https://api-stage.doptor.gov.bd/password/reset?redirect=/">
পাসওয়ার্ড ভুলে গিয়েছেন?
</a>
<!-- <a class="font-weight-bold organogram_buld_a" style="margin-left: auto"-->
<!-- href="-->
<? //= N_DOPTOR ?><!--/build-organogram">-->
<!-- <button type="button" class="btn btn-sm btn-dark btn-square"><span-->
<!-- class="mr-1">অফিস নিবন্ধন</span>-->
<!-- <i class="fas fa-building"></i></button>-->
<!-- </a>-->
<!-- <a class="font-weight-bold" style="margin-left: auto"-->
<!-- href="-->
<? //= N_DOPTOR ?><!--/self-registration">-->
<!-- <button type="button" class="btn btn-sm btn-warning btn-square"><span-->
<!-- class="mr-1">নিবন্ধন করুন</span>-->
<!-- <i class="fas fa-user-plus"></i></button>-->
<!-- </a>-->
<button type="submit" class="btn btn-sm btn-primary btn-square"><span
class="mr-1">প্রবেশ</span><i
class="fas fa-sign-in-alt"></i></button>
</div>
</form>
</div>
<div aria-labelledby="username-search-tab" class="tab-pane fade" id="username-search"
role="tabpanel">
<div class="flex-fill alert-warning py-2 px-3"><span
class="mb-0 py-2 user-msg">এনআইডি নম্বর দিয়ে ইউজার আইডি খুঁজুন</span>
</div>
<div class="form-row">
<div class="col-9">
<input class="form-control" placeholder="NID নং" type="text"
id="nid_no_input" name="nid_no_input">
</div>
<div class="col-3">
<button onclick="searchUsernameByNid()"
class="btn btn-sm btn-primary btn-square text-nowrap"
style="width: 100%">
অনুরোধ করুন
<i class="flaticon-reply"></i>
</button>
</div>
</div>
<div class="d-flex mt-3 align-items-center justify-content-between">
</div>
</div>
</div>
<!-- <div class="text-white col-lg-12 order-sm-2 order-lg-1 order-2 bg-nothi shadow"-->
<!-- style="height: 40px">-->
<!-- </div>-->
</div>
<div class="partners mb-3 pb-4">
<div class="bg-white border-top border-bottom p-2 d-flex align-items-center justify-content-center">
<img src="/img/a2i-logo-set.svg" alt="" style="height:40px !important">
<!-- <doptor-holiday-calendar url="https://holiday-calendar.tappware.com"></doptor-holiday-calendar>-->
</div>
</div>
<!-- <div class="partners mt-1 mb-0">-->
<!-- <div class="bg-white border-top border-bottom p-2 d-flex align-items-center justify-content-around">-->
<!-- <a href="https://doptor-portal.tappware.com" target="_blank" class="kt-link"><i-->
<!-- class="fas fa-hand-point-right"></i> Standard and Guidelines in-->
<!-- Doptor Standard Portal</a>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
<script>
function pad(str, max) {
return str.length < max ? pad("0" + str, max) : str;
}
$(document).on('change', 'input[name=username]', function () {
if (!isNaN($(this).val())) {
var loginid = $(this).val();
var start = loginid.substr(0, 1);
var restof = loginid.substr(1);
loginid = start + pad(restof, 11);
$(this).val(loginid);
}
});
// $('.username').on('keypress', function (event) {
// var regex = new RegExp("^[0-9]+$");
// var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
// if (!regex.test(key)) {
// event.preventDefault();
// toastr.error('দয়া করে শুধু মাত্র ইংরেজি সংখ্যাটি ইনপুট দিন');
// return false;
// }
// });
$('.secret_key').on('keypress', function (event) {
var regex = new RegExp("^[a-zA-Z0-9$&+,_:;=?@#|'<>.^*()%!\\r\\n|\\r|\\n\-]+$");
var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
if (!regex.test(key)) {
event.preventDefault();
toastr.error('দয়া করে শুধু মাত্র ইংরেজি কীবোর্ড ব্যাবহার করুন');
return false;
}
});
const togglePassword = document.querySelector('#togglePassword');
const password = document.querySelector('#password');
$(document).off('click', '.toggle-password').on('click', '.toggle-password', function () {
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
password.setAttribute('type', type);
this.classList.toggle('fa-eye-slash');
});
</script>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function () {
$('input[name="username"]').focus();
})
var KTAppOptions = {
"colors": {
"state": {
"brand": "#5d78ff",
"dark": "#282a3c",
"light": "#ffffff",
"primary": "#5867dd",
"success": "#34bfa3",
"info": "#36a3f7",
"warning": "#ffb822",
"danger": "#fd3995"
},
"base": {
"label": ["#c5cbe3", "#a1a8c3", "#3d4465", "#3e4466"],
"shape": ["#f0f3ff", "#d9dffa", "#afb4d4", "#646c9a"]
}
}
};
</script>
<script src="/js/sweetalert2.min.js" type="text/javascript"></script>
<script src="/js/login-common.js" type="text/javascript"></script>
<script src="https://holiday-calendar.tappware.com/components/doptor-holiday-calendar.js"
type="text/javascript"></script>
<script>
let lock_minute = ""
let lock_sec = "";
function setLockTimeTimer() {
let totalSeconds = lock_minute * 60 + parseInt(lock_sec);
if (totalSeconds > 300) {
totalSeconds = 300;
}
const timerInterval = setInterval(() => {
if (totalSeconds <= 0) {
clearInterval(timerInterval);
window.location.reload()
return;
}
let minutes = Math.floor(totalSeconds / 60);
let seconds = totalSeconds % 60;
if (minutes > 0) {
if (minutes > 4) {
$('#fail_login_lock_timer').text(enTobn(minutes) + ' মিনিট ');
} else {
$('#fail_login_lock_timer').text(enTobn(minutes) + ' মিনিট ' + enTobn(seconds) + ' সেকেন্ড ');
}
} else {
$('#fail_login_lock_timer').text(enTobn(seconds) + ' সেকেন্ড ');
}
totalSeconds--;
}, 1000);
}
setLockTimeTimer();
</script>
</body>
</html>'
}
$reasonPhrase = 'OK' header - [internal], line ??
Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 152
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 57
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40 Warning (2) : Cannot modify header information - headers already sent by (output started at /var/www/html/n-doptor-api/vendor/cakephp/cakephp/src/Error/Debugger.php:856) [CORE/src/Http/ResponseEmitter.php , line 181 ]Code Context foreach ( $values as $value ) {
header ( sprintf (
'%s: %s' , $response = object(Cake\Http\Response) {
'status' => (int) 200,
'contentType' => 'text/html',
'headers' => [
'Content-Type' => [
[maximum depth reached]
]
],
'file' => null,
'fileRange' => [],
'cookies' => object(Cake\Http\Cookie\CookieCollection) {},
'cacheDirectives' => [],
'body' => '<!DOCTYPE html>
<html lang="en"
class="wf-poppins-n3-active wf-poppins-n4-active wf-poppins-n5-active wf-poppins-n7-active wf-roboto-n3-active wf-roboto-n4-active wf-poppins-n6-active wf-roboto-n6-active wf-roboto-n7-active wf-roboto-n5-active wf-active">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href=".">
<title>দপ্তর ব্যবস্থাপনা</title>
<meta content="দপ্তর ব্যবস্থাপনা" name="description">
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<!--begin::Fonts -->
<script src="/nothi-login-page-assets/webfont.js"></script>
<script>
WebFont.load({
google: {
"families": ["Poppins:300,400,500,600,700", "Roboto:300,400,500,600,700"]
},
active: function () {
sessionStorage.fonts = true;
}
});
</script>
<!--end::Fonts -->
<link href="/nothi-login-page-assets/all.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/style.bundle.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/nothi-style.css" rel="stylesheet" type="text/css">
<link href="/css/sweetalert2.min.css" rel="stylesheet" type="text/css">
<link href="/nothi-login-page-assets/loginReg.css" rel="stylesheet" type="text/css">
<link href="/favicon.png" rel="shortcut icon">
<script src="/nothi-login-page-assets/jquery.js" type="text/javascript"></script>
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/popper.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/tooltip.min.js" type="text/javascript"></script>
<script src="/nothi-login-page-assets/sticky.min.js" type="text/javascript"></script>
<style>
.organogram_buld_a {
margin-right: -140px;
}
@media (max-width: 1399px) {
.organogram_buld_a {
margin-right: -48px;
}
}
</style>
</head>
<!-- end::Head -->
<!-- begin::Body -->
<body class="app flex-lg-row align-items-center login" style=" overflow-x: hidden; background-image: url(/img/doptor-bg-3.jpg);
background-size: cover;
background-position: center center;
background-attachment: fixed;
background-color: #cde7a8;
background-repeat: no-repeat;" data-new-gr-c-s-check-loaded="14.1006.0" data-gr-ext-installed="">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12">
<div class="logo text-center mb-5 mt-3">
<img src="/img/doptor-logo.png" alt="Doptor" width="140px;">
</div>
<div class="row justify-content-center">
<style>
.field-icon {
float: right;
margin-left: -25px;
margin-right: 4px;
margin-top: -25px;
position: relative;
z-index: 2;
}
.container {
margin: auto;
}
</style>
<div class="row no-gutters login-form-wrapper" style="width: 50% !important;">
<div class="login-form col-lg-12 order-sm-1 order-lg-2 d-flex order-lg-2 order-1 flex-column
position-relative shadow"
style="background:rgba(255,255,255,.9)">
<div class="kt-login__signin p-3 ">
<ul class="nav nav-tabs mb-2" id="myTab" role="tablist">
<li class="nav-item flex-fill">
<a tabindex="22" aria-label="User Id or User Name" aria-controls="home"
aria-selected="true" class="nav-link text-center active" data-toggle="tab"
id="home-tab" role="tab" type="button"
onclick="switchTab($(this));$('.login .partners').css({'position':'absolute'});">লগইন</a>
</li>
<li class="nav-item flex-fill">
<a tabindex="23" aria-label="User Name" aria-controls="username-search"
aria-selected="false" class="nav-link text-center" data-toggle="tab"
id="username-search-tab" role="tab" type="button"
onclick="switchTab($(this));$('.login .partners').css({'position':'inherit'});">ইউজার
আইডি খুঁজুন
</a>
</li>
</ul>
<div class="tab-content" id="myTabContent">
<div aria-labelledby="home-tab" class="tab-pane fade show active" id="home"
role="tabpanel">
<form method="post" accept-charset="utf-8" id="login-form" autocomplete="off"
action="">
<div class="form-row">
<div class="flex-fill mr-2 alert-warning py-2 px-3 mb-2 ml-2"><span
class="mb-0 py-2 user-msg">ইউজার আইডি অথবা ইউজার নেম ব্যবহার করে প্রবেশ করুন</span>
</div>
<div class="col-6 mb-3">
<input type="text" name="username"
placeholder="ইউজার আইডি অথবা ইউজার নেম"
class="form-control username"></div>
<div class="col-6 mb-3">
<input type="password" name="password" id="password"
autocomplete="new-password" placeholder="পাসওয়ার্ড"
class="form-control secret_key"> <span id="togglePassword"
class="fas fa-fw fa-eye field-icon toggle-password"></span>
</div>
</div>
<div class="d-flex align-items-center justify-content-between"
style="margin-bottom: 6em">
<a class="font-weight-bold"
href="https://api-stage.doptor.gov.bd/password/reset?redirect=/">
পাসওয়ার্ড ভুলে গিয়েছেন?
</a>
<!-- <a class="font-weight-bold organogram_buld_a" style="margin-left: auto"-->
<!-- href="-->
<? //= N_DOPTOR ?><!--/build-organogram">-->
<!-- <button type="button" class="btn btn-sm btn-dark btn-square"><span-->
<!-- class="mr-1">অফিস নিবন্ধন</span>-->
<!-- <i class="fas fa-building"></i></button>-->
<!-- </a>-->
<!-- <a class="font-weight-bold" style="margin-left: auto"-->
<!-- href="-->
<? //= N_DOPTOR ?><!--/self-registration">-->
<!-- <button type="button" class="btn btn-sm btn-warning btn-square"><span-->
<!-- class="mr-1">নিবন্ধন করুন</span>-->
<!-- <i class="fas fa-user-plus"></i></button>-->
<!-- </a>-->
<button type="submit" class="btn btn-sm btn-primary btn-square"><span
class="mr-1">প্রবেশ</span><i
class="fas fa-sign-in-alt"></i></button>
</div>
</form>
</div>
<div aria-labelledby="username-search-tab" class="tab-pane fade" id="username-search"
role="tabpanel">
<div class="flex-fill alert-warning py-2 px-3"><span
class="mb-0 py-2 user-msg">এনআইডি নম্বর দিয়ে ইউজার আইডি খুঁজুন</span>
</div>
<div class="form-row">
<div class="col-9">
<input class="form-control" placeholder="NID নং" type="text"
id="nid_no_input" name="nid_no_input">
</div>
<div class="col-3">
<button onclick="searchUsernameByNid()"
class="btn btn-sm btn-primary btn-square text-nowrap"
style="width: 100%">
অনুরোধ করুন
<i class="flaticon-reply"></i>
</button>
</div>
</div>
<div class="d-flex mt-3 align-items-center justify-content-between">
</div>
</div>
</div>
<!-- <div class="text-white col-lg-12 order-sm-2 order-lg-1 order-2 bg-nothi shadow"-->
<!-- style="height: 40px">-->
<!-- </div>-->
</div>
<div class="partners mb-3 pb-4">
<div class="bg-white border-top border-bottom p-2 d-flex align-items-center justify-content-center">
<img src="/img/a2i-logo-set.svg" alt="" style="height:40px !important">
<!-- <doptor-holiday-calendar url="https://holiday-calendar.tappware.com"></doptor-holiday-calendar>-->
</div>
</div>
<!-- <div class="partners mt-1 mb-0">-->
<!-- <div class="bg-white border-top border-bottom p-2 d-flex align-items-center justify-content-around">-->
<!-- <a href="https://doptor-portal.tappware.com" target="_blank" class="kt-link"><i-->
<!-- class="fas fa-hand-point-right"></i> Standard and Guidelines in-->
<!-- Doptor Standard Portal</a>-->
<!-- </div>-->
<!-- </div>-->
</div>
</div>
<script>
function pad(str, max) {
return str.length < max ? pad("0" + str, max) : str;
}
$(document).on('change', 'input[name=username]', function () {
if (!isNaN($(this).val())) {
var loginid = $(this).val();
var start = loginid.substr(0, 1);
var restof = loginid.substr(1);
loginid = start + pad(restof, 11);
$(this).val(loginid);
}
});
// $('.username').on('keypress', function (event) {
// var regex = new RegExp("^[0-9]+$");
// var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
// if (!regex.test(key)) {
// event.preventDefault();
// toastr.error('দয়া করে শুধু মাত্র ইংরেজি সংখ্যাটি ইনপুট দিন');
// return false;
// }
// });
$('.secret_key').on('keypress', function (event) {
var regex = new RegExp("^[a-zA-Z0-9$&+,_:;=?@#|'<>.^*()%!\\r\\n|\\r|\\n\-]+$");
var key = String.fromCharCode(!event.charCode ? event.which : event.charCode);
if (!regex.test(key)) {
event.preventDefault();
toastr.error('দয়া করে শুধু মাত্র ইংরেজি কীবোর্ড ব্যাবহার করুন');
return false;
}
});
const togglePassword = document.querySelector('#togglePassword');
const password = document.querySelector('#password');
$(document).off('click', '.toggle-password').on('click', '.toggle-password', function () {
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
password.setAttribute('type', type);
this.classList.toggle('fa-eye-slash');
});
</script>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function () {
$('input[name="username"]').focus();
})
var KTAppOptions = {
"colors": {
"state": {
"brand": "#5d78ff",
"dark": "#282a3c",
"light": "#ffffff",
"primary": "#5867dd",
"success": "#34bfa3",
"info": "#36a3f7",
"warning": "#ffb822",
"danger": "#fd3995"
},
"base": {
"label": ["#c5cbe3", "#a1a8c3", "#3d4465", "#3e4466"],
"shape": ["#f0f3ff", "#d9dffa", "#afb4d4", "#646c9a"]
}
}
};
</script>
<script src="/js/sweetalert2.min.js" type="text/javascript"></script>
<script src="/js/login-common.js" type="text/javascript"></script>
<script src="https://holiday-calendar.tappware.com/components/doptor-holiday-calendar.js"
type="text/javascript"></script>
<script>
let lock_minute = ""
let lock_sec = "";
function setLockTimeTimer() {
let totalSeconds = lock_minute * 60 + parseInt(lock_sec);
if (totalSeconds > 300) {
totalSeconds = 300;
}
const timerInterval = setInterval(() => {
if (totalSeconds <= 0) {
clearInterval(timerInterval);
window.location.reload()
return;
}
let minutes = Math.floor(totalSeconds / 60);
let seconds = totalSeconds % 60;
if (minutes > 0) {
if (minutes > 4) {
$('#fail_login_lock_timer').text(enTobn(minutes) + ' মিনিট ');
} else {
$('#fail_login_lock_timer').text(enTobn(minutes) + ' মিনিট ' + enTobn(seconds) + ' সেকেন্ড ');
}
} else {
$('#fail_login_lock_timer').text(enTobn(seconds) + ' সেকেন্ড ');
}
totalSeconds--;
}, 1000);
}
setLockTimeTimer();
</script>
</body>
</html>'
}
$cookies = []
$values = [
(int) 0 => 'text/html; charset=UTF-8'
]
$name = 'Content-Type'
$first = true
$value = 'text/html; charset=UTF-8' header - [internal], line ??
Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 181
Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 58
Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 140
[main] - ROOT/webroot/index.php, line 40
দপ্তর ব্যবস্থাপনা