<div class="Hrow Hpadd-3per">
@{if model}
    @{view('~partial/image/CropperHeadONE',{'width':200,'height':200,'padding':88})}
@{section header}
<style>
    #shower{margin:auto;display:block;}
</style>
@{end}
     
    <div class="Hbg-white Hround-5 Hpadd-20  HmarB-20" style="max-width:700px;width:95%;display:block;margin:auto;">
         
              نام کاربری :
          <span class="Hfloat-L" data-color="#777">@{!model.username}</span> 
          <p style="height:1px;background:#eee;"></p>
           نام و نام خانوادگی :
           <span class="Hfloat-L" data-color="#777"> @{!model.name} @{!model.fam}</span>
          <p style="height:1px;background:#eee;"></p>
            @{foreach x in model.phone}
            @{!x.k} :
            <span class="Hfloat-L" data-color="#777"> @{!x.v} </span>
            <p style="height:1px;background:#eee;"></p>
            @{end}
        
            ایمیل: 
            <span class="Hfloat-L" data-color="#777">@{!model.email}</span>
         
            <p style="height:1px;background:#eee;"></p>
            عنوان: 
          <span class="Hfloat-L" data-color="#777">@{!resource(model.role)}</span>
         <p style="height:1px;background:#eee;"></p>
            وضعیت:
            <span class="Hfloat-L" data-color="#777">@{if model.active} فعال @{else} غیر فعال @{fi}</span>
         
    </div>


    @{view('~partial/image/CropperInsertONE',{'ax':['1'],'id':model._id,'regid':"","caption":""})}
    @{view('~partial/image/imgShowList',{'delete':true,'ax':['1'],'id':model._id,'address':"../../../images/users/user"})}


@{section footer2}
@{if repository.admin}
    @{view('~partial/image/CropperFooterONE',{'delete':true,'uprate':2,'downrate':2,'width_out':200,'height_out':200,"myurl_ins":"'/user/insert/pictuer/'",'myurl_del':"'/user/delete/pictuer/'","limitPic":1})}
@{else}
    @{view('~partial/image/CropperFooterONE',{'delete':true,'uprate':2,'downrate':2,'width_out':200,'height_out':200,"myurl_ins":"'/user/insertPictuer/'",'myurl_del':"'/user/deletePictuer/'","limitPic":1})}
@{fi}

@{end}

@{else}
مشکل در دریافت دیتا ، لطفا با برنامه نویس تماس بگیرید
@{fi}
</div>