Exemplo n.º 1
0
    <link rel="stylesheet" type="text/css" href="css/style.min.css">
</head>
<body>

<!-- Search Form Demo -->
<div class="ls_container">

    <!-- Search Form -->
    <form accept-charset="UTF-8" class="search" id="ls_form" name="ls_form">
    	<?php 
// Set javascript anti bot value in the session
Handler::get_javascript_anti_bot();
?>
        <input type="hidden" name="ls_anti_bot" id="ls_anti_bot" value="">
        <input type="hidden" name="ls_token" id="ls_token" value="<?php 
echo Handler::get_token();
?>
">
        <input type="hidden" name="ls_page_loaded_at" id="ls_page_loaded_at" value="<?php 
echo time();
?>
">
        <input type="hidden" name="ls_current_page" id="ls_current_page" value="1">
        <input type="text" name="ls_query" id="ls_query" placeholder="Type to start search (e.g., Chris, 你好, محمد)" autocomplete="off" maxlength="<?php 
echo Config::MAX_INPUT_LENGTH;
?>
">

        <!-- Result -->
        <div id="ls_result_div">
            <div id="ls_result_main">