File: kchat/view/verify.php

Recommend this page to a friend!
  Classes of Ganesh Kandu  >  kchat  >  kchat/view/verify.php  >  Download  
File: kchat/view/verify.php
Role: Example script
Content type: text/plain
Description: Example script
Class: kchat
Database driven PHP live chat system
Author: By
Last change:
Date: 2 years ago
Size: 5,406 bytes
 

Contents

Class file image Download
<!DOCTYPE html><?php //print_r($this->data); ?>
<html>
<head>
  <title>KChat Verification link</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="icon" href="<?php echo $this->data['config']['url']."/"; ?>favicon.ico" type="image/x-icon" />
  <link rel="stylesheet" href="<?php echo $this->data['config']['url']."/"; ?>kchat/assets/css/bootstrap.min.css" />
  <script src="<?php echo $this->data['config']['url']."/"; ?>kchat/assets/js/jquery.min.js"></script>
  <script src="<?php echo $this->data['config']['url']."/"; ?>kchat/assets/js/bootstrap.min.js"></script>
  <link rel="stylesheet" href="<?php echo $this->data['config']['url']."/"; ?>kchat/assets/alertify/alertify.css"/>
  <script src="<?php echo $this->data['config']['url']; ?>/kchat/assets/angular/angular.min.js"></script>
<script>
 var posturl = "<?php if(isset($this->data['param'][0])){ echo $this->data['param'][0];} ?>";
 var purl = "<?php print_r($this->data['config']['purl']); ?>";
 var kurl = "<?php print_r($this->data['config']['url']); ?>";
</script>
</head>
<body>
    <div class="container" style="margin-top:40px">
        <div class="row">
            <div class="col-sm-6 col-md-4 col-md-offset-4">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        <strong> Verify to continue</strong>
                    </div>
                    <div class="panel-body">
                            <fieldset>
                                <div class="row">
                                    <div class="col-sm-12 col-md-10 col-md-offset-1 ">
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-user"></i>
                                                </span>
                                                <input class="form-control" placeholder="Username" name="username" id="username" type="text" value="<?php echo $this->data['verify']['uname']; ?>" disabled>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-user"></i>
                                                </span>
                                                <input class="form-control" placeholder="First Name" name="fname" id="fname" type="text" value="<?php echo $this->data['verify']['fname']; ?>" >
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-user"></i>
                                                </span>
                                                <input class="form-control" placeholder="Last Name" name="lname" id="lname" type="text" value="<?php echo $this->data['verify']['lname']; ?>" >
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-lock"></i>
                                                </span>
                                                <input class="form-control" autofocus="autofocus" placeholder="Password" name="password" id="password" type="password" value="">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-lock"></i>
                                                </span>
                                                <input class="form-control" placeholder="Re-Password" name="password" id="repassword" type="password" value="">
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-user"></i>
                                                </span>
                                                <input class="form-control" placeholder="dept_name" name="dept_name" id="dept_name" type="text" value="<?php echo $this->data['verify']['dept_name']; ?>" disabled>
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <div class="input-group">
                                                <span class="input-group-addon">
                                                    <i class="glyphicon glyphicon-envelope"></i>
                                                </span>
                                                <input class="form-control" placeholder="E-Mail" name="email" id="email" type="text" value="<?php echo $this->data['verify']['user_email']; ?>" >
                                            </div>
                                        </div>
                                        <div class="form-group">
                                            <input type="hidden" name="secret" id="secret" value="<?php echo $this->data['verify']['secret']; ?>" />
                                            <input type="hidden" name="dept" id="dept" value="<?php echo $this->data['verify']['dept']; ?>" />
                                            <input type="button" class="btn btn-lg btn-primary btn-block" value="Verify" id="verify" name="verify" />
                                        </div>
                                    </div>
                                </div>
                            </fieldset>
                        </div>
                    <div class="panel-footer ">
                        KChat&nbsp;&copy; 2017 ,KChat&nbsp;v<?php echo $this->data['config']['version']; ?>
</div>
                </div>
            </div>
        </div>
    </div>
<script>
angular.module("myApp", ["ngAlertify"]).controller("myController", function($scope, alertif){});
</script>
<script src="<?php echo $this->data['config']['url']; ?>/kchat/assets/js/kchat.js" ></script>
<script src="<?php echo $this->data['config']['url']; ?>/kchat/assets/alertify/alertify.js" ></script>
<script src="<?php echo $this->data['config']['url']; ?>/kchat/assets/alertify/ngAlertify.js" ></script>
<script>
    document.body.addEventListener('keydown', function(e) {
        if(e.keyCode == 13){
            varifyuser();
        }
    });
</script>
<?php alertify::get_alert(); ?>
</body>
</html>


For more information send a message to info at phpclasses dot org.