
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>ROBIPOS</title>
		
		<meta name="description" content="<?php echo $this->lang->line('header_desc'); ?>">
		<meta name="keywords" content="<?php echo $this->lang->line('header_keywords'); ?>">

		
		<link href="<?php echo base_url(); ?>assets/bootstrap/css/bootstrap1.css" rel="stylesheet">
		<link href="<?php echo base_url(); ?>assets/bootstrap/css/bootstrap1.min.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/bootstrap/css/simple-sidebar.css" rel="stylesheet">
    <link href="<?php echo base_url(); ?>assets/font-awesome/css/font-awesome.min.css" rel="stylesheet">
	 <script src="<?php echo base_url(); ?>assets/bootstrap/js/jquery-3.1.1.min.js"></script>
    <script src="<?php echo base_url(); ?>assets/bootstrapjs/bootstrap.min.js"></script>
   				<script src="<?php echo base_url(); ?>js/all.js?14.1" type="text/javascript" language="javascript" charset="UTF-8"></script>
 
  		<link rel="stylesheet" href="<?php echo base_url(); ?>assets/csst/main.css">
	<link href="<?php echo base_url(); ?>assets/csst/style.css" rel='stylesheet' type='text/css' />

		

	
	<?php

				//$this->load->helper('cookie');

	//	$cookie_name = "user";
//$cookie_value = "John Doe";
//setcookie($cookie_name, $cookie_value, time() + (86400 * 30), "/"); // 86400 = 1 day

$finalsalesid = session_id();

 $cookie= array(

           'name'   => 'customerid',
           'value'  => $finalsalesid, 
			'domain ' => base_url(), 		   
           'expire' => '2592000',                                                                                   
           'secure' => TRUE,

       );
	 
     // $this->input->set_cookie($cookie);
		  
								

 $smsconfig = $this->usermodel->populateallarray('contactdetails','companyid',1);
		 	

 $ecommerce=$smsconfig[0]['facebook'];	







?>


	

</head>

<body id="app-layout">




<div class="page-header"style= "margin:0px; background:#00008B;">
<div class="container-fluid">
<div class="row" style= "margin-top:20px;">


<div class="col-md-2">
 <img src="<?php echo base_url(); ?>images/img/logo.png" style= "width:70%;" >
 </div>


<div class="col-md-6">


	<div class="col-md-12">
        <?php 
		
        $attr = array("class" => "form-horizontal", "role" => "form", "id" => "search", "name" => "search");
        echo form_open("searchallproduct", $attr);?>
            <div class="form-group">
			
                <div class="col-md-8">
                    <input class="form-control" id="searchterm"  autofocus name="searchterm" placeholder="Search for product by name, code,description.." type="text" value="<?php echo set_value('searchterm'); ?>" />
                </div>
                <div class="col-md-4">
                    <input id="btn_search" name="btn_search" type="submit" class="btn btn-primary" value="Search" />
                    <a href="<?php echo base_url(). "viewproductlist"; ?>" class="btn btn-primary">Refresh</a>
                </div>
				 
            </div>
        <?php echo form_close(); ?>

        </div>
			
 </div>
<div class="col-md-4">

<img  src="<?php echo base_url(); ?>images/media/home.png"alt="home" width="30" height="30" /><span style="color:white"><?php echo "Welcome to ".$smsconfig[0]['business']; ?></span></br>

<img  src="<?php echo base_url(); ?>images/media/phone.png"alt="phone" width="25" height="25" /><span style="color:white">	<?php echo $smsconfig[0]['phone']; ?></span>


</div>


</div>


  
 
</div>

</div>
  <div class="headertabledown" style= "margin:0px; background:purple;">
  
  </div>
<div class="container-fluid" id="container-fluid">


		

