<div class="program {$group.type} {if $listing.sticky}sticky{/if}">
<div class="title clearfix">
<a class="name" href="{"?a=go&lid=`$listing.id`"|encurl}" target=_blank>{$listing.name|escape:html} {if $listing.new} <font size="3" color="#FF0000"><b>new</b></font>{/if}</a>
</div>
<div class="main clearfix">
<div class="col1 clearfix" style="background: url('http://mozshot.nemui.org/shot/120x90?{$listing.url}') no-repeat center;"></div>
<div class="col1_2">
  <div class="status status{$listing.hyip_status}">
  {if $listing.hyip_status == 1}Paying
  {elseif $listing.hyip_status == 2}Waiting
  {elseif $listing.hyip_status == 3}Problem
  {elseif $listing.hyip_status == 4}Not Paying{/if}
  </div>
</div>
<div class="col2">
  <div class="amountdiv">Minimal Spend: <b class="min">{$listing.min_spend}</b></div>
  <div class="amountdiv">Maximal Spend: <b class="max">{$listing.max_spend|default:"No Limit"}</b></div>
  <div class="referral">Referral:  <b>{$listing.referral|default:"No"}</b></div>
  <div class="withdrawal">Withdrawal: <b>
  {if $listing.withdrawal_type == 1}Manual
  {elseif $listing.withdrawal_type == 2}Instant
  {elseif $listing.withdrawal_type == 3}Automatic{/if}
  </b></div>                       
</div>
<div class="col3 clearfix">
	<div class="percents">{$listing.percents|escape:html|nl2br}</div>
</div>
</div>
<a href="#" style="text-decoration:none" class="detailsButton" rel="{$listing.id}"><div class="details">DETAILS</div></a>
<div class="details_h" id="detailsBox{$listing.id}" style="display:none">
	<div class="details_h_s1c1">
        <div class="ourrating">
            <div class="rating">Our Rating:</div>
            <div class="emptystars"><div class="fullstars" style="width: {$listing.ourrating}%"></div></div>
        </div>
        <div class="usrrating">
            <div class="rating">Users Rating:</div>
            <div class="emptystars"><div class="fullstars" style="width: {$listing.usrrating}%" title="{$listing.avg_vote} / {$listing.cvotes} votes"></div></div>
        </div>
    </div>
    <div class="details_h_s1c2">
        <div class="votes_summary">
            <div class="summary mood3">
                <div class="mood"></div>
                <div class="rate">{$listing.votes_summary.3.count}</div>
            </div>
            <div class="summary mood2">
                <div class="mood"></div>
                <div class="rate">{$listing.votes_summary.2.count}</div>
            </div>
            <div class="summary mood1">
                <div class="mood"></div>
                <div class="rate">{$listing.votes_summary.1.count}</div>
            </div>
            <div class="summary mood0">
                <div class="mood"></div>
                <div class="rate">{$listing.votes_summary.0.count}</div>
            </div>
        </div>
    </div>
    <div class="details_h_s1c3">
    	<div class="added">Added: <b>{$listing.added}</b></div>
{if $listing.spend > 0}
		<div class="lastpayout">Last Payout: <b>{$listing.lastpayout|default:"No Payouts"}</b></div>
{/if}
    </div>
    <div class="details_h_s1c4">
{if $listing.spend > 0}
		<div class="investment">Our Invetment: <b>${$listing.spend}</b></div>
{/if}
		<div class="referral">Referral:  <b>{$listing.referral|default:"No"}</b></div>
    </div>
    <div class="clearall"></div>
    <div class="description">{$listing.description}</div>
{if $settings.show_admin_note && $listing.admin_note}
	<div class="adminnote"><b>Admin Note:</b> {$listing.admin_note}</div>
{/if}
    <div class="details_h_s3c1">
        <div class="support">
        Support:
        {if $listing.support_email} <a href="mailto:{$listing.support_email}"><img src="{"`$theme`images/smail.png"|encurl}" alt="Support E-Mail" title="Support E-Mail"></a>{/if}
        {if $listing.support_form}  <a href="{$listing.support_form}" target=_blank><img src="{"`$theme`images/sform.png"|encurl}" alt="Support Form" title="Support Form"></a>{/if}
        {if $listing.support_forum} <a href="{$listing.support_forum}" target=_blank><img src="{"`$theme`images/sforum.png"|encurl}" alt="Support Forum" title="Support Forum"></a>{/if}
        {if $listing.support_phone} <img src="{"`$theme`images/sphone.png"|encurl}" alt="Phone: {$listing.support_phone}" title="Phone: {$listing.support_phone}">{/if}
        {if $listing.support_aim}   <img src="{"`$theme`images/smsn.png"|encurl}" alt="{$listing.support_aim}" title="{$listing.support_aim}">{/if}
        </div>
		<div class="forums">&nbsp;&nbsp;<a href="http://www.allhyipmonitors.com/search/?keyword={$listing.url|escape:url}&status={$listing.hyip_status}&lid={$listing.id}&ref={$settings.site_url|parse_url:1}" target=_blank>AHM</a>
        {section name=p loop=$listing.forums}
        <a href="{$listing.forums[p].url|escape:htmlall}" target=_blank>{$listing.forums[p].name}</a>
        {/section}
		</div>
        <div class="clearall"></div>
    </div>
    <div class="details_h_s3c2">
        <ul>
        {if !$detailed}
          <li><a href="{"?a=details&lid=`$listing.id`"|encurl}">Details</a>,</li>
        {/if}
          <li><a href="{"?a=add_vote&lid=`$listing.id`"|encurl}">Vote Now</a>,</li>
          <li><a href="{"?a=statistics&lid=`$listing.id`"|encurl}">Payouts</a>,</li>
          <li><a href="{"?a=traffic&lid=`$listing.id`"|encurl}">Traffic</a>,</li>
          <li><a href="{"?a=whois&lid=`$listing.id`"|encurl}">Whois</a>,</li>
          <li><a href="{"?a=report_scam&lid=`$listing.id`"|encurl}">Report Scam</a>,</li>
        {if $settings.refback_enabled}
          <li><a href="{"?a=refback&lid=`$listing.id`"|encurl}">Request RCB</a>,</li>
        {/if}
          <li><a href="{"?a=get_code&lid=`$listing.id`"|encurl}">Get Code</a>,</li>
          <li>{if $listing.bookmark}<a href="{"?a=bookmarks&action=remove&lid=`$listing.id`"|encurl}" onclick="return confirm('Do you really want to remove the program from bookmarks?')">- Bookmark</a>{else}<a href="{"?a=bookmarks&action=add&lid=`$listing.id`"|encurl}">Bookmark</a>{/if}</li>
        </ul>
    </div>
    <div class="clearall"></div>
</div>
<div class="details_f">
	<div class="details_left">
        <div class="paysystems">{section name=p loop=$listing.payments}<img src="{"`$theme`images/`$listing.payments[p].name`.gif"|encurl}" alt="{$listing.payments[p].name}" title="{$listing.payments[p].name}"> {/section}</div>
        <div class="options">{section name=p loop=$listing.options}<img src="{"`$theme`images/`$listing.options[p].name`.gif"|encurl}" alt="{$listing.options[p].name}" title="{$listing.options[p].name}"> {/section}</div>
    </div>
    <div class="details_right">
    	<b>{$listing.monitored}</b> days
    </div>
</div>
</div>
<div class="clearall"></div>