init
This commit is contained in:
32
app/id/view/include/top.phtml
Executable file
32
app/id/view/include/top.phtml
Executable file
@@ -0,0 +1,32 @@
|
||||
<div class="top">
|
||||
<div class="swt-Container">
|
||||
<div class="top-R" style="vertical-align:bottom">
|
||||
<?php if(empty($customer_info)){ ?>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/register.html">Daftar</a></span>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/login.html">Masuk</a></span>
|
||||
<?php }else{ ?>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/customer/personal.html">Personal</a></span>
|
||||
<span id="tuichu1" class="products" style="font-size: 14px;"><a href="__ORICOROOT__/customer/new_logout.html">Sign out</a></span>
|
||||
<?php }?>
|
||||
<span id="tuichu1"><a href="__ORICOROOT__/search.html"><span class="icon-search" style="vertical-align:bottom; "></span></a></span>
|
||||
<div class="state zg"><img src="__PUBLIC__/web/images/countries/ID.png">
|
||||
<div class="top-country topnav" style="display: none;">
|
||||
<div class="swt-Container">
|
||||
<?php if(!empty($country_list)): ?>
|
||||
<ul>
|
||||
<?php foreach($country_list as $key => $value): ?>
|
||||
<?php if ($value['code'] != 'ID'): ?>
|
||||
<li><a href="<?php echo $value['url']; ?>"><p class="countries <?php echo $value['code']; ?>"></p><p><?php echo $value['country_name']; ?></p></a></li>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user