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/rospirotorg.ru/bitrix/modules/blog/install/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/blog/install/step1.php
<form action="<?= $APPLICATION->GetCurPage()?>" name="blog_install">
<?=bitrix_sessid_post()?>
	<input type="hidden" name="lang" value="<?= LANG ?>">
	<input type="hidden" name="id" value="blog">
	<input type="hidden" name="install" value="Y">
	<input type="hidden" name="step" value="2">

	<script>
	function ChangeInstallPublic(val, lan)
	{
		var name1 = 'is404_'+lan;
		var name2 = 'public_path_'+lan;
		var name3 = 'public_rewrite_'+lan;
		document.getElementById(name1).disabled = !val;
		document.getElementById(name2).disabled = !val;
		document.getElementById(name3).disabled = !val;
		
	}
	</script>
	<?
	$arSites= Array();
	$dbSites = CSite::GetList('', '', Array("ACTIVE" => "Y"));
	while ($site = $dbSites->GetNext())
	{ 
		$arSites[] = Array("SITE_ID" => $site["LID"], "NAME" => $site["NAME"], "DIR" => $site["DIR"]);
	}
	?>
	<table class="list-table">
	<tr class="head">
		<td> </td>
	<?foreach($arSites as $fSite):?>
			<td><?=$fSite["NAME"]?></td>
	<?endforeach;?>
	</tr>
	<tr>
		<td><?=GetMessage("BLI_COPY_PUBLIC_FILES") ?>:</td>
		<?foreach($arSites as $fSite):?>
			<td><input type="checkbox" name="install_public_<?=$fSite["SITE_ID"]?>" value="Y" onclick="ChangeInstallPublic(this.checked, '<?=CUtil::JSEscape($fSite["SITE_ID"])?>')"></td>
		<?endforeach;?>
	</tr>
	<tr>
		<td><?=GetMessage("BLI_INSTALL_404") ?>:</td>
		<?foreach($arSites as $fSite):?>
			<td><input type="checkbox" name="is404_<?=$fSite["SITE_ID"]?>" id="is404_<?=$fSite["SITE_ID"]?>" value="Y" checked></td>
		<?endforeach;?>
	</tr>
	<tr>
		<td><?=GetMessage("BLI_COPY_FOLDER") ?>:</td>
		<?foreach($arSites as $fSite):?>
			<td><input type="text" name="public_path_<?=$fSite["SITE_ID"]?>" id="public_path_<?=$fSite["SITE_ID"]?>" value="blog"></td>
		<?endforeach;?>
	</tr>			
	<tr>
		<td><?= GetMessage("BLOG_INSTALL_PUBLIC_REW") ?>:</td>
		<?foreach($arSites as $fSite):?>
			<td><input type="checkbox" name="public_rewrite_<?=$fSite["SITE_ID"]?>" id="public_rewrite_<?=$fSite["SITE_ID"]?>" value="Y"></td>
		<?endforeach;?>
	</tr>
	</table>
	<p>
		<input type="checkbox" name="install_templates" value="Y" id="install_templates" checked>&nbsp;<label for="install_templates"><?=GetMessage("BLI_INSTALL_EMAIL") ?></label><br />
		<input type="checkbox" name="install_smiles" value="Y" id="install_smiles" checked>&nbsp;<label for="install_smiles"><?=GetMessage("BLI_INSTALL_SMILES") ?></label>
	</p>

	<script>
	<?foreach($arSites as $fSite):?>
		ChangeInstallPublic(false, '<?=CUtil::JSEscape($fSite["SITE_ID"]);?>');
	<?endforeach;?>
	</script>
	<br>
	<input type="submit" name="inst" value="<?= GetMessage("MOD_INSTALL")?>">
</form>

Youez - 2016 - github.com/yon3zu
LinuXploit