Вход Регистрация
Файл: themes/administrator/ads_manage.tpl
Строк: 209
<div class="middle" id="anchor-content">
<div id="page:main-container"> <div
class="columns "> <div
class="side-col" id="page:left">
<h3>Advertisements</h3>
<ul id="isoft" class="tabs"> <li
> <a href="ads_manage.php"
id="isoft_group_1" name="group_1" title="Standard
Ads" class="tab-item-link ">
<span> <span
class="changed" title=""></span>
<span class="error"
title=""></span>
Standard Ads </span>
</a>







<div
id="isoft_group_1_content" style="display:none;">
<div class="entry-edit">
<div
class="entry-edit-head">
<h4 class="icon-head head-edit-form
fieldset-legend">Advertisements</h4>
<div class="form-buttons">
</div>
</div>
<div> <div id="customerGrid">
<table cellspacing="0" class="actions">
<tr> <td
class="pager"> Showing {if
$total gt 0}{$beginning} - {$ending} of {/if}{$total} Advertisements
</td> <td class="export
a-right"></td> <td
class="filter-actions a-right">
<button id="id_ffba3971e132ae3d78c160244ea09b39"
type="button" class="scalable "
onclick="document.location.href='ads_manage.php'"
style=""><span>Reset
Filter</span></button> <button
id="id_56a0b03bf0b3be131176f3243cc289ff" type="button"
class="scalable task"
onclick="document.main_form.submit();"
style=""><span>Search</span></button>
</td> </tr>
</table>
<div class="grid"> <div
class="hor-scroll"> <table
cellspacing="0" class="data"
id="customerGrid_table">
<col width="50" width="100px" />
<col /> <col
width="50" /> <col
width="215" /> <thead>
<tr class="headings">
<th ><span class="nobr"><a
href="ads_manage.php?page={$currentpage}&sortby=AID&sorthow={if
$sortby eq "AID"}{if $sorthow eq
"desc"}asc{else}desc{/if}{else}{$sorthow}{/if}{if $search eq
"1"}&fromid={$fromid}&toid={$toid}&details={$details}&active={$active}{/if}"
name="id" class="{if $sortby eq
"AID"}sort-arrow-{if $sorthow eq
"desc"}desc{else}asc{/if}{else}not-sort{/if}"><span
class="sort-title">ID</span></a></span></th>
<th ><span
class="nobr"><a
href="ads_manage.php?page={$currentpage}&sortby=details&sorthow={if
$sortby eq "details"}{if $sorthow eq
"desc"}asc{else}desc{/if}{else}{$sorthow}{/if}{if $search eq
"1"}&fromid={$fromid}&$toid={$toid}&details={$details}&active={$active}{/if}"
name="details" class="{if $sortby eq
"details"}sort-arrow-{if $sorthow eq
"desc"}desc{else}asc{/if}{else}not-sort{/if}"><span
class="sort-title">Description</span></a></span></th>
<th ><span
class="nobr"><a
href="ads_manage.php?page={$currentpage}&sortby=active&sorthow={if
$sortby eq "active"}{if $sorthow eq
"desc"}asc{else}desc{/if}{else}{$sorthow}{/if}{if $search eq
"1"}&fromid={$fromid}&$toid={$toid}&details={$details}&active={$active}{/if}"
name="active" class="{if $sortby eq
"active"}sort-arrow-{if $sorthow eq
"desc"}desc{else}asc{/if}{else}not-sort{/if}"><span
class="sort-title">Active</span></a></span></th>
<th class=" no-link
last"><span
class="nobr">Action</span></th>
</tr> <tr
class="filter">
<th > <div
class="range">
<div class="range-line">
<span class="label">From:</span>
<input
type="text" name="fromid" id="fromid"
value="{$fromid}" class="input-text no-changes"/>
</div>
<div class="range-line">
<span
class="label">To : </span>
<input type="text"
name="toid" id="toid" value="{$toid}"
class="input-text no-changes"/>
</div>
</div> </th>
<th ><input type="text"
name="details" id="details"
value="{$details|stripslashes}" class="input-text
no-changes"/></th>
<th ><input type="checkbox" name="active"
id="active" {if $active eq
"on"}checked="checked"{/if}></th>
<th class=" no-link last">
<div style="width:
100%;">&nbsp;</div>
</th> </tr>
</thead> <tbody>
{section name=i loop=$results}
<tr id="" >
<td align="center">{$results[i].AID}</td>
<td class="
">{$results[i].description|stripslashes}</td>
<td class=" ">
<form name="a{$results[i].AID}"
id="a{$results[i].AID}" action=""
method="post">
<input type="hidden" name="AAID"
value="{$results[i].AID}" />
<input type="hidden" name="asub"
value="1" />
<input type="hidden" name="aval"
value="{$results[i].active}" />
</form> <a
href="javascript: document.a{$results[i].AID}.submit();">{if
$results[i].active eq "1"}Yes{else}No{/if}</a>
</td>
<td class=" last">
<a
href="ads_preview.php?AID={$results[i].AID}">Preview</a>&nbsp;|&nbsp;
<a
href="ads_code.php?AID={$results[i].AID}">Get
Code</a>&nbsp;|&nbsp;
<a
href="ads_edit.php?AID={$results[i].AID}">Edit</a>&nbsp;|&nbsp;
<a
href="ads_manage.php?page={$currentpage}&sortby={$sortby}&sorthow={$sorthow}{if
$search eq
"1"}&fromid={$fromid}&toid={$toid}&details={$details}&active={$active}{/if}&delete=1&AID={$results[i].AID}">Delete</a>
</td>
</tr> {/section}
<tr>
<td colspan="4">
{$pagelinks} </td>
</tr>
</tbody> </table>
</div>
</div> </div> </div> </div> </div>










</li>
<li >
<a href="ads_create.php" id="isoft_group_2"
name="group_2" title="Create Standard Ad"
class="tab-item-link">
<span> <span
class="changed" title=""></span>
<span class="error"
title=""></span>
Create Standard Ad </span>
</a>
<div id="isoft_group_2_content"
style="display:none;"></div>
</li> </ul>
<script type="text/javascript">
isoftJsTabs = new varienTabs('isoft', 'main_form',
'isoft_group_1', []); </script>
</div> <div
class="main-col" id="content"> <div
class="main-col-inner"> <div
id="messages"> {if $message ne
"" OR $error ne ""}
{include file="administrator/show_message.tpl"}
{/if} </div>
<div class="content-header">
<h3 class="icon-head
head-products">Advertisements - Standard Ads</h3>
<p class="content-buttons
form-buttons"> <button
id="id_be616be1324d8ae4516f276d17d34b9c" type="button"
class="scalable add"
onclick="document.location.href='ads_create.php'"
style=""><span>Create Standard
Ad</span></button>
</p> </div>
<form
action="ads_manage.php" method="post"
id="main_form" name="main_form"
enctype="multipart/form-data">
<input type="hidden" id="submitform"
name="submitform" value="1" >
<div style="display:none"></div>

</form> </div> </div> </div>
</div> </div>
Онлайн: 1
Реклама