<?php 



include("tools/headersim.php");?>
<?php include("tools/reguser.php");?>

<body class="bg-white" style="min-height: 100vh;">

    <div class="container-fluid">



        <div class="row d-flex-row justify-content-center">

            <div class="col-xl-4 col-lg-5 col-md-6 col-12  rounded mt-md-4  text-dark bg-white c-shadow">

                <div class="row py-4 ">

                    <div class="col-12 d-flex align-items-center justify-content-between">

                                               <div>
                            <a href="index.php" class="text-decoration-none text-success">
                                <div class="h6 d-flex align-items-center m-0" style="colors: #02142B;">
                                <i class="fa fa-arrow-circle-left mx-2"></i>
                                    <span class="">  فروشگاه <span class="d-none d-md-inline-block">بازگشت به</span></span>
                                </div>
                            </a>

                        </div>
                       
                        <div class="text-right d-flex align-items-center">
                            <span class="mx-2 h5 my-0">خشکبار لاژه
</span>
                             <div class="logoshapeimg gradiesnt-bg-one bg-white mb-md-0 mb-2 ml-1" style="background-image:url(http://www.lajeh.ir/project/imgs/asdw_400_SABA_lajeh.jpg);"></div>

                        </div>




                    </div>

                    <div class="col-12 mt-lg-5 mt-md-4 mt-4 text-right text-secondary font-weight-bold" style="font-size: 0.8rem;">



                        <div class="mb-1">خوش آمدید</div>

                        <div>کاربر گرامی جهت ثبت نام، اطلاعات درخواست شده را به صورت کامل وارد کنید</div>




                    </div>


                    <div class="col-12 mt-3">

                        <form class="text-right" action="register.php" method="post">

                            <div class="form-group text-right mb-2">

                                

                                <select class=" custom-select mt-1 mb-1 mr-sm-2 text-right  border-0 bg-light rounded" id="regcom" name="regcom" dir="rtl" hidden>

                                    <?php echo $companyname;?>
                                </select>

                            </div>



                            <div class="form-row text-right py-0 mb-3">


                                <div class="col-md-6 mt-3 order-md-1 order-2">

 
                                    <div class="input-group ">
                                        <input type="number" class="form-control  border-0 bg-light rounded text-right" id="regtel" name="regtel" placeholder="شماره تماس" required>

                                    </div>

                                </div>



                                <div class="col-md-6 mt-3 order-md-2 order-1">

 
                                    <div class="input-group ">
                                        <input type="text" class="form-control  border-0 bg-light rounded text-right" id="regname" name="regname" placeholder="نام و نام خانوادگی" required>

                                    </div>

                                </div>


                            </div>


                            <div class="form-group text-right py-0 "> 
                                <div class="input-group mr-sm-2">
                                    <input type="text" class="form-control  border-0 bg-light rounded text-right" id="regadd" name="regadd" placeholder="آدرس" required>

                                </div>

                            </div>

  
                            <button type="submit" name="reqdashboadsubmit" class="btn btn-success mt-4 px-5">ثبت نام</button>
                            
                            <div class="text-right font-weight-bold rounded py-2   text-info" style="font-size: 1rem;">
                              <?php echo !$checkstateoflogin ? '' : $regmessage.'<i class="fa-info-circle fa ml-2"></i>'; ?>
                            </div>
                            
                        </form>

                    </div>

                    <div class="col-12 text-right mt-5 py-3">


                        <span>قبلا ثبت نام کردید؟ </span>
                        <a class="text-primary text-decoration-none font-weight-bold stretched-link" href="login.php">ورود به سامانه</a>

                    </div>

                </div>

            </div>


        </div>



    </div>






<?php include("tools/footer.php");?>
