All pastes #434836 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-04-11 17:01 UTC
rendered paste body
<div class="content-intro">

		{if $sectionObj->get_pap_parid() != $sectionObj->article1->id}
			{if $sectionObj->article1->id != "" && $sectionObj->article1->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article1->get_par_featurethumb() != ''}
						<a href="?section=article&parid={$sectionObj->article1->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article1->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
						<div class="content-type">
						<h3>{$sectionObj->article1->get_par_title()}</h3>
						<p>{$sectionObj->article1->get_par_intro()|truncate:80:"..."}</p>
						<a href="?section=article&parid={$sectionObj->article1->get_id()}">more</a>
						</div>
				</div>
			{/if}
		{/if}
		{if $sectionObj->get_pap_parid() != $sectionObj->article2->id}
			{if $sectionObj->article2->id !="" && $sectionObj->article2->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article2->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article2->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article2->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article2->get_par_title()}</h3>
					<p>{$sectionObj->article2->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article2->get_id()}">more</a>
					</div>	
				</div>
			{/if}
		{/if}	
		{if $sectionObj->get_pap_parid() != $sectionObj->article3->id}
			{if $sectionObj->article3->id !="" && $sectionObj->article3->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article3->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article3->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article3->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article3->get_par_title()}</h3>
					<p>{$sectionObj->article3->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article3->get_id()}">more</a>
					</div>
				</div>
			{/if}
		{/if}	
		{if $sectionObj->get_pap_parid() != $sectionObj->article4->id}	
			{if $sectionObj->article4->id !="" && $sectionObj->article4->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article4->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article4->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article4->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article4->get_par_title()}</h3>
					<p>{$sectionObj->article4->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article4->get_id()}">more</a>
					</div>	
				</div>	
			{/if}									
		{/if}

		
		
		{if $sectionObj->get_pap_parid() != $sectionObj->article5->id}
			{if $sectionObj->article5->id !="" && $sectionObj->article5->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article5->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article5->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article5->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article5->get_par_title()}</h3>
					<p>{$sectionObj->article5->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article5->get_id()}">more</a>
					</div>	
				</div>
			{/if}
		{/if}
		{if $sectionObj->get_pap_parid() != $sectionObj->article6->id}
			{if $sectionObj->article6->id !="" && $sectionObj->article6->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article6->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article6->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article6->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article6->get_par_title()}</h3>
					<p>{$sectionObj->article6->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article6->get_id()}">more</a>
					</div>	
				</div>
			{/if}
		{/if}
		{if $sectionObj->get_pap_parid() != $sectionObj->article7->id}
			{if $sectionObj->article7->id !="" && $sectionObj->article7->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article7->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article7->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article7->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article7->get_par_title()}</h3>
					<p>{$sectionObj->article7->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article7->get_id()}">more</a>
					</div>	
				</div>
			{/if}
		{/if}
		{if $sectionObj->get_pap_parid() != $sectionObj->article8->id}
			{if $sectionObj->article8->id !="" && $sectionObj->article8->get_par_publishflag() == "TRUE"}
				<div class="photo-intro-02">
					{if $sectionObj->article8->get_par_featurethumb() != ''}	
						<a href="?section=article&parid={$sectionObj->article8->get_id()}"><img src="{$application_url}modules/magsection/article/uploaded_images/{$sectionObj->article8->get_par_featurethumb()}" border="0" height="114" width="114"/></a>
							{else}
						<div style="width:120px; height:114px;">
							&nbsp;
						</div>
					{/if}
					<div class="content-type">
					<h3>{$sectionObj->article8->get_par_title()}</h3>
					<p>{$sectionObj->article8->get_par_intro()|truncate:80:"..."}</p>
					<a href="?section=article&parid={$sectionObj->article8->get_id()}">more</a>
					</div>
				</div>	
			{/if}
		{/if}
									
	</div>