void admin_login()
{
system("cls");
A:
char c = ' ';
string user;
string pass = "";


char sdate[9];
char stime[9];

_strdate_s(sdate);
_strtime_s(stime);
cout << "\n\t\t\t\t\t\t\t        TIME: " << stime;
cout << "\n\t\t\t\t\t\t\t        DATE: " << sdate;

cout<<"\n\n\n\n";
cout<<"\t\t\t ENTER USER NAME: ";
cin >> user;
cout << "\n\n\t\t\t PASSWORD: ";
while (c != 13) /* ENTER KEY */
{
c = _getch();
if (c != 13)
{
pass += c;
cout << "*";
}
}

if (user == "admin"&& pass == "1234")
{

cout << "\n\n\t\t\t\t  =============================";
cout << "\n\t\t\t\t\  | AUTHENTICATION SUCCESSFUL |";
cout << "\n\t\t\t\t  =============================";
cout << "\n\n\n\t\t\t\t PRESS ANY KEY TO GO TO MAIN MENU";
_getch();

}

else

{
system("color cf");
cout << "\n\n\t\t  ==========================================";
cout << "\n\t\t  | THE USER NAME OR PASSWORD IS INCORRECT |";
cout << "\n\t\t  ==========================================";
cout << "\n\n\n\t\t\t    PRESS ENTER TO RETRY";
_getch();
system("cls");
goto A;
}

}