摘要:        
controller public function record() { $r = 10; $m = M(); $query = $m->query('select count(1) as count from winner'); $total = $query[0]['count']; $pag    
阅读全文
posted @ 2016-03-10 10:49
jzfan
阅读(346)
推荐(0)
 
		
    
        
        
摘要:        
<?php $sql='SELECT email FROM users WHERE id = :id'; $statement=$pdo->prepare($sql);$userId=filter_input(INPUT_GET,'id'); $statement->bindValue(':id',    
阅读全文
posted @ 2016-02-25 14:16
jzfan
阅读(187)
推荐(0)
            
        
        
摘要:        
ubuntu adduser deploy usermod -a -G sudo deploy centos adduser deploy passwd deploy usermod -a -G wheel deploy    
阅读全文
posted @ 2016-02-25 11:19
jzfan
阅读(142)
推荐(0)
 
		
    
        
        
摘要:        
install php-fpm # Ubuntu sudo apt-get install python-software-properties; sudo add-apt-repository ppa:ondrej/php5-5.6; sudo apt-get update; sudo apt-g    
阅读全文
posted @ 2016-02-24 17:29
jzfan
阅读(209)
推荐(0)
 
		
    
        
        
        posted @ 2016-02-20 11:01
jzfan
阅读(204)
推荐(0)
 
		
    
        
        
摘要:        
apt-get update apt-get upgrade apt-get install libxml2 libxml2-dev apt-get install make apt-get install mysql-server nginx wget http://cn2.php.net/dis    
阅读全文
posted @ 2016-02-19 17:12
jzfan
阅读(200)
推荐(0)
 
		
    
        
        
摘要:        
<div class='container'> <div class='row'> <div class='col-sm-10 col-md-10 col-sm-offset-1 col-md-offset1 '> <div id='jw'></div> </div> </div> <br/> </    
阅读全文
posted @ 2016-02-17 10:33
jzfan
阅读(4191)
推荐(0)
 
		
    
        
        
摘要:        
http://stackoverflow.com/questions/21406538/how-to-use-font-awesome-icons-from-node-modules    
阅读全文
posted @ 2016-01-23 09:01
jzfan
阅读(159)
推荐(0)
 
		
    
        
        
摘要:        
change timezonesudo dpkg-reconfigure tzdatasynchronize timesudo ntpdate time.windows.com    
阅读全文
posted @ 2016-01-22 14:17
jzfan
阅读(400)
推荐(0)
 
		
    
        
        
摘要:        
$('#up').click(function(){$('html,body').animate({scrollTop: '0px'}, 800);});    
阅读全文
posted @ 2016-01-16 11:02
jzfan
阅读(131)
推荐(0)