%PDF- %PDF-
Direktori : /home/bitrix/www/bitrix/templates/UB/includes/ |
Current File : /home/bitrix/www/bitrix/templates/UB/includes/top_slider.php |
<?IncludeTemplateLangFile(__FILE__);?> <!-- Slider Start--> <div class="slider-wrapper theme-default"> <div class="main-button-on-banner"> <!-- <a href="<?//=SITE_DIR?>"><button class="btn-normal btn-special btn-color"><?//=GetMessage("FIND_A_PRO")?></button></a> --> <a href="#" onclick="postRedirect('<?=SITE_DIR?>adbase/job/post.php','vacancy')"><button class="btn-normal btn-special btn-color"><?=GetMessage("PLACE_A_VACANCY")?></button></a> <?if(!isCustomer()):?><a href="#" onclick="postRedirect('<?=SITE_DIR?>adbase/offer/post.php','offer')"><button class="btn-normal btn-special btn-color"><?=GetMessage("PLACE_AN_OFFER")?></button></a><?endif;?> </div> <? $arBanner = CAdvBanner::GetRandom("MAIN_PHOTO"); CAdvBanner::FixShow($arBanner); ?> <style> .top-photo { background-position: center center; background-image: url(<?=CFile::GetPath($arBanner["IMAGE_ID"])?>); background-size: cover; background-repeat: no-repeat; width: 100%; height: 470px; } </style> <div class="top-photo"> </div> </div> <div class="clearfix"></div> <!-- Slider End-->