<div class="adminnavi">
  <a href="./index.php"><{$smarty.const._MI_BASE_NAME}></a>
  &raquo;&raquo; <a href="./index.php?action=CommentList"><{$smarty.const._MI_BASE_MENU_COMMENT_MANAGE}></a>
  &raquo;&raquo; <span class="adminnaviTitle"><{$smarty.const._AD_BASE_LANG_COMMENT_DELETE}></span>
</div>

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

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

<form method="post" action="./index.php?action=CommentDelete">
  <{xoops_token form=$actionForm}>
  <{xoops_input type=hidden name=com_id value=$actionForm->get('com_id')}>
  <table class="outer">
    <tr>
      <th colspan="2"><{$smarty.const._AD_BASE_LANG_COMMENT_DELETE}></th>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_ID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_id')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_PID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_pid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_ROOTID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_rootid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_MODID}></td>
      <td class="<{cycle values="odd,even"}>">
        <{if $obj->mModule}>
          <{$obj->mModule->getShow('name')}>
        <{/if}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_ITEMID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_itemid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_ICON}></td>
      <td class="<{cycle values="odd,even"}>">
        <{if $object->getShow('com_icon')}>
          <img src="<{$smarty.const.XOOPS_URL}>/images/subject/<{$object->getShow('com_icon')}>" />
        <{else}>
          <img src="<{$smarty.const.XOOPS_URL}>/images/icons/no_posticon.gif" />
        <{/if}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_CREATED}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->get('com_created')|xoops_formattimestamp:l}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->get('com_modified')|xoops_formattimestamp:l}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_UID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->mUser->getShow('uname')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_IP}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_ip')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_TITLE}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_title')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_TEXT}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_text')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_SIG}></td>
      <td class="<{cycle values="odd,even"}>">
        <{xoops_input type=radio name=com_sig value=1 default=$object->get('com_sig') disabled=true}><{$smarty.const._YES}>
        <{xoops_input type=radio name=com_sig value=0 default=$object->get('com_sig') disabled=true}><{$smarty.const._NO}>
      </td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_STATUS}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->mStatus->getShow('name')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._MD_BASE_LANG_COM_EXPARAMS}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getShow('com_exparams')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_CONTROL}></td>
      <td class="<{cycle values="odd,even"}>">
        <{xoops_input type=checkbox name=dohtml value=1 default=$object->get('dohtml') disabled=true}>
        <{$smarty.const._MD_BASE_LANG_DOHTML}><br />
        <{xoops_input type=checkbox name=dosmiley value=1 default=$object->get('dosmiley') disabled=true}>
        <{$smarty.const._MD_BASE_LANG_DOSMILEY}><br />
        <{xoops_input type=checkbox name=doxcode value=1 default=$object->get('doxcode') disabled=true}>
        <{$smarty.const._MD_BASE_LANG_DOXCODE}><br />
        <{xoops_input type=checkbox name=doimage value=1 default=$object->get('doimage') disabled=true}>
        <{$smarty.const._AD_BASE_LANG_DOIMAGE}><br />
        <{xoops_input type=checkbox name=dobr value=1 default=$object->get('dobr') disabled=true}>
        <{$smarty.const._MD_BASE_LANG_DOBR}>
      </td>
    </tr>
    <tr>
      <td colspan="2" class="foot">
        <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>

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

<table class="outer">
  <tr>
    <th><{$smarty.const._MD_BASE_LANG_COM_ID}><br />
    <th><{$smarty.const._MD_BASE_LANG_COM_MODID}><br />
    <th><{$smarty.const._MD_BASE_LANG_COM_TITLE}><br />
    <th><{$smarty.const._AD_BASE_LANG_COM_CREATED}><br />
    <th><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}><br />
    <th><{$smarty.const._AD_BASE_LANG_COM_UID}><br />
    <th><{$smarty.const._MD_BASE_LANG_COM_IP}><br />
    <th><{$smarty.const._AD_BASE_LANG_COM_STATUS}><br />
  </tr>
  <{foreach item=obj from=$children}>
    <tr class="<{cycle values='odd,even'}>">
      <td class="base_list_id"><{$obj->getShow('com_id')}></td>
      <td class="base_list_name">
        <{if $obj->mModule}>
          <{$obj->mModule->getShow('name')}>
        <{/if}>
      </td>
      <td class="base_list_title"><{$obj->getShow('com_title')}></td>
      <td class="base_list_date"><{$obj->getShow('com_created')|xoops_formattimestamp:l}></td>
      <td class="base_list_date"><{$obj->getShow('com_modified')|xoops_formattimestamp:l}></td>
      <td class="base_list_order"><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getShow('com_uid')}>"><{if $obj->mUser}><{$obj->mUser->getShow('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td>
      <td class="base_list_select"><{$obj->getShow('com_ip')}></td>
      <td class="base_list_control">
        <{if $obj->get('com_status') == 2}>
          <img src="<{"icons/active.gif"|theme}>" />
        <{/if}>
      </td>
    </tr>
  <{/foreach}>
</table>
