403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/skyweb24.popuppro/admin/includes/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/cvetdv.ru/bitrix/modules/skyweb24.popuppro/admin/includes/tab_conditions.php
<? $cProps = $editableWindow->getAvaliableProps();
$sProps = $editableWindow->getSimilarProps($idPopup);

?>
<tr>
    <td colspan="2">
        <div class="window_description warning">
            <p><?= GetMessage("skyweb24.popuppro_TEST_INFO"); ?></p>
        </div>
        <script>
            var popupProps = <?=\Bitrix\Main\Web\Json::encode($cProps, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_OBJECT_AS_ARRAY);?>;
            var condPopupPros = <?=\Bitrix\Main\Web\Json::encode($sProps, JSON_HEX_QUOT | JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_OBJECT_AS_ARRAY);?>;
        </script>
    </td>
</tr>

<?
$editArr = $editableWindow->getConditions();
$activeCheckBox = ($editArr['active']) ? ' checked="checked"' : '';

$activeAlreadygoing = ($editArr['alreadygoing']) ? ' checked="checked"' : '';
$selectSite = '<select multiple="multiple" size="' . min(3, count($editArr['sites'])) . '" name="sites[]">';
$period_from = '';
$period_to = '';
$editArr['dateStart'] = (empty($editArr['dateStart'])) ? '' : ConvertTimeStamp($editArr['dateStart'], "SHORT", LANGUAGE_ID);
$editArr['dateFinish'] = (empty($editArr['dateFinish'])) ? '' : ConvertTimeStamp($editArr['dateFinish'], "SHORT", LANGUAGE_ID);
if (!empty($editArr['timeInterval'])) {
    $tmpPeriod = explode('#', $editArr['timeInterval']);
    $period_from = (!empty($tmpPeriod[0])) ? $tmpPeriod[0] : '';
    $period_to = (!empty($tmpPeriod[1])) ? $tmpPeriod[1] : '';
}
foreach ($editArr['sites'] as $nextSite) {
    $selectOption = ($nextSite['active']) ? ' selected="selected"' : '';
    $selectSite .= '<option value="' . $nextSite['id'] . '"' . $selectOption . '>' . $nextSite['name'] . '</option>';
}
$selectSite .= '</select>';
$selectnextGroups = '<select multiple="multiple" size="4" name="groups[]">';
foreach ($editArr['groups'] as $nextGroup) {
    $selectOption = ($nextGroup['active']) ? ' selected="selected"' : '';
    $selectnextGroups .= '<option value="' . $nextGroup['id'] . '"' . $selectOption . '>' . $nextGroup['name'] . '</option>';
}
$selectnextGroups .= '</select>';
$serviceName = (!empty($editArr['service_name'])) ? $editArr['service_name'] : GetMessage("skyweb24.CAdminList") . '_' . $idPopup;

?>
<tr>
    <th colspan="2"><?= GetMessage("skyweb24.popuppro_TABCOND_TITLE_MAIN") ?></th>
</tr>

<tr>
    <td>
        <?= GetMessage("skyweb24.popuppro_TABCOND_ACTIVE") ?>
        <span class="skwb24-item-hint" id="hint_tabcond_title_main">?</span>
        <script>
            new top.BX.CHint({
                parent: top.BX("hint_tabcond_title_main"),
                show_timeout: 10,
                hide_timeout: 200,
                dx: 2,
                preventHide: true,
                min_width: 400,
                hint: '<?=GetMessage("skyweb24.popuppro_TABCOND_ACTIVE_HINT")?>'
            });
        </script>
    </td>
    <td><input type="checkbox" name="active" value="Y" <?= $activeCheckBox ?>/></td>
</tr>
<tr>
    <td><?= GetMessage("skyweb24.popuppro_TABCOND_SERVICE_NAME") ?>
        <span class="skwb24-item-hint" id="hint_service_name">?</span>
        <script>
            new top.BX.CHint({
                parent: top.BX("hint_service_name"),
                show_timeout: 10,
                hide_timeout: 200,
                dx: 2,
                preventHide: true,
                min_width: 400,
                hint: '<?=GetMessage("skyweb24.popuppro_TABCOND_SERVICE_NAME_HINT")?>'
            });
        </script>
    </td>
    <td><input type="text" name="service_name" value="<?= $serviceName ?>"/></td>
</tr>
<tr>
    <td><?= GetMessage("skyweb24.popuppro_TABCOND_SORT") ?>
        <span class="skwb24-item-hint" id="hint_sort">?</span>
        <script>
            new top.BX.CHint({
                parent: top.BX("hint_sort"),
                show_timeout: 10,
                hide_timeout: 200,
                dx: 2,
                preventHide: true,
                min_width: 400,
                hint: '<?=GetMessage("skyweb24.popuppro_TABCOND_SORT_HINT")?>'
            });
        </script>
    </td>
    <td><input type="number" min="1" step="1" size="4" name="sort" value="<?= $editArr['sort'] ?>"/>
    </td>
</tr>
<tr>
    <th colspan="2"><?= GetMessage("skyweb24.popuppro_TABCOND_TITLE_ADDITIONAL") ?></th>
</tr>
<tr>
    <td colspan="2">
        <div id="popupPropsCont">
        </div>

    </td>
</tr>

Youez - 2016 - github.com/yon3zu
LinuXploit