<?php /* Smarty version Smarty-3.1.8, created on 2016-01-06 13:52:37
         compiled from "D:\wwwroot\o2o\htdocs\themes\default\xiche\order\detail_payed.html" */ ?>
<?php /*%%SmartyHeaderCode:419456504172af2390-56832369%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'a1ff2447ccc6e57d27a63b4c1cfcc1100a0c2bf3' => 
    array (
      0 => 'D:\\wwwroot\\o2o\\htdocs\\themes\\default\\xiche\\order\\detail_payed.html',
      1 => 1452059553,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '419456504172af2390-56832369',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_56504172c7cc76_22867082',
  'variables' => 
  array (
    'staff' => 0,
    'res' => 0,
    'count' => 0,
    'is_comment' => 0,
    'photo' => 0,
    'pager' => 0,
    'goods' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56504172c7cc76_22867082')) {function content_56504172c7cc76_22867082($_smarty_tpl) {?><?php if (!is_callable('smarty_function_link')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\function.link.php';
if (!is_callable('smarty_modifier_format')) include 'D:\\wwwroot\\o2o\\htdocs\\system\\plugins/smarty\\modifier.format.php';
?><!DOCTYPE HTML>
<html>
    <head>
        <?php echo $_smarty_tpl->getSubTemplate ("xiche/block/sheader.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    </head>
    <body>
       <header>
	<i class="left"><a id="icon_goback"  href="<?php echo smarty_function_link(array('ctl'=>'xiche/orderlist'),$_smarty_tpl);?>
"></a></i>
    <div class="title">订单详情</div>
    <i class="right"></i>
</header>
<div class="tel_couns">
<a href="tel:<?php echo $_smarty_tpl->tpl_vars['staff']->value['mobile'];?>
"><img src="/themes/default/xiche/static/images/tel_couns.png"></a>
</div>
<section id="order_detail" class="page_center_box">
	<div class="waiter">
    	<div class="fl">
            <?php if ($_smarty_tpl->tpl_vars['res']->value['staff_id']==0){?>
                <h3>分配师傅中...</h3>
        	<p>请耐心等待师傅接单...</p>
            <?php }else{ ?>
        	<h3><?php echo $_smarty_tpl->tpl_vars['staff']->value['name'];?>
师傅</h3>
        	<p>TA共服务了<span class="fontcl1"><?php echo $_smarty_tpl->tpl_vars['count']->value;?>
</span>次</p>
            <?php }?>
        </div>
            <div class="fr"><a href="tel:<?php echo $_smarty_tpl->tpl_vars['staff']->value['mobile'];?>
" class="tel"><img src="/themes/default/xiche/static/images/tel_ico.png"></a></div>
        <div class="clear"></div>
    </div>

        <div class="cont">
    	<ul>
            <?php if ($_smarty_tpl->tpl_vars['res']->value['order_status']==4){?>
    	    <li class="box_list">
            	<div class="title">
                    <div class="fl"><em class="ico_1 on"></em><?php if ($_smarty_tpl->tpl_vars['is_comment']->value){?>评价成功<?php }else{ ?>交易完成，请<a href="<?php echo smarty_function_link(array('ctl'=>'xiche/comment/add','staff_id'=>$_smarty_tpl->tpl_vars['res']->value['staff_id'],'order_id'=>$_smarty_tpl->tpl_vars['res']->value['order_id']),$_smarty_tpl);?>
" style="color:#ff0000;">点击</a>评价该师傅，您也可以<a href="<?php echo smarty_function_link(array('ctl'=>'xiche/comment','staff_id'=>$_smarty_tpl->tpl_vars['res']->value['staff_id'],'order_id'=>$_smarty_tpl->tpl_vars['res']->value['order_id']),$_smarty_tpl);?>
" style="color:#ff0000;">点击</a>查看别人对TA的评价<?php }?></div>
                    <div class="fr"><?php if ($_smarty_tpl->tpl_vars['is_comment']->value){?><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['is_comment']->value['dateline']);?>
<?php }?></div>
                    <div class="clear"></div>
                </div>
                <?php if ($_smarty_tpl->tpl_vars['is_comment']->value){?>
                <div class="box_list_nr">
                    <p><span class="starBg"><span class="star star<?php echo $_smarty_tpl->tpl_vars['is_comment']->value['star'];?>
0"></span></span></p>
                    <p class="graycl"><?php echo $_smarty_tpl->tpl_vars['is_comment']->value['text'];?>
</p>
                </div>
                <?php }?>
            </li>
            <?php }?>
            
            <?php if ($_smarty_tpl->tpl_vars['photo']->value['after']){?>
            <li class="box_list">
            	<div class="title">
                	<div class="fl"><em class="ico_2"></em>洗车完成</div>
                    <div class="fr"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['photo']->value['after_time']);?>
</div>
                    <div class="clear"></div>
                </div>
                <div class="box_list_nr">
                	<h3>您的车辆已经清洗完毕</h3>
                    <div class="photo">
                    	<p class="graycl">洗车后照片</p>
                        <ul>
                           
                            <li><a href="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['after'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['after'];?>
" id="after" style="width:6rem;"></a></li>
                      
                        </ul>
                    </div>
                </div>
            </li>
             <?php }?>
            
            <?php if ($_smarty_tpl->tpl_vars['photo']->value['before']){?>
            <li class="box_list">
            	<div class="title">
                	<div class="fl"><em class="ico_3"></em>开始洗车</div>
                    <div class="fr"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['photo']->value['before_time']);?>
</div>
                    <div class="clear"></div>
                </div>
                <div class="box_list_nr">
                	<h3>师傅开始洗车，预计30分钟内清洗完成</h3>
                    <div class="photo">
                    	<p class="graycl">洗车前照片</p>
                        <ul>
                            <li><a href="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['before'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['pager']->value['img'];?>
/<?php echo $_smarty_tpl->tpl_vars['photo']->value['before'];?>
" id="before" style="width:6rem;"></a></li>
                        </ul>
                    </div>
                </div>
            </li>
            <?php }?>
            
	    </ul>
    </div>
    
    
       
    
    <div class="cont">
    	<ul>
            <?php if ($_smarty_tpl->tpl_vars['res']->value['staff_id']==0){?>
            <li class="box_list">
            	<div class="title">
                	<div class="fl"><em class="ico_5"></em>分配师傅中...</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="box_list_nr">
                	<p class="black6">分配师傅中，请等待师傅接单</p>
                </div>
            </li>
            <?php }else{ ?>
    	    <li class="box_list">
            	<div class="title">
                	<div class="fl"><em class="ico_4 on"></em>师傅已出发</div>
                    <div class="fr"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['res']->value['dateline']);?>
</div>
                    <div class="clear"></div>
                </div>
                <div class="box_list_nr">
                	<p class="graycl">师傅已出发，预计三十分钟内到达。</p>
                </div>
            </li>
            <li class="box_list">
            	<div class="title">
                	<div class="fl"><em class="ico_5"></em>分配师傅成功</div>
                    <div class="fr"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['res']->value['dateline']);?>
</div>
                    <div class="clear"></div>
                </div>
                <div class="box_list_nr">
                	<p class="black6">师傅分配成功，会在预约时间内为您服务，请等待</p>
                </div>
            </li>
            <?php }?>
            <li class="box_list">
            	<div class="title">
                	<div class="fl"><em class="ico_6"></em>预约成功</div>
                    <div class="fr"><?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['res']->value['dateline']);?>
</div>
                    <div class="clear"></div>
                </div>
                <div class="box_list_nr">
                	<h3>正在为你分配师傅，请耐心等待</h3>
                    <div class="yuyue">
                    	<p>服务类型：<?php echo $_smarty_tpl->tpl_vars['goods']->value['title'];?>
</p>
                        <p>服务内容：<?php echo $_smarty_tpl->tpl_vars['goods']->value['content'];?>
</p>
                        <p>服务时间：<?php echo smarty_modifier_format($_smarty_tpl->tpl_vars['res']->value['fuwu_time']);?>
</p>
                        <p>车辆位置：<?php echo $_smarty_tpl->tpl_vars['res']->value['addr'];?>
</p>
                        <p>车辆信息：<?php echo $_smarty_tpl->tpl_vars['res']->value['car'];?>
</p>
                    </div>
                </div>
            </li>
	    </ul>
    </div>
</section>
<?php echo $_smarty_tpl->getSubTemplate ("xiche/block/sfooter.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    </body>
</html><?php }} ?>