$tpl_friend->assign('YOUR_NAME', $msg_friend2); $tpl_friend->assign('YOUR_EMAIL', $msg_friend3); $tpl_friend->assign('FRIEND_NAME', $msg_friend4); $tpl_friend->assign('FRIEND_EMAIL', $msg_friend5); $tpl_friend->assign('COMMENTS', $msg_contact5); $tpl_friend->assign('YNAME_VALUE', isset($yname) ? cleanData($yname) : ''); $tpl_friend->assign('YEMAIL_VALUE', isset($yemail) ? cleanData($yemail) : ''); $tpl_friend->assign('FNAME_VALUE', isset($fname) ? cleanData($fname) : ''); $tpl_friend->assign('FEMAIL_VALUE', isset($femail) ? cleanData($femail) : ''); $tpl_friend->assign('COMMENTS_VALUE', isset($comments) ? cleanData($comments) : ''); $tpl_friend->assign('YNAME_ERROR', isset($yn_error) ? '<br /><span class="error">' . $msg_contact8 . '</span>' : ''); $tpl_friend->assign('YEMAIL_ERROR', isset($ye_error) ? '<br /><span class="error">' . $msg_contact9 . '</span>' : ''); $tpl_friend->assign('FNAME_ERROR', isset($fn_error) ? '<br /><span class="error">' . $msg_friend6 . '</span>' : ''); $tpl_friend->assign('FEMAIL_ERROR', isset($fe_error) ? '<br /><span class="error">' . $msg_contact9 . '</span>' : ''); $tpl_friend->assign('COMMENTS_ERROR', isset($c_error) ? '<span class="error">' . $msg_contact11 . '</span><br />' : ''); $tpl_friend->assign('CAPTCHA', showCaptcha($msg_contact6, isset($code_error) ? '<br /><span class="error">' . $msg_contact12 . '</span>' : '')); $tpl_friend->assign('SUBMIT', $msg_contact7); $tpl_friend->assign('CLOSE_WINDOW', $msg_script18); $tpl_friend->display('themes/' . THEME . '/tell_a_friend.tpl.php'); break; //================== // Case : RSS Feed //================== //================== // Case : RSS Feed //================== case 'rss-feed': $rss_feed = ''; $build_date = date('D, j M Y H:i:s') . ' GMT'; $MW_FEED->path = $SETTINGS->w_path . '/themes/' . THEME; // Open channel..
$clsForm->strExtraFieldText = ''; formHeading($rRec, $strErrOnForm, $info); /* */ standardFields($basicInfo, $rRec, $bCreateAcct, $formData, $clsForm, $errMessages); if ($lNumSkills > 0) { jobSkills($clsForm, $skills); } if ($lNumTables > 0) { userTables($clsForm, $lNumTables, $utables, $errMessages); } if ($rRec->bShowDisclaimer) { showDisclaimer($clsForm, $rRec); } if ($rRec->bCaptchaRequired) { showCaptcha($clsForm, $imgCaptcha); } buttonAndClose($clsForm); endBody($this); function openForm(&$clsForm, $strHash) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- $clsForm->strLabelClass = $clsForm->strLabelRowLabelClass = $clsForm->strLabelClassRequired = 'enpViewLabel'; $clsForm->strTitleClass = 'enpViewTitle'; $clsForm->strEntryClass = 'enpView'; $clsForm->bValueEscapeHTML = false; $attributes = array('name' => 'frmVolReg', 'id' => 'frmVolReg'); echoT(form_open('vol_reg/vol/regForm/' . $strHash, $attributes)); }