saveImage(); die(); } if($_POST['reactivate'] != "") { $p->reactivateAdd(); die(); } if($_POST['Save'] != "") { $p->HeaderTemplate("",""); $p->saveAdd(); $p->FooterTemplate(); die(); } if($_POST['Next'] != "") { $_SESSION['addedAdd'] = ""; $p->HeaderTemplate("",""); $p->previewAdd(); $p->FooterTemplate(); die(); } if($_GET['cid'] != "") { $_SESSION['addedAdd'] = ""; $p->HeaderTemplate("",""); $p->viewNewAddForm(); $p->FooterTemplate(); die(); } $p->HeaderTemplate("",""); $p->newAddForm(); $p->FooterTemplate(); ?>