Fixed bug with parent paramater.
output date automaticaly
Added admin layout script.