Subversion Repositories SmartDukaan

Rev

Rev 11764 | Rev 12097 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11764 Rev 12096
Line -... Line 1...
-
 
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>
1
<div id="subView" class="offers clearfix" style="display:none;">
23
<div id="subView" class="offers clearfix" style="display:none;">
2
   <a href="<?php echo base_url().'recharge'?>" class="recharge-btn btn" onclick="changeRecharge('3')">Recharge Your Mobile Now </a>
24
   <a href="<?php echo base_url().'recharge'?>" class="recharge-btn btn" onclick="changeRecharge('3')">Recharge Your Mobile Now </a>
3
</div><!--offers-->
25
</div><!--offers-->
4
<div class="search-box">
-
 
5
<div id="search" class="search-hldr clearfix">
-
 
6
        <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>
-
 
7
 </div>
-
 
8
 <div id="search-result"></div>
-
 
9
</div>
-
 
10
 
-
 
11
 
-
 
12
<script> 
-
 
13
    
-
 
14
  
-
 
15
</script>
-
 
16
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>
-
 
42
17
43