I turned up my error logging and your scripts throw off tons of error notices to the point it is unusable. This slows down the overall site it is installed on. You have all kinds of undefined constants. When you have a variable like $test[name], It needs to be $test['name']. You may have a great idea but the code is very sloppy. You should turn on your logging so you can properly error correct and resolve all your coding errors.