<?php $today=date("Y-m-d"); require_once('dbconnect.php'); $sql = "SELECT * FROM REGISTERED_COMPANY WHERE REGISTERED_COMPANY_ID = '1'"; $result = mysqli_query($con,$sql); while($row = $result->fetch_assoc()) { $REGISTERED_COMPANY_ID = $row['REGISTERED_COMPANY_ID']; $REGISTERED_COMPANY_NAME = $row['REGISTERED_COMPANY_NAME']; $REGISTERED_COMPANY_ADDRESS = $row['REGISTERED_COMPANY_ADDRESS']; $REGISTERED_COMPANY_CONTACT = $row["REGISTERED_COMPANY_CONTACT"]; $REGISTERED_COMPANY_MAIL = $row['REGISTERED_COMPANY_MAIL']; $REGISTERED_COMPANY_MOTO = $row['REGISTERED_COMPANY_MOTO']; $REGISTERED_COMPANY_DETAILS = $row['REGISTERED_COMPANY_DETAILS']; $REGISTERED_COMPANY_DATE = $row['REGISTERED_COMPANY_DATE']; $REGISTERED_COMPANY_ACTIVE_STATUS = $row['REGISTERED_COMPANY_ACTIVE_STATUS']; $REGISTERED_COMPANY_REGI_NO = $row['REGISTERED_COMPANY_REGI_NO']; $REGISTERED_COMPANY_STATUS = $row['REGISTERED_COMPANY_STATUS']; } $compnay_logo=""; $compnay_logo = "main/Upload_data/company/logo/".$REGISTERED_COMPANY_ID."/"; if ($files = glob($compnay_logo."/*")){ $compnay_logo=$files[0]; }else{ $compnay_logo="main/shop_logo.png"; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Tell the browser to be responsive to screen width --> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content=""> <meta name="author" content=""> <!-- Favicon icon --> <link rel="icon" type="image/png" sizes="16x16" href="<?php echo $compnay_logo;?>"> <title><?php echo $REGISTERED_COMPANY_NAME;?></title> <!-- Bootstrap Core CSS --> <link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet"> <!-- Custom CSS --> <link href="main/css/style.css" rel="stylesheet"> <!-- You can change the theme colors from here --> <link href="main/css/colors/blue.css" id="theme" rel="stylesheet"> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> </head> <body> <!-- ============================================================== --> <!-- Preloader - style you can find in spinners.css --> <!-- ============================================================== --> <div class="preloader"> <svg class="circular" viewBox="25 25 50 50"> <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" /> </svg> </div> <!-- ============================================================== --> <!-- Main wrapper - style you can find in pages.scss --> <!-- ============================================================== --> <style> .ml6 { position: relative; font-weight: 900; font-size: 2.0em; } .ml6 .text-wrapper { position: relative; display: inline-block; padding-top: 0.2em; padding-right: 0.05em; padding-bottom: 0.1em; overflow: hidden; } .ml6 .letter { display: inline-block; line-height: 1em; } .login-container{ margin-top: 5%; margin-bottom: 5%; } .login-logo{ position: relative; margin-left: -41.5%; } .login-logo img{ position: absolute; width: 20%; margin-top: 19%; background: #282726; border-radius: 4.5rem; padding: 5%; } .login-form-1{ padding: 3%; background:#fffff; box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19); } .login-form-1 h3{ text-align: center; margin-bottom:12%; color:#fff; } .login-form-2{ padding: 9%; background: #12b0b7; box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19); } .login-form-2 h3{ text-align: center; margin-bottom:12%; color: #fff; } .btnSubmit{ font-weight: 600; width: 40%; color: #282726; background-color: #fff; border: none; border-radius: 1.5rem; padding:2%; } .btnSubmit1{ font-weight: 600; width: 50%; color: #282726; background-color: #fff; border: none; border-radius: 1.5rem; padding:2%; } .btnForgetPwd{ color: #fff; font-weight: 600; text-decoration: none; } .btnForgetPwd:hover{ text-decoration:none; color:#fff; } .brand_logo_container { position: absolute; top: -40px; border-radius: 50%; background: #12b0b7; text-align: center; } .brand_logo { height: 150px; width: 150px; border-radius: 50%; border: 2px solid white; } .animate-charcter { text-transform: uppercase; background-image: linear-gradient( -225deg, #231557 0%, #44107a 29%, #ff1361 67%, #fff800 100% ); background-size: auto auto; background-clip: border-box; background-size: 200% auto; color: #fff; background-clip: text; text-fill-color: transparent; -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: textclip 2s linear infinite; display: inline-block; // font-size: 190px; } @keyframes textclip { to { background-position: 200% center; } } </style> <marquee style=" background: black; color:white; font-size: 22px; padding: 4px; width: 100%; "> <b class="animate-charcter"><?php echo $REGISTERED_COMPANY_DETAILS;?></b> </marquee><br/><br/> <div class="container login-container"> <div class="row"> <div class="col-md-6 login-form-1" > <div class="d-flex justify-content-center " style="margin-bottom: 25%;"> <div class="brand_logo_container"> <img src="<?php echo $compnay_logo;?>" class="brand_logo" alt="Logo"> </div> </div> <center><h3 style="margin-bottom: 2%;" class="animate-charcter"> <font color="#12b0b7" ><i class="fa fa-certificate" aria-hidden="true"></i> <?php echo $REGISTERED_COMPANY_NAME;?> <i class="fa fa-certificate" aria-hidden="true"></i></font></h3><br/><br/> <i> <font size="3" > <?php echo $REGISTERED_COMPANY_MOTO;?></font></i> <br/> <font size="3" ><?php echo $REGISTERED_COMPANY_CONTACT;?> | <?php echo $REGISTERED_COMPANY_ADDRESS;?></font> </center> <hr/> <center><h4><font size="5" color="#12b0b7">- � � : � � � � � � : <u><?php echo $REGISTERED_COMPANY_REGI_NO;?></u></font></h4></center> <hr/> <center> <?php $HOLIDAY_TITLE="";$HOLIDAY_DATE="";$HOLIDAY_STATUS=0; $sql47 = "SELECT * FROM HOLIDAY WHERE HOLIDAY_DATE='$today' AND HOLIDAY_STATUS=1"; $result47 = mysqli_query($con,$sql47); while($row47 = $result47->fetch_assoc()) { $HOLIDAY_ID = $row47['HOLIDAY_ID']; $HOLIDAY_TITLE = $row47['HOLIDAY_TITLE']; $HOLIDAY_DATE = $row47['HOLIDAY_DATE']; $HOLIDAY_STATUS=1; } $day_of_week=""; $day_of_week=date('l', strtotime($today)); $color="#67f0b2"; if($day_of_week=="Friday") { $color="ORANGE"; echo " <h5><font color='ORANGE'>� � � � � � � � � � ( ".$today." ) & � � � � � � � � � � � � � � � � � !!</font></h5></td> " ; } else if($HOLIDAY_STATUS==1) { $color="ORANGE"; echo " <h5><font color='ORANGE'>� � ".$HOLIDAY_TITLE." ( ".$HOLIDAY_DATE." ) � � � � � � � � � � � � � � � !! </font></h5></td> " ; } else { echo " <h5><font color='black'>� � ".$day_of_week." ( ".$today." ) & � � � � � � � � � � � ..</font></h5></td> "; } ?> </center> </div> <div class="col-md-6 login-form-2" style="padding:5%;"> <h3 style="margin-bottom: 8%;">- � � � � � � � � � � � � � � � � � � � - </h3> <form class="form-horizontal" id="loginform" action="login_operation.php" method="post"> <div class="form-group"> <input type="text" value= "" name="REGISTERED_USER_MAIL" class="form-control" placeholder="� � � � � � � � � � / � � � � � � � � � � � � � � � " value="" /> </div> <div class="form-group"> <input type="password" value="" name="REGISTERED_USER_PASSWORD" class="form-control" placeholder="� � � � � � � � � � � � � � " value="" /> </div> <div class="form-group"> <button type="submit" class="btn btnSubmit pull-right"><font color="#12b0b7">� � � � � � </font> &nbsp;&nbsp;<i class="fa fa-forward" aria-hidden="true"></i></button> </div> </form> <a href="member_login.php" type="submit" class="btn btnSubmit1"><i class="fa fa-vcard" aria-hidden="true"></i> &nbsp;&nbsp;� � � � � � � � � </a> <br/><br/> </div> </div> </div> <footer class="footer" style="position: fixed; bottom: 0px"> <h6>� <?php echo date("Y"); ?> ( <a href="http://www.augrodut.com/" target="_blank"><font color="#12b0b7"><b>� � � � � � � � � � � � � � � � </b></font></a>) | � � � � � � � - � � � � � </h6> </footer> <!-- ============================================================== --> <!-- End Wrapper --> <!-- ============================================================== --> <!-- ============================================================== --> <!-- All Jquery --> <!-- ============================================================== --> <script src="assets/plugins/jquery/jquery.min.js"></script> <!-- Bootstrap tether Core JavaScript --> <script src="assets/plugins/bootstrap/js/tether.min.js"></script> <script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script> <!-- slimscrollbar scrollbar JavaScript --> <script src="main/js/jquery.slimscroll.js"></script> <!--Wave Effects --> <script src="main/js/waves.js"></script> <!--Menu sidebar --> <script src="main/js/sidebarmenu.js"></script> <!--stickey kit --> <script src="assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script> <!--Custom JavaScript --> <script src="main/js/custom.min.js"></script> <script> var textWrapper = document.querySelector('.ml6 .letters'); textWrapper.innerHTML = textWrapper.textContent.replace(/\S/g, "<span class='letter'>$&</span>"); anime.timeline({loop: true}) .add({ targets: '.ml6 .letter', translateY: ["1.1em", 0], translateZ: 0, duration: 750, delay: (el, i) => 50 * i }).add({ targets: '.ml6', opacity: 0, duration: 1000, easing: "easeOutExpo", delay: 1000 }); </script> <!-- ============================================================== --> <!-- Style switcher --> <!-- ============================================================== --> <script src="assets/plugins/styleswitcher/jQuery.style.switcher.js"></script> </body> </html>