{imp:"c_pub/a-frame"}<!--模板继承-->
{block:title}{php echo lang('user.pub_cindoc').'-'.$_cbase['sys_name']; }{/block:title}

{block:action}

<?php
$gets = basLang::ucfg('cfgbase.indoc_types'); 
$part = req('part','imy');
$stype = req('stype',''); $stit2 = vopCell::cOpt($stype,$this->mod);
$stitle = @$gets[substr($part,1)] .(empty($stit2)?'':'-') .$stit2;
$null = "<span class='cCCC'>---</span>"; //where
$where = \imcat\umc\texIndoc::expwhr($user,$part,$stype); 
?>
<div class="pgf_mid">
  <div class="pgf_mcon"> 
    <div class="news-tbar">
    <i>{=$stitle}</i>
    <i class="right">
    <a href="?{=$this->mkv}&part={=$part}">[{lang(user.idoc_all)}]</a>
    {tag:tp=[Type,u][modid,$this->mod][idfix,top]}
    # <a href="?{=$this->mkv}&part={=$part}&stype={=$t_kid}">{title($t_title,32,$u)}</a>
    {/tag:tp}
    </i>
    </div>
{tag:dlist=[Page][modid,$this->mod][keywd][where,$where][limit,20]}
<dl class="news-list"> 
  {:row}
  <dt>
  {php echo \imcat\umc\texIndoc::isread($user,$t_did); } 
  {sopt($t_rdtip,indoc.rdtip,0,"&nbsp;")} 
  <a href="{surl($this->mod.".$t_did")}" target="_blank">{title($t_title,60,$v)}</a>
  {if !empty($t_hinfo)}<b class="uimark-star-icon1a">&nbsp;</b>{/if}
  </dt>
  <dd><i class="atype">{sopt($t_catid,$this->mod,0,$null)}</i> <i class="atime">{stime($t_atime,min)}</i></dd>
  {if (($i_v+1)%5==0) } <div class="h15 cleft">&nbsp;</div> {/if}
  {/row}
</dl>
<div class="clear"></div>
<?php 
if($_cbase['page']['prec']){ echo $_cbase['page']['bar']; }
else{ echo "<dt>".lang('user.idoc_nodata')."</dt>"; }
?>
{/tag:dlist}

    <div class="clear"></div>
  </div>
</div>

{/block:action}

{block:uend}{php} 
$_cview = $part ? $part : $this->view; {/php}
{:parent}{/block:uend}
