Recent Pastes

Pastes found: 2206
24 Apr 2014, 04:46 PM

This is the pop-up flow.

[close]

sua cai $db thanh $connect nhe copy nham do
 

This is the pop-up flow.

[close]

<?php
$server = "localhost"; // host server
$username= "root"; // username
$password = ""; // password
$connect = mysql_connect($server, $username, $password);
if ( !$connect ) {
    die("connect thanh cong");
} else {
    // connect success
    // chon database
    mysql_select_db("ten database",$d
21 Apr 2014, 10:27 AM

This is the pop-up flow.

[close]

u can take look musii.co

This is the pop-up flow.

[close]

 
<div class="span12" class="form_add">
 
	<div class="users form" style="width: 60%; margin:auto">
	<?php echo $this->Form->create('User');?>
		<fieldset>
	 		<h1>Add new user</h1>
	 		<table class="table">
	 			<tr>
	 				<td> Name  </td>
	 				<td > <?php  echo $this->Form->input('name',array('clas
19 Apr 2014, 12:47 PM

This is the pop-up flow.

[close]

	public function add() {
		$this->layout = 'home';
		if ($this->request->is('post')) {
			$this->request->data['User']['avatar'] =   'noavatar.jpg';
			if ($this->User->save($this->request->data)) {
				$this->Session->setFlash('The user has been saved');
				$this->redirect(array('controller'=>'users','action' => 'usermanager'));
			} else {
				$this->Session->setFlash('The user could not be saved. Please, try again.');
			}
		}
19 Apr 2014, 10:08 AM

This is the pop-up flow.

[close]

public function checkCurrentPassword($data) {
	    $this->id = AuthComponent::user('id');
	    $password = $this->field('password');
	    return( AuthComponent::password($data['User']['current_password'] ) == $password);
	}

This is the pop-up flow.

[close]

<div  style="width: 500px; margin: auto ">
 
    <div class="span6 center">
        <?php echo $this->Session->flash(); ?>
    <?php echo $this->Form->create('User'); ?>
         <fieldset>
              <legend><?php echo __('Change Password'); ?></legend>
         <?php
                    echo $th

This is the pop-up flow.

[close]

public function  changepassword()
	{
		$this->layout = 'home';
		if ($this->Auth->user('id')) {   // Just to  make sure User is logged 
            $this->User->id = $this->Auth->user('id');  // Set User Id
            if (!$this->User->exists()) {
                throw new NotFoundException(__('Inv

This is the pop-up flow.

[close]

 
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<script type="text/javascript" charset="utf-8" async defer>
 
	 $.ajax({
		     url: "<?php echo Router::url(array('controller'=>'Home','action'=>'test'));?>",
		     type: 'P
18 Apr 2014, 04:11 PM

This is the pop-up flow.

[close]

https://software.intel.com/en-us/html5/tools
Invalid Email or Password