{extends file='./layouts/server_detail.html'} {block name=modal_body} {form_open('','class="detailForm form-horizontal m-b-none" target="iframeNew"')}
{'name'|element:$order.power_info} {if 'status_key'|element:$order eq 'cancel' && $order.stop_desc}
{$order.stop_desc|nl2br}
{/if} {if has_addons('operate') && !empty($order.status_operate)}
{$order.operate_str}中,请等待....
{/if}
{if element('api_sid',$order) && element('status',$order) != 32} {_('开机')}
{_('关机')}
{_('重启')} {if 'bmc'|check_host_support:$order} {_('重置BMC')} {/if} {if 'resuce'|check_host_support:$order} {_('救援模式')} {/if} {if 'vnc'|check_host_support:$order} {_('启动VNC')} {/if} {if 'connect'|check_host_support:$order} {_('远程连接')} {/if} {else} {if has_addons('operate')} {if ($order.status_key == 'start' || $order.status_key == 'running' || $order.status_key == 'stopped')} {if empty($order.status_operate) && ($order.status_power == 'stopped' || $order.status_power == 'creating')} {_('开机')} {else} {_('开机')} {/if} {if empty($order.status_operate) && $order.status_power == 'running'} {_('关机')} {else} {_('关机')} {/if} {_('重启')} > {_('重置密码')} {_('重装系统')} {/if} {/if} {/if}
{_('机器信息')}
{_('地域')}: {'name'|element:$order.area}    {_('编号')}/{_('别名')}: #{'id_sn'|element:$order} / {'server_name'|element:$order}
{if $order.buy_type eq 'rent'}
{if 'reinstall'|check_host_support:$order} {/if} {_('操作系统')}: {'system_name'|element:$order}   
{/if} {if $order.mac}
{_('MAC地址')}: {'mac'|element:$order}
{/if}
{_('服务器IP')}: {str_replace("\n",',','ips'|element:$order)}
{_('远程端口')}: {'ssh_port'|element:$order}
{if ('system_type'|element:$order eq 'windows') && !empty($order['ips'])} 【{_('下载RDP')}】 {/if} {if 'reset_pass'|check_host_support:$order} 【{_('重置密码')}】 {/if}
{_('登录')}:{_('账号')}: {'ssh_user'|element:$order}    {_('密码')}: {if 'ssh_pass'|element:$order}{'ssh_pass'|element:$order}{else}{('未设置')}{/if} 【{_('隐藏')}】 ***【{_('查看')}】
{_('购买备注')}: {'remark'|element:$order|nl2br|default:'-'}
{_('资源配置')}
{if $order.buy_type eq 'rent'}
CPU:{$order.cpus_sn} * {$order.cpus}
{_('内存')}:{$order.mem|mem_format:2:'MB'}    {_('硬盘')}:{$order.disk|mem_format:2:'GB'} * {$order.disk_num} {$order.disk_sn}
{_('自动化')}:{(element('automation',$order.info)==1) ? _('支持') : _('不支持')}   
{else}
{_('电源')}:{$order.power} W    {_('网络类型')}:{$order.net_type}
{/if}
{_('带宽')}:{'net'|element:$order}Mbps    {_('防御')}:{'def'|element:$order}GB {if $netline} {_('网络线路')}:{'name'|element:$netline} {/if}
{_('付费信息')}
{_('创建时间')}: {'%Y-%m-%d %H:%i'|mdate:('time_add'|element:$order)}
{if 'time_start'|element:$order}
{_('开通时间')}: {'%Y-%m-%d %H:%i'|mdate:('time_start'|element:$order)}
{/if} {if 'account'|element:$order && 'user_discount'|element:$order.account}
{_('购买价格')}: {'amount'|element:$order.account} {'suf'|currency} ({_('优惠')}:{'user_discount'|element:$order.account} {'suf'|currency})
{/if}
{_('续费价格')}({'payment_time'|element:$order}): {'order_amount'|element:$order} {'suf'|currency} {if 'upgrade_amount'|element:$order gt 0} + {'upgrade_amount'|element:$order*$order.payment_mod} {'suf'|currency}{_('升级费用')}) {elseif 'upgrade_amount'|element:$order lt 0} {'upgrade_amount'|element:$order*$order.payment_mod} {'suf'|currency}{_('降级费用')}) {/if}
{if $order.status==1} 【{_('现在续费')}】 {/if}
{_('续费时间')}: {'time_end'|element:$order|format_time}{'%Y-%m-%d'|mdate:('time_end'|element:$order)}
{form_close()} {/block} {block name=modal_js} {/block}