?
Current Path : /home1/savoy/www/savoyglobal.net/rms/assets/uploads/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/www/savoyglobal.net/rms/assets/uploads/2013-04-29-12-08-00Untitled Document |
<fieldset class="margin_auto border-top" style="font-size: 13px;color: #444;"> <p style="padding: 0 15px ; font-size: 14px;margin: 0 auto;"> <span style="padding-left: 15px;"></span> Given below are your contact details.You havnt verified your contact no. In case, your mobile number has changed, please verify your mobile number to continue using our services. </p> <div class="border-ash fleft" style="width:490px;height: auto;overflow: hidden;padding: 10px;margin: 10px 0 0 20px;background-color: whitesmoke;"> <p style="margin:0 0 10px 20px;">CONTACT NO : <span style="padding: 0 70px 0 10px;"><?=$model->mobile_no?></span> <?php echo CHtml::ajaxLink( 'Send Verification Code', // the link body (it will NOT be HTML-encoded.) array('member/sendverification&id='.$id), // the URL for the AJAX request. If empty, it is assumed to be the current URL. array( 'type'=>'post', 'update'=>'#req_res90', 'beforeSend' => 'function() { $("#req_res90").addClass("ajaxloading"); }', 'complete' => 'function() { $("#req_res90").removeClass("ajaxloading"); }' ), array('class'=>'link') ); ?> </p> <?php $form=$this->beginWidget('CActiveForm', array( 'enableAjaxValidation'=>true, 'action'=>$this->createUrl('member/change_contact'), 'enableClientValidation'=>true, // 'clientOptions'=>array('validateOnSubmit'=>true,), 'htmlOptions' => array('class' => 'forms') )); ?> <div style="margin:0 0 10px 10px;"> <!-- <input type="contact_no_new" placeholder="change your mob no here" />--> <?php echo $form->textField($model,'mobile_no',array('class'=>'settings_input fleft','value'=>'','style'=>'width:220px;height:24px;', 'placeholder'=>"change your mob no here")); echo CHtml::ajaxLink( 'Change mob no', // the link body (it will NOT be HTML-encoded.) array('member/change_contact&id='.$id), // the URL for the AJAX request. If empty, it is assumed to be the current URL. array( 'dataType'=>'json', 'type'=>'post', 'beforeSend' => 'function() { $("#req_res90").addClass("ajaxloading"); }', 'success'=>'function(data) { $("#req_res90").removeClass("ajaxloading"); if(data.status=="success") { location.reload(); } else { $("#req_res90").html(data.status); } }', 'complete' => 'function() { $("#req_res90").removeClass("ajaxloading"); }', ), array('class'=>'link','style'=>'margin-left:5px;') ); $this->endWidget();?> </div> <div id="req_res90"></div> <div class="clear"></div> <div class="border-ash margin_auto" style="width:430px;padding: 10px;background-color: white;height:70px;"> <?php $form=$this->beginWidget('CActiveForm', array( 'enableAjaxValidation'=>true, 'action'=>$this->createUrl('member/verifyContact_action'), 'enableClientValidation'=>true, 'id'=>'verify_contact_form', // 'clientOptions'=>array('validateOnSubmit'=>true,), 'htmlOptions' => array('class' => 'forms') )); ?> <div class="fleft"style="width:280px;height: 70px;"> <label style="padding: 2px 10px;">Enter the verification code</label> <div class="clear"></div> <?php echo $form->textField($model,'valid_key_check',array('class'=>'settings_input fleft','style'=>'width:220px;height:24px;')); ?> <div class="fleft" id="req_resnew"></div> <div class="clear"></div> <?php echo $form->error($model,'valid_key_check',array('class'=>'register-error')); ?> </div> <div class="fleft"> <p style="padding: 2px 10px;"></p> <div class="clear"></div> <?php echo CHtml::ajaxSubmitButton('Verify Contact',CHtml::normalizeUrl(array('member/verifyContact_action','render'=>true)), array( 'dataType'=>'json', 'type'=>'post', 'update'=>'#req_resnew', 'success'=>'function(data) { $("#req_resnew").removeClass("ajaxloading"); if(data.status=="success") { location.reload(); $("#verify_contact_form")[0].reset(); } else { $.each(data, function(key, val) { $("#verify_contact_form #"+key+"_em_").text(val); $("#verify_contact_form #"+key+"_em_").css("display","block"); }); } }', 'beforeSend'=>'function(){ $("#req_resnew").addClass("ajaxloading"); }' ),array('id'=>'mybtn','class'=>'settings_submit')); ?> </div> <?php ?> <div class="errorMessage" id="formResult"></div> <?php $this->endWidget();?> </div> <div class="clearfix"></div> <span style="color: #D96F00;margin: 0 10px;">Note:An SMS will be sent to your mobile with a Code for verification purpose</span> </div> <div class="clearfix"></div> </fieldset>