예제 #1
0
        }
        .center{
            text-align: center;
            vertical-align: middle;
        }
    </style>
</head>
<body class='container'>
    <div class="row">
        <div class="one column"></div>
        <div class="ten column">
            <label>Main Site:</label>
            <form>
                <select name="pagelist">
                    <?php 
$results = getSiteList();
if (isset($results)) {
    foreach ($results as $pagelist) {
        echo "<option value='" . $pagelist['mainSite'] . "'>" . $pagelist['mainSite'];
    }
}
?>
                </select>
            </form>
            <a href="#">Set Rules</a>
            <form action='#' method='post'>
            <div class="SiteLinks">
                <table class='table-border u-full-width'>
                    <thead>
                        <tr>
                            <th>Links</th>
예제 #2
0
        </td>
    </tr>
<?
}


if ($POST_RIGHT >= 'R'):

    // Загружаем локализацию
    IncludeModuleLangFile($_SERVER['DOCUMENT_ROOT'] . '/bitrix/modules/main/options.php');
    IncludeModuleLangFile(__FILE__);

    $arAllOptions = array();

    // Получаем список сайтов
    $arSites = getSiteList();

    // Получаем свойства контрагентов
    $arSaleProps = CDadataSuggestionsSettings::GetSettingsArray();

    $tabControl = new CAdmintabControl('tabControl', array(
        array('DIV' => 'edit1', 'TAB' => GetMessage('MAIN_TAB_SET'), 'ICON' => ''),
    ));


    if (ToUpper($REQUEST_METHOD) == 'POST' &&
        strlen($Update . $Apply . $RestoreDefaults) > 0 &&
        ($POST_RIGHT == 'W' || $POST_RIGHT == 'X') &&
        check_bitrix_sessid()
    ) {
        if (strlen($RestoreDefaults) > 0) {