Mostly PHP and Javascript code for a side-project I'm working on.