<?php
require_once('inc/logincheck.php');
CommTool::checkIncludeByAdminPhp();

if(!empty($kuWebsiteIndexOnlineStyle))$kuWebsiteIndexOnlineStyleArr[$kuWebsiteIndexOnlineStyle] = "checked='checked'"; else $kuWebsiteIndexOnlineStyleArr[4] = "checked='checked'";                                                               //无初始值时默认加第4种方式
if(1 == $kuWebsiteIndexFriendLinkShow){$kuWebsiteIndexFriendLinkShowCheck = "checked='checked'";}


$selectSortTypenews[$kuWebsiteIndexSortTypenews] = "selected='selected'";
$selectSortTypeproduct[$kuWebsiteIndexSortTypeproduct] = "'selected'";
$selectSortTypeimg[$kuWebsiteIndexSortTypeimg] = "selected='selected'";
$selectSortTypedownload[$kuWebsiteIndexSortTypedownload] = "selected='selected'";
$selectSortTypejob[$kuWebsiteIndexSortTypejob] = "selected='selected'";
$selectSortTypemessage[$kuWebsiteIndexSortTypemessage] = "selected='selected'";
$selectSortTypefaq[$kuWebsiteIndexSortTypefaq] = "selected='selected'";

include_once template('indexconfig.html', $adminTemplateName);
?>