| Current Path : /var/www/html/ssr26/frontend/runtime/frontendpage/ |
| Current File : /var/www/html/ssr26/frontend/runtime/frontendpage/1_1775031802044186700-content-204.php |
<?php
/*** CONTENT_ID-204***/
$slider_background = $baseUrl.'/assets/portal/images/bannerbg1.png';
$querySliderBackground = new \yii\db\Query();
$querySliderBackground->select(['*'])->from('content_slider')
->innerJoin('content_slider_translation','content_slider.slider_id=content_slider_translation.slider_translation_parent_id')
//->where(['=','content_slider_translation.slider_translation_main','1'])
->where(['=','content_slider_translation.slider_translation_language',Yii::$app->language])
->andwhere(['LIKE','content_slider.slider_portal','"16"'])
->andwhere(['=','content_slider.slider_status','active'])
->andwhere(['=','content_slider.slider_type','background'])
->orderBy(['content_slider.slider_sort' => SORT_ASC])
->limit(1);
//echo $querySliderBackground->createCommand()->getRawSql();
$modelSliderBackground = $querySliderBackground->all();
if(!empty($modelSliderBackground)){
foreach($modelSliderBackground as $rowSliderBackground){
$slider_background = $baseUrl.'/admin/'.$rowSliderBackground['slider_translation_img'];
}
}
echo '<style>
@media (min-width: 576px) {
.slider_container{
width:100%;
}
}
@media (min-width: 992px) {
.slider_container{
width:1170px;
}
}
</style>
<div style="width:100%;margin:0;padding:0;background:#ffffff;padding-top:50px;padding-bottom: 50px;z-index:9999 !important">
<div class="containerx slider_container" style="margin:0 auto;">
<div style="width:100%;margin:0;padding:0;">
';
?>