{if $isEdit}
|
<form action="{$GRID_LINK}" method="post" enctype="multipart/form-data">
|
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
|
<tr>
|
<td class="fixed" style="width:80px;" align="center">
|
{$filename}
|
</td>
|
<td class="fixed">
|
<input type="file" name="file[]" multiple>
|
</td>
|
</tr>
|
<tr>
|
<td class="notfixed" colspan="2">
|
<input type="submit" style="margin-left:60px;" class="btn btn-primary" name="OK" value="OK" />
|
</td>
|
</tr>
|
</table>
|
</form>
|
{/if}
|
|
|
<table summary="T" style="border:1px #666 solid;" width="100%" cellpadding="0" cellspacing="1">
|
<tr class="fixed" align="center">
|
<td style="text-size:small;FONT-WEIGHT: normal;">№</td>
|
<td style="text-size:small;FONT-WEIGHT: normal;">{$filename}</td>
|
<td style="text-size:small;FONT-WEIGHT: normal;">{$filesize}</td>
|
<td style="text-size:small;FONT-WEIGHT: normal;" width="3%">
|
<button type="button" class="btn btn-info" onclick="location.href='{$BackLink}'" title="{$cgrid_back}"><span class="glyphicon glyphicon-share-alt"></span></button>
|
</td>
|
</tr>
|
|
{foreach from=$GRID_RESULTS item=col key=iter name=fiter0}
|
<tr align="center" id="docs_tr{$iter}" onmouseover="Sel(this);" onmouseout="UnSel(this);" onclick="xajax_cgridSelectDoc('docs_', '{$col[0]}', '{$col[1]}', '{$col[2]}', '{$updoc}'); SelectItem(this, 'docs_'); GID('content_doc_div').scrollIntoView();" style="text-decoration: none; color: rgb(0, 0, 0);">
|
{foreach from=$col item=row key=iter2 name=fiter}
|
{if $iter2==0}<td class="fixed">{$iter+1}</td>
|
{else}<td id="docs_td{$iter}_{$iter2}" class="notfixed">{$row}</td>{/if}
|
{/foreach}
|
{if $isEdit}<td class="notfixed">
|
<button type="button" class="btn btn-danger"" onclick="if (confirm('{$del}')) xajax_cgridDeleteDoc({$col[0]});return false;" title="{$cgrid_delete}"><span class="glyphicon glyphicon-trash"></span></button>
|
</td>{else}<td class="notfixed"> </td>{/if}
|
</tr>
|
{/foreach}
|
</table>
|
|
<div id="content_doc_div" style="margin: 10px 0 10px 0;" class="x-media">
|