<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_LEGACYRENDER_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=BannerList"><{$smarty.const._MI_LEGACYRENDER_ADMENU_BANNER_MANAGE}></a>
  &raquo;&raquo; <span class="adminnaviTitle"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}></span>
</div>

<h3 class="admintitle"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}></h3>

<div class="confirm"><{$smarty.const._AD_LEGACYRENDER_MESSAGE_CONFIRM_DELETE}></div>

<form method="post" action="./index.php?action=BannerDelete">
  <{xoops_token form=$actionForm}>
  <{xoops_input type=hidden name=bid value=$actionForm->get('bid')}>
  <table class="outer">
    <tr>
      <th colspan="2"><{$smarty.const._AD_LEGACYRENDER_LANG_BANNER_DELETE}></th>
    </tr>
    <tr>
      <td class="head legacyRender_list_image" colspan="2">
        <{if $object->get('htmlbanner')}>
          <{$object->get('htmlcode')}>
        <{else}>
          <a href="<{$object->getShow('clickurl')}>" rel="external"><img src="<{$object->getShow('imageurl')}>" alt="Banner" /></a>
        <{/if}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_BID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('bid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLIENT_NAME}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->mClient->getShow('name')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPTOTAL}></td>
      <td class="<{cycle values="odd,even"}>">
        <{if $object->get('imptotal') > 0}>
          <{$object->getShow('imptotal')}>
        <{else}>
          <{$smarty.const._AD_LEGACYRENDER_LANG_UN_LIMITED}>
        <{/if}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMPMADE}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('impmade')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKS}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('clicks')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_IMAGEURL}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('imageurl')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_CLICKURL}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('clickurl')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_DATE}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->get('date')|xoops_formattimestamp}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLBANNER}></td>
      <td class="<{cycle values="odd,even"}>"><{if $object->getShow('htmlbanner') ==1}><{$smarty.const._YES}><{else}><{$smarty.const._NO}><{/if}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_LEGACYRENDER_LANG_HTMLCODE}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('htmlcode')}></td>
    </tr>
    <tr>
      <td class="foot" colspan="2">
        <input class="formButton" type="submit" value="<{$smarty.const._DELETE}>" />
        <input class="formButton" type="submit" value="<{$smarty.const._BACK}>" name="_form_control_cancel" />
      </td>
    </tr>
  </table>
</form>
