В шаблоне компонента

<?$this->SetViewTarget("some_block");?>
	<div class="some_text_block">
		<?foreach ($arSome as $some) echo $some."<br/>"?>
	</div>
<?$this->EndViewTarget();?>

В шаблоне страниц

<?=$APPLICATION->ShowViewContent('some_block');?>