Beispiel #1
0
?>
 = false;
</script><?php 
$aTabs = array(array("DIV" => "bx_gd_sale_stats_" . $arGadgetParams["RND_STRING"], "TAB" => GetMessage("GD_ORDERS_TAB_STATS"), "ICON" => "", "TITLE" => "", "ONSELECT" => "gdSaleTabControl_" . $arGadgetParams["RND_STRING"] . ".SelectTab('bx_gd_sale_stats_" . $arGadgetParams["RND_STRING"] . "');"), array("DIV" => "bx_gd_sale_orders_" . $arGadgetParams["RND_STRING"], "TAB" => GetMessage("GD_ORDERS_TAB_ORDERS"), "ICON" => "", "TITLE" => "", "ONSELECT" => "gdSaleTabControl_" . $arGadgetParams["RND_STRING"] . ".SelectTab('bx_gd_sale_orders_" . $arGadgetParams["RND_STRING"] . "');"));
$tabControl = new CAdminViewTabControl("saleTabControl_" . $arGadgetParams["RND_STRING"], $aTabs);
?>
<div class="bx-gadgets-tabs-wrap" id="bx_gd_tabset_sale_<?php 
echo $arGadgetParams["RND_STRING"];
?>
"><?php 
$tabControl->Begin();
$countTabs = count($aTabs);
for ($i = 0; $i < $countTabs; $i++) {
    $tabControl->BeginNextTab();
}
$tabControl->End();
?>
<div class="bx-gadgets-tabs-cont"><?php 
$countTab = count($aTabs);
for ($i = 0; $i < $countTab; $i++) {
    ?>
<div id="<?php 
    echo $aTabs[$i]["DIV"];
    ?>
_content" style="display: <?php 
    echo $i == 0 ? "block" : "none";
    ?>
;" class="bx-gadgets-tab-container"><?php 
    if ($i == 0) {
        ?>
<table class="bx-gadgets-table">
Beispiel #2
0
	</tr>
<?
	foreach($arOptions as $option)
	{
		if(!is_array($option))
			$option = GetMessage("soc_serv_opt_settings_of", array("#SERVICE#"=>$option));
		else
			$option[0] .= $suffix;
		__AdmSettingsDrawRow($module_id, $option);
	}
?>
</table>
<?
endforeach; //foreach($arSiteList as $site)

$siteTabControl->End();
?>
</td></tr>
<?$tabControl->Buttons();?>
	<input type="hidden" name="siteTabControl_active_tab" value="<?php 
echo htmlspecialcharsbx($_REQUEST["siteTabControl_active_tab"]);
?>
">
<?if($_REQUEST["back_url_settings"] <> ''):?>
	<input type="submit" name="Update" value="<?php 
echo GetMessage("MAIN_SAVE");
?>
" title="<?php 
echo GetMessage("MAIN_OPT_SAVE_TITLE");
?>
">
		<tr>
			<td valign="top" align="right" colspan="2">
				<script language="JavaScript">
				<!--
				ActionFileChange(<?php 
    echo $arPersonType["ID"];
    ?>
);
				//-->
				</script>
				<input type="hidden" name="PS_ACTION_FIELDS_LIST_<?php 
    echo $arPersonType["ID"];
    ?>
" value="">
			</td>
		</tr>
		</table>
		<?php 
}
$tabControl1->End();
?>
	</td></tr>
	<?php 
$tabControl->EndTab();
$tabControl->Buttons(array("disabled" => $saleModulePermissions < "W", "back_url" => "/bitrix/admin/sale_pay_system.php?lang=" . LANG . GetFilterParams("filter_")));
$tabControl->End();
?>
</form>
<?php 
require $DOCUMENT_ROOT . "/bitrix/modules/main/include/epilog_admin.php";
Beispiel #4
0
				<td width="50%" align="right"><?php 
    echo GetMessage("SONET_INSTALL_PUBLIC_REW");
    ?>
:</td>
				<td><input type="checkbox" name="public_rewrite_<?php 
    echo $arSite["SITE_ID"];
    ?>
" id="public_rewrite_<?php 
    echo $arSite["SITE_ID"];
    ?>
" value="Y"></td>
			</tr>
		</table>
		<?php 
}
$arSiteTabControl->End();
?>

	<script language="JavaScript">
	<!--
	<?php 
