Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(opendeals_module_is_active($node) AND $klubkartya=="0"):?>
- <div class="nodedownbox nodeboxleft <?php if($termek=="0") { echo 'nodeblue';} else { echo 'nodeblue_product';}?>" style="display:block;">
- <?php
- $time_timestamp = strtotime($content['field_timending']['#items'][0]['value']);
- $nodays = (($time_timestamp-time()-24*60*60)<=0);?>
- <div class="counter jst_timer<?php echo $nodays?' counter-no-days':''?>">
- <span style="display:none;" class="datetime"><?php echo ($content['field_timending']['#items'][0]['value']) ?></span>
- <span class="format_txt" style="display:none;">
- <ul>
- <li<?php echo $nodays?' class="disabled"':'';?>>%days%</li>
- <li>%hours%</li>
- <li>%mins%</li>
- <li>%secs%</li>
- </ul>
- </span>
- </div>
- <div class="label"><ul<?php echo $nodays?' class="counter-labels-no-days"':'';?>><li<?php echo $nodays?' class="disabled"':'';?>><?php echo t('Days')?></li><li><?php echo t('Hours')?></li><li><?php echo t('Min.')?></li><li><?php echo t('Sec.')?></li></ul></div>
- <div class="wrapper"></div>
- </div>
- <?php endif;?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement