Technical Support Record


\n"; if ($mode == 'notes' ) { // Previous Notes $ConfigFile = new FastParser( 'followup_edit.cnf' ); $ConfigFile->inifile['sender']['Type']='READONLY'; $FollowUpParams = xGetTableSQLParametersWithFilter( "(tsrecordid = '$id')", 'followup_table', 'ORDER BY date' ); foreach ( $FollowUpParams as $FollowUp ) { $fuForm = CreateView( $FollowUp, $ConfigFile, $TableWidth, $FirstColWidth ); echo $fuForm."
\n"; } // New Note $ConfigFile = new FastParser( 'followup_edit.cnf' ); unset($ConfigFile->inifile['date']); unset( $FollowUp ); echo '
'; echo ''."\n"; echo ''."\n"; $FollowUp['sender'] = $TechSupParams['CmName']; $FollowUp['message'] = $message; $ConfigFile->inifile['sender']['Type']='READONLY'; $ConfigFile->inifile['NOTE']['Description'] = 'New '.$ConfigFile->inifile['NOTE']['Description']; $ConfigFile->inifile['NOTE']['BtnParams'] = ' value=" SEND " onClick="AddNote( \''.$TechSupParams['ID'].'\', \''.$TechSupParams['CmName'].'\', document.getElementById(\''.$FollowUp['id'].'message\').value );" '; $fuForm = CreateForm( $FollowUp, $ConfigFile, $TableWidth, $FirstColWidth, false, $FollowUp['id'] ); $fuForm = str_replace( '%MAXFILESIZE%', bytes(DS_MAXUPLOADSIZE), $fuForm ); echo $fuForm; echo '
'; echo "
$UploadResult
\n"; } else SetParameter( 'techsupports_table', $id, array( 'tsRefCount' => (int)$TechSupParams[ 'tsRefCount' ] + 1 ) ); ?>
' ); W( '' ); W( 'Email to:
' ); W( '
' ); W( '' ); W( '' ); } ?>