taron133
2020-10-26 aa8d874c8a3287d41d26566ae32b6ed8d4557ff9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{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_WTSelectItem('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_DeleteDoc({$col[0]});return false;" title="{$cgrid_delete}"><span class="glyphicon glyphicon-trash"></span></button>
        </td>{else}<td class="notfixed">&nbsp;</td>{/if}
    </tr>
    {/foreach}
</table>
 
<div id="content_doc_div" style="margin: 10px 0 10px 0;" class="x-media">