我的网页未正确重定向

时间:2016-05-20 06:06:53

标签: php google-chrome yii

我有一个弹出窗口,显示用户是否未登录。它包含取消链接,输入详细信息的表单和忘记密码链接。我的问题是当用户从忘记密码链接回来并点击取消链接时,它会将他们带回忘记密码页面。

这是我的代码。

  <div class="contactForm_new" id="popUpDiv"  style="display:none;">
                    <!--<div  class="lightBlue heading" >Tell us your Buy Requirement</div>-->
                    <div class="blueLightBG heading" style="text-align: left;
                         padding-left: 2%;background-color:#009bcb ">Enter Password  <a href="<?php echo $return_url ?>"> <span class=" dpbl fr mainSp cr_bt2 p_a closeTrigger closePopup href"  style="position: absolute; display: block;"></span></a></div>
                    <form method="post" class="contactF" id="login-form">
                        <input type="hidden" value=""  name="offerid">   
                        <input type="hidden" value="" name="refvalue">
                        <input type="hidden" value="" name="tenderid"> 
                        <input type="hidden" value="" name="item_id"> 
                        <input type="hidden" value="" name="pid">  
                        <input type="hidden" value="sd" name="ref">
                        <input type="hidden" value="1" name="isLogRequest">  
                        <input type="hidden" name="iso" id="iso" value="<?php echo $details['iso'] ?>">  
                        <input type="hidden" value="<?php echo $return_en_url ?>"  id="p_address" name="p_address"> 



                        <div class="errorMessage" id="errorUsername"></div>
                        <input type="hidden" name="diff_usr" value="Y">
                        <input type="hidden" value="Y" name="diff_usr">
                        <input class="pd3 textlogin_new" name="LoginForm[password]" id="LoginForm_password" type="password">
                        <div class="errorMessage" id="errorPassword"></div>


                        <div style="padding:15px 0;text-align:center">
                            <span id="imgprcp" class="fl" style=" display: none;  text-align: center;margin-left:50%;"><img src="<?php echo Yii::app()->params['hostName'] ?>/images/ind.gif" alt="Proceeding"></span>
                            <input id="btnSubmit"  type="button" name="yt0" value="Proceed" class="redBtn_new" >
                        </div>

                        <div class="mb3per" style="display:block">
                            <p class="k7_new" style="position:absolute;" >
                                <a class="k7_new" id="forgotpass"  style="position:relative;" href="<?php echo Yii::app()->params['hostName'] ?>/forgotpass/?ref=<?php echo $ref ?>&p=<?php echo $return_en_url ?>" >Forgot Password?</a>
                            </p>

                        </div>   
                    </form>


                </div> 

有人能说出我做错了什么吗?我的所有网址都是正确形成的。这个问题只出现在chrome浏览器中。在另一个浏览器中,它运行正常

0 个答案:

没有答案