function setcookies() { $crypt = new Encryption(); foreach ($this->array as $key => $value) { setcookie($this->name . "[{$key}]", $crypt->encode($value), time() + TIMEOUT); } }
/** * Tests encryption */ public function testEncrypt() { $string = "this is a test string"; $enc = new Encryption(); $encrypted = $enc->encode($string); $this->assertTrue($encrypted != $string); $unencrypted = $enc->decode($encrypted); $this->assertTrue($unencrypted == $string); }
public function check_login($username, $password) { $encryption = new Encryption(); $password = $encryption->encode($password); $this->db->where('username', $username); $this->db->where('password', $password); $this->db->where('status', '1'); $this->db->where('backend_login', '1'); $results = $this->db->getOne("users"); if ($results) { $_SESSION['login'] = true; $_SESSION['user_logged_in_name'] = $results['name'] . " " . $results['lastname']; $_SESSION['user_id'] = $results['id']; create_log_action($_SESSION['user_id'], 'User Logged in!'); return true; } else { return false; } }
function Auth() { global $nombre, $password, $status_msg, $UserID, $UserTpo, $UserApe, $UserNom; include "conexion.php"; /*/echo "autorizo<br>";*/ require dirname(__FILE__) . '/class/Encryption.php'; if ($nombre == "" or $password == "") { $status_msg .= " Datos incorrectos<br />"; $nombre = ""; $password = ""; return false; } $nombre = htmlspecialchars($_POST['nombre']); /* $password = md5 (htmlspecialchars($_POST['password']));*/ $posicion = strpos($nombre, '@'); /*echo $posicion."<br>";*/ /*/ Seguidamente se utiliza ===. La forma simple de comparacion (==)*/ /*/ no funciona como deberia, ya que la posicion de 'a' es el caracter*/ /*/ numero 0 (cero)*/ if ($posicion === false and $nombre != 'Admin') { $status_msg .= " Datos incorrectos<br />"; $nombre = ""; $password = ""; return false; } else { $str = $_POST['password']; $converter = new Encryption(); /*Para recuperar contraseña*/ // echo $encoded = $converter->encode($str ); $encoded = $converter->encode($str); $c_usuario = "SELECT * FROM `clientes` WHERE `email`='{$nombre}' AND `contrasenia`='{$encoded}'"; $r_usuario = @mysql_query($c_usuario, $conectar) or die(mysql_error()); if (mysql_num_rows($r_usuario) >= 1) { $r_ok = @mysql_fetch_array($r_usuario); if ($r_ok['email'] != $nombre && $r_ok['contrasenia'] != $encoded) { $status_msg .= $r_ok['email'] . " Datos incorrectos<br />"; $nombre = ""; $password = ""; //return false; } else { $UserID = $r_ok['codcliente']; $UserTpo = $r_ok['tipo']; $UserNom = $tratamiento . " " . $r_ok['nombre']; $UserApe = $r_ok['apellido']; return true; } } else { if ($_POST['password'] == 'admin' and $nombre == 'Admin') { $UserID = '2'; $UserTpo = '2'; $UserNom = $nombre; $UserApe = $nombre; return true; } } } }
/** * Generates the auth ticket */ public function build_session() { // for development if (defined('ORIGIN_IP_ADDRESS')) { $ipaddy = ORIGIN_IP_ADDRESS; } else { $ipaddy = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : ''; } $ticket = implode('|@@!@@|', array(serialize($this->data), time() + $this->duration, $ipaddy)); $ticket .= "|@@!@@|" . md5($ticket . $this->salt); $encrypter = new Encryption(); $ticket = $encrypter->encode($ticket); return $ticket; }
} if (!is_dir('output')) { mkdir('output'); } if (!is_dir('output/' . $uid)) { mkdir('output/' . $uid); } $exts = explode('.', $_FILES['uploadfiles']["name"][$i]); $exten = '.' . $exts[count($exts) - 1]; $altername = $alias . $exten; move_uploaded_file($_FILES['uploadfiles']["tmp_name"][$i], "input/" . $uid . "/" . $_FILES['uploadfiles']["name"][$i]); rename("input/" . $uid . "/" . $_FILES['uploadfiles']["name"][$i], "input/" . $uid . "/" . $altername); $mainfile = "input/" . $uid . "/" . $altername; $str = file_get_contents($mainfile); $converter = new Encryption(); $encoded = $converter->encode($str, $skey); $fp = fopen($mainfile, 'wb'); fwrite($fp, $encoded); fclose($fp); $post['udate'] = date('Y-m-d H:i:s'); $post['keyid'] = $skey; $post['user_id'] = $uid; $post['filename'] = $altername; $post['title'] = $_POST['filename'][$i]; $fieldnames = ''; $fieldvalues = ''; $cnt = 1; foreach ($post as $key => $value) { if ($cnt == 1) { $fieldnames .= "`{$key}`"; $fieldvalues .= "'{$value}'";
private static function hashedPassword($password) { //equation left side md5 password and add static salt for it then multiple in hashing class the right side of algorithm $hashing = new Encryption(); return $hashing->encode(md5($password . self::SALT)); }
function encrypt_doc_url($str) { $enc_file = ConvertDirectoryPath(plugin_dir_path(__FILE__) . "urlencode.php"); $str = str_replace("\\", "/", $str); if (file_exists($enc_file)) { require_once $enc_file; $enc = new Encryption(); $str = $enc->encode($str); } return $str; }
</head> <body> <?php include 'inc/header.php'; ?> <div class="container"> <div> <table> <thead> <tr><th>Status</th><th>Creation Date</th><th>Client</th><th>Link</th><th>Download</th><th>Email</th><th>Remove</th><th>Edit</th></tr> </thead> <?php if ($db->count > 0) { foreach ($contracts as $contract) { $link = $encrypt->encode($contract['id']); echo "<tr id={$contract['id']}>"; if ($contract['sec_signed']) { echo "<td><span class='label label-success'>Complete</span></td>"; } else { if ($contract['first_signed']) { echo "<td><span class='label label-warning' >Stage 1</span></td>"; } else { if ($contract['client_name'] != null) { echo "<td><span class='label label-default' data-container=\"body\" data-toggle=\"popover\" trigger='focus' data-placement=\"right\" data-html='true' data-title='New User registed in this contract:' data-content=\"<b>" . $contract['client_name'] . "</b><br><a href='mailto:" . $contract['client_email'] . "'>" . $contract['client_email'] . "</a><br><i>" . $contract['client_title'] . "</i><br>" . $contract['client_company'] . "\">Stage 0</span></td>"; } else { echo "<td></td>"; } } } echo "<td>{$contract['date']}</td>\n <td>{$contract['client']}</td>\n <td><a href='contract.php?id={$link}'>contract.php?id={$link}</a></td>\n <td><a href='assets/contracts/download.php?client=" . $contract['folder'] . "' class='btn btn-info btn-xs'>Download</a></td>\n <td><a href='' data-link='{$link}' data-client='" . $contract['client_email'] . "' data-ignitor='" . $contract['ignitor_name'] . "' data-email='" . $contract['ignitor_email'] . "' class='btn btn-default btn-xs email'>Email</a></td>\n <td><img style='display:none' src='assets/img/loading.gif'/><button class='btn btn-danger btn-xs remove'>Remove</button></td>\n <td><a href='edit.php?id={$link}' class='btn btn-warning btn-xs edit'>Edit</a></td>";
function generate_forget_password_url($email) { global $base_path; $converter = new Encryption(); $encode = $converter->encode($email . CHANGE_PW_SEPARATOR . time()); $url = "http://" . $_SERVER['HTTP_HOST'] . $base_path . "forget_password/" . $encode; return $url; }
public function __beforeAction() { // User authentication $user_model = new User_Model(); User_Model::$auth_status = User_Model::AUTH_STATUS_NOT_LOGGED; // Authentication by post if (isset($_POST['username']) && isset($_POST['password'])) { $username = $_POST['username']; $password = $_POST['password']; try { if (!preg_match('#^[a-z0-9-]+$#', $username)) { throw new Exception('Invalid username'); } if ($user_model->authenticate($username, $password)) { User_Model::$auth_status = User_Model::AUTH_STATUS_LOGGED; // Write session and cookie to remember sign-in Cookie::write('login', Encryption::encode($username . ':' . $password), 60 * 24 * 3600); Session::write('username', $username); } else { throw new Exception('Bad username or password'); } } catch (Exception $e) { User_Model::$auth_status = User_Model::AUTH_STATUS_BAD_USERNAME_OR_PASSWORD; Cookie::delete('login'); Session::delete('username'); } } else { // Authentication by session if (($username = Session::read('username')) !== null) { try { $user_model->loadUser($username); User_Model::$auth_status = User_Model::AUTH_STATUS_LOGGED; } catch (Exception $e) { Session::delete('username'); Cookie::delete('login'); } // Authentication by cookies } else { if (($login = Cookie::read('login')) !== null) { try { if (isset($login) && ($login = Encryption::decode($login))) { $login = explode(':', $login); $username = $login[0]; if (!preg_match('#^[a-z0-9-]+$#', $username)) { throw new Exception('Invalid username'); } array_splice($login, 0, 1); $password = implode(':', $login); if ($user_model->authenticate($username, $password)) { User_Model::$auth_status = User_Model::AUTH_STATUS_LOGGED; // Write session to remember sign-in Session::write('username', $username); } else { throw new Exception('Bad username or password'); } } else { throw new Exception('Invalid user cookie'); } } catch (Exception $e) { Cookie::delete('login'); } } } } }
$localidad = $_POST["alocalidad"]; $codprovincia = $_POST["cboProvincias"]; $codformapago = $_POST["cboFPago"]; $codentidad = $_POST["cboBanco"]; $cuentabanco = $_POST["acuentabanco"]; $codpostal = $_POST["acodpostal"]; $telefono = $_POST["atelefono"]; $movil = $_POST["amovil"]; $email = $_POST["aemail"]; $web = $_POST["aweb"]; $tipo = $_POST["Ttipo"]; $horas = $_POST["nhoras"]; $contrasenia = $_POST["contrasenia"]; $cadena_busqueda = $_POST["cadena_busqueda"]; $converter = new Encryption(); $contrasenia = $converter->encode($contrasenia); $secQ = $_POST["secQ"]; $secA = $_POST["secA"]; $service = $_POST["service"]; if ($accion == "alta") { $query_operacion = "INSERT INTO clientes (codcliente, nombre, apellido, empresa, nif, direccion, codprovincia, localidad, \n\tcodformapago, codentidad, cuentabancaria, codpostal, telefono, movil,\n\t email, web, tipo, contrasenia, sessionid, secQ, secA, service, horas, borrado) VALUES \n\t ('', '{$nombre}', '{$apellido}', '{$empresa}', '{$nif}', '{$direccion}', '{$codprovincia}', '{$localidad}',\n\t '{$codformapago}', '{$codentidad}', '{$cuentabanco}', '{$codpostal}', '{$telefono}', '{$movil}',\n\t '{$email}', '{$web}', '{$tipo}', '{$contrasenia}', '{$sessionid}', '{$secQ}', '{$secA}', '{$service}', '{$horas}', '0')"; $rs_operacion = mysql_query($query_operacion); if ($rs_operacion) { $mensaje = "El cliente ha sido dado de alta correctamente"; } $cabecera1 = "Inicio >> Clientes >> Nuevo Cliente "; $cabecera2 = "INSERTAR CLIENTE "; $sel_maximo = "SELECT max(codcliente) as maximo FROM clientes"; $rs_maximo = mysql_query($sel_maximo); $codcliente = mysql_result($rs_maximo, 0, "maximo"); }
function encodeMessage($message) { return Encryption::encode($message, $this->getAppId()); }
function systemStatusUpdateEmail($id, $message) { $db = new MysqliDb(); $db->where('id', $_GET['id']); $contract = $db->getOne('contracts'); $to = $contract['client_email']; $subject = ""; $encrypt = new Encryption(); $link = $encrypt->encode($id); $message = "Updates have been made to one or more of your documents. Please click the link below to review and approve the changes.\n http://" . $_SERVER['HTTP_HOST'] . "/contract_gen/contract.php?id=" . $link; $headers = 'From: support@ignitorlabs.com' . "\r\n" . 'Reply-To: ' . $contract['ignitor_email'] . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); }
function SendPaymentRequest($id_invoice, $mode = 'paypal') { $Invoice = new Facture(); $invoice = $Invoice->getInfos($id_invoice); $client = new Client($invoice->id_client); $societe = GetCompanyInfo(); $q = "SELECT value FROM webfinance_pref WHERE type_pref='mail_paypal_" . $invoice->language . "'"; $result = mysql_query($q) or die(mysql_error()); list($data) = mysql_fetch_array($result); $pref = unserialize(base64_decode($data)); $varlink = $id_invoice . '|' . $invoice->id_client; $converter = new Encryption(); $encoded_varlink = $converter->encode($varlink); $link = $societe->wf_url . "/payment/?id={$encoded_varlink}"; $mails = array(); $from = ''; $fromname = ''; $subject = ''; $patterns = array('/%%NUM_INVOICE%%/', '/%%CLIENT_NAME%%/', '/%%URL_PAYPAL%%/', '/%%AMOUNT%%/', '/%%COMPANY%%/'); $replacements = array($invoice->num_facture, $invoice->nom_client, $link, $invoice->nice_total_ttc, $societe->raison_sociale); $body = stripslashes(preg_replace($patterns, $replacements, stripslashes(utf8_decode($pref->body)))); if (!$Invoice->sendByEmail($id_invoice, $mails, $from, $fromname, $subject, $body)) { die(_('Invoice was not sent')); } return $link; }
<br> <input type="submit" name="meethalfwaySearch" id="meethalfwaySearch" class="btn btn-primary " value="Search" /> </form> </div> <?php require_once 'rendezvousClass.php'; $data_rendezvous = new Rendezvous(); $uid = $data_rendezvous->getUserId($_SESSION['username']); $meetHalfWayResult = $data_rendezvous->getSaveMeetSearch($uid); echo '<br/><br/><table class="table">'; echo "<h3>Last Searches</h3>"; for ($i = 0; $i < sizeof($meetHalfWayResult); $i++) { $encryption = new Encryption(); $query = "lat=" . $encryption->encode($meetHalfWayResult[$i]['latitude']) . "&lng=" . $encryption->encode($meetHalfWayResult[$i]['longitude']) . "&rating=" . $encryption->encode($meetHalfWayResult[$i]['rating']) . "&radius=" . $encryption->encode($meetHalfWayResult[$i]['radius']) . "&lat1=" . $encryption->encode($meetHalfWayResult[$i]['lat1']) . "&lng1=" . $encryption->encode($meetHalfWayResult[$i]['lng1']) . "&lat2=" . $encryption->encode($meetHalfWayResult[$i]['lat2']) . "&lng2=" . $encryption->encode($meetHalfWayResult[$i]['lng2']); //$l_encrypted = $encryption->encode($query); echo '<td> <a href="meethalfwayoutput.php?' . $query . '">' . $meetHalfWayResult[$i]['displayName'] . '</a></td></tr>'; } echo '</table>'; ?> </div> <div id="contents" > <div id="googleMap"></div> <div id="output"> <?php function sendLatLng($data_foursq, $lat, $lng, $radius, $rating, $lat1, $lng1, $lat2, $lng2) { $result = $data_foursq->latLongRadiusRating($lat, $lng, $radius, $rating);
<?php if ($_SERVER['REQUEST_METHOD'] && $_SERVER['REQUEST_METHOD'] == 'POST') { !isset($_POST['status']) ? $status = 1 : ($status = $_POST['status']); $encryption = new Encryption(); if (isset($_GET['id'])) { $insert = array("name" => post_text_variable($_POST['name']), "lastname" => post_text_variable($_POST['lastname']), "email" => post_text_variable($_POST['email']), "username" => post_text_variable($_POST['username']), "backend_login" => $_POST['backend_login'], "status" => $status, "date_created" => date("Y-m-d H:i:s")); $db->where('id', $_GET['id']); $res = $db->update('users', $insert); $action_msg = 'User <b>' . $_POST['name'] . '</b> Updated!'; $res ? $_SESSION['result'] = array('res' => 'gritter-success', 'msg' => $action_msg) : ($_SESSION['msg'] = array('res' => 'gritter-danger', 'msg' => 'Not updated! Please try again!')); } else { $password = $encryption->encode($_POST['password']); $insert = array("name" => post_text_variable($_POST['name']), "lastname" => post_text_variable($_POST['lastname']), "email" => post_text_variable($_POST['email']), "username" => post_text_variable($_POST['username']), "password" => $password, "backend_login" => $_POST['backend_login'], "status" => '1', "date_created" => date("Y-m-d H:i:s")); $res = $db->insert("users", $insert); $action_msg = 'User <b>' . $_POST['name'] . '</b> Added!'; $res ? $_SESSION['result'] = array('res' => 'gritter-success', 'msg' => $action_msg) : ($_SESSION['msg'] = array('res' => 'gritter-danger', 'msg' => 'Not added! Please try again!')); } create_log_action($_SESSION['user_id'], $action_msg); echo '<meta http-equiv="refresh" content="0;url=' . BASEURL . 'user/search">'; }
<?php session_start(); require_once "lib/config.inc.php"; require_once "lib/classes/User.php"; require_once "lib/encryption.inc.php"; $encryptObj = new Encryption(); $UserObj = new User(); $UserObj->validateUserLogin(); $commonObj->cleanInput(); if (isset($_POST['submitForm']) && $_POST['submitForm'] == "yes") { $old_password = $encryptObj->encode($_POST['old_password']); $new_password = $encryptObj->encode($_POST['new_password']); $UserObj->changePassword($old_password, $new_password); } ?> <!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> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><?php echo ucfirst(SITE_TITLE); ?> </title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" /> <script> function validateFrm(obj) { var errArr = new Array();
<?php session_start(); require_once "../lib/config.inc.php"; require_once "../lib/classes/Admin.php"; require_once "../lib/classes/User.php"; require_once "../lib/encryption.inc.php"; $UserObj = new User(); $adminObj = new Admin(); $encryptObj = new Encryption(); $adminObj->validateAdmin(); $commonObj->cleanInput(); if (isset($_POST['submitForm']) && $_POST['submitForm'] == 'Yes') { if (!empty($_POST['uid']) && $_POST['uid'] != null) { $PASS = $encryptObj->encode($_POST['password']); $UserObj->updateUser($_POST, $PASS); } else { $PASS = $encryptObj->encode($_POST['password']); $UserObj->AddUser($_POST, $PASS); } } if (isset($_GET['uid'])) { $line = $UserObj->getUser(intval($_GET['uid'])); } ?> <!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> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"><link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
$uid = $data_rendezvous->getUserId($_SESSION['username']); $data_rendezvous->getSaveMeetSearch($uid); ?> </form> </div> <?php if (isset($_SESSION['login'])) { require_once 'rendezvousClass.php'; $data_rendezvous = new Rendezvous(); $uid = $data_rendezvous->getUserId($_SESSION['username']); $basicResult = $data_rendezvous->getSavedBasicSearch($uid); echo '<br/><br/><table class="table">'; echo "<h3>Last Searches</h3>"; for ($i = 0; $i < sizeof($basicResult); $i++) { $encryption = new Encryption(); $query = "venue=" . $encryption->encode($basicResult[$i]['venueName']) . "&city=" . $encryption->encode($basicResult[$i]['city']); //$l_encrypted = $encryption->encode($query); echo '<td> <a href="basicSearchOutput.php?' . $query . '">' . $basicResult[$i]['displayName'] . '</a></td></tr>'; } echo '</table>'; } ?> </div> <div id="contents" > <div id="googleMap"></div> <div id="output"> <?php function sendNameCity($data_foursq, $name, $city) {
function updateUserPassword($userID, $password, $key) { global $mySQL; if (checkEmailKey($key, $userID) === false) { return false; } if ($SQL = $mySQL->prepare("UPDATE `contactos` SET `contrasenia` = ? WHERE `oid` = ?")) { $converter = new Encryption(); $password = $converter->encode($password); echo $password; //$password = md5(trim($password) . PW_SALT); $SQL->bind_param('si', $password, $userID); $SQL->execute(); $SQL->close(); $SQL = $mySQL->prepare("DELETE FROM `recoverymail` WHERE `Key` = ?"); $SQL->bind_param('s', $key); $SQL->execute(); } }
if ($objlatlng1['status'] == "OK") { $lat1 = $objlatlng1['results']['0']['geometry']['location']['lat']; $lng1 = $objlatlng1['results']['0']['geometry']['location']['lng']; } else { echo "address 1 incorrect,please try again !!"; } $resp_latlnggoogle2 = file_get_contents("https://maps.googleapis.com/maps/api/geocode/json?address={$newAddress2}&key=AIzaSyCqt0V2s8VlZHYEjC2k1k_rWhcSDVFxwfg"); $objlatlng2 = json_decode($resp_latlnggoogle2, true); if ($objlatlng2['status'] == "OK") { $lat2 = $objlatlng2['results']['0']['geometry']['location']['lat']; $lng2 = $objlatlng2['results']['0']['geometry']['location']['lng']; } else { echo "address 2 is incorrect, please try again !!"; } require_once 'rendezvousClass.php'; $data_rendezvous = new Rendezvous(); $result_latlong = $data_rendezvous->meetHalwayCalculation($lat1, $lng1, $lat2, $lng2); $latlong = explode(",", $result_latlong); $midlat = $latlong[0]; $midlong = $latlong[1]; $encryption = new Encryption(); $query = "lat=" . $encryption->encode($midlat) . "&lng=" . $encryption->encode($midlong) . "&rating=" . $encryption->encode($rating) . "&radius=" . $encryption->encode($radius) . "&lat1=" . $encryption->encode($lat1) . "&lng1=" . $encryption->encode($lng1) . "&lat2=" . $encryption->encode($lat2) . "&lng2=" . $encryption->encode($lng2); header('Location: meethalfwayoutput.php?' . $query); $uid = $data_rendezvous->getUserId($_SESSION['username']); $displayName = "{$address1},{$address2}"; $data_rendezvous->insertMeetSearch($uid, $midlat, $midlong, $rating, $radius, $displayName, $lat1, $lng1, $lat2, $lng2); } } ?> </body> </html>
<?php session_start(); require_once "lib/config.inc.php"; require_once "lib/classes/User.php"; require_once "lib/encryption.inc.php"; $userObj = new User(); $commonObj->clearCache(); if (isset($_POST["frmSubmit"]) && $_POST["frmSubmit"] == "yes") { $encryptObj = new Encryption(); $user_pin = $commonObj->praseData($_POST["user_pin"]); $password = $encryptObj->encode($commonObj->praseData($_POST["password"])); $userObj->login($user_pin, $password); } ?> <!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>Welcome To <?php echo SITE_TITLE; ?> </title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" /> <style> input[type="text"],input[type="Password"] { padding: 9px; width: 90%; font-size: 1.1em; border: 2px solid#EAEEF1;