<?php 
if(!defined('IN_DEMOSOSO')) {
    exit('this is wrong page,please back to homepage');
}
 //$arr = dm_dirarr_3level_jtblock(dirname(__FILE__)); 
 $arr = dm_dirarr(dirname(__FILE__)); 
//pre($arr);
 $jtpath = $arr['path'];
 $jtroot = $arr['root'];

 
getcssjs($jtpath.'cssjs/homesearch.css');  

//LOGOIMG
?> 
 
   
 <?php
global $searcherror; global $searchtext; global $langpath;
 global $searchkeytj;
  global $searchkeytjlist; global $websitename;
?>

<div class="homesearch">

  <div class="homelogo">
     <img src="<?php echo $jtpath?>cssjs/homelogo.png" alt="<?php echo $websitename?>" /> 
  </div>
   
    <div class="about-banner">
            <div class="search-main auto">
                <div class="input-box clearfix jssearchinput">
                    <form  action="<?php echo BASEURL?>search.php" method="get" class="search-form clearfix"  accept-charset="UTF-8">
                     
                     
                           <input class="text input-main" type="text" name="keywords" data-error="<?php echo $searcherror;?>" value="<?php echo $searchtext;?>">
            <input type="hidden" name="lang" value="<?php echo LANGPATH?>" />

                          <button  class="submit-btn search-btn"> </button>

                         
                    </form>
                </div>
           




            </div>
            <div class="c"> </div>
        </div>



          <div class="searchkeylist">
        <?php echo   '<span>'.$searchkeytj.'</span>';


        $searchkeyarr = explode("|",$searchkeytjlist);

        foreach ($searchkeyarr as $v) {
            echo '<a href="search.php?lang='.LANGPATH.'&keywords='.$v.'">'.$v.'</a>';
        }

        ?>


        </div>

</div>



