%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/
Upload File :
Create Path :
Current File : /home/bitrix/www/index.1.php

<?
require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");
$APPLICATION->SetPageProperty("description", "Models database | Casting Calls | Modeling Agencies | Portfolio");
$APPLICATION->SetPageProperty("author", "© Port4lio, Inc.");
$APPLICATION->SetPageProperty("keywords", "model, models, models database, portfolio database, job, vacancies, casting calls, modeling agencies, beauty, fashion, portfolio, fashion model, photo model, mobile, app, android, iOS");
$APPLICATION->SetPageProperty("TITLE", "Port4lio.pro - Service for the Modeling business | Portfolio database, Job & Vacancies for Models, Casting calls");
$APPLICATION->SetPageProperty("NOT_SHOW_NAV_CHAIN", "Y");
$APPLICATION->SetPageProperty("og:image", "/p4_retina.jpg"); 
$APPLICATION->SetTitle("Port4lio.pro - Service for the Modeling business | Portfolio database, Job & Vacancies for Models, Casting calls");
?><!-- default
<form class="form-signin">
<h2 class="form-signin-heading">Please sign in</h2>
<label for="inputEmail" class="sr-only">Email address</label>
<input id="inputEmail" class="form-control" placeholder="Email address" required="" autofocus="" type="email">
<label for="inputPassword" class="sr-only">Password</label>
<input id="inputPassword" class="form-control" required="" type="password">

<div class="checkbox">
<label>
<input value="remember-me" type="checkbox"> Remember me
</label>
</div>
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
</form>
-->
<?session_start();?>
<?$APPLICATION->IncludeComponent(
	"bitrix:catalog.smart.filter",
	"horizontal",
	Array(
		"CACHE_GROUPS" => "Y",
		"CACHE_TIME" => "3600",
		"CACHE_TYPE" => "A",
		"COMPONENT_TEMPLATE" => ".default",
		"CONVERT_CURRENCY" => "Y",
		"CURRENCY_ID" => "RUB",
		"DISPLAY_ELEMENT_COUNT" => "Y",
		"FILTER_NAME" => "arrCatalogFilter",
		"FILTER_VIEW_MODE" => "horizontal",
		"HIDE_NOT_AVAILABLE" => "N",
		"IBLOCK_ID" => "2",
		"IBLOCK_TYPE" => "catalog",
		"INSTANT_RELOAD" => "Y",
		"PAGER_PARAMS_NAME" => "arrPager",
		"POPUP_POSITION" => "left",
		"PRICE_CODE" => array(0=>"BASE",),
		"SAVE_IN_SESSION" => "N",
		"SECTION_CODE" => "",
		"SECTION_CODE_PATH" => "",
		"SECTION_DESCRIPTION" => "-",
		"SECTION_ID" => "7",
		"SECTION_TITLE" => "-",
		"SEF_MODE" => "Y",
		"SEF_RULE" => "/examples/books/#SECTION_ID#/filter/#SMART_FILTER_PATH#/apply/",
		"SMART_FILTER_PATH" => $_REQUEST["SMART_FILTER_PATH"],
		"TEMPLATE_THEME" => "blue",
		"XML_EXPORT" => "N"
	),
	false
);?>
<?	$FILTER_NAME = 'arrCatalogFilter';
	global ${$FILTER_NAME};
	if (!is_array(${$FILTER_NAME})) ${$FILTER_NAME} = array();
	${$FILTER_NAME}[">DETAIL_PICTURE"] = 0;
	${$FILTER_NAME}[">PROPERTY_REGION"] = 0;
	${$FILTER_NAME}[">PROPERTY_BDATE"] = 0;
	${$FILTER_NAME}["!PROPERTY_TEST"] = 'Y';
	${$FILTER_NAME}["PROPERTY_TYPE_P4"] = ProfileTypeHelper::getTypesP4() ; // 45936;
	${$FILTER_NAME}["ACTIVE"] = 'Y';
	${$FILTER_NAME}["IBLOCK_ID"] = 2;
	${$FILTER_NAME}["SECTION_ID"] = 7;
	${$FILTER_NAME}["INCLUDE_SUBSECTIONS"] = 'Y';
	//${$FILTER_NAME}[">PROPERTY_TYPE"] = 0;
	$_SESSION['arrCatalogF'] = ${$FILTER_NAME};
