Esempio n. 1
0
File: User.php Progetto: Rgss/imp
 public function get($uid)
 {
     // hprint(debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS));
     // debug_print_backtrace();
     // go(); xdebug;
     $a = array('a' => 'a');
     debug_zval_dump($a);
     die;
     import('Mc');
     $mc = Mc::getInstance();
     hprint($mc);
     $mc->increment('aa', 1);
     $res = $mc->get('aa');
     echo $res;
     echo '<br>';
     //print_r($user->get());
 }
          <div class="form-group">
            <level for="" >Password:</level>
            <input type="password" name="password" class="form-control" value="" id="pass1" placeholder="Password *" />
          </div>
          <span class="pass2"></span>

          <div class="form-group">
            <level for="" >Confirm Password:</level>
            <input type="password" name="confirm_password" class="form-control" value="" id="pass2" placeholder="Confirm Password *" />
          </div>

          <?php 
Mc::putMcData();
?>
    <p>Question: <?php 
echo Mc::getMcQuestion();
?>
</p>
          <p>Put your answer: <input type="text" name="answer"></p>

          <input type="submit" class="btn btn-info" value="Sign Up" />
           <input type="reset" class="btn btn-info" value="Reset" />
           <a href="login.php" class="btn btn-info">Already Registed</a>
        </form>
         <a style="margin-top:30px;margin-left:117px" href="home.php" class="btn btn-info">Back</a>
      </div>
      <div class="col-md-4">
      </div>
      </div>
      </div>
    
Esempio n. 3
0
File: Mc.php Progetto: Rgss/imp
 /**
  * close
  * 
  */
 public static function close()
 {
     return Mc::getInstance()->close();
 }