putting the static content under the listing part
return $breadCrumbs .
$primaryParagraph .
- $staticPageContent .
$secondaryParagraphs .
+ $staticPageContent .
$coupons .
$photoGalleryContent;
}
--- /dev/null
+<?php
+if ($catid = filter_input(INPUT_GET, 'catid', FILTER_VALIDATE_INT)) {
+ $cf = new Toolkit_Contacts_ContactUs(
+ Toolkit_Database::getInstance(),
+ 'contact_form',
+ 'post',
+ BASE_URL . "index.php?catid=$catid"
+ );
+ $cf->configureForm();
+ $cf->useCaptcha(true);
+ echo $cf->toHtml();
+}
$wizard->addAction('process', new ActionProcess());
echo $wizard->run();
-$form = '<pre>'.print_r($_SESSION, true).'</pre>';
+//$form = '<pre>'.print_r($_SESSION, true).'</pre>';
echo $form;