Recent Pastes

Pastes found: 2291
28 May 2014, 10:02 AM

This is the pop-up flow.

[close]

'Form' => array(
                'fields' => array('username' => 'email')
            )
28 May 2014, 09:58 AM

This is the pop-up flow.

[close]

public $name = "admin";
	public $layout = "tem-backend";
	public $uses = array();
 
 
	public function beforeFilter() {
        parent::beforeFilter();
        $this->Auth->allow('add');
    }
28 May 2014, 09:20 AM

This is the pop-up flow.

[close]

<?php echo $this->Form->create('Account', array('class' => 'form-login')); ?>
name="data[Account][username]"
28 May 2014, 09:19 AM

This is the pop-up flow.

[close]

public function login() {
		$this->layout = "tem-login";
		if ($this->request->is('post')) {
			if ($this->Auth->login()) {
				return $this->redirect($this->Auth->redirect());
			}
			$this->Session->setFlash(__("<div class='errorHandler alert alert-danger display'><i class='icon-remove-sign'></i> Đăng nhập không thành công.</div>"));
		}
	}
28 May 2014, 09:18 AM

This is the pop-up flow.

[close]

public $components = array(
		'Paginator',
		'Session',
		'Auth' => array(
			'authenticate' => array(
				'Form' => array(
					'userModel' => 'Account',
				 )
			),
			'loginAction'=>array('controller'=>'admin', 'action'=>'login'),
			'loginRedirect' => array('controller' => 'admin', 'action' => 'index'),
			'logoutRedirect' => array(
				'controller' => 'admin',
				'action' => 'login'
			),
	));
25 May 2014, 01:28 PM

This is the pop-up flow.

[close]

SELECT * FROM pttpos.tblorders as O WHERE O.Orderdate >= '2014-05-17' AND O.Orderdate <= '2014-05-18'
21 May 2014, 04:50 PM

This is the pop-up flow.

[close]

.container-fluid
20 May 2014, 07:58 PM

This is the pop-up flow.

[close]

http://wditestserver.com/live/pohsia/about-us/

This is the pop-up flow.

[close]

 
Visual Scraper - Web Scraping Software
 
Web scraping ( web harvesting or web data extraction ) is a computer software technique to extract information from websites. People collect data across the web for many purposes such as creating a search engine like Google, collecting customers feedback, col
14 May 2014, 03:07 PM

This is the pop-up flow.

[close]

http://stackoverflow.com/questions/2213541/vietnamese-character-in-net-console-application-utf-8
 
class Program
{
    [DllImport("kernel32.dll")]
    static extern bool SetConsoleOutputCP(uint wCodePageID);
 
    static void Main(string[] args)
    {
        SetConsoleOutputCP(65001);
        Console.OutputEncoding = Encoding.UTF8;
        Console.WriteLine("tést, тест, τεστ, ←↑→↓∏∑√∞①②③④, Bài viết chọn lọc");
        Console.ReadLine();
    }
}
Invalid Email or Password