foreach ($arSites as $arSite) {
    ?>
		ChangeInstallPublic(false, '<?php 
    echo CUtil::JSEscape($arSite["SITE_ID"]);
    ?>
');
	<?php 
}
?>
	//-->
Beispiel #5
0
        ?>
" name="<?php 
        echo $key;
        ?>
_<?php 
        echo htmlspecialcharsbx($site["LID"]);
        ?>
"></td>
		</tr>
<?php 
    }
    ?>
	</table>
<?php 
}
$subTabControl->End();
?>
		</td>
	</tr>
<?php 
$tabControl->Buttons();
?>
	<input type="submit" name="Update" value="<?php 
echo GetMessage("MAIN_SAVE");
?>
" title="<?php 
echo GetMessage("MAIN_OPT_SAVE_TITLE");
?>
" />
	<input type="submit" name="Apply" value="<?php 
echo GetMessage("MAIN_APPLY");
            $childTabControl->BeginNextTab();
            ?>
		<table width="100%"><tr><?php 
            echo $obDelivery;
            ?>
</tr></table>
<?php 
            // automated delivery services
            $childTabControl->BeginNextTab();
            ?>
		<table width="100%"><tr><?php 
            echo $obDeliveryHandlers;
            ?>
</tr></table>
<?php 
            $childTabControl->End();
            ?>
	</td>
</tr>
<script type="text/javascript">
jsUtils.addEvent(window, 'load', function(){<?php 
            echo $childTabControl->name;
            ?>
.SelectTab('delivery<?php 
            if (strstr($str_DELIVERY_ID, ':') !== false) {
                ?>
_handler<?php 
            }
            ?>
')});
</script>
Beispiel #7
0
						if ($type[0]=="checkbox")
							echo "<label for=\"".htmlspecialcharsbx($Option[0]."_".$siteList[$j]["ID"])."\">".$Option[1]."</label>";
						else
							echo $Option[1];
					?>:</td>
					<td width="60%" align="left">
						<?if($type[0]=="image"):?>
							<?echo CFile::InputFile(htmlspecialcharsbx($Option[0]."_".$siteList[$j]["ID"]), 20, $val);?><br>
							<?echo CFile::ShowImage($val, 200, 200, "border=0", "", true)?>
						<?endif?>
					</td>
				</tr><?
			endfor;
			?></table><?
		}
		$arChildTabControlSite->End();
		?></td>
	</tr><?
unset($value);
$tabControl->BeginNextTab();?>
<?require_once($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/admin/group_rights.php");?>
<?$tabControl->Buttons();?>
<script language="JavaScript">
function RestoreDefaults()
{
	if (confirm('<?echo AddSlashes(GetMessage("MAIN_HINT_RESTORE_DEFAULTS_WARNING"))?>'))
		window.location = "<?echo $APPLICATION->GetCurPage()?>?RestoreDefaults=Y&lang=<?echo LANG?>&mid=<?echo urlencode($mid)."&".bitrix_sessid_get();?>";
}
</script>

<input type="submit" <?if ($SONET_RIGHT<"W") echo "disabled" ?> name="Update" value="<?echo GetMessage("MAIN_SAVE")?>" class="adm-btn-save">
/></td>
				</tr><?php 
        if (0 < $PRODUCT_ID && '' != $barcode) {
            ?>
				<tr id="tr_SUBCAT_BARCODE_EDIT"<?php 
            echo $bUseMultiplyBarcode ? ' style="display: none;"' : '';
            ?>
>
					<td><?php 
            echo GetMessage("C2IT_BAR_CODE_EDIT");
            ?>
:</td>
					<td>
						<input type="hidden" name="SUBCAT_BARCODE_EDIT" id="SUBCAT_BARCODE_EDIT_N" value="N" />
						<input type="checkbox" name="SUBCAT_BARCODE_EDIT" id="SUBCAT_BARCODE_EDIT_Y" size="30" value="Y" <?php 
            echo $bReadOnly ? ' disabled readonly' : ' onclick="editSubBarCode();"';
            ?>
 />
					</td>
				</tr><?php 
        }
        ?>
			</table>
			<?php 
    }
    $subtabControl1->End();
    ?>
	</td>
</tr>
<?php 
}
Beispiel #9
0
:</label></td>
						<td><input type="text" name="reminder[<?php 
        echo $val["ID"];
        ?>
][period]" value="<?php 
        echo intval($arReminder[$val["ID"]]["period"]);
        ?>
" size="5" id="period-<?php 
        echo $val["ID"];
        ?>
