video.tpl 1.33 KB
<a href="{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction=products&rubID={$smarty.get.rubID}&productID={$smarty.get.productID}">Âåðíóòüñÿ â ðàçäåë</a>
<br />
<input type="button" class="submit_green" value="Ñîçäàòü" onClick="document.location='{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction={$smarty.get.modAction}&rubID={$smarty.get.rubID}&productID={$smarty.get.productID}&save'">
<br><br>
{if count($galleryAllData.data)}
<table cellpadding="2" cellspacing="2" bgcolor="#7C7C7C">
{section name=i loop=$galleryAllData.data}

<tr bgcolor="#E2E2E2"><td width="400">{$galleryAllData.data[i].name}</td>
<td align="center" colspan="3" style="padding-top:2px;">
<input type="button" class="submit_orange" value="Ïðàâèòü" onClick="document.location='{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction=video&rubID={$smarty.get.rubID}&productID={$smarty.get.productID}&save&editID={$galleryAllData.data[i].id}';">
<input type="button" class="submit_red" value="Óäàëèòü" onClick="del('{$smarty.const.URL}admin.php?action={$rules_info_one.action}&modAction=video&rubID={$smarty.get.rubID}&productID={$smarty.get.productID}&deleteID={$galleryAllData.data[i].id}');">
</td></tr>

{/section}


</table>



<br>
{if $galleryAllData.links}<div class="pager">Ñòðàíèöû: {$galleryAllData.links}</div>{/if}
{/if}