Subversion Repositories SmartDukaan

Rev

Rev 11764 | Rev 12097 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
12096 anikendra 1
<style type="text/css">
2
#mydeals {    
3
    float: left;
4
    height: 41px;
5
    margin: 0 2px 0 0;
6
    text-align: right;
7
}	
8
#mydeals .mydeals-btn {	
9
    background-color: #888;
10
    color: #FFFFFF;
11
    display: inline-block;
12
    font: 1.8em/1.2em Helvetica,Arial,sans-serif;
13
    height: 22px;
14
    margin: 0 0;
15
    padding: 9px 0 5px;
16
    text-align: center;
17
    width: 100%;
18
}
19
.fl{float: left;}
20
.w25p{width: 25%;}
21
.w73p{width: 73%;}
22
</style>
11752 lgm 23
<div id="subView" class="offers clearfix" style="display:none;">
11764 lgm 24
   <a href="<?php echo base_url().'recharge'?>" class="recharge-btn btn" onclick="changeRecharge('3')">Recharge Your Mobile Now </a>
11752 lgm 25
</div><!--offers-->
12096 anikendra 26
<div class="search-box clearfix fl">
27
<?php $authorized = $this->session->userdata('authorized');?>
28
<?php if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) :?>
29
	<div id="mydeals" class="search-hldr clearfix w25p">
30
		<a href="<?php echo base_url().'private-deals/1'?>" class="mydeals-btn">My Deals</a>
31
	</div>
32
	<div id="search" class="search-hldr clearfix w73p fl">
33
	        <input type="text" id="autocomplete" onkeyup="autoComplete()" value="<?php if(isset($_GET['q'])) echo urldecode($_GET['q']); ?>" placeholder="Search for more items" onKeyDown="if(event.keyCode==13) searchTrigger();" autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false"/><div class="search" onclick="searchTrigger()"></div>
34
	</div> 
35
<?php else:?>
36
	<div id="search" class="search-hldr clearfix">
37
	        <input type="text" id="autocomplete" onkeyup="autoComplete()" value="<?php if(isset($_GET['q'])) echo urldecode($_GET['q']); ?>" placeholder="Search for more items" onKeyDown="if(event.keyCode==13) searchTrigger();" autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false"/><div class="search" onclick="searchTrigger()"></div>
38
	</div> 
39
<?php endif;?>
40
	<div id="search-result"></div>
41
</div>