<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_VIEW}></span>
</div>

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

  <table class="outer">
    <tr>
      <th colspan="2"><{$smarty.const._AD_BASE_LANG_COMMENT_VIEW}></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"}>"><{$object->mModule->getShow('name')}></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')}>" alt="" />
        <{else}>
          <img src="<{$smarty.const.XOOPS_URL}>/images/icons/no_posticon.gif" alt="" />
        <{/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>
  </table>

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

<table class="outer">
  <tr>
    <th><{$smarty.const._MD_BASE_LANG_COM_ID}></th>
    <th><{$smarty.const._MD_BASE_LANG_COM_MODID}></th>
    <th><{$smarty.const._MD_BASE_LANG_COM_TITLE}></th>
    <th><{$smarty.const._AD_BASE_LANG_COM_CREATED}></th>
    <th><{$smarty.const._AD_BASE_LANG_COM_MODIFIED}></th>
    <th><{$smarty.const._AD_BASE_LANG_COM_UID}></th>
    <th><{$smarty.const._MD_BASE_LANG_COM_IP}></th>
    <th><{$smarty.const._AD_BASE_LANG_COM_STATUS}></th>
  </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"><{$obj->mModule->getShow('name')}></td>
      <td class="base_list_title"><{$obj->getShow('com_title')}></td>
      <td class="base_list_date"><{$obj->get('com_created')|xoops_formattimestamp:l}></td>
      <td class="base_list_date"><{$obj->get('com_modified')|xoops_formattimestamp:l}></td>
      <td class="base_list_name"><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&amp;uid=<{$obj->getShow('com_uid')}>"><{if $obj->mUser}><{$obj->mUser->getShow('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td>
      <td class="base_list_order"><{$obj->getShow('com_ip')}></td>
      <td class="base_list_select">
        <{if $obj->get('com_status') == 2 }>
          <img src="<{"icons/active.gif"|theme}>" alt="*active*" title="*active*" />
        <{/if}>
      </td>
    </tr>
  <{/foreach}>
</table>
