⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 campaign.htm

📁 论坛代码网增加免费空间业务
💻 HTM
字号:
<!--{if $action == 'list' && $catlist && $forumlist}-->
	<!--{loop $catlist $catid $cat}-->
	document.write('<div class="mainbox forumlist">'+
	'	<h3>');
		<!--{if $cat[logo]}-->document.write('<img src="$cat[logo]" style="float: left; height: 30px; margin-right: 10px" alt="" border="0" />');<!--{/if}-->
		document.write('$cat[name]</h3>'+
	'	<table cellspacing="0" cellpadding="0">'+
	'		<thead class="category">'+
	'			<tr>'+
	'				<th>{lang forum_name}</th>'+
	'				<td class="nums">{lang forum_threads}</td>'+
	'				<td class="nums">{lang forum_posts}</td>'+
	'				<td class="lastpost">{lang forum_lastpost}</td>'+
	'			</tr>'+
	'		</thead>');
			<!--{loop $forumlist[$catid] $forum}--><!--{eval $cid = $forum[cid];}-->
	document.write('			<tbody>'+
	'				<tr>'+
	'					<th class="new">'+
	'						<a href="campaign.php?action=view&cid=$cid">');
		<!--{if $forum[logo]}-->document.write('<img src="$forum[logo]" style="margin-right: 10px" align="left" alt="" border="0" />');<!--{/if}-->
		document.write('</a>'+
	'						<h2><a href="campaign.php?action=view&cid=$cid">$forum[name]</a></h2>');
							<!--{if $forum[description]}-->document.write('<p>$forum[description]</p>');<!--{/if}-->
	document.write('					</th>'+
	'					<td class="nums">{if $forum[threads]}$forum[threads]{else}--{/if}</span></td>'+
	'					<td class="nums">{if $forum[posts]}$forum[posts]{else}--{/if}</td>'+
	'					<td class="lastpost">{if $forum[lastpost]}<a href="campaign.php?action=view&cid=$cid&tid=$forum[lp][tid]">{echo cutstr($forum[lp][subject], 40)}</a><cite>{lang forum_lastpost_by} <a href="campaign.php?action=view&cid=$cid&tid=$forum[lp][tid]">$forum['lp']['author']</a> - $forum[lp][dateline]</cite>{else}--{/if}</td>'+
	'				</tr>'+
	'			</tbody>');
			<!--{/loop}-->
	document.write('	</table>'+
	'</div>');
	<!--{/loop}-->
<!--{elseif $action == 'view'}-->
	{subtemplate header}
	
	<center><iframe id="iframe" width="100%" align="center" height="1024" frameborder="0" scrolling="no" src="$iframeurl"></iframe><br /><br /></center>
	
	<script type="text/javascript">
		function resetheight() {
			var ih = getcookie('ih4_$cid');
			if(ih && $('iframe').style.height != ih) {
				if(is_ie) {
					$('iframe').style.height = ih;
				} else {
					$('iframe').height = ih;
				}
			}
		}
		setInterval(resetheight, 500);
	</script>

	<!--{if $update}-->
		<script type="text/javascript" src="api/advcache.php?type=4&amp;cid=$cid"></script>
	<!--{/if}-->

	{subtemplate footer}
<!--{/if}-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -