MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb/b1705/englobatrading.com/intelimerc.com/libs/
File Upload :
Current < : /hermes/bosweb/b1705/englobatrading.com/intelimerc.com/libs/getForm.php

<!-- 
sitio:		www.interlimec.com
file:		index.php
realizado por: 	iridizen.com
programador:	Ing. Daniel Castillo Torres
Fecha: 		16/01/12
-->

<?php
	function getForm($leng){
		$formulario;

if($leng=="EN"){
		$arrInfContacto = array("CONTACT INFORMATION",
								"Company name:",
								"Main line of business:",
								"City and Country:",
								"Telephone(s):",
								"Name of contact person:",
								"Email address:",
								"How did you get to know about InteliMerc?"
							);
		
		$arrProduct = array("YOUR PRODUCT OR SERVICE",
								"Main product or service:",
								"Trademark(s) or commercial name(s):",
							);
		
		$arrAmbito = array("SCOPE",
								"Your commercial channel is:<br />Example: direct sales, network marketing, retail, wholesale, pharma, supermarket, others",
								"Your main market(s) is(are):<br />Ex: (please detail country, geographical region, states, cities)",
								"Other (secondary) market(s):<br />Ex: México, Central America, South America, Caribbean, etc",
								"Do you import?<br />Ex: Yes / No (raw materials / finished products)",
								"Do you export directly?<br />Ex: Yes / No (please mention destinations)",
							);		
}
else{
          $arrInfContacto = array(" ",
								"Nombre de la Empresa:",
								"Giro Principal:",
								"Ciudad:",
								"Tel&eacute;fonos:",
								"Nombre Persona de contacto:",
								"Correo Electr&oacute;nico",
								"&iquest;C&oacute;mo se enter&oacute; de Intelimerc?"
							);
		
		$arrProduct = array("Su Producto o Servicio",
								"Producto o Servicio Principal es:",
								"Marca(s) o nombre(s) comercial(es):",
							);
		
		$arrAmbito = array("Ambito",
								"Su Canal Comercial es:<br />Ejs: ventas directas, mercadeo en red, retail, mayorista, abarrotero, farmac&eacute;utico u otro(s)",
								"Su mercado principal actual es:<br />Ej: M&eacute;xico (detallar regi&oacute;n geogr&aacute;fica, <br />estados y/o ciudades)",
								"Otro(s) mercado(s) secundario(s)<br />Ej: Estados Unidos, Guatemala, Centro Am&eacute;rica:",
								"&iquest;Importa Actualmente?<br />Ej: S&iacute; / No (materias primas / productos
 terminados)",
								"&iquest;Exporta o ha exportado Directamente?<br />Ej: S&iacute; / No (materias primas / productos
 terminados)",
							);


}		//end ELSE



if($leng=="EN"){
                $formulario = $formulario.crearTabla($arrInfContacto);
		$formulario = $formulario.crearTabla($arrProduct);
		$formulario = $formulario.crearTabla($arrAmbito);
		
		$formulario = $formulario."<br /><p><b>Project</b></p><br />
							<p>Briefly describe your project of interest. Please mention country(ies) or market(s) of your initial interest.</p>
							<table class='tableComents'>
								<tr>
									<td>Message</td>
									<td><textarea name='contacto[]' cols='60' rows='10'></textarea></td>
								</tr>
							</table>
							
							";

}
else{
	        $formulario = $formulario.crearTabla($arrInfContacto);
		$formulario = $formulario.crearTabla($arrProduct);
		$formulario = $formulario.crearTabla($arrAmbito);
		
		$formulario = $formulario."<br /><p><b>Proyecto</b></p><br />
							<p>Describa brevemente el proyecto que le interesa prospectar para llevar a cabo, mencionando los pa&iacute;ses o mercados de su inter&eacute;s inicial</p>
							<table class='tableComents'>
								<tr>
									<td>Mensaje</td>
									<td><textarea name='contacto[]' cols='60' rows='10'></textarea></td>
								</tr>
							</table>
							
							";	
}		
	return $formulario;
	}
	
	
	
	
	function crearTabla(array $arreglo){
		$formulario = ("
						<table class='tableContacto'>
							<th>
								".$arreglo[0]."
							</th>");
							
		for($i=1;$i<count($arreglo);$i++)
		{
			$formulario = $formulario.
			"<tr>
				<td>$arreglo[$i]</td>
				<td><input type='text' name='contacto[]' /></td>
			</tr>";
		}
		
		$formulario = $formulario."</table>";
	
		return $formulario;
	
	}
	
?>