<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; <{$smarty.const._AD_BASE_LANG_COMMENT_VIEW}>
</div>

<h3><{$smarty.const._AD_BASE_LANG_COMMENT_VIEW}></h3>

  <table class="outer">
    <tr>
      <th colspan="2">Please decide the message which we should display here</th>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_id')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_PID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_pid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ROOTID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_rootid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_MODID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->mModule->getVar('name')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ITEMID}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_itemid')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_ICON}></td>
      <td class="<{cycle values="odd,even"}>"><img src="<{$smarty.const.XOOPS_URL}>/images/subject/<{$object->getVar('com_icon')}>" /></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_CREATED}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('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->getVar('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->getVar('uname')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_IP}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_ip')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TITLE}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('com_title')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_TEXT}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('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->getVar('com_sig') disabled=true}><{$smarty.const._YES}>
        <{xoops_input type=radio name=com_sig value=0 default=$object->getVar('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->getVar('name')}></td>
    </tr>
    <tr>
      <td class="head"><{$smarty.const._AD_BASE_LANG_COM_EXPARAMS}></td>
      <td class="<{cycle values="odd,even"}>"><{$object->getVar('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->getVar('dohtml') disabled=true}>
        <{$smarty.const._AD_BASE_LANG_DOHTML}><br />
        <{xoops_input type=checkbox name=dosmiley value=1 default=$object->getVar('dosmiley') disabled=true}>
        <{$smarty.const._AD_BASE_LANG_DOSMILEY}><br />
        <{xoops_input type=checkbox name=doxcode value=1 default=$object->getVar('doxcode') disabled=true}>
        <{$smarty.const._AD_BASE_LANG_DOXCODE}><br />
        <{xoops_input type=checkbox name=doimage value=1 default=$object->getVar('doimage') disabled=true}>
        <{$smarty.const._AD_BASE_LANG_DOIMAGE}><br />
        <{xoops_input type=checkbox name=dobr value=1 default=$object->getVar('dobr') disabled=true}>
        <{$smarty.const._AD_BASE_LANG_DOBR}>
      </td>
    </tr>
  </table>

<h3><{$smarty.const._AD_BASE_LANG_RES_FOR_COMMENT}></h3>

<table class="outer">
  <tr>
    <th><{$smarty.const._AD_BASE_LANG_COM_ID}><br />
    <th><{$smarty.const._AD_BASE_LANG_COM_MODID}><br />
    <th><{$smarty.const._AD_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._AD_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'}>" style="text-align:center">
      <td><{$obj->getVar('com_id')}></td>
      <td><{$obj->mModule->getVar('name')}></td>
      <td><{$obj->getVar('com_title')}></td>
      <td><{$obj->getVar('com_created')|xoops_formattimestamp:l}></td>
      <td><{$obj->getVar('com_modified')|xoops_formattimestamp:l}></td>
      <td><a href="<{$smarty.const.XOOPS_URL}>/modules/user/index.php?action=UserInfo&uid=<{$obj->getVar('com_uid')}>"><{if $obj->mUser}><{$obj->mUser->getVar('uname')}><{else}><{$smarty.const._GUESTS}><{/if}></a></td>
      <td><{$obj->getVar('com_ip')}></td>
      <td>
        <{if $obj->getVar('com_status') == 1 }>
          <img src="<{"icons/active.gif"|theme}>" />
        <{/if}>
      </td>
    </tr>
  <{/foreach}>
</table>
