PHP: Copia cargado archivos URL en campo
- Amsinger
- Born


- Registrado: Nov 17, 2011
- Mensajes: 2
- Status: Offline
Hola todos, estoy creando un cuestionario online que cuando envíe automáticamente inserta la información en un nuevo registro en una base de datos a través de FileMaker Pro Advanced. La última parte del cuestionario es la opción de subir 2 fotos que se guardan en mi servidor en una carpeta designada. También tengo la configuración de secuencias de comandos para enviarme un correo electrónico la información que se presenta. Sin embargo, yo estoy tratando de instalación algunos codificación adicional para capturar la url de cada imagen cargada y insertar la dirección url en un campo, por lo que cuando se envían por correo electrónico el formulario enviado me tendrán los enlaces a la imagen cargado. Actualmente esos campos que quiero tener la url entrar son campos de contenedor. No estoy seguro si esto es correcto o si deben ser campos de texto. Sin embargo, necesito ayuda para escribir el código para agarrar la url de cada imagen cargado y pegue la url en un campo especificado. Fui capaz de configuración en la página de confirmación (la página que verá el usuario una vez que lleguen a enviar) que proporciona a ellas 2 urls de las imágenes que cargan por lo que sólo quiero exactamente lo mismo excepto lo quiero mostrar la url real por lo que sé el nombre del archivo. Yo he facilitado mi código debajo de mi agregar record.php que es el cuestionario que se rellenan. A continuación, el código para mi confirmation.php que realiza las tareas de carga de las imágenes, enviar los datos a mi base de datos en un registro nuevo y entonces me correos electrónicos la información presentada y, a continuación, mostrará una página de confirmación mostrando todas sus respuestas a las preguntas y por último vínculos a las imágenes cargan. Cualquier ayuda con esto sería genial, soy totalmente nuevo en PHP y algunos cómo ha sido capaz de conseguir esto mucho juntos y este es el último bit es necesario completar este proyecto.
addrecord.php código:
código de Confirmation.php:
addrecord.php código:
Código: [ Select ]
<?php
/**
* FileMaker PHP Site Assistant Generated File
*/
require_once 'fmview.php';
require_once 'FileMaker.php';
require_once 'error.php';
$cgi = new CGI();
$cgi->storeFile();
$databaseName = 'questionnaire';
$layoutName = 'Questionnaire5';
$userName = $cgi->get('userName');
$passWord = $cgi->get('passWord');
$fm = & new FileMaker();
$fm->setProperty('database', $databaseName);
$fm->setProperty('username', $userName);
$fm->setProperty('password', $passWord);
ExitOnError($fm);
$layout = $fm->getLayout($layoutName);
ExitOnError($layout);
// formats for dates and times
$displayDateFormat = '%m/%d/%Y';
$displayTimeFormat = '%I:%M:%S %P';
$displayDateTimeFormat = '%m/%d/%Y %I:%M:%S %P';
$submitDateOrder = 'mdy';
$file1 = 'file';
$file2 = 'file2';
class EmptyRecord {
function getRelatedSet($relationName) {
return array(new EmptyRecord());
}
function getField($field, $repetition = 0) {
}
function getRecordId() {
}
}
$record = new EmptyRecord();
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>
New Client Registration Form
</title>
<link rel="stylesheet" type="text/css" media="screen" href="white.css">
</head>
<body>
<div id="header">
<!-- HEADER -->
<div id="headerlogo">
Samantha's Table Matchmaking
<div id="headercaption">
<!--Caption for the Company-->
</div>
</div>
</div>
<div id="content">
<!--Navigation Menu-->
<?php include_once 'navigation.php'; ?><!-- Page Body -->
<table cellpadding="0" cellspacing="0" class="contentbg">
<tr>
<td class="contentbgleft">
</td>
<td class="contentmidrecords">
<div id="contenttitlebg">
<h1>
New Client Registration Form
</h1>
</div>
<table class="curvedbg">
<tr>
<td>
</td>
</tr>
</table>
<div class="scrolladd">
<table cellpadding="1" cellspacing="0" class="recwidth">
<tr>
<td valign="top">
<form method="post" action="confirmation.php" enctype="multipart/form-data">
<div>
<?php $dbName = "questionnaire";?><?php $layName = "Questionnaire5";?><input type="hidden" name="-db" value=
"<?php echo htmlentities($dbName,ENT_NOQUOTES,'UTF-8',false);?>"> <input type="hidden" name="-lay" value=
"<?php echo htmlentities($layName,ENT_NOQUOTES,'UTF-8',false);?>"> <input type="hidden" name="-action" value="new">
</div>
<table cellpadding="1" cellspacing="3" class="record">
<!-- Display record field values -->
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('First Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class" field">
<td class="field_data">
<?php $fieldName = 'NameFirst'?><?php $fieldValue = $record->getField('NameFirst', 0) ; ?><input class=
"fieldinput" type="text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Last Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'NameLast';?><?php $fieldValue = $record->getField('NameLast', 0) ; ?><input class="fieldinput"
type="text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Email:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Email';?><?php $fieldValue = $record->getField('Email', 0) ; ?><input class="fieldinput" type=
"text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Phone Number:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Phone 1';?><?php $fieldValue = $record->getField('Phone 1', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Age';?><?php $fieldValue = $record->getField('Age', 0) ; ?><input class="fieldinput" type=
"text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where you are from originally?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'OriginallyFrom';?><?php $fieldValue = $record->getField('OriginallyFrom', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you live currently?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'CurrentlyLive';?><?php $fieldValue = $record->getField('CurrentlyLive', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('College/grad school attended?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'SpecificEducation';?><?php $fieldValue = $record->getField('SpecificEducation', 0) ; ?><input class="fieldinput"
type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Occupation?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Occupation';?><?php $fieldValue = $record->getField('Occupation', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you work?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Work';?><?php $fieldValue = $record->getField('Work', 0) ; ?><input class="fieldinput" type=
"text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your income level?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'IncomeLevel';?><?php $fieldValue = $record->getField('IncomeLevel', 0) ; ?><select class=
"fieldinput" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'POPUPLIST', 'text');?>">
<?php $menuOptions = getMenu($layout->getValueListTwoFields('IncomeLevel', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, $fieldName, 'text', $submitDateOrder);
if ($fieldValue == "") {
$selected = "selected";
} else {
$selected = "";
}
$selected = "selected";
$menuOptions .= "<option value='' $selected></option>";
echo $menuOptions;?>
</select>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Service',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Service';?><?php $fieldValue = $record->getField('Service', 0) ; ?><select
class="fieldinput" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'POPUPLIST', 'text');?>">
<?php $menuOptions = getMenu($layout->getValueListTwoFields('Service Options', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, $fieldName, 'text', $submitDateOrder);
if ($fieldValue == "") {
$selected = "selected";
} else {
$selected = "";
}
$selected = "selected";
$menuOptions .= "<option value='' $selected></option>";
echo $menuOptions;?>
</select>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Have you tried online dating and/or used other matchmakers (which ones)?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'OtherMatchmakingServices';?><?php $fieldValue = $record->getField('OtherMatchmakingServices', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What are your hobbies?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Hobbies';?><?php $fieldValue = $record->getField('Hobbies', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Do you have pets? If so, describe:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Pets';?><?php $fieldValue = $record->getField('Pets', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('How you heard about the service? (specifically)',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Referral';?><?php $fieldValue = $record->getField('Referral', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your marital status?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'MaritalStatus';?><?php $fieldValue = $record->getField('MaritalStatus', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Children: (do you want them, do you have them, will you date someone who has them and does not want more)',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'KidStatus';?><?php $fieldValue = $record->getField('KidStatus', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Religion:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Religion';?><?php $fieldValue = $record->getField('Religion', 0) ; ?><input class="fieldinput"
type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Your Height/Weight/Look:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'YourLookDescrip';?><?php $fieldValue = $record->getField('YourLookDescrip', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age/Type of person you want to meet:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'DateType';?><?php $fieldValue = $record->getField('DateType', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Other comments:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'MICS';?><?php $fieldValue = $record->getField('MICS', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Upload Image 1:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data img">
<input type="file" name="file" id="file" />
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Upload Image 2:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data img">
<input type="file" name="file2" id="file2" />
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('REGISTRATION WILL ONLY BE COMPLETE ONCE WE RECEIVE YOUR PHOTOS. Unfortunately, we will only be able to respond to your inquiry after you have uploaded your photos.',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('You should expect to hear a reply from us within 7 to 10 days from when you submit your form.',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('*Network membership is subject to verification of the information provided, determination of the suitability of the service for the applicant and a face-to-face interview.',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<!--Display record form controls-->
<tr class="field">
<td class="field_name">
</td>
<td class="field_data">
<input type="submit" class="buttons" name="-new" value="Submit"> <input type="reset" class="buttons" name="Reset"
value="Reset"> <input type="button" class="buttons" onclick="window.location='home.php'" name="Cancel" value="Cancel">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</td>
<td class="contentbgright">
</td>
</tr>
<tr>
<td class="contentbgfooterleft">
</td>
<td class="contentfooter">
</td>
<td class="contentbgfotterright">
</td>
</tr>
</table>
</div>
<!-- Footer -->
<table class="footerwidth" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php include_once 'footer.php' ?>
</td>
</tr>
</table>
</body>
</html>
/**
* FileMaker PHP Site Assistant Generated File
*/
require_once 'fmview.php';
require_once 'FileMaker.php';
require_once 'error.php';
$cgi = new CGI();
$cgi->storeFile();
$databaseName = 'questionnaire';
$layoutName = 'Questionnaire5';
$userName = $cgi->get('userName');
$passWord = $cgi->get('passWord');
$fm = & new FileMaker();
$fm->setProperty('database', $databaseName);
$fm->setProperty('username', $userName);
$fm->setProperty('password', $passWord);
ExitOnError($fm);
$layout = $fm->getLayout($layoutName);
ExitOnError($layout);
// formats for dates and times
$displayDateFormat = '%m/%d/%Y';
$displayTimeFormat = '%I:%M:%S %P';
$displayDateTimeFormat = '%m/%d/%Y %I:%M:%S %P';
$submitDateOrder = 'mdy';
$file1 = 'file';
$file2 = 'file2';
class EmptyRecord {
function getRelatedSet($relationName) {
return array(new EmptyRecord());
}
function getField($field, $repetition = 0) {
}
function getRecordId() {
}
}
$record = new EmptyRecord();
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>
New Client Registration Form
</title>
<link rel="stylesheet" type="text/css" media="screen" href="white.css">
</head>
<body>
<div id="header">
<!-- HEADER -->
<div id="headerlogo">
Samantha's Table Matchmaking
<div id="headercaption">
<!--Caption for the Company-->
</div>
</div>
</div>
<div id="content">
<!--Navigation Menu-->
<?php include_once 'navigation.php'; ?><!-- Page Body -->
<table cellpadding="0" cellspacing="0" class="contentbg">
<tr>
<td class="contentbgleft">
</td>
<td class="contentmidrecords">
<div id="contenttitlebg">
<h1>
New Client Registration Form
</h1>
</div>
<table class="curvedbg">
<tr>
<td>
</td>
</tr>
</table>
<div class="scrolladd">
<table cellpadding="1" cellspacing="0" class="recwidth">
<tr>
<td valign="top">
<form method="post" action="confirmation.php" enctype="multipart/form-data">
<div>
<?php $dbName = "questionnaire";?><?php $layName = "Questionnaire5";?><input type="hidden" name="-db" value=
"<?php echo htmlentities($dbName,ENT_NOQUOTES,'UTF-8',false);?>"> <input type="hidden" name="-lay" value=
"<?php echo htmlentities($layName,ENT_NOQUOTES,'UTF-8',false);?>"> <input type="hidden" name="-action" value="new">
</div>
<table cellpadding="1" cellspacing="3" class="record">
<!-- Display record field values -->
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('First Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class" field">
<td class="field_data">
<?php $fieldName = 'NameFirst'?><?php $fieldValue = $record->getField('NameFirst', 0) ; ?><input class=
"fieldinput" type="text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Last Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'NameLast';?><?php $fieldValue = $record->getField('NameLast', 0) ; ?><input class="fieldinput"
type="text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Email:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Email';?><?php $fieldValue = $record->getField('Email', 0) ; ?><input class="fieldinput" type=
"text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Phone Number:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Phone 1';?><?php $fieldValue = $record->getField('Phone 1', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Age';?><?php $fieldValue = $record->getField('Age', 0) ; ?><input class="fieldinput" type=
"text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where you are from originally?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'OriginallyFrom';?><?php $fieldValue = $record->getField('OriginallyFrom', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you live currently?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'CurrentlyLive';?><?php $fieldValue = $record->getField('CurrentlyLive', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('College/grad school attended?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'SpecificEducation';?><?php $fieldValue = $record->getField('SpecificEducation', 0) ; ?><input class="fieldinput"
type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Occupation?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Occupation';?><?php $fieldValue = $record->getField('Occupation', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you work?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Work';?><?php $fieldValue = $record->getField('Work', 0) ; ?><input class="fieldinput" type=
"text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your income level?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'IncomeLevel';?><?php $fieldValue = $record->getField('IncomeLevel', 0) ; ?><select class=
"fieldinput" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'POPUPLIST', 'text');?>">
<?php $menuOptions = getMenu($layout->getValueListTwoFields('IncomeLevel', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, $fieldName, 'text', $submitDateOrder);
if ($fieldValue == "") {
$selected = "selected";
} else {
$selected = "";
}
$selected = "selected";
$menuOptions .= "<option value='' $selected></option>";
echo $menuOptions;?>
</select>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Service',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Service';?><?php $fieldValue = $record->getField('Service', 0) ; ?><select
class="fieldinput" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'POPUPLIST', 'text');?>">
<?php $menuOptions = getMenu($layout->getValueListTwoFields('Service Options', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, $fieldName, 'text', $submitDateOrder);
if ($fieldValue == "") {
$selected = "selected";
} else {
$selected = "";
}
$selected = "selected";
$menuOptions .= "<option value='' $selected></option>";
echo $menuOptions;?>
</select>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Have you tried online dating and/or used other matchmakers (which ones)?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'OtherMatchmakingServices';?><?php $fieldValue = $record->getField('OtherMatchmakingServices', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What are your hobbies?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Hobbies';?><?php $fieldValue = $record->getField('Hobbies', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Do you have pets? If so, describe:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Pets';?><?php $fieldValue = $record->getField('Pets', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('How you heard about the service? (specifically)',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Referral';?><?php $fieldValue = $record->getField('Referral', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your marital status?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'MaritalStatus';?><?php $fieldValue = $record->getField('MaritalStatus', 0) ; ?><input class=
"fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
value="<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Children: (do you want them, do you have them, will you date someone who has them and does not want more)',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'KidStatus';?><?php $fieldValue = $record->getField('KidStatus', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Religion:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'Religion';?><?php $fieldValue = $record->getField('Religion', 0) ; ?><input class="fieldinput"
type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
"<?php echo $fieldValue;?>">
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Your Height/Weight/Look:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'YourLookDescrip';?><?php $fieldValue = $record->getField('YourLookDescrip', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age/Type of person you want to meet:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'DateType';?><?php $fieldValue = $record->getField('DateType', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Other comments:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php $fieldName = 'MICS';?><?php $fieldValue = $record->getField('MICS', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Upload Image 1:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data img">
<input type="file" name="file" id="file" />
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Upload Image 2:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data img">
<input type="file" name="file2" id="file2" />
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('REGISTRATION WILL ONLY BE COMPLETE ONCE WE RECEIVE YOUR PHOTOS. Unfortunately, we will only be able to respond to your inquiry after you have uploaded your photos.',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('You should expect to hear a reply from us within 7 to 10 days from when you submit your form.',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('*Network membership is subject to verification of the information provided, determination of the suitability of the service for the applicant and a face-to-face interview.',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<!--Display record form controls-->
<tr class="field">
<td class="field_name">
</td>
<td class="field_data">
<input type="submit" class="buttons" name="-new" value="Submit"> <input type="reset" class="buttons" name="Reset"
value="Reset"> <input type="button" class="buttons" onclick="window.location='home.php'" name="Cancel" value="Cancel">
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</div>
</td>
<td class="contentbgright">
</td>
</tr>
<tr>
<td class="contentbgfooterleft">
</td>
<td class="contentfooter">
</td>
<td class="contentbgfotterright">
</td>
</tr>
</table>
</div>
<!-- Footer -->
<table class="footerwidth" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php include_once 'footer.php' ?>
</td>
</tr>
</table>
</body>
</html>
- <?php
- /**
- * FileMaker PHP Site Assistant Generated File
- */
- require_once 'fmview.php';
- require_once 'FileMaker.php';
- require_once 'error.php';
- $cgi = new CGI();
- $cgi->storeFile();
- $databaseName = 'questionnaire';
- $layoutName = 'Questionnaire5';
- $userName = $cgi->get('userName');
- $passWord = $cgi->get('passWord');
- $fm = & new FileMaker();
- $fm->setProperty('database', $databaseName);
- $fm->setProperty('username', $userName);
- $fm->setProperty('password', $passWord);
- ExitOnError($fm);
- $layout = $fm->getLayout($layoutName);
- ExitOnError($layout);
- // formats for dates and times
- $displayDateFormat = '%m/%d/%Y';
- $displayTimeFormat = '%I:%M:%S %P';
- $displayDateTimeFormat = '%m/%d/%Y %I:%M:%S %P';
- $submitDateOrder = 'mdy';
- $file1 = 'file';
- $file2 = 'file2';
- class EmptyRecord {
- function getRelatedSet($relationName) {
- return array(new EmptyRecord());
- }
- function getField($field, $repetition = 0) {
- }
- function getRecordId() {
- }
- }
- $record = new EmptyRecord();
- ?>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <title>
- New Client Registration Form
- </title>
- <link rel="stylesheet" type="text/css" media="screen" href="white.css">
- </head>
- <body>
- <div id="header">
- <!-- HEADER -->
- <div id="headerlogo">
- Samantha's Table Matchmaking
- <div id="headercaption">
- <!--Caption for the Company-->
- </div>
- </div>
- </div>
- <div id="content">
- <!--Navigation Menu-->
- <?php include_once 'navigation.php'; ?><!-- Page Body -->
- <table cellpadding="0" cellspacing="0" class="contentbg">
- <tr>
- <td class="contentbgleft">
- </td>
- <td class="contentmidrecords">
- <div id="contenttitlebg">
- <h1>
- New Client Registration Form
- </h1>
- </div>
- <table class="curvedbg">
- <tr>
- <td>
- </td>
- </tr>
- </table>
- <div class="scrolladd">
- <table cellpadding="1" cellspacing="0" class="recwidth">
- <tr>
- <td valign="top">
- <form method="post" action="confirmation.php" enctype="multipart/form-data">
- <div>
- <?php $dbName = "questionnaire";?><?php $layName = "Questionnaire5";?><input type="hidden" name="-db" value=
- "<?php echo htmlentities($dbName,ENT_NOQUOTES,'UTF-8',false);?>"> <input type="hidden" name="-lay" value=
- "<?php echo htmlentities($layName,ENT_NOQUOTES,'UTF-8',false);?>"> <input type="hidden" name="-action" value="new">
- </div>
- <table cellpadding="1" cellspacing="3" class="record">
- <!-- Display record field values -->
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('First Name:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class" field">
- <td class="field_data">
- <?php $fieldName = 'NameFirst'?><?php $fieldValue = $record->getField('NameFirst', 0) ; ?><input class=
- "fieldinput" type="text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
- value="<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Last Name:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'NameLast';?><?php $fieldValue = $record->getField('NameLast', 0) ; ?><input class="fieldinput"
- type="text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
- "<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Email:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Email';?><?php $fieldValue = $record->getField('Email', 0) ; ?><input class="fieldinput" type=
- "text" size="60" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
- "<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Phone Number:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Phone 1';?><?php $fieldValue = $record->getField('Phone 1', 0) ; ?><input class=
- "fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
- value="<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Age:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Age';?><?php $fieldValue = $record->getField('Age', 0) ; ?><input class="fieldinput" type=
- "text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
- "<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Where you are from originally?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'OriginallyFrom';?><?php $fieldValue = $record->getField('OriginallyFrom', 0) ; ?><input class=
- "fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
- value="<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Where do you live currently?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'CurrentlyLive';?><?php $fieldValue = $record->getField('CurrentlyLive', 0) ; ?><input class=
- "fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
- value="<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('College/grad school attended?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'SpecificEducation';?><?php $fieldValue = $record->getField('SpecificEducation', 0) ; ?><input class="fieldinput"
- type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
- "<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Occupation?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Occupation';?><?php $fieldValue = $record->getField('Occupation', 0) ; ?><input class=
- "fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
- value="<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Where do you work?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Work';?><?php $fieldValue = $record->getField('Work', 0) ; ?><input class="fieldinput" type=
- "text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
- "<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('What is your income level?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'IncomeLevel';?><?php $fieldValue = $record->getField('IncomeLevel', 0) ; ?><select class=
- "fieldinput" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'POPUPLIST', 'text');?>">
- <?php $menuOptions = getMenu($layout->getValueListTwoFields('IncomeLevel', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, $fieldName, 'text', $submitDateOrder);
- if ($fieldValue == "") {
- $selected = "selected";
- } else {
- $selected = "";
- }
- $selected = "selected";
- $menuOptions .= "<option value='' $selected></option>";
- echo $menuOptions;?>
- </select>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Service',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Service';?><?php $fieldValue = $record->getField('Service', 0) ; ?><select
- class="fieldinput" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'POPUPLIST', 'text');?>">
- <?php $menuOptions = getMenu($layout->getValueListTwoFields('Service Options', (isset($master_record)) ? $master_record->getRecordId() : $record->getRecordId()), $fieldValue, $fieldName, 'text', $submitDateOrder);
- if ($fieldValue == "") {
- $selected = "selected";
- } else {
- $selected = "";
- }
- $selected = "selected";
- $menuOptions .= "<option value='' $selected></option>";
- echo $menuOptions;?>
- </select>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Have you tried online dating and/or used other matchmakers (which ones)?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'OtherMatchmakingServices';?><?php $fieldValue = $record->getField('OtherMatchmakingServices', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('What are your hobbies?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Hobbies';?><?php $fieldValue = $record->getField('Hobbies', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Do you have pets? If so, describe:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Pets';?><?php $fieldValue = $record->getField('Pets', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('How you heard about the service? (specifically)',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Referral';?><?php $fieldValue = $record->getField('Referral', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('What is your marital status?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'MaritalStatus';?><?php $fieldValue = $record->getField('MaritalStatus', 0) ; ?><input class=
- "fieldinput" type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>"
- value="<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Children: (do you want them, do you have them, will you date someone who has them and does not want more)',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'KidStatus';?><?php $fieldValue = $record->getField('KidStatus', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Religion:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'Religion';?><?php $fieldValue = $record->getField('Religion', 0) ; ?><input class="fieldinput"
- type="text" size="30" name="<?php echo getFieldFormName($fieldName, 0, $record, true, 'EDITTEXT', 'text');?>" value=
- "<?php echo $fieldValue;?>">
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Your Height/Weight/Look:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'YourLookDescrip';?><?php $fieldValue = $record->getField('YourLookDescrip', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Age/Type of person you want to meet:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'DateType';?><?php $fieldValue = $record->getField('DateType', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Other comments:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php $fieldName = 'MICS';?><?php $fieldValue = $record->getField('MICS', 0) ; ?><?php echoTextArea($fieldName, 0, $record, true, 'SCROLLTEXT', 'text', $fieldValue)?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Upload Image 1:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data img">
- <input type="file" name="file" id="file" />
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Upload Image 2:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data img">
- <input type="file" name="file2" id="file2" />
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('REGISTRATION WILL ONLY BE COMPLETE ONCE WE RECEIVE YOUR PHOTOS. Unfortunately, we will only be able to respond to your inquiry after you have uploaded your photos.',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('You should expect to hear a reply from us within 7 to 10 days from when you submit your form.',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('*Network membership is subject to verification of the information provided, determination of the suitability of the service for the applicant and a face-to-face interview.',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <!--Display record form controls-->
- <tr class="field">
- <td class="field_name">
-
- </td>
- <td class="field_data">
- <input type="submit" class="buttons" name="-new" value="Submit"> <input type="reset" class="buttons" name="Reset"
- value="Reset"> <input type="button" class="buttons" onclick="window.location='home.php'" name="Cancel" value="Cancel">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </div>
- </td>
- <td class="contentbgright">
-
- </td>
- </tr>
- <tr>
- <td class="contentbgfooterleft">
-
- </td>
- <td class="contentfooter">
-
- </td>
- <td class="contentbgfotterright">
-
- </td>
- </tr>
- </table>
- </div>
- <!-- Footer -->
- <table class="footerwidth" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <?php include_once 'footer.php' ?>
- </td>
- </tr>
- </table>
- </body>
- </html>
código de Confirmation.php:
Código: [ Select ]
<?php
/**
* FileMaker PHP Site Assistant Generated File
*/
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
}
else
{
if (file_exists("upload/" . $_FILES["file"]["name"]))
{
echo $_FILES["file"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],
$file1 = "upload/" .$_FILES["file"]["name"]);
}
}
}
else
{
echo "";
}
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file2"]["error"] . "<br />";
}
else
{
if (file_exists("upload/" . $_FILES["file2"]["name"]))
{
echo $_FILES["file2"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["file2"]["tmp_name"],
$file2 = "upload/" . $_FILES["file2"]["name"]);
}
}
}
else
{
echo "";
}
require_once 'fmview.php';
require_once 'FileMaker.php';
require_once 'error.php';
require_once 'class.phpmailer.php';
$cgi = new CGI();
$cgi->storeFile();
$databaseName = 'questionnaire';
$layoutName = 'Questionnaire5';
$userName = $cgi->get('userName');
$passWord = $cgi->get('passWord');
$fm = & new FileMaker();
$fm->setProperty('database', $databaseName);
$fm->setProperty('username', $userName);
$fm->setProperty('password', $passWord);
Exitonerror($fm);
$layout = $fm->getLayout($layoutName);
Exitonerror($layout);
// formats for dates and times
$displayDateFormat = '%m/%d/%Y';
$displayTimeFormat = '%I:%M:%S %P';
$displayDateTimeFormat = '%m/%d/%Y %I:%M:%S %P';
$submitDateOrder = 'mdy';
// create the new add command
$newrecordrequest = $fm->newAddCommand($layoutName);
Exitonerror($newrecordrequest);
// get the submitted record data
$recorddata = $cgi->get('recorddata');
if (isset ($recorddata)) {
// submit the data to the db
$result = submitRecordData($recorddata, $newrecordrequest, $cgi, $layout->listFields());
// clear the stored record data
$cgi->clear('recorddata');
Exitonerror($result);
if ($result->getFetchCount() > 0) {
$records = $result->getRecords();
$record = $records[0];
}
}
Exitonerror($record);
$findCom =& $fm->newFindCommand($layoutName);
$findCom->addFindCriterion('rec_num','5');
$findCom->addSortRule('rec_num', 1,FILEMAKER_SORT_ASCEND);
$findCom->setScript('SendEmail');
$result =$findCom->execute();
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" media="screen" href="white.css">
<title>
Samantha's Table Registration Form Submission Successful!
</title>
</head>
<body>
<div id="header">
<!-- HEADER -->
<div id="headerlogo">
Samantha's Table
<div id="headercaption">
<!--Caption for the Company-->
</div>
</div>
</div>
<div id="content">
<!--Navigation Menu-->
<?php include_once 'navigation.php' ?>
<table cellpadding="0" cellspacing="0" class="contentbg">
<tr>
<td class="contentbgleft">
</td>
<td class="contentmidrecords">
<div id="contenttitlebg">
<!-- PAGE BODY -->
<h1>
Registration Form Confirmation
</h1>
</div>
<table class="message" cellpadding="0" cellspacing="0">
<tr>
<td class="messagedisplay">
Thank you for filling out the registration form. If you have filled out the form and uploaded your photos then we will be in touch with you shortly.
If you have not yet uploaded your photos then please email your photos within 24 to 48 hours to. Your registration will only be complete once we receive your photos.
</td>
</tr>
</table>
<table class="curvedbg">
<tr>
<td>
</td>
</tr>
</table>
<div class="scrolladd">
<table cellpadding="1" cellspacing="0" class="recwidth">
<tr>
<td valign="top">
<table cellpadding="1" cellspacing="6" class="record">
<!-- Display record field values -->
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('First Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('NameFirst', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Last Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('NameLast', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Email:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Email', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Phone Number:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Phone 1', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Age', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where you are from originally?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('OriginallyFrom', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you live currently?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('CurrentlyLive', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('College/grad school attended?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('SpecificEducation', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Occupation?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Occupation', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you work?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Work', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your income level?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('IncomeLevel', 0, $record, true, 'POPUPLIST', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Service',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Service', 0, $record, true, 'POPUPLIST', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Have you tried online dating and/or used other matchmakers (which ones)?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('OtherMatchmakingServices', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What are your hobbies?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Hobbies', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Do you have pets? If so, describe:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Pets', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('How you heard about the service? (specifically)',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Referral', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your marital status?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('MaritalStatus', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Children',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('KidStatus', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Religion:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data" id="Religion">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Religion', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Your Height / Weight / Look:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('YourLookDescrip', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age / Type of person you want to meet:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('DateType', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Other Comments:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('MICS', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Uploaded Image 1:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<a href="<?php echo $file1; ?>">Successful Upload: Image1</a>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Uploaded Image 2:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<a href="<?php echo $file2; ?>">Successful Upload: Image2</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td class="contentbgright">
</td>
</tr>
<tr>
<td class="contentbgfooterleft">
</td>
<td class="contentfooter">
</td>
<td class="contentbgfotterright">
</td>
</tr>
</table>
</div>
<!-- Footer-->
<table class="footerwidth" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php include_once 'footer.php' ?>
</td>
</tr>
</table>
</body>
</html>
/**
* FileMaker PHP Site Assistant Generated File
*/
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
}
else
{
if (file_exists("upload/" . $_FILES["file"]["name"]))
{
echo $_FILES["file"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],
$file1 = "upload/" .$_FILES["file"]["name"]);
}
}
}
else
{
echo "";
}
if ((($_FILES["file"]["type"] == "image/gif")
|| ($_FILES["file"]["type"] == "image/jpeg")
|| ($_FILES["file"]["type"] == "image/pjpeg"))
&& ($_FILES["file"]["size"] < 20000))
{
if ($_FILES["file"]["error"] > 0)
{
echo "Return Code: " . $_FILES["file2"]["error"] . "<br />";
}
else
{
if (file_exists("upload/" . $_FILES["file2"]["name"]))
{
echo $_FILES["file2"]["name"] . " already exists. ";
}
else
{
move_uploaded_file($_FILES["file2"]["tmp_name"],
$file2 = "upload/" . $_FILES["file2"]["name"]);
}
}
}
else
{
echo "";
}
require_once 'fmview.php';
require_once 'FileMaker.php';
require_once 'error.php';
require_once 'class.phpmailer.php';
$cgi = new CGI();
$cgi->storeFile();
$databaseName = 'questionnaire';
$layoutName = 'Questionnaire5';
$userName = $cgi->get('userName');
$passWord = $cgi->get('passWord');
$fm = & new FileMaker();
$fm->setProperty('database', $databaseName);
$fm->setProperty('username', $userName);
$fm->setProperty('password', $passWord);
Exitonerror($fm);
$layout = $fm->getLayout($layoutName);
Exitonerror($layout);
// formats for dates and times
$displayDateFormat = '%m/%d/%Y';
$displayTimeFormat = '%I:%M:%S %P';
$displayDateTimeFormat = '%m/%d/%Y %I:%M:%S %P';
$submitDateOrder = 'mdy';
// create the new add command
$newrecordrequest = $fm->newAddCommand($layoutName);
Exitonerror($newrecordrequest);
// get the submitted record data
$recorddata = $cgi->get('recorddata');
if (isset ($recorddata)) {
// submit the data to the db
$result = submitRecordData($recorddata, $newrecordrequest, $cgi, $layout->listFields());
// clear the stored record data
$cgi->clear('recorddata');
Exitonerror($result);
if ($result->getFetchCount() > 0) {
$records = $result->getRecords();
$record = $records[0];
}
}
Exitonerror($record);
$findCom =& $fm->newFindCommand($layoutName);
$findCom->addFindCriterion('rec_num','5');
$findCom->addSortRule('rec_num', 1,FILEMAKER_SORT_ASCEND);
$findCom->setScript('SendEmail');
$result =$findCom->execute();
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" media="screen" href="white.css">
<title>
Samantha's Table Registration Form Submission Successful!
</title>
</head>
<body>
<div id="header">
<!-- HEADER -->
<div id="headerlogo">
Samantha's Table
<div id="headercaption">
<!--Caption for the Company-->
</div>
</div>
</div>
<div id="content">
<!--Navigation Menu-->
<?php include_once 'navigation.php' ?>
<table cellpadding="0" cellspacing="0" class="contentbg">
<tr>
<td class="contentbgleft">
</td>
<td class="contentmidrecords">
<div id="contenttitlebg">
<!-- PAGE BODY -->
<h1>
Registration Form Confirmation
</h1>
</div>
<table class="message" cellpadding="0" cellspacing="0">
<tr>
<td class="messagedisplay">
Thank you for filling out the registration form. If you have filled out the form and uploaded your photos then we will be in touch with you shortly.
If you have not yet uploaded your photos then please email your photos within 24 to 48 hours to. Your registration will only be complete once we receive your photos.
</td>
</tr>
</table>
<table class="curvedbg">
<tr>
<td>
</td>
</tr>
</table>
<div class="scrolladd">
<table cellpadding="1" cellspacing="0" class="recwidth">
<tr>
<td valign="top">
<table cellpadding="1" cellspacing="6" class="record">
<!-- Display record field values -->
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('First Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('NameFirst', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Last Name:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('NameLast', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Email:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Email', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Phone Number:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Phone 1', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Age', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where you are from originally?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('OriginallyFrom', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you live currently?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('CurrentlyLive', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('College/grad school attended?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('SpecificEducation', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Occupation?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Occupation', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Where do you work?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Work', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your income level?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('IncomeLevel', 0, $record, true, 'POPUPLIST', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Service',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Service', 0, $record, true, 'POPUPLIST', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Have you tried online dating and/or used other matchmakers (which ones)?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('OtherMatchmakingServices', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What are your hobbies?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Hobbies', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Do you have pets? If so, describe:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Pets', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('How you heard about the service? (specifically)',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Referral', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('What is your marital status?',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('MaritalStatus', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Children',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('KidStatus', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Religion:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data" id="Religion">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Religion', 0, $record, true, 'EDITTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Your Height / Weight / Look:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('YourLookDescrip', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Age / Type of person you want to meet:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('DateType', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Other Comments:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<?php echo nl2br(str_replace(' ', ' ', storeFieldNames('MICS', 0, $record, true, 'SCROLLTEXT', 'text')))?>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Uploaded Image 1:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<a href="<?php echo $file1; ?>">Successful Upload: Image1</a>
</td>
</tr>
<tr class="field">
<td class="field_name">
<?php echo str_replace(' ', ' ',htmlentities('Uploaded Image 2:',ENT_NOQUOTES,'UTF-8',false));?>
</td>
</tr>
<tr class="field">
<td class="field_data">
<a href="<?php echo $file2; ?>">Successful Upload: Image2</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
<td class="contentbgright">
</td>
</tr>
<tr>
<td class="contentbgfooterleft">
</td>
<td class="contentfooter">
</td>
<td class="contentbgfotterright">
</td>
</tr>
</table>
</div>
<!-- Footer-->
<table class="footerwidth" cellspacing="0" cellpadding="0">
<tr>
<td>
<?php include_once 'footer.php' ?>
</td>
</tr>
</table>
</body>
</html>
- <?php
- /**
- * FileMaker PHP Site Assistant Generated File
- */
- if ((($_FILES["file"]["type"] == "image/gif")
- || ($_FILES["file"]["type"] == "image/jpeg")
- || ($_FILES["file"]["type"] == "image/pjpeg"))
- && ($_FILES["file"]["size"] < 20000))
- {
- if ($_FILES["file"]["error"] > 0)
- {
- echo "Return Code: " . $_FILES["file"]["error"] . "<br />";
- }
- else
- {
- if (file_exists("upload/" . $_FILES["file"]["name"]))
- {
- echo $_FILES["file"]["name"] . " already exists. ";
- }
- else
- {
- move_uploaded_file($_FILES["file"]["tmp_name"],
- $file1 = "upload/" .$_FILES["file"]["name"]);
- }
- }
- }
- else
- {
- echo "";
- }
- if ((($_FILES["file"]["type"] == "image/gif")
- || ($_FILES["file"]["type"] == "image/jpeg")
- || ($_FILES["file"]["type"] == "image/pjpeg"))
- && ($_FILES["file"]["size"] < 20000))
- {
- if ($_FILES["file"]["error"] > 0)
- {
- echo "Return Code: " . $_FILES["file2"]["error"] . "<br />";
- }
- else
- {
- if (file_exists("upload/" . $_FILES["file2"]["name"]))
- {
- echo $_FILES["file2"]["name"] . " already exists. ";
- }
- else
- {
- move_uploaded_file($_FILES["file2"]["tmp_name"],
- $file2 = "upload/" . $_FILES["file2"]["name"]);
- }
- }
- }
- else
- {
- echo "";
- }
- require_once 'fmview.php';
- require_once 'FileMaker.php';
- require_once 'error.php';
- require_once 'class.phpmailer.php';
- $cgi = new CGI();
- $cgi->storeFile();
- $databaseName = 'questionnaire';
- $layoutName = 'Questionnaire5';
- $userName = $cgi->get('userName');
- $passWord = $cgi->get('passWord');
- $fm = & new FileMaker();
- $fm->setProperty('database', $databaseName);
- $fm->setProperty('username', $userName);
- $fm->setProperty('password', $passWord);
- Exitonerror($fm);
- $layout = $fm->getLayout($layoutName);
- Exitonerror($layout);
- // formats for dates and times
- $displayDateFormat = '%m/%d/%Y';
- $displayTimeFormat = '%I:%M:%S %P';
- $displayDateTimeFormat = '%m/%d/%Y %I:%M:%S %P';
- $submitDateOrder = 'mdy';
- // create the new add command
- $newrecordrequest = $fm->newAddCommand($layoutName);
- Exitonerror($newrecordrequest);
- // get the submitted record data
- $recorddata = $cgi->get('recorddata');
- if (isset ($recorddata)) {
- // submit the data to the db
- $result = submitRecordData($recorddata, $newrecordrequest, $cgi, $layout->listFields());
- // clear the stored record data
- $cgi->clear('recorddata');
- Exitonerror($result);
- if ($result->getFetchCount() > 0) {
- $records = $result->getRecords();
- $record = $records[0];
- }
- }
- Exitonerror($record);
- $findCom =& $fm->newFindCommand($layoutName);
- $findCom->addFindCriterion('rec_num','5');
- $findCom->addSortRule('rec_num', 1,FILEMAKER_SORT_ASCEND);
- $findCom->setScript('SendEmail');
- $result =$findCom->execute();
- ?>
- <html>
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8">
- <link rel="stylesheet" type="text/css" media="screen" href="white.css">
- <title>
- Samantha's Table Registration Form Submission Successful!
- </title>
- </head>
- <body>
- <div id="header">
- <!-- HEADER -->
- <div id="headerlogo">
- Samantha's Table
- <div id="headercaption">
- <!--Caption for the Company-->
- </div>
- </div>
- </div>
- <div id="content">
- <!--Navigation Menu-->
- <?php include_once 'navigation.php' ?>
- <table cellpadding="0" cellspacing="0" class="contentbg">
- <tr>
- <td class="contentbgleft">
- </td>
- <td class="contentmidrecords">
- <div id="contenttitlebg">
- <!-- PAGE BODY -->
- <h1>
- Registration Form Confirmation
- </h1>
- </div>
- <table class="message" cellpadding="0" cellspacing="0">
- <tr>
- <td class="messagedisplay">
- Thank you for filling out the registration form. If you have filled out the form and uploaded your photos then we will be in touch with you shortly.
- If you have not yet uploaded your photos then please email your photos within 24 to 48 hours to. Your registration will only be complete once we receive your photos.
- </td>
- </tr>
- </table>
- <table class="curvedbg">
- <tr>
- <td>
- </td>
- </tr>
- </table>
- <div class="scrolladd">
- <table cellpadding="1" cellspacing="0" class="recwidth">
- <tr>
- <td valign="top">
- <table cellpadding="1" cellspacing="6" class="record">
- <!-- Display record field values -->
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('First Name:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('NameFirst', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Last Name:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('NameLast', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Email:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Email', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Phone Number:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Phone 1', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Age:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Age', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Where you are from originally?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('OriginallyFrom', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Where do you live currently?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('CurrentlyLive', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('College/grad school attended?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('SpecificEducation', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Occupation?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Occupation', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Where do you work?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Work', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('What is your income level?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('IncomeLevel', 0, $record, true, 'POPUPLIST', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Service',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Service', 0, $record, true, 'POPUPLIST', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Have you tried online dating and/or used other matchmakers (which ones)?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('OtherMatchmakingServices', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('What are your hobbies?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Hobbies', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Do you have pets? If so, describe:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Pets', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('How you heard about the service? (specifically)',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Referral', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('What is your marital status?',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('MaritalStatus', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Children',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('KidStatus', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Religion:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data" id="Religion">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('Religion', 0, $record, true, 'EDITTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Your Height / Weight / Look:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('YourLookDescrip', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Age / Type of person you want to meet:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('DateType', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Other Comments:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <?php echo nl2br(str_replace(' ', ' ', storeFieldNames('MICS', 0, $record, true, 'SCROLLTEXT', 'text')))?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Uploaded Image 1:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <a href="<?php echo $file1; ?>">Successful Upload: Image1</a>
- </td>
- </tr>
- <tr class="field">
- <td class="field_name">
- <?php echo str_replace(' ', ' ',htmlentities('Uploaded Image 2:',ENT_NOQUOTES,'UTF-8',false));?>
- </td>
- </tr>
- <tr class="field">
- <td class="field_data">
- <a href="<?php echo $file2; ?>">Successful Upload: Image2</a>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </div>
- </td>
- <td class="contentbgright">
- </td>
- </tr>
- <tr>
- <td class="contentbgfooterleft">
- </td>
- <td class="contentfooter">
- </td>
- <td class="contentbgfotterright">
- </td>
- </tr>
- </table>
- </div>
- <!-- Footer-->
- <table class="footerwidth" cellspacing="0" cellpadding="0">
- <tr>
- <td>
- <?php include_once 'footer.php' ?>
- </td>
- </tr>
- </table>
- </body>
- </html>
- Anonymous
- Bot


- Registrado: 25 Feb 2008
- Mensajes: ?
- Loc: Ozzuland
- Status: Online
Noviembre 29th, 2011, 9:29 am
Página 1 de 1
Para responder a este tema que necesita para ingresar o registrarse. Es gratis.
Publicar Información
- Total de mensajes en este tema: 1 mensaje
- Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 160 invitados
- No puede abrir nuevos temas en este Foro
- No puede responder a temas en este Foro
- No puede editar sus mensajes en este Foro
- No puede borrar sus mensajes en este Foro
- No puede enviar adjuntos en este Foro
