Example #1
0
    $dtbConnect->execute();
}
?>


<head>
  <meta charset="utf-8">
  <script src="bower_components/webcomponentsjs/webcomponents.js"></script>
  <link rel="import" href="bower_components/paper-styles/paper-styles.html">
  <link rel="import" href="bower_components/paper-button/paper-button.html">
  <link rel="import" href="bower_components/paper-input/paper-input.html">
  <link rel="import" href="bower_components/paper-item/paper-item.html">
  <link rel="import" href="bower_components/iron-icons/iron-icons.html">
  <link rel="import" href="bower_components/iron-menu-behavior/iron-menu-behavior.html">
  <link rel="stylesheet" href="style.css">
</head>
<body>
  <div class="reg_area">
    <paper-material elevation="2" class="reg_area">
      <div class="reg_title">Registration Form</div>      
      <div class="description"> 
        <?php 
echo $display;
if ($validationErr->error != NULL) {
    $validationErr->returnerrors();
}
?>
      </div>
    </paper-material>
  </div>
</body>
Example #2
0
</head>
<body>


<div class="reg_area">
    <paper-material elevation="2" class="reg_area">
        <div class="reg_title">
            Restore Form
        </div>

        <div class="description error" <?php 
echo $displaynone;
?>
>
           <?php 
$obj->returnerrors();
?>
        </div>

        <div>
            <?php 
if ($obj->isnotempty($email)) {
    if ($obj->isemail() == true) {
        if ($obj->isnotempty($answer)) {
            $instance = Database::connect();
            $instance->query("SELECT AdyaxDB.access.answer, AdyaxDB.access.login FROM AdyaxDB.access INNER JOIN AdyaxDB.user ON login_fk=login WHERE email='{$email}'");
            $query = $instance->multiple();
            foreach ($query as $item) {
                $result = $item['answer'];
                $id = $item['login'];
            }