Subversion Repositories SmartDukaan

Rev

Rev 14600 | Rev 14928 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

        <ul class="nav nav-tabs catselect">
                <li class="<?php if(!isset($id)):?>active<?php endif;?> col-xs-4"><a href="/deals/mine">All</a></li>
        <?php foreach($categories AS $catId => $name):?>
          <li class="<?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-4">
            <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
        <?php endforeach;?>
        </ul>
        <div class="filters row">               
                <?php //$skipmobileverification = SessionHelper::read('skipmobileverification');if(!$logged_user['mobile_verified'] && !isset($skipmobileverification)):?>
                        <!-- <div class="verificationalert">Your phone number is not verified. <a href="<?php echo $base_url;?>/users/verifymobile">Verify now</a></div>  -->
                <?php //endif;?>
                <?php if(isset($notification) && !empty($notification)):?>
                <div class="alert alert-info text-center col-xs-8">
                        <a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
                </div>
                <?php else:?>
                <div class="col-xs-8 herotext">
        <?php if((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0)):?>
            <a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
                <p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
                <p><?php echo $liveScore['status'];?></p>
            </a>
        <?php else:?>
            Daily profitable deals for you
        <?php endif;?>
        </div>
                <?php endif;?>          
                <div class="col-xs-4 ">
                        <div class="dropdown pull-right">
                          <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
                                <span class="caret"></span> SORT                    
                          </button>
                          <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
                                <!-- <li role="presentation" class="dropdown-header menu-item">FILTER</li>
                            <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Brand</a></li>
                            <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li>
                            <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
                            <li role="presentation" class="dropdown-header menu-item">SORT</li>
                            <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'bestSellerPoints'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=-1">Bestsellers</a></li>
                            <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'available_price' && $direction=='1'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1">Price Low to High</a></li>
                            <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'available_price' && $direction=='-1'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1">Price High to Low</a></li>
                            <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
                          </ul>
                        </div>
                </div>  
        </div>