<?xml version="1.0" encoding="UTF8"?>
<items>
<main>
	<table>ad_inform_items</table>
	<increment>ad_inform_id</increment>
	<title>Информеры</title>
</main>
<item>
	<column>ad_inform_id</column>
	<title>id</title>
	<type>increment</type>
	<view>
		<table>True</table>
		<form>False</form>
	</view>
</item>
<item>
	<column>text</column>
	<title>Информер</title>
	<type>textarea</type>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<col>80</col>
</item>
<item>
	<column>link</column>
	<title>Cсылка</title>
	<type>text</type>
	<view>
		<table>False</table>
		<form>True</form>
	</view>
	<col>80</col>
</item>
<item>
	<column>ad_company_id</column>
	<title>Компания</title>
	<type>lookup</type>
	<lookup>
		<table>ad_inform_company</table>
		<id>ad_company_id</id>
		<column>title</column>
	</lookup>
	<view>
		<table>True</table>
		<form>True</form>
	</view>	
	<filter>True</filter>
</item>
<item>
	<column>ad_slise_id</column>
	<title>Место</title>
	<type>lookup</type>
	<lookup>
		<table>ad_slise</table>
		<id>ad_slise_id</id>
		<column>ad_slise_name</column>
	</lookup>
	<view>
		<table>True</table>
		<form>True</form>
	</view>	
	<filter>True</filter>
</item>
<item>
	<column>ad_slise_pos</column>
	<title>NN</title>
	<type>spin</type>
	<col>60</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
</item>
<item>
	<column>active</column>
	<title>Публикация</title>
	<type>checkbox</type>
	<col>60</col>
	<view>
		<table>True</table>
		<form>True</form>
	</view>
	<hint>Публиковать на главной</hint>
</item>
<item>
	<column>img</column>
	<title>фото</title>
	<view>
		<table>False</table>
		<form>True</form>
	</view>	
	<type>file</type>
	<folder>pub/images/informers</folder>
</item>
</items>