?>
	<?$d_slid = true;?>
	<?if (isset($_REQUEST['set_filter']) && strlen($_REQUEST['set_filter']) > 0){
		$cl_nw = $div_nw = '';
		$cl_am = 'active';
		$div_am = 'in active';
		$d_slid = false;
	} else {
		$cl_nw = 'active';
		$div_tm = 'in active';
		$cl_am = $div_am = '';
	};?> 
	<?if ($d_slid):?>
   	<?$APPLICATION->IncludeComponent(
	"bitrix:news.list",
	"slider",
	Array(
		"ACTIVE_DATE_FORMAT" => "d.m.Y",
		"ADD_SECTIONS_CHAIN" => "Y",
		"AJAX_MODE" => "N",
		"AJAX_OPTION_ADDITIONAL" => "",
		"AJAX_OPTION_HISTORY" => "N",
		"AJAX_OPTION_JUMP" => "N",
		"AJAX_OPTION_STYLE" => "Y",
		"CACHE_FILTER" => "Y",
		"CACHE_GROUPS" => "Y",
		"CACHE_TIME" => "3600",
		"CACHE_TYPE" => "N",
		"CHECK_DATES" => "Y",
		"DETAIL_URL" => "",
		"DISPLAY_BOTTOM_PAGER" => "Y",
		"DISPLAY_DATE" => "N",
		"DISPLAY_NAME" => "Y",
		"DISPLAY_PICTURE" => "Y",
		"DISPLAY_PREVIEW_TEXT" => "N",
		"DISPLAY_TOP_PAGER" => "Y",
		"FIELD_CODE" => Array("DETAIL_PICTURE"),
		"FILTER_NAME" => "arrFilter",
		"HIDE_LINK_WHEN_NO_DETAIL" => "Y",
		"IBLOCK_ID" => "20",
		"IBLOCK_TYPE" => "slider",
		"INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
		"INCLUDE_SUBSECTIONS" => "Y",
		"MESSAGE_404" => "",
		"NEWS_COUNT" => "100",
		"PAGER_BASE_LINK" => "",
		"PAGER_BASE_LINK_ENABLE" => "Y",
		"PAGER_DESC_NUMBERING" => "Y",
		"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
		"PAGER_PARAMS_NAME" => "arrPager",
		"PAGER_SHOW_ALL" => "Y",
		"PAGER_SHOW_ALWAYS" => "Y",
		"PAGER_TEMPLATE" => "",
		"PAGER_TITLE" => "Новости",
		"PARENT_SECTION" => "",
		"PARENT_SECTION_CODE" => "",
		"PREVIEW_TRUNCATE_LEN" => "",
		"PROPERTY_CODE" => Array("BUTTON_TEXT","BUTTON_TEXT_RU","DETAIL","DETAIL_RU","LINK"),
		"SET_BROWSER_TITLE" => "Y",
		"SET_LAST_MODIFIED" => "Y",
		"SET_META_DESCRIPTION" => "Y",
		"SET_META_KEYWORDS" => "Y",
		"SET_STATUS_404" => "Y",
		"SET_TITLE" => "Y",
		"SHOW_404" => "Y",
		"SORT_BY1" => "TIMESTAMP_X",
		"SORT_BY2" => "SORT",
		"SORT_ORDER1" => "DESC",
		"SORT_ORDER2" => "ASC"
	)
);?>
	<?else :?>
	<div class="modlistm" style="margin-top: 120px;"></div>
	<?endif;?>

 <section id="tabs" class="container-fluid lightgreybg" <?=$d_slid ? '' : 'style="display: none;"'?>> 	
  <div class="row"> 		
    <div class="container"> 			
      <div class="row"> 				
        <div class="col-xs-6 t"> 
				
          <ul class="tc nav nav-tabs">  
            <li class="<?=$cl_nw?>"><a class="emptylink" href="#topmodels" data-toggle="tab"><?=GetMessage("CT_BCS_TOP_MODELS");?></a></li>
           					 
            <li class="<?=$cl_am?>"><a href="#newfaces" data-toggle="tab"><?=GetMessage("CT_BCS_NEW_FACES");?></a></li>
			
          </ul>
		  
		  
         				</div>
       			</div>
     		</div>
   	</div>
 </section>
<section id="models" class="container-fluid whitebg"> 	
  <div class="row"> 		
    <div class="container"> 			
      <div class="row">	 				
        <div class="tab-content"> 					
 					
          <div id="newfaces" class="overflow tab-pane fade <?=$div_nw?>">
			<div class="overflow">
				<?$APPLICATION->IncludeComponent("p4:p.new_faces", "new", array(
					),
					false
				);?>
			</div>			
          </div>
			<div id="topmodels" class="tab-pane fade <?=$div_tm?>">
				<div class="overflow top_mod">
					<?$APPLICATION->IncludeFile(SITE_TEMPLATE_PATH."/includes/top_models.php");?>
				</div>
					<div class="col-xs-12 center allmodl">
						<a href="<?=SITE_DIR?>index.php?set_filter=Y" class="btn btn-default btn-lg btn-transparent"><?=GetMessage("F_ALL_MODELS");?></a>
					</div>
			</div>
		  <?$modCounter = CIBlockElement::GetList(Array(),$arrCatalogFilter, Array());?>
		  <div id="allmodels" class="tab-pane fade <?=$div_am?>" data-count="<?=$modCounter?>">
			<div class="overflow all_mod">
				<?$APPLICATION->IncludeFile(SITE_TEMPLATE_PATH."/includes/all_models.php");?>
			</div>
			<?if(intval($modCounter) > 20 && $_GET['set_filter'] !== "new"){?>
			<div class="col-xs-12 center loadmore">
				<button class="btn btn-default btn-lg btn-transparent show-more-btn"><?=GetMessage("CT_BCS_LOAD_MORE");?></button>
			</div>
			<?}?>
         </div>
        </div>
       
<!--  tab-content -->
		</div>
    </div>
  </div>
</section> 	
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>

Zerion Mini Shell 1.0