Entry Page (page 1)
Expand|Select|Wrap|Line Numbers
- <?php
- $deny = array("61.21.111.134", "89.149.208.14");
- if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) {
- header("location: http://www.ftc.gov/bcp/conline/edcams/spam/report.html");
- exit();
- }
- // --------------------------------------------------------------
- // Form generated by 4rm.net Script.
- // You can save this form by clicking on File->Save As in your
- // browser menu and choose the file name ( should end with .php )
- // --------------------------------------------------------------
- // Warning: Please do not modify the PHP code of this form, unless
- // you know what you do.
- // Form data names and variables
- $FName = 'Izigg Inquiry';
- $FEmail = 'Support Team <mobile_media@globalvoipmobile.com>';
- $FSpamEmail = '';
- $FWebsiteAfter = 'izigg_query2.php';
- $FCopyToSender = 1;
- $FExporting = 0;
- $FDMode = 1;
- $FMesFromT = 2;
- $FMesName = 0;
- $FMesFrom = 1;
- $FMesSubjectT = 2;
- $FMesSubject = 2;
- $FCopyToSender = 1;
- $FExporting = 0;
- $FieldsNo = 3;
- $FieldName[0] = 'First & Last Name';
- $FieldS[0] = 0;
- $FieldRequired[0] = 1;
- $FieldName[1] = 'Email';
- $FieldType[1] = 1;
- $FieldS[1] = 0;
- $FieldRequired[1] = 0;
- $FieldName[2] = 'Comments';
- $FieldType[2] = 2;
- $FieldS[2] = 0;
- $FieldRequired[2] = 0;
- // Error Messages
- $HtmlErrorStart = '<font size="2" color="#CC0808">';
- $HtmlErrorEnd = '</font>';
- $msgErrorTooLongs = ' is too long! (Max ';
- $msgErrorTooLonge = ' characters)';
- $msgErrorTooShorts = ' is too short! (Min ';
- $msgErrorTooShorte = ' characters)';
- $msgErrorFieldEmpty = ' is required.';
- $msgError = 'Error : ';
- $msgErrorBadFields = 'Some fields are empty or invalid.';
- // Needed functions
- // --------------------------------------------------------------
- function checkminsize($input, $min) // Check a string size
- {
- if (strlen($input)<$min) return 0;
- else return 1;
- }
- // --------------------------------------------------------------
- function checkmaxsize($input, $max) // Check a string size
- {
- if (strlen($input)>$max) return 0;
- else return 1;
- }
- // --------------------------------------------------------------
- function CheckTextSize($text, $min, $max, $errno, $errfieldname)
- {
- global $mmsg, $verifyok, $HtmlErrorStart, $HtmlErrorEnd, $msgErrorTooLongs, $msgErrorTooLonge, $msgErrorTooShorts, $msgErrorTooShorte, $msgErrorFieldEmpty, $mmsgt, $msgError, $msgErrorBadFields;
- if (!checkminsize($text,$min))
- {
- $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorTooShorts . $min . $msgErrorTooShorte . $HtmlErrorEnd;
- $verifyok = 0;
- }
- if (!checkmaxsize($text,$max))
- {
- $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorTooLongs . $max . $msgErrorTooLonge . $HtmlErrorEnd;
- $verifyok = 0;
- }
- if ($min>0)
- if (!checkminsize($text,1))
- {
- $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorFieldEmpty . $HtmlErrorEnd;
- $verifyok = 0;
- }
- if ($verifyok == 0 )
- {
- $mmsg[0] = $msgError . $msgErrorBadFields;
- $mmsgt = 1;
- }
- return $verifyok;
- }
- // --------------------------------------------------------------
- function getip() // Returns the real Ip in most cases
- {
- if (isSet($_SERVER)) {
- if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) {
- $realip = $_SERVER["HTTP_X_FORWARDED_FOR"];
- } elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) {
- $realip = $_SERVER["HTTP_CLIENT_IP"];
- } else {
- $realip = $_SERVER["REMOTE_ADDR"];
- }
- } else {
- if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
- $realip = getenv( 'HTTP_X_FORWARDED_FOR' );
- } elseif ( getenv( 'HTTP_CLIENT_IP' ) ) {
- $realip = getenv( 'HTTP_CLIENT_IP' );
- } else {
- $realip = getenv( 'REMOTE_ADDR' );
- }
- }
- return $realip;
- }
- // Processing form
- // --------------------------------------------------------------
- session_start();
- $RealIp = getip();
- if ( $_SESSION['FReferer'] == '' )
- {
- $R = @$_SERVER['HTTP_REFERER'];
- if ( R != '' ) $_SESSION['FReferer'] = $R;
- }
- $Referer = $_SESSION['FReferer'];
- // -------------------------------------------------------------------------------------
- function CheckEmail($email,$minsize,$maxsize,$err,$fieldname)
- {
- global $mmsg, $mmsgt, $HtmlErrorStart, $HtmlErrorEnd, $verifyok;
- // check if the email string is not empty, has at least 4 chars, is smaller than 64
- CheckTextSize($email, $minsize, $maxsize, $err, $fieldname);
- if ( ($minsize == 0 ) AND ( $email == '') ) return 0;
- // check if is has a valid email format xxx@yyy.domainname
- if ( ! (valid_email($email)) )
- {$mmsg[$err] = $HtmlErrorStart . 'Email does not appear to be valid.' . $HtmlErrorEnd; $mmsgt = 1; $verifyok = 0; return 1;}
- // check if the email string contains more than 1 email
- if ( substr_count($FEmail, '@') > 1 )
- {$mmsg[$err] = $HtmlErrorStart . 'Only one email is allowed' . $HtmlErrorEnd; $mmsgt = 1; $verifyok = 0;};
- }
- // -------------------------------------------------------------------------------------
- function valid_email($email) {
- // First, we check that there's one @ symbol, and that the lengths are right
- if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) {
- // Email invalid because wrong number of characters in one section, or wrong number of @ symbols.
- return false;
- }
- // Split it into sections to make life easier
- $email_array = explode("@", $email);
- $local_array = explode(".", $email_array[0]);
- for ($i = 0; $i < sizeof($local_array); $i++) {
- if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) {
- return false;
- }
- }
- if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name
- $domain_array = explode(".", $email_array[1]);
- if (sizeof($domain_array) < 2) {
- return false; // Not enough parts to domain
- }
- for ($i = 0; $i < sizeof($domain_array); $i++) {
- if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) {
- return false;
- }
- }
- }
- return true;
- }
- // Get form settings and fields
- for ($i=0;$i<$FieldsNo;$i++)
- {
- if ( $FieldType[$i] ==3 )
- {
- // checkbox
- $FieldData[$i] = '';
- $Options = explode('|', $FieldTypeExt[$i]);
- $OptionsNo = count($Options);
- for ($j=0;$j<$OptionsNo;$j++)
- {
- $fd = trim($_POST['FieldData' . $i . '-' . $j]);
- $FieldData[$i] .= $fd;
- if ( ($j<($OptionsNo-1)) and ( $fd !='' ) ) $FieldData[$i] .= ', ';
- }
- }
- else $FieldData[$i] = trim($_POST['FieldData' . $i]);
- }
- if ( $HTTP_POST_VARS )
- {
- // Basic verifications of the form submitted, check if the version is ok
- // and the fields number corsesponds
- if ($FieldsNo <> count($FieldData))
- {
- echo 'Error: The number of submitted data fields ( ' . count($FieldData) . ' ) does not corespond to the form ( ' . $FName . ' wich has ' . $FieldsNo . ' fields ).';
- return 3;
- }
- $Hida2 = trim($_POST['hida2']);
- if ($Hida2 != '')
- {
- echo 'Error: Spam submission detected ).';
- return 4;
- }
- $mmsgt = 0;
- $verifyok = 1;
- $SpamScore = 0;
- $DupFields = 0;
- $Spam = 0;
- $Hida2 = trim($_POST['hida2']);
- if ($Hida2 != '')
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 1;
- }
- $SpamWord = array( 'http', 'URL', 'cialis', 'viagra', 'xxx', 'valium');
- for ($i=0;$i<$FieldsNo;$i++)
- if ($FieldType[$i]<6)
- {
- if ($FieldRequired[$i] == 1)
- {
- CheckTextSize($FieldData[$i], 1, 10000, ($i+1), $FieldName[$i]);
- if ( ($FMesFromT ==2) && ( $FMesFrom == $i ) ) CheckEmail($FieldData[$FMesFrom], 4, 64, ($i+1), $FieldName[$i]);
- }
- for ($j=0;$j<Count($SpamWord);$j++)
- {
- $SpamNo = substr_count($FieldData[$i],$SpamWord[$j]);
- $SpamScore = $SpamScore + $SpamNo;
- }
- for ($j=$i+1;$j<$FieldsNo;$j++)
- if ( ( ($FieldType[$i] ==1 ) or ( $FieldType[$i] ==2) ) and ( ($FieldType[$j] ==1 ) or ( $FieldType[$j] ==2) ) ) if ($FieldData[$i] != '' ) if ($FieldData[$i] == $FieldData[$j]) $DupFields = $DupFields + 1;
- }
- if ($SpamScore > 10)
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 2;
- }
- if ( $DupFields > $FieldsNo / 2)
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 3;
- }
- // check for new lines in inapropiate places
- // check for new lines in the From name and email
- if ($FMesFromT ==2)
- if (preg_match("/(%0A|%0D|\\n+|\\r+)/i",$FieldData[$FMesName] . $FieldData[$FMesFrom]))
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: The script has detected you as a spammer.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 6;
- }
- // check for new lines in the Subject
- if ($FMesSubjectT ==2)
- if (preg_match("/(%0A|%0D|\\n+|\\r+)/i",$FieldData[$FMesSubject]))
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: The script has detected you as a spammer.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 7;
- }
- if ( ($mmsgt !=1) or ($Spam > 0 ) )
- {
- $mime_boundary=md5(time());
- // Prepare email
- $headers = "";
- if ($Spam == 0)
- {
- if ($FMesFromT ==1)
- $fromaddress = "Support Team <no-reply@globalvoipmobile.com>";
- elseif ($FMesFromT ==2)
- {
- $CustomerName = $FieldData[$FMesName];
- $CustomerEmail = $FieldData[$FMesFrom];
- $fromaddress = "$CustomerName <no-reply@Global VoIP Mobile.net>";
- }
- $headers .= "From: $fromaddress\r\n";
- $headers .= "Reply-To: $FieldData[$FMesName] <$FieldData[$FMesFrom]>\r\n";
- }
- else $headers .= "From: Global VoIP Mobile <no-reply@Global VoIP Mobile>\r\n";
- $subject = 'Feedback via the ' . $FName;
- if ($FMesSubjectT ==2)
- $subject = $FName . ': ' . $FieldData[$FMesSubject];
- if ($Spam > 0) $subject = $FName . ' Spam submission detected';
- $headers .= "Message-ID: <".time()."-@blueplaza.net>\r\n";
- $headers .= "X-Mailer: PHP v".phpversion()."\r\n";
- $headers .= "Content-Type: multipart/mixed; boundary=\"".$mime_boundary. '"' . "\r\n\r\n";
- $body = "--".$mime_boundary. "\r\n";
- $body .= "Content-Type: text/plain; charset=\"utf-8\"\r\n";
- $body .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
- if ($Spam > 0)
- {
- $body .= " The following submission has been detected as spam.\r\n";
- $body .= ' Spam type: ';
- switch ($Spam) {
- case 1 : $body .= "Bad hidden field\r\n\r\n"; break;
- case 2 : $body .= "Bad words detected\r\n\r\n"; break;
- case 3 : $body .= "Same data was filled in more than half fields\r\n\r\n"; break;
- case 4 : $body .= "Bad or invalid captcha code\r\n\r\n"; break;
- case 5 : $body .= "Unknown Ip\r\n\r\n"; break;
- case 6 : $body .= "Injection attack\r\n\r\n"; break;
- case 7 : $body .= "Injection attack\r\n\r\n"; break;
- }
- }
- for ($i=0;$i<$FieldsNo;$i++)
- if ($FieldType[$i]<6) $body .= $FieldName[$i] . ': ' . $FieldData[$i] . "\r\n";
- $body .= "---------------------------------------------------------------------\r\n";
- $body .= 'Visitor Ip: ' . $RealIp . "\r\n";
- $body .= "www.voiceprocess.net/ip-to-country.php\r\n";
- if ($FExporting == 1)
- {
- $body .= "*** Text Database Entry ***\r\n";
- for ($i=0;$i<($FieldsNo-1);$i++)
- $body .= '"' . $FieldName[$i] . '",';
- $body .= '"' . $FieldName[$FieldsNo-1] . '"' . "\r\n";
- for ($i=0;$i<($FieldsNo-1);$i++)
- $body .= '"' . $FieldData[$i] . '",';
- $body .= '"' . $FieldData[$FieldsNo-1] . '"' . "\r\n";
- }
- // Adding attachments
- for($i=0; $i<$FieldsNo; $i++)
- if ($FieldType[$i] == 6)
- {
- $fd = 'FieldData' . $i;
- if (is_uploaded_file($_FILES["$fd"][tmp_name]))
- {
- $handle=fopen($_FILES["$fd"][tmp_name], 'rb');
- $f_contents=fread($handle, filesize($_FILES["$fd"][tmp_name]));
- $f_contents=chunk_split(base64_encode($f_contents));
- $f_type=filetype($_FILES["$fd"][tmp_name]);
- fclose($handle);
- # Attachment
- $filename = $_FILES["$fd"][name];
- $body .= "--".$mime_boundary."\r\n";
- $body .= 'Content-Type: ' . $_FILES["$fd"][type] . '; name="' . $filename . '"' . "\r\n";
- $body .= "Content-Transfer-Encoding: base64\r\n";
- $body .= "Content-Description: $FieldName[$i]\r\n";
- $body .= 'Content-Disposition: attachment; filename="' . $filename . '"'."\r\n\r\n"; $body .= $f_contents."\r\n\r\n";
- }
- }
- # Finished
- $body .= "--".$mime_boundary."--\r\n\r\n"; // finish with two eol's for better security. see Injection.
- if ($Spam == 0)
- {
- // We try to send the email with verification code
- if (mail("$FEmail", $subject, $body, $headers) )
- if ( $SaveEmails == 1)
- {
- // The mail has been sent succesfuly, update the email table
- $query="UPDATE email SET Status='delivered', DateDelivered = NOW() WHERE EmailId='$EmailId'";
- mysql_query($query) or die(mysql_error());
- }
- }
- else if ($FSpamEmail != '') @mail("$FSpamEmail", $subject, $body, $headers);
- // If Sending a copy to visitor is checked and the field from where to get the visitor email
- // address is selected we send a copy to the visitor
- if ( ($FCopyToSender == 1) && ($FMesFromT ==2) AND ($Spam == 0) )
- {
- $headers = "From: $FFirstName $FLastName <no-reply@globalvoipmobile.net>\r\n";
- $headers = "Reply-to: $FFirstName $FLastName <$FEmail>\r\n";
- $subject = 'Thank you for your Inquiry!';
- if ($FMesSubjectT ==2)
- $subject .= ': ' . $FieldData[$FMesSubject];
- $body = 'Hello ' . $FieldData[$FMesName] . ",\r\n";
- $body .= "\r\n";
- $body .= "We have received your form submission. Thank you!
- A representative will call or email you to answer any questions or
- concerns you may have once you have reviewed the website below and
- completed the form which you have hopefully completed already:
- www.globalvoipmobile.com/izigg_query2.php.\r\n \r\n";
- $body .= "Below is the data submitted:\r\n";
- $body .= "\r\n";
- for ($i=0;$i<$FieldsNo;$i++)
- if ( $FieldType[$i] <6 ) $body .= $FieldName[$i] . ': ' . $FieldData[$i] . "\r\n";
- $body .= "\r\n";
- $body .= "For more details about mobile media please visit:
- www.izigg.com/mobilepower
- To Our Success,
- Support Team
- \r\n";
- $body .= "$FFirstName $FLastName\r\n";
- // We try to send the email with verification code
- @mail("$FieldData[$FMesName] <$FieldData[$FMesFrom]>", $subject, $body, $headers);
- }
- if ($Spam == 0 )
- {
- // Redirect visitor if form was on site, or display an message if form was in window
- switch ($FDMode) {
- case 0 :
- case 1 :
- case 2 : $loc = 'Location: ' . $FWebsiteAfter;
- header($loc);
- exit;
- case 3: echo 'We received your message, thank you for contacting us.';
- }
- return 0;
- }
- }
- }
- // preparing font formating
- $ft = '<font';
- $sf = 0;
- if ($FFontFace != '' ) { $ft .= ' face="' . $FFontFace . '"'; $sf = 1; }
- if ($FFontSize != '' ) { $ft .= ' size="' . $FFontSize . '"'; $sf = 1; }
- if ($FColor != '' ) { $ft .= ' color="' . $FColor . '"'; $sf = 1; }
- if ($sf == 1 ) { $ft .= '>'; $fta = '</font>'; }
- else {$ft = ''; $fta = ''; }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Discover the Power of Mobile Media for Your Business!</title>
- <link href="globalvoip.ico" rel="shortcut Icon">
- <script type="text/javascript" src="izigg_a.js"></script>
- <style type="text/css">
- <!--
- .style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
- .style2 {font-family: Verdana, Arial, Helvetica,font-size: 12px}
- .style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
- .style4 {color: #0000FF; Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
- -->
- .initial{
- background-image:url(images/submit.png); background-color: transparent; border:none; background-repeat:no-repeat; height:39px; width:99px}
- input:focus {border-color: #3333CC #6666FF #6666FF #3333FF; padding-left:2px; font-size:13px; font-family:Verdana}
- textarea:focus {border-color: #3333CC #6666FF #6666FF #3333FF; padding-left:2px; font-size:13px; font-family:Verdana}
- input {
- border-style: solid;
- border-width:1px;
- border-color: #999999 #CCCCCC #CCCCCC #999999;
- text-align: left;
- padding-left:2px;
- font-family: Verdana;
- font-size: 13px;
- font-weight: normal; color:#000000; background-color:#FFFFFF}
- input disabled {
- border-style: solid;
- border-width:1px;
- border-color: #999999 #CCCCCC #CCCCCC #999999;
- text-align: left;
- padding-left:2px;
- font-family: Verdana;
- font-size: 13px;
- font-weight: normal; color:#000000; background-color:#FFFFFF}
- textarea {
- border-style: solid;
- border-width:1px;
- border-color: #999999 #CCCCCC #CCCCCC #999999;
- text-align: left;
- padding-left:2px;
- font-family: Verdana;
- font-size: 13px;
- font-weight: normal;}
- </style>
- <script type="text/javascript"><!--
- /***********************************************
- * Rollover background-image button- © Dynamic Drive (www.dynamicdrive.net)
- * This notice must stay intact for use
- * Visit http://www.dynamicdrive.net/ for full source code
- ***********************************************/
- //Specify optional button target: "_new" for new window, or name of FRAME target (ie "myframe")
- var buttontarget=""
- function change(e, image){
- var el=window.event? event.srcElement: e.target
- if (el.tagName=="INPUT"&&el.type=="image")
- el.style.backgroundImage="url"+"('"+image+"')"
- }
- //--></script>
- </head>
- <body> <form method="post" name="validate" action="izigg_query.php" enctype="multipart/form-data" onmouseover="change(event,'images/submit1.png')" onmouseout="change(event,'images/submit.png')" onkeyup="highlight(event)" onclick="highlight(event)">
- <tr>
- <td width="24" background="images/topleft.png"> </td>
- <td height="24" colspan="2" background="images/topmid.png" style="background-repeat:repeat-x"></td>
- <td width="24" background="images/topright.png"> </td>
- </tr>
- <tr>
- <td width="24" height="155" style="background-image:url(images/left.png); background-repeat:repeat-y"> </td>
- <td colspan="2" valign="top" background="images/inner.png" class="style17">
- <div align="left"><span class="style13"><span class="style18" style="padding-left:20px"><a href="#" onmouseover="Tip('Your information will be kept confidential and secure. We respect your privacy.', CLOSEBTN, false, SHADOW, true, TITLE, 'Data Security', STICKY, false, PADDING, 9, OFFSETY, 20, OPACITY, 90)" onmouseout="UnTip()"><img src="images/lock.png" width="15" height="19" border="0"></a></span> </span><span class="style4">*</span><span class="style3"> = Required Fields</span></div>
- <br />
- <table width="734" border="0" align="center">
- <tr>
- <td width="485" valign="top"><table width="541" border="0" align="center" cellpadding="3" cellspacing="0">
- <tr>
- <td width="326" bgcolor="#F9F9F9"><div align="right" id="FieldData0"><span class="style13 style4">*</span><span class="style3">First & Last Name</span></div></td>
- <td width="203" bgcolor="#F9F9F9"><div align="left">
- <input name="FieldData0" type="text" value="<? echo $FieldData[0] ?>" size="20" />
- <span class="class3"><? echo ' ' . $mmsg[1]; ?></span></div></td>
- </tr>
- <tr>
- <td class="style17 style1 style2"><div align="right" class="style3" id="FieldData1">Email</div>
- <div id="idmail" style="color:#CC6600; display:none; text-align:left">Please enter in a valid email. We respect your privacy. See <span class="small"><a href="javascript:openWin('privacy.html')">Privacy Page</a></span> for more details.</div></td>
- <td valign="top"><input name="FieldData1" type="text" value="<? echo $FieldData[1] ?>" size="20" /></td>
- </tr>
- <tr>
- <td class="style3"><div align="right" id="FieldData2"><span class="style13 style4">*</span>Referral Source (How'd you hear about us?) </div></td>
- <td valign="top"><input name="FieldData2" type="text" value="<? echo $FieldData[2] ?>" size="20" />
- <span class="class3"><? echo ' ' . $mmsg[1]; ?></span></td>
- </tr>
- <tr>
- <td valign="top" class="style3">After submitting this form you will be redirected to the page with further details and after reviewing can complete the short questionaire to receive a support team call or email at your convenience. <br />
- <strong class="style4">We're here to help! </strong></td>
- <td valign="top"><div align="left">
- <input name="image" type="image" class="initial" onclick="return CheckTheForm();" value="" src="images/send1.png" alt="submit" /></div></td>
- </tr>
- </table></td>
- <td width="19" valign="top"><img src="images/spacer.gif" alt="" width="19" height="7" /></td>
- <td width="216" align="right" valign="top"><img src="images/globe.jpg" width="216" height="233" /></td>
- </tr>
- </table>
- </td>
- <td style="background-image:url(images/right.png); background-repeat:repeat-y" width="24"></td>
- </tr>
- <tr>
- <td width="24" height="23"> </td>
- <td colspan="2" background="images/bottom.png"> </td>
- <td width="24"> </td>
- </tr>
- <tr>
- <td height="23" colspan="4"> </td>
- </tr>
- </form>
- <div style="visibility:hidden"><img src="images/submit1.png" width="99" height="39" alt="over"/></div>
- <script type="text/javascript" src="wz_tooltip.js"></script>
- </body>
- </html>
Expand|Select|Wrap|Line Numbers
- <?php
- $deny = array("61.21.111.134", "89.149.208.14");
- if (in_array ($_SERVER['REMOTE_ADDR'], $deny)) {
- header("location: http://www.ftc.gov/bcp/conline/edcams/spam/report.html");
- exit();
- }
- // --------------------------------------------------------------
- // Form generated by 4rm.net Script.
- // You can save this form by clicking on File->Save As in your
- // browser menu and choose the file name ( should end with .php )
- // --------------------------------------------------------------
- // Warning: Please do not modify the PHP code of this form, unless
- // you know what you do.
- // Form data names and variables
- $FName = 'Izigg Inquiry';
- $FEmail = 'Support Team <mobile_media@globalvoipmobile.com>';
- $FSpamEmail = '';
- $FWebsiteAfter = 'http://www.izigg.com/mobilepower';
- $FCopyToSender = 1;
- $FExporting = 0;
- $FDMode = 1;
- $FMesFromT = 2;
- $FMesName = 0;
- $FMesFrom = 1;
- $FMesSubjectT = 2;
- $FMesSubject = 2;
- $FCopyToSender = 1;
- $FExporting = 0;
- $FieldsNo = 13;
- $FieldName[0] = 'First & Last Name';
- $FieldS[0] = 0;
- $FieldRequired[0] = 1;
- $FieldName[1] = 'Email';
- $FieldType[1] = 1;
- $FieldS[1] = 0;
- $FieldRequired[1] = 1;
- $FieldName[2] = 'Cell Phone';
- $FieldType[2] = 2;
- $FieldS[2] = 0;
- $FieldRequired[2] = 1;
- $FieldName[3] = 'Work Phone ';
- $FieldType[3] = 2;
- $FieldS[3] = 0;
- $FieldRequired[3] = 1;
- $FieldName[4] = 'Best Time to Reach You';
- $FieldType[4] = 2;
- $FieldS[4] = 0;
- $FieldRequired[4] = 1;
- $FieldName[5] = 'Are you curently using mobile media?';
- $FieldType[5] = 2;
- $FieldS[5] = 0;
- $FieldRequired[5] = 1;
- $FieldName[6] = 'Are you curently using marketing lists?';
- $FieldType[6] = 2;
- $FieldS[6] = 0;
- $FieldRequired[6] = 1;
- $FieldName[7] = 'Business or Industry Type';
- $FieldType[7] = 2;
- $FieldS[7] = 0;
- $FieldRequired[7] = 1;
- $FieldName[8] = 'Company Name';
- $FieldType[8] = 2;
- $FieldS[8] = 0;
- $FieldRequired[8] = 1;
- $FieldName[9] = 'Company Website';
- $FieldType[9] = 2;
- $FieldS[9] = 0;
- $FieldRequired[9] = 0;
- $FieldName[10] = 'Monthly Marketing Budget';
- $FieldType[10] = 2;
- $FieldS[10] = 0;
- $FieldRequired[10] = 1;
- $FieldName[11] = 'Marketing Methods Currently Used';
- $FieldType[11] = 2;
- $FieldS[11] = 0;
- $FieldRequired[11] = 1;
- $FieldName[12] = 'Comments';
- $FieldType[12] = 2;
- $FieldS[12] = 0;
- $FieldRequired[12] = 0;
- // Error Messages
- $HtmlErrorStart = '<font size="2" color="#CC0808">';
- $HtmlErrorEnd = '</font>';
- $msgErrorTooLongs = ' is too long! (Max ';
- $msgErrorTooLonge = ' characters)';
- $msgErrorTooShorts = ' is too short! (Min ';
- $msgErrorTooShorte = ' characters)';
- $msgErrorFieldEmpty = ' is required.';
- $msgError = 'Error : ';
- $msgErrorBadFields = 'Some fields are empty or invalid.';
- // Needed functions
- // --------------------------------------------------------------
- function checkminsize($input, $min) // Check a string size
- {
- if (strlen($input)<$min) return 0;
- else return 1;
- }
- // --------------------------------------------------------------
- function checkmaxsize($input, $max) // Check a string size
- {
- if (strlen($input)>$max) return 0;
- else return 1;
- }
- // --------------------------------------------------------------
- function CheckTextSize($text, $min, $max, $errno, $errfieldname)
- {
- global $mmsg, $verifyok, $HtmlErrorStart, $HtmlErrorEnd, $msgErrorTooLongs, $msgErrorTooLonge, $msgErrorTooShorts, $msgErrorTooShorte, $msgErrorFieldEmpty, $mmsgt, $msgError, $msgErrorBadFields;
- if (!checkminsize($text,$min))
- {
- $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorTooShorts . $min . $msgErrorTooShorte . $HtmlErrorEnd;
- $verifyok = 0;
- }
- if (!checkmaxsize($text,$max))
- {
- $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorTooLongs . $max . $msgErrorTooLonge . $HtmlErrorEnd;
- $verifyok = 0;
- }
- if ($min>0)
- if (!checkminsize($text,1))
- {
- $mmsg[$errno] = $HtmlErrorStart . $errfieldname . $msgErrorFieldEmpty . $HtmlErrorEnd;
- $verifyok = 0;
- }
- if ($verifyok == 0 )
- {
- $mmsg[0] = $msgError . $msgErrorBadFields;
- $mmsgt = 1;
- }
- return $verifyok;
- }
- // --------------------------------------------------------------
- function getip() // Returns the real Ip in most cases
- {
- if (isSet($_SERVER)) {
- if (isSet($_SERVER["HTTP_X_FORWARDED_FOR"])) {
- $realip = $_SERVER["HTTP_X_FORWARDED_FOR"];
- } elseif (isSet($_SERVER["HTTP_CLIENT_IP"])) {
- $realip = $_SERVER["HTTP_CLIENT_IP"];
- } else {
- $realip = $_SERVER["REMOTE_ADDR"];
- }
- } else {
- if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) {
- $realip = getenv( 'HTTP_X_FORWARDED_FOR' );
- } elseif ( getenv( 'HTTP_CLIENT_IP' ) ) {
- $realip = getenv( 'HTTP_CLIENT_IP' );
- } else {
- $realip = getenv( 'REMOTE_ADDR' );
- }
- }
- return $realip;
- }
- // Processing form
- // --------------------------------------------------------------
- session_start();
- $RealIp = getip();
- if ( $_SESSION['FReferer'] == '' )
- {
- $R = @$_SERVER['HTTP_REFERER'];
- if ( R != '' ) $_SESSION['FReferer'] = $R;
- }
- $Referer = $_SESSION['FReferer'];
- // -------------------------------------------------------------------------------------
- function CheckEmail($email,$minsize,$maxsize,$err,$fieldname)
- {
- global $mmsg, $mmsgt, $HtmlErrorStart, $HtmlErrorEnd, $verifyok;
- // check if the email string is not empty, has at least 4 chars, is smaller than 64
- CheckTextSize($email, $minsize, $maxsize, $err, $fieldname);
- if ( ($minsize == 0 ) AND ( $email == '') ) return 0;
- // check if is has a valid email format xxx@yyy.domainname
- if ( ! (valid_email($email)) )
- {$mmsg[$err] = $HtmlErrorStart . 'Email does not appear to be valid.' . $HtmlErrorEnd; $mmsgt = 1; $verifyok = 0; return 1;}
- // check if the email string contains more than 1 email
- if ( substr_count($FEmail, '@') > 1 )
- {$mmsg[$err] = $HtmlErrorStart . 'Only one email is allowed' . $HtmlErrorEnd; $mmsgt = 1; $verifyok = 0;};
- }
- // -------------------------------------------------------------------------------------
- function valid_email($email) {
- // First, we check that there's one @ symbol, and that the lengths are right
- if (!ereg("^[^@]{1,64}@[^@]{1,255}$", $email)) {
- // Email invalid because wrong number of characters in one section, or wrong number of @ symbols.
- return false;
- }
- // Split it into sections to make life easier
- $email_array = explode("@", $email);
- $local_array = explode(".", $email_array[0]);
- for ($i = 0; $i < sizeof($local_array); $i++) {
- if (!ereg("^(([A-Za-z0-9!#$%&'*+/=?^_`{|}~-][A-Za-z0-9!#$%&'*+/=?^_`{|}~\.-]{0,63})|(\"[^(\\|\")]{0,62}\"))$", $local_array[$i])) {
- return false;
- }
- }
- if (!ereg("^\[?[0-9\.]+\]?$", $email_array[1])) { // Check if domain is IP. If not, it should be valid domain name
- $domain_array = explode(".", $email_array[1]);
- if (sizeof($domain_array) < 2) {
- return false; // Not enough parts to domain
- }
- for ($i = 0; $i < sizeof($domain_array); $i++) {
- if (!ereg("^(([A-Za-z0-9][A-Za-z0-9-]{0,61}[A-Za-z0-9])|([A-Za-z0-9]+))$", $domain_array[$i])) {
- return false;
- }
- }
- }
- return true;
- }
- // Get form settings and fields
- for ($i=0;$i<$FieldsNo;$i++)
- {
- if ( $FieldType[$i] ==3 )
- {
- // checkbox
- $FieldData[$i] = '';
- $Options = explode('|', $FieldTypeExt[$i]);
- $OptionsNo = count($Options);
- for ($j=0;$j<$OptionsNo;$j++)
- {
- $fd = trim($_POST['FieldData' . $i . '-' . $j]);
- $FieldData[$i] .= $fd;
- if ( ($j<($OptionsNo-1)) and ( $fd !='' ) ) $FieldData[$i] .= ', ';
- }
- }
- else $FieldData[$i] = trim($_POST['FieldData' . $i]);
- }
- if ( $HTTP_POST_VARS )
- {
- // Basic verifications of the form submitted, check if the version is ok
- // and the fields number corsesponds
- if ($FieldsNo <> count($FieldData))
- {
- echo 'Error: The number of submitted data fields ( ' . count($FieldData) . ' ) does not corespond to the form ( ' . $FName . ' wich has ' . $FieldsNo . ' fields ).';
- return 3;
- }
- $Hida2 = trim($_POST['hida2']);
- if ($Hida2 != '')
- {
- echo 'Error: Spam submission detected ).';
- return 4;
- }
- $mmsgt = 0;
- $verifyok = 1;
- $SpamScore = 0;
- $DupFields = 0;
- $Spam = 0;
- $Hida2 = trim($_POST['hida2']);
- if ($Hida2 != '')
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 1;
- }
- $SpamWord = array( 'http', 'URL', 'cialis', 'viagra', 'xxx', 'valium');
- for ($i=0;$i<$FieldsNo;$i++)
- if ($FieldType[$i]<6)
- {
- if ($FieldRequired[$i] == 1)
- {
- CheckTextSize($FieldData[$i], 1, 10000, ($i+1), $FieldName[$i]);
- if ( ($FMesFromT ==2) && ( $FMesFrom == $i ) ) CheckEmail($FieldData[$FMesFrom], 4, 64, ($i+1), $FieldName[$i]);
- }
- for ($j=0;$j<Count($SpamWord);$j++)
- {
- $SpamNo = substr_count($FieldData[$i],$SpamWord[$j]);
- $SpamScore = $SpamScore + $SpamNo;
- }
- for ($j=$i+1;$j<$FieldsNo;$j++)
- if ( ( ($FieldType[$i] ==1 ) or ( $FieldType[$i] ==2) ) and ( ($FieldType[$j] ==1 ) or ( $FieldType[$j] ==2) ) ) if ($FieldData[$i] != '' ) if ($FieldData[$i] == $FieldData[$j]) $DupFields = $DupFields + 1;
- }
- if ($SpamScore > 10)
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 2;
- }
- if ( $DupFields > $FieldsNo / 2)
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: Your submission is spam.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 3;
- }
- // check for new lines in inapropiate places
- // check for new lines in the From name and email
- if ($FMesFromT ==2)
- if (preg_match("/(%0A|%0D|\\n+|\\r+)/i",$FieldData[$FMesName] . $FieldData[$FMesFrom]))
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: The script has detected you as a spammer.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 6;
- }
- // check for new lines in the Subject
- if ($FMesSubjectT ==2)
- if (preg_match("/(%0A|%0D|\\n+|\\r+)/i",$FieldData[$FMesSubject]))
- {
- $mmsg[0] = $HtmlErrorStart . 'Error: The script has detected you as a spammer.' . $HtmlErrorEnd;
- $mmsgt = 1;
- $Spam = 7;
- }
- if ( ($mmsgt !=1) or ($Spam > 0 ) )
- {
- $mime_boundary=md5(time());
- // Prepare email
- $headers = "";
- if ($Spam == 0)
- {
- if ($FMesFromT ==1)
- $fromaddress = "Support Team <no-reply@globalvoipmobile.com>";
- elseif ($FMesFromT ==2)
- {
- $CustomerName = $FieldData[$FMesName];
- $CustomerEmail = $FieldData[$FMesFrom];
- $fromaddress = "$CustomerName <no-reply@Global VoIP Mobile.net>";
- }
- $headers .= "From: $fromaddress\r\n";
- $headers .= "Reply-To: $FieldData[$FMesName] <$FieldData[$FMesFrom]>\r\n";
- }
- else $headers .= "From: Global VoIP Mobile <no-reply@Global VoIP Mobile>\r\n";
- $subject = 'Feedback via the ' . $FName;
- if ($FMesSubjectT ==2)
- $subject = $FName . ': ' . $FieldData[$FMesSubject];
- if ($Spam > 0) $subject = $FName . ' Spam submission detected';
- $headers .= "Message-ID: <".time()."-@blueplaza.net>\r\n";
- $headers .= "X-Mailer: PHP v".phpversion()."\r\n";
- $headers .= "Content-Type: multipart/mixed; boundary=\"".$mime_boundary. '"' . "\r\n\r\n";
- $body = "--".$mime_boundary. "\r\n";
- $body .= "Content-Type: text/plain; charset=\"utf-8\"\r\n";
- $body .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
- if ($Spam > 0)
- {
- $body .= " The following submission has been detected as spam.\r\n";
- $body .= ' Spam type: ';
- switch ($Spam) {
- case 1 : $body .= "Bad hidden field\r\n\r\n"; break;
- case 2 : $body .= "Bad words detected\r\n\r\n"; break;
- case 3 : $body .= "Same data was filled in more than half fields\r\n\r\n"; break;
- case 4 : $body .= "Bad or invalid captcha code\r\n\r\n"; break;
- case 5 : $body .= "Unknown Ip\r\n\r\n"; break;
- case 6 : $body .= "Injection attack\r\n\r\n"; break;
- case 7 : $body .= "Injection attack\r\n\r\n"; break;
- }
- }
- for ($i=0;$i<$FieldsNo;$i++)
- if ($FieldType[$i]<6) $body .= $FieldName[$i] . ': ' . $FieldData[$i] . "\r\n";
- $body .= "---------------------------------------------------------------------\r\n";
- $body .= 'Visitor Ip: ' . $RealIp . "\r\n";
- $body .= "www.voiceprocess.net/ip-to-country.php\r\n";
- if ($FExporting == 1)
- {
- $body .= "*** Text Database Entry ***\r\n";
- for ($i=0;$i<($FieldsNo-1);$i++)
- $body .= '"' . $FieldName[$i] . '",';
- $body .= '"' . $FieldName[$FieldsNo-1] . '"' . "\r\n";
- for ($i=0;$i<($FieldsNo-1);$i++)
- $body .= '"' . $FieldData[$i] . '",';
- $body .= '"' . $FieldData[$FieldsNo-1] . '"' . "\r\n";
- }
- // Adding attachments
- for($i=0; $i<$FieldsNo; $i++)
- if ($FieldType[$i] == 6)
- {
- $fd = 'FieldData' . $i;
- if (is_uploaded_file($_FILES["$fd"][tmp_name]))
- {
- $handle=fopen($_FILES["$fd"][tmp_name], 'rb');
- $f_contents=fread($handle, filesize($_FILES["$fd"][tmp_name]));
- $f_contents=chunk_split(base64_encode($f_contents));
- $f_type=filetype($_FILES["$fd"][tmp_name]);
- fclose($handle);
- # Attachment
- $filename = $_FILES["$fd"][name];
- $body .= "--".$mime_boundary."\r\n";
- $body .= 'Content-Type: ' . $_FILES["$fd"][type] . '; name="' . $filename . '"' . "\r\n";
- $body .= "Content-Transfer-Encoding: base64\r\n";
- $body .= "Content-Description: $FieldName[$i]\r\n";
- $body .= 'Content-Disposition: attachment; filename="' . $filename . '"'."\r\n\r\n"; $body .= $f_contents."\r\n\r\n";
- }
- }
- # Finished
- $body .= "--".$mime_boundary."--\r\n\r\n"; // finish with two eol's for better security. see Injection.
- if ($Spam == 0)
- {
- // We try to send the email with verification code
- if (mail("$FEmail", $subject, $body, $headers) )
- if ( $SaveEmails == 1)
- {
- // The mail has been sent succesfuly, update the email table
- $query="UPDATE email SET Status='delivered', DateDelivered = NOW() WHERE EmailId='$EmailId'";
- mysql_query($query) or die(mysql_error());
- }
- }
- else if ($FSpamEmail != '') @mail("$FSpamEmail", $subject, $body, $headers);
- // If Sending a copy to visitor is checked and the field from where to get the visitor email
- // address is selected we send a copy to the visitor
- if ( ($FCopyToSender == 1) && ($FMesFromT ==2) AND ($Spam == 0) )
- {
- $headers = "From: $FFirstName $FLastName <no-reply@globalvoipmobile.net>\r\n";
- $headers = "Reply-to: $FFirstName $FLastName <$FEmail>\r\n";
- $subject = 'Thank you for your Inquiry!';
- if ($FMesSubjectT ==2)
- $subject .= ': ' . $FieldData[$FMesSubject];
- $body = 'Hello ' . $FieldData[$FMesName] . ",\r\n";
- $body .= "\r\n";
- $body .= "We have received your form submission. Thank you!
- A representative will call or email you to answer any questions or
- concerns you may have once you have reviewed the website below.\r\n \r\n";
- $body .= "Below is the data submitted:\r\n";
- $body .= "\r\n";
- for ($i=0;$i<$FieldsNo;$i++)
- if ( $FieldType[$i] <6 ) $body .= $FieldName[$i] . ': ' . $FieldData[$i] . "\r\n";
- $body .= "\r\n";
- $body .= "For more details about mobile media please visit:
- www.izigg.com/mobilepower
- To Our Success,
- Support Team
- \r\n";
- $body .= "$FFirstName $FLastName\r\n";
- // We try to send the email with verification code
- @mail("$FieldData[$FMesName] <$FieldData[$FMesFrom]>", $subject, $body, $headers);
- }
- if ($Spam == 0 )
- {
- // Redirect visitor if form was on site, or display an message if form was in window
- switch ($FDMode) {
- case 0 :
- case 1 :
- case 2 : $loc = 'Location: ' . $FWebsiteAfter;
- header($loc);
- exit;
- case 3: echo 'We received your message, thank you for contacting us.';
- }
- return 0;
- }
- }
- }
- // preparing font formating
- $ft = '<font';
- $sf = 0;
- if ($FFontFace != '' ) { $ft .= ' face="' . $FFontFace . '"'; $sf = 1; }
- if ($FFontSize != '' ) { $ft .= ' size="' . $FFontSize . '"'; $sf = 1; }
- if ($FColor != '' ) { $ft .= ' color="' . $FColor . '"'; $sf = 1; }
- if ($sf == 1 ) { $ft .= '>'; $fta = '</font>'; }
- else {$ft = ''; $fta = ''; }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Discover the Power of Mobile Media for Your Business!</title>
- <link href="globalvoip.ico" rel="shortcut Icon">
- <script type="text/javascript" src="izigg.js"></script>
- <style type="text/css">
- <!--
- .style1 {font-family: Verdana, Arial, Helvetica, sans-serif}
- .style2 {font-family: Verdana, Arial, Helvetica,font-size: 12px}
- .style3 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
- .style4 {color: #0000FF; Verdana, Arial, Helvetica, sans-serif; font-size: 12px;}
- -->
- .initial{
- background-image:url(images/submit.png); background-color: transparent; border:none; background-repeat:no-repeat; height:39px; width:99px}
- input:focus {border-color: #3333CC #6666FF #6666FF #3333FF; padding-left:2px; font-size:13px; font-family:Verdana}
- textarea:focus {border-color: #3333CC #6666FF #6666FF #3333FF; padding-left:2px; font-size:13px; font-family:Verdana}
- input {
- border-style: solid;
- border-width:1px;
- border-color: #999999 #CCCCCC #CCCCCC #999999;
- text-align: left;
- padding-left:2px;
- font-family: Verdana;
- font-size: 13px;
- font-weight: normal; color:#000000; background-color:#FFFFFF}
- input disabled {
- border-style: solid;
- border-width:1px;
- border-color: #999999 #CCCCCC #CCCCCC #999999;
- text-align: left;
- padding-left:2px;
- font-family: Verdana;
- font-size: 13px;
- font-weight: normal; color:#000000; background-color:#FFFFFF}
- textarea {
- border-style: solid;
- border-width:1px;
- border-color: #999999 #CCCCCC #CCCCCC #999999;
- text-align: left;
- padding-left:2px;
- font-family: Verdana;
- font-size: 13px;
- font-weight: normal;}
- </style>
- <script type="text/javascript"><!--
- /***********************************************
- * Rollover background-image button- © Dynamic Drive (www.dynamicdrive.net)
- * This notice must stay intact for use
- * Visit http://www.dynamicdrive.net/ for full source code
- ***********************************************/
- //Specify optional button target: "_new" for new window, or name of FRAME target (ie "myframe")
- var buttontarget=""
- function change(e, image){
- var el=window.event? event.srcElement: e.target
- if (el.tagName=="INPUT"&&el.type=="image")
- el.style.backgroundImage="url"+"('"+image+"')"
- }
- //--></script>
- </head>
- <body> <form method="post" name="validate" action="izigg_query2b.php" enctype="multipart/form-data" onmouseover="change(event,'images/submit1.png')" onmouseout="change(event,'images/submit.png')" onkeyup="highlight(event)" onclick="highlight(event)">
- <tr>
- <td width="24" background="images/topleft.png"> </td>
- <td height="24" colspan="2" background="images/topmid.png" style="background-repeat:repeat-x"></td>
- <td width="24" background="images/topright.png"> </td>
- </tr>
- <tr>
- <td width="24" height="155" style="background-image:url(images/left.png); background-repeat:repeat-y"> </td>
- <td colspan="2" valign="top" background="images/inner.png" class="style17">
- <div align="left"><span class="style13"><span class="style18" style="padding-left:20px"><a href="#" onmouseover="Tip('Your information will be kept confidential and secure. We respect your privacy.', CLOSEBTN, false, SHADOW, true, TITLE, 'Data Security', STICKY, false, PADDING, 9, OFFSETY, 20, OPACITY, 90)" onmouseout="UnTip()"><img src="images/lock.png" width="15" height="19" border="0"></a></span> </span><span class="style4">*</span><span class="style3"> = Required Fields</span></div>
- <br />
- <table width="734" border="0" align="center">
- <tr>
- <td width="485" valign="top"><table width="541" border="0" align="center" cellpadding="3" cellspacing="0">
- <tr>
- <td bgcolor="#F9F9F9"><div align="right" id="FieldData0"><span class="style13 style4">*</span><span class="style3">First & Last Name</span></div></td>
- <td bgcolor="#F9F9F9"><div align="left">
- <input name="FieldData0" type="text" value="<? echo $FieldData[0] ?>" size="20" />
- </div></td>
- </tr>
- <tr>
- <td class="style17 style1 style2"><div align="right" class="style3" id="FieldData1"><span class="style13 style4">*</span>Email</div>
- <div id="idmail" style="color:#CC6600; display:none; text-align:left">Please enter in a valid email. We respect your privacy. See <span class="small"><a href="javascript:openWin('privacy.html')">Privacy Page</a></span> for more details.</div></td>
- <td valign="top"><input name="FieldData1" type="text" value="<? echo $FieldData[1] ?>" size="20" /></td>
- </tr>
- <tr>
- <td bgcolor="#F9F9F9" class="style17"><div align="right" class="style3" id="FieldData2"><span class="style4">*</span>Cell Phone </div></td>
- <td bgcolor="#F9F9F9"><input name="FieldData2" type="text" value="<? echo $FieldData[2] ?>" size="20" /></td>
- </tr>
- <tr>
- <td class="style17"><div align="right" class="style3" id="FieldData3">Work Phone </div></td>
- <td><input name="FieldData3" type="text" id="FieldData3" value="<? echo $FieldData[3] ?>" size="20" /></td>
- </tr>
- <tr>
- <td nowrap="nowrap" bgcolor="#F9F9F9" class="style17"><div align="right" class="style3" id="FieldData4"><span class="style4">*</span>Best Time to Reach You </div></td>
- <td bgcolor="#F9F9F9"><input name="FieldData4" type="text" value="<? echo $FieldData[4] ?>" size="20" /></td>
- </tr>
- <tr>
- <td align="left" nowrap="nowrap" id="FieldData5"><div align="right"><span class="style4">*</span><span class="style3">Are you curently using mobile media? </span></div></td>
- <td><select name="FieldData5">
- <option value="">Select</option>
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select>
- <div></div></td>
- </tr>
- <tr>
- <td width="326" nowrap="nowrap" bgcolor="#F9F9F9" class="style17" id="FieldData6"><div align="right"><span class="style4">*</span><span class="style3">Are you curently using marketing lists?</span></div></td>
- <td width="203" nowrap="nowrap" bgcolor="#F9F9F9" class="style15"><select name="FieldData6">
- <option value="">Select</option>
- <option value="Yes">Yes</option>
- <option value="No">No</option>
- </select></td>
- </tr>
- <tr>
- <td><div align="right" class="style3" id="FieldData7"><span class="style4">*</span>Business or Industry Type </div></td>
- <td valign="top"><input name="FieldData7" type="text" value="<? echo $FieldData[7] ?>" size="20" /></td>
- </tr>
- <tr>
- <td bgcolor="#F9F9F9"><div align="right" class="style3" id="FieldData8" ><span class="style4">*</span>Company Name </div></td>
- <td valign="top" bgcolor="#F9F9F9"><input name="FieldData8" type="text" value="<? echo $FieldData[8] ?>" size="20" /></td>
- </tr>
- <tr>
- <td><div align="right" class="style3" id="FieldData9">Company Website </div></td>
- <td valign="top"><input name="FieldData9" type="text" value="<? echo $FieldData[9] ?>" size="20" /></td>
- </tr>
- <tr>
- <td bgcolor="#F9F9F9"><div align="right" class="style3" id="FieldData10" ><span class="style4">*</span>Monthly Marketing Budget $ </div></td>
- <td valign="top" bgcolor="#F9F9F9"><input name="FieldData10" type="text" value="<? echo $FieldData[10] ?>" size="20" /></td>
- </tr>
- <tr>
- <td valign="top"><div align="right" class="style3" id="FieldData11"><span class="style4">*</span>Marketing Methods Currently Used </div></td>
- <td valign="top"><label>
- <textarea name="FieldData11"><? echo $FieldData[11] ?></textarea>
- </label></td>
- </tr>
- <tr>
- <td valign="top" bgcolor="#F9F9F9"><div align="right" class="style3" id="FieldData12">Comments</div></td>
- <td valign="top" bgcolor="#F9F9F9"><textarea name="FieldData12"><? echo $FieldData[12] ?></textarea></td>
- </tr>
- <tr>
- <td valign="top"> </td>
- <td valign="top"><div align="left">
- <input name="image" type="image" class="initial" onclick="return CheckTheForm();" value="" src="images/send1.png" alt="submit" />
- <br />
- <br />
- <a href="http://www.izigg.com/mobilepower" target="_blank" class="style3">Take me straight to the details and I'll fill this out after! </a><br />
- </div></td>
- </tr>
- </table></td>
- <td width="19" valign="top"><img src="images/spacer.gif" alt="" width="19" height="7" /></td>
- <td width="216" align="right" valign="top"><img src="images/globe.jpg" width="216" height="233" /></td>
- </tr>
- </table>
- </td>
- <td style="background-image:url(images/right.png); background-repeat:repeat-y" width="24"></td>
- </tr>
- <tr>
- <td width="24" height="23"> </td>
- <td colspan="2" background="images/bottom.png"> </td>
- <td width="24"> </td>
- </tr>
- <tr>
- <td height="23" colspan="4"> </td>
- </tr>
- </form>
- <div style="visibility:hidden"><img src="images/submit1.png" width="99" height="39" alt="over"/></div>
- <script type="text/javascript" src="wz_tooltip.js"></script>
- </body>
- </html>