it looks like you are entering the min and max dates as php without including the php brackets:
mktime(0, 0, 0, date("m") , date("d")-7, date("Y"));
try entering it as:
<?php echo(mktime(0, 0, 0, date("m") , date("d")-7, date("Y"))); ?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.