rendered paste body<xar:template file="publinks" type="module" />
<xar:base-include-javascript filename="showit.js" />
<xar:base-include-javascript filename="leadtabs.js" />
<xar:categories-navigation layout="trails" showchildren="1" module="articles" itemtype="$ptid" itemid="$aid" cids="$cids" showcatcount="$showcatcount" showempty="0" />
<div class="xar-alt-outline" style="width: 95%;">
<div class="xar-accent-outline" style="width: 100%;">
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="left" valign="top" class="xar-normal">
<span class="title1">
#$title#
<xar:if condition="!empty($editurl)">
[<a href="#$editurl#">#$edittitle#</a>]
</xar:if>
</span>
<div align="right">
<span class="xar-sub">
#$topic_icons#
</span>
</div>
<font class="normaltext">#$address#
<br />#$city#, #$state#, #$zip#
</font>
<br />
<span class="xar-quote">
#$notes#
</span>
<!--START ICON BAR-->
<ul id="tablist">
<!--li><a href="http://www.dynamicdrive.com" class="current" onClick="return expandcontent('sc1', this)">Dynamic Drive</a></li>
<li><a href="new.htm" onClick="return expandcontent('sc2', this)" theme="#EAEAFF">What's New</a></li>
<li><a href="hot.htm" onClick="return expandcontent('sc3', this)" theme="#FFE6E6">What's Hot</a></li-->
<li>
<img src="http://crescendodfw.com/icongallery/thumbnails/note2.jpg" class="current" onClick="return expandtab('sc1', this)" />
</li>
<li>
<img src="http://crescendodfw.com/icongallery/thumbnails/calendar.jpg" onClick="return expandtab('sc2', this)" />
</li>
<li>
<img src="http://crescendodfw.com/icongallery/thumbnails/email.jpg" onClick="return expandtab('sc3', this)" />
</li>
</ul>
<!--END ICON BAR-->
<!--Start Show / Collapse All-->
<!--Optional Expand/ Contact All links. Remove if desired-->
<br />
<div><a href="javascript:sweeptoggle('contract')" class="collapseall">-</a> | <a href="javascript:sweeptoggle('expand')" class="collapseall">+</a>
</div>
<!--END Show / Collapse all-->
<DIV id="tabcontentcontainer">
<!-- START LEAD NOTES -->
<div id="sc1" class="tabcontent">
<xar:comment>
now we start pullin the children in
(got this template code from tangant.com -dan)
</xar:comment>
<xar:set name="$foo">1;
$id = $aid;
$args['module'] = 'articles';
$args['itemtype'] = 10;
$args['where'] = 'lead eq ' . $aid;
</xar:set>
<xar:set name="$vidddlist">
xarModAPIFunc('dynamicdata','user','getitems',$args)
</xar:set>
<xar:set name="$vidarray">
$vidid = array_keys($vidddlist);
$vidids = $vidid;
$listargs['sort'] = 'date';
$listargs['aids'] = $vidids;
</xar:set>
<xar:set name="$vidlinks">
xarModAPIFunc('articles','user','getall',$listargs)
</xar:set>
<xar:if condition="!empty($vidid)">
<div class="xar-norm">
<xar:foreach in="$vidlinks" key="$id" value="$aid">
<div class="leadnotes">
<div onClick="expandcontent(this, '#$aid['aid']#')" style="cursor:hand; cursor:pointer; border-bottom:1px solid #cccccc;border-right:1px solid #cccccc;margin-bottom:10px;" class="title2">#$aid['title']#</div>
<div id="#$aid['aid']#" class="switchcontent">#$aid['body']#</div>
</div><!-- end lead notes--></xar:foreach>
</div><!-- end of xar-norm --></xar:if>
</div><!--end of sc1-->
<!-- START EVENTS -->
<div id="sc2" class="tabcontent">
<xar:comment>
now we start pullin the children in
(got this template code from tangant.com -dan)
</xar:comment>
<xar:set name="$bar">1;
$id = $aid;
$args['module'] = 'articles';
$args['itemtype'] = 11;
$args['where'] = 'events eq ' . $aid;
</xar:set>
<xar:set name="$vidddlist">
xarModAPIFunc('dynamicdata','user','getitems',$args)
</xar:set>
<xar:set name="$vidarray">
$vidid = array_keys($vidddlist);
$vidids = $vidid;
$listargs['sort'] = 'date';
$listargs['aids'] = $vidids;
</xar:set>
<xar:set name="$vidlinks">
xarModAPIFunc('articles','user','getall',$listargs)
</xar:set>
<xar:if condition="!empty($vidid)">
<div class="xar-norm">
<xar:foreach in="$vidlinks" key="$id" value="$aid">
<div class="leadnotes">
<div onClick="expandcontent(this, '#$aid['aid']#')" style="cursor:hand; cursor:pointer; border-bottom:1px solid #cccccc;border-right:1px solid #cccccc;margin-bottom:10px;" class="title2">#$aid['title']#
<div id="#$aid['aid']#" class="switchcontent">#$aid['body']#</div>
</div>
</xar:foreach>
</div>
</xar:if>
</div>
</div>
</div>
</div>
</div>
<!-- END EVENTS-->
<div id="sc3" class="tabcontent">
This is tab 3
</div>
</div>
<xar:if condition="!empty($previous) and !empty($next)">
<div class="xar-normal" style="text-align:right; padding:.25em;">
<span>
#$previous#
</span>
<span>
#$next#
</span>
</div>
</xar:if>
</td>
</tr>
</table>
</div>
</div>
<xar:if condition="!empty($prevart) || !empty($nextart)">
<br />
<table border="0" width="95%">
<tr>
<td align="left">
<xar:if condition="!empty($prevart)"><a href="#$prevart#">< <xar:mlstring>prev</xar:mlstring> </a></xar:if>
</td>
<td align="right">
<xar:if condition="!empty($nextart)"> <a href="#$nextart#"><xar:mlstring>next</xar:mlstring> ></a></xar:if>
</td>
</tr>
</table>
</xar:if>
<xar:if condition="!empty($hooks)">
<br />
<xar:foreach in="$hooks" key="$hookmodule">
#$hooks[$hookmodule]#
</xar:foreach>
</xar:if>
<xar:template file="navtabs-user" type="module" />