<?php

/*
	[SupeSite/X-Space] (C)2001-2006 Comsenz Inc.
	专题元素模板

	$RCSfile: topic_element.inc.php,v $
	$Revision: $
	$Date: $
*/

/**
 * 属性
 * type: js, html, text, image, flash	//类型
 * havetitle: 0, 1	//是否有标题
 * subjectlen: 10,3|5	//总剪裁数,行数|裁剪数
 * subjectdot: string	//标题截取省略号
 * imagewidth: number	//图片宽
 * imageheight: number	//图片高
 */
//纯文
$elementtplarr[1]['attribute'] = array(
		'type'	=>	'html',
		'havetitle'	=>	1,
		'subjectlen'	=>	'',
		'subjectdot'	=>	'',
		'imagewidth'	=>	'',
		'imageheight'	=>	''
);
$elementtplarr[1]['element'] = <<<EOF
<div class="ss_element_1 ss_public" id="{elementid}">
<h3>{elementtoolbar}<span id="{elementid}_t">[title]</span></h3>
<ul id="{elementid}_ul">
{messages}
</ul>
</div>
EOF;
$elementtplarr[1]['entry'] = <<<EOF
<li id="{entryid}"><em>{dateline}</em><a href="{link}" title="{subject}" target="_blank">{subject}</a>{model:delete}</li>
EOF;

//左图右文
$elementtplarr[1]['attribute'] = array(
		'type'	=>	'html',
		'havetitle'	=>	1,
		'subjectlen'	=>	'',
		'subjectdot'	=>	'',
		'imagewidth'	=>	'',
		'imageheight'	=>	''
);
$elementtplarr[2]['element'] = <<<EOF
<div class="ss_element_2 ss_public" id="{elementid}">
<h3>{elementtoolbar}<span id="{elementid}_t">[title]</span></h3>
<ul id="{elementid}_ul">
{messages}
</ul>
</div>
EOF;
$elementtplarr[2]['entry'] = <<<EOF
<li id="{entryid}">
<a href="{link}"><img src="{img}"/></a>
<h4><a href="{link}">{subject}</a></h4>
<p class="date">{dateline}</p>
<p class="author">{username}{model:delete}</p>
</li>
EOF;

//上图下文
$elementtplarr[1]['attribute'] = array(
		'type'	=>	'html',
		'havetitle'	=>	1,
		'subjectlen'	=>	'',
		'subjectdot'	=>	'',
		'imagewidth'	=>	'',
		'imageheight'	=>	''
);
$elementtplarr[3]['element'] = <<<EOF
<div class="ss_element_3 ss_public" id="{elementid}">
<h3>{elementtoolbar}<span id="{elementid}_t">[title]</span></h3>
<ul id="{elementid}_ul">
{messages}
</ul>
</div>
EOF;
$elementtplarr[3]['entry'] = <<<EOF
<li id="{entryid}">
<a href="{link}" target="_blank" title="{subject}"><img src="{img}"/></a>
<h4><a href="{link}" target="_blank" title="{subject}">{subject}</a></h4>
<p class="date">{dateline}</p>
<p class="author">{username}{model:delete}</p>
</li>
EOF;
/*
//左图右文环绕
$elementtplarr[4]['element'] = <<<EOF
<div class="ss_element_4 ss_public" id="{elementid}_ul">
<h3>{elementtoolbar}<span id="{elementid}_t">[title]</span></h3>
	<img src="images/img.jpg"/>
	<ul>
		<li><a href="#" target="_blank">看看中的法的</a></li>
		<li><a href="#" target="_blank">看看中文文的</a></li>
		<li><a href="#" target="_blank">看看中文法文</a></li>
		<li><a href="#" target="_blank">看看中文的文</a></li>
		<li><a href="#" target="_blank">看看中文的文中文的文文的文</a></li>
		<li><a href="#" target="_blank">看看中文的和文的中的文法文</a></li>
		<li><a href="#" target="_blank">看看中文的和文的中文的法文</a></li>
	</ul>
</div>
EOF;
$elementtplarr[4]['entry'] = <<<EOF
objinfo.id = "slideimg";
objinfo.width = 262;
objinfo.height = 217;
objinfo.textheight = 30;
objinfo.pics = "http://x.discuz.net/attachments/2007/09/337394_200709051525372.thumb.jpg|http://x.discuz.net/attachments/2007/08/311519_200708281536011.thumb.jpg|";
objinfo.links = "http://x.discuz.net/?337394/viewspace-96357.html|http://x.discuz.net/?311519/viewspace-96307.html|";
objinfo.texts = "【分享】超级美穴组图(图)|与开发商面对面！《婚房博览会》广播节目征集现场嘉宾啦(图)|";
slidedx(objinfo);
EOF;

//右图左文环绕
$elementtplarr[5]['element'] = <<<EOF

EOF;
$elementtplarr[5]['entry'] = <<<EOF

EOF;

//横向纯图
$elementtplarr[6]['element'] = <<<EOF

EOF;
$elementtplarr[6]['entry'] = <<<EOF

EOF;

//纵向纯图
$elementtplarr[7]['element'] = <<<EOF

EOF;
$elementtplarr[7]['entry'] = <<<EOF

EOF;

//flash幻灯片
$elementtplarr[8]['element'] = <<<EOF

EOF;
$elementtplarr[8]['entry'] = <<<EOF

EOF;

//js幻灯片
$elementtplarr[9]['element'] = <<<EOF

EOF;
$elementtplarr[9]['entry'] = <<<EOF

EOF;
*/
?>