"></td>
					</tr>
				</table>
				<?php 
    }
    $tabControl2->End();
    ?>
		</td>
	</tr>

	<?php 
    $tabControl->BeginNextTab();
    ?>
<script type="text/javascript">
var cur_site = {WEIGHT:'<?php 
    echo CUtil::JSEscape($siteList[0]["ID"]);
    ?>
',ADDRESS:'<?php 
    echo CUtil::JSEscape($siteList[0]["ID"]);
    ?>
'};
Beispiel #10
0
                ?>
" id="cal_<?php 
                echo $pathName;
                ?>
" size="60"/>
					</td>
				</tr>
			<?php 
            }
            ?>
			</table>
		<?php 
        }
        ?>
		<?php 
        $arChildTabControlUserCommon->End();
        ?>
		</td>
	</tr>
	<?php 
    }
    /* if (count($arSites) > 1)*/
    ?>

	<?php 
    /* common pathes for all sites*/
    if (count($arSites) <= 1) {
        $commonForSites = true;
    }
    foreach ($arPathes as $pathName) {
        ?>
Beispiel #11
0
								<td class="field-name" width="40%"><?php 
echo GetMessage('RATING_VOTE_AUTHORITY_COUNT');
?>
:</td>
								<td><?php 
echo floatval($arRatingUserProp['VOTE_COUNT']);
?>
</td>
							</tr>
							<?
						}
						?>
					</table>
				<?
			}
			$viewTabControl->End();
		}
		else
			echo GetMessage('RATING_NOT_AVAILABLE');
		?>
		</td>
	</tr>
<?
$tabControl->EndCustomField("RATING_BOX");

$db_opt_res = CModule::GetList();
while ($opt_res = $db_opt_res->Fetch())
{
	$mdir = $opt_res["ID"];
	if (file_exists($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/".$mdir) && is_dir($_SERVER["DOCUMENT_ROOT"].BX_ROOT."/modules/".$mdir))
	{
                                echo sprintf("%01.2f", $procent) . "%";
                                ?>
</td>
											<td nowrap>(<?php 
                                echo $counter;
                                ?>
)</td>
											<td  nowrap><?php 
                                echo "[<a href='/bitrix/admin/adv_contract_edit.php?find_id=" . $arrS["ID"] . "&lang=" . LANGUAGE_ID . "&action=view' title='" . GetMessage("AD_CONTRACT_VIEW") . "'>" . $arrS["ID"] . "</a>] " . $arrS["NAME"];
                                ?>
</td>
										</tr>
										<?php 
                            }
                        }
                        ?>
									</table>
								</td>
							</tr>
						</table></div>
						<?php 
                    }
                }
                $viewTabContract->End();
            }
        }
    } else {
        echo CAdminMessage::ShowMessage(GetMessage("ADV_NO_DATA_DIAGRAM"));
    }
}
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
Beispiel #13
0
											</td>
											<td align="right" nowrap><?php 
                                echo sprintf("%01.2f", $procent) . "%";
                                ?>
</td>
											<td nowrap>(<?php 
                                echo $counter;
                                ?>
)</td>
											<td nowrap><?php 
                                echo $arrS["ID"];
                                ?>
</td>
										</tr>
										<?php 
                            }
                        }
                        ?>
									</table>
								</td>
							</tr>
						</table></div>
						<?php 
                    }
                }
                $viewTabGroup->End();
            }
        }
    }
}
require_once $_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/epilog_admin.php";
Beispiel #14
0
		<td valign="top" align="right"><?php 
    echo GetMessage('INTR_OPTION_PATHS_TASK_GROUP_ENTRY');
    ?>
: </td>
		<td><input type="text" name="path_task_group_entry_<?php 
    echo $SITE_ID;
    ?>
" value="<?php 
    echo htmlspecialcharsbx($path_task_group_entry[$SITE_ID]);
    ?>
" size="50" /></td>
	</tr>
	</table>
<?php 
}
$childTabControl_1->End();
?>
		</td>
	</tr>

<?php 
$tabControl->BeginNextTab();
/*	<tr>
		<td><?echo GetMessage("INTR_OPTION_SEARCH_USER_URL");?>:</td><td><input type="text" size="47" name="search_user_url" value="<?echo htmlspecialcharsbx(COption::GetOptionString("intranet", "search_user_url"))?>"></td>
	</tr>*/
?>
	<tr class="heading">
		<td colspan="2"><?php 
echo GetMessage("INTR_OPTION_SEARCH_CONVERTERS");
?>
</td>