SHARE
TWEET

Untitled

a guest Feb 25th, 2020 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="text-box filter-box">
  2.  
  3.     <h3 class="title">Bộ lọc sim</h3>
  4.  
  5.     @if(\Illuminate\Support\Facades\Input::get('mang') == '' &&  $check->action !='mang')
  6.        <div class="filter-link">
  7.            <span class="label">Chọn đầu số:</span>
  8.            <!-- filter item -->
  9.  
  10.  
  11.            <a data-remove="09" @if(\Illuminate\Support\Facades\Input::get('dauso') == '09')
  12.  
  13.            class="active"
  14.               @endif
  15.  
  16.               href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '09', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">09</a>
  17.            <a data-remove="08"
  18.               @if(\Illuminate\Support\Facades\Input::get('dauso') == '08')
  19.  
  20.               class="active"
  21.               @endif
  22.               href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ??  1)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '08', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">08</a>
  23.            <a data-remove="07" @if(\Illuminate\Support\Facades\Input::get('dauso') == '07')
  24.  
  25.            class="active"
  26.               @endif
  27.               href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '07', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">07</a>
  28.            <a data-remove="05" @if(\Illuminate\Support\Facades\Input::get('dauso') == '05')
  29.  
  30.            class="active"
  31.               @endif
  32.               href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '05', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  33.            >05</a>
  34.            <a data-remove="03" @if(\Illuminate\Support\Facades\Input::get('dauso') == '03')
  35.  
  36.            class="active"
  37.               @endif
  38.               href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '03', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">03</a>
  39.            <!-- #filter item -->
  40.        </div>
  41.    @elseif(\Illuminate\Support\Facades\Input::get('mang') != '' ||  $check->action =='mang')
  42.        <div class="filter-link">
  43.            <span class="label">Chọn đầu số:</span>
  44.            <!-- filter item -->
  45.            @if(\Illuminate\Support\Facades\Input::get('mang') == 'viettel' ||  @$check->mang =='viettel')
  46.                <a data-remove="09" @if(\Illuminate\Support\Facades\Input::get('dauso') == '09')
  47.  
  48.                class="active"
  49.                   @endif
  50.  
  51.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '09', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">09</a>
  52.  
  53.                <a data-remove="08"
  54.                   @if(\Illuminate\Support\Facades\Input::get('dauso') == '08')
  55.  
  56.                   class="active"
  57.                   @endif
  58.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '08', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">08</a>
  59.  
  60.                <a data-remove="03" @if(\Illuminate\Support\Facades\Input::get('dauso') == '03')
  61.  
  62.                class="active"
  63.                   @endif
  64.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '03', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">03</a>
  65.                <!-- #filter item -->
  66.  
  67.            @elseif(\Illuminate\Support\Facades\Input::get('mang') == 'mobifone' ||  @$check->mang =='mobifone')
  68.                <a data-remove="09" @if(\Illuminate\Support\Facades\Input::get('dauso') == '09')
  69.  
  70.                class="active"
  71.                   @endif
  72.  
  73.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '09', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">09</a>
  74.  
  75.  
  76.  
  77.                <a data-remove="08" @if(\Illuminate\Support\Facades\Input::get('dauso') == '08')
  78.  
  79.                class="active"
  80.                   @endif
  81.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '08', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">08</a>
  82.  
  83.  
  84.                <a data-remove="07" @if(\Illuminate\Support\Facades\Input::get('dauso') == '07')
  85.  
  86.                class="active"
  87.                   @endif
  88.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '07', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">07</a>
  89.  
  90.  
  91.  
  92.  
  93.            @elseif(\Illuminate\Support\Facades\Input::get('mang') == 'vinaphone' ||  @$check->mang =='vinaphone')
  94.                <a data-remove="09" @if(\Illuminate\Support\Facades\Input::get('dauso') == '09')
  95.  
  96.                class="active"
  97.                   @endif
  98.  
  99.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '09', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">09</a>
  100.  
  101.  
  102.  
  103.                <a data-remove="08" @if(\Illuminate\Support\Facades\Input::get('dauso') == '08')
  104.  
  105.                class="active"
  106.                   @endif
  107.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '08', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">08</a>
  108.  
  109.  
  110.  
  111.  
  112.            @elseif(\Illuminate\Support\Facades\Input::get('mang') == 'vietnamobile' ||  @$check->mang =='vietnamobile')
  113.                <a data-remove="09" @if(\Illuminate\Support\Facades\Input::get('dauso') == '09')
  114.  
  115.                class="active"
  116.                   @endif
  117.  
  118.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '09', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">09</a>
  119.  
  120.  
  121.  
  122.                <a data-remove="05" @if(\Illuminate\Support\Facades\Input::get('dauso') == '05')
  123.  
  124.                class="active"
  125.                   @endif
  126.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '05', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">05</a>
  127.  
  128.  
  129.  
  130.  
  131.            @elseif(\Illuminate\Support\Facades\Input::get('mang') == 'gmobile' ||  @$check->mang =='gmobile')
  132.                <a data-remove="09" @if(\Illuminate\Support\Facades\Input::get('dauso') == '09')
  133.  
  134.                class="active"
  135.                   @endif
  136.  
  137.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '09', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">09</a>
  138.  
  139.  
  140.  
  141.                <a data-remove="05" @if(\Illuminate\Support\Facades\Input::get('dauso') == '05')
  142.  
  143.                class="active"
  144.                   @endif
  145.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '05', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">05</a>
  146.  
  147.  
  148.            @elseif(\Illuminate\Support\Facades\Input::get('mang') == 'Itelecom' ||  @$check->mang =='Itelecom')
  149.  
  150.                <a data-remove="08" @if(\Illuminate\Support\Facades\Input::get('dauso') == '08')
  151.  
  152.                class="active"
  153.                   @endif
  154.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' => '08', 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">08</a>
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.            @else
  162.  
  163.            @endif
  164.  
  165.        </div>
  166.  
  167.    @endif
  168.  
  169.    @if(!empty($check->action) && $check->action !='mang')
  170.        @if(\Illuminate\Support\Facades\Input::get('dauso') != '')
  171.  
  172.            <div class="filter-link">
  173.                <span class="label">Chọn mạng:</span>
  174.  
  175.            @if(in_array(\Illuminate\Support\Facades\Input::get('dauso'),['09']))
  176.  
  177.                <!-- filter item -->
  178.                    <a data-remove="viettel"
  179.  
  180.                       @if(\Illuminate\Support\Facades\Input::get('mang') == 'viettel')
  181.  
  182.                       class="active"
  183.                       @endif
  184.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'viettel' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  185.                    >Viettel</a>
  186.                    <a data-remove="mobifone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'mobifone')
  187.  
  188.                    class="active"
  189.                       @endif
  190.  
  191.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'mobifone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  192.                    >Mobifone</a>
  193.                    <a data-remove="vinaphone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'vinaphone')
  194.  
  195.                    class="active"
  196.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'vinaphone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  197.                       data-mang="mobifone">Vinaphone</a>
  198.                    <a data-remove="vietnamobile" @if(\Illuminate\Support\Facades\Input::get('mang') == 'vietnamobile')
  199.  
  200.                    class="active"
  201.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'vietnamobile' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  202.                    >Vietnamobile</a>
  203.                    <a data-remove="gmobile"
  204.                       @if(\Illuminate\Support\Facades\Input::get('mang') == 'gmobile')
  205.  
  206.                       class="active"
  207.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'gmobile' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  208.                    >Gmobile</a>
  209.  
  210.  
  211.  
  212.            @elseif(in_array(\Illuminate\Support\Facades\Input::get('dauso'),['08']))
  213.                <!-- filter item -->
  214.                    <a data-remove="viettel"
  215.  
  216.                       @if(\Illuminate\Support\Facades\Input::get('mang') == 'viettel')
  217.  
  218.                       class="active"
  219.                       @endif
  220.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'viettel' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  221.                    >Viettel</a>
  222.                    <a data-remove="mobifone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'mobifone')
  223.  
  224.                    class="active"
  225.                       @endif
  226.  
  227.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'mobifone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  228.                    >Mobifone</a>
  229.                    <a data-remove="vinaphone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'vinaphone')
  230.  
  231.                    class="active"
  232.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'vinaphone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  233.                       data-mang="mobifone">Vinaphone</a>
  234.  
  235.                    <a data-remove="Itelecom" @if(\Illuminate\Support\Facades\Input::get('mang') == 'Itelecom')
  236.  
  237.                    class="active"
  238.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'Itelecom' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  239.                    >Itelecom</a>
  240.                @elseif(in_array(\Illuminate\Support\Facades\Input::get('dauso'),['07']))
  241.  
  242.  
  243.                    <a data-remove="mobifone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'mobifone')
  244.  
  245.                    class="active"
  246.                       @endif
  247.  
  248.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'mobifone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  249.                    >Mobifone</a>
  250.  
  251.  
  252.                @elseif(in_array(\Illuminate\Support\Facades\Input::get('dauso'),['05']))
  253.                    <a data-remove="vietnamobile" @if(\Illuminate\Support\Facades\Input::get('mang') == 'vietnamobile')
  254.  
  255.                    class="active"
  256.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'vietnamobile' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  257.                    >Vietnamobile</a>
  258.                    <a data-remove="gmobile"
  259.                       @if(\Illuminate\Support\Facades\Input::get('mang') == 'gmobile')
  260.  
  261.                       class="active"
  262.                       @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'gmobile' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  263.                    >Gmobile</a>
  264.  
  265.                @elseif(in_array(\Illuminate\Support\Facades\Input::get('dauso'),['03']))
  266.  
  267.  
  268.                    <a data-remove="viettel"
  269.  
  270.                       @if(\Illuminate\Support\Facades\Input::get('mang') == 'viettel')
  271.  
  272.                       class="active"
  273.                       @endif
  274.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'viettel' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  275.                    >Viettel</a>
  276.                @else
  277.  
  278.  
  279.                @endif
  280.  
  281.            </div>
  282.  
  283.        @else
  284.  
  285.            <div class="filter-link">
  286.                <span class="label">Chọn mạng:</span>
  287.                <!-- filter item -->
  288.                <a data-remove="viettel"
  289.  
  290.                   @if(\Illuminate\Support\Facades\Input::get('mang') == 'viettel')
  291.  
  292.                   class="active"
  293.                   @endif
  294.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'viettel' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  295.                >Viettel</a>
  296.                <a data-remove="mobifone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'mobifone')
  297.  
  298.                class="active"
  299.                   @endif
  300.  
  301.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'mobifone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  302.                >Mobifone</a>
  303.                <a data-remove="vinaphone" @if(\Illuminate\Support\Facades\Input::get('mang') == 'vinaphone')
  304.  
  305.                class="active"
  306.                   @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'vinaphone' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  307.                   data-mang="mobifone">Vinaphone</a>
  308.                <a data-remove="vietnamobile" @if(\Illuminate\Support\Facades\Input::get('mang') == 'vietnamobile')
  309.  
  310.                class="active"
  311.                   @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'vietnamobile' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  312.                >Vietnamobile</a>
  313.                <a data-remove="gmobile"
  314.                   @if(\Illuminate\Support\Facades\Input::get('mang') == 'gmobile')
  315.  
  316.                   class="active"
  317.                   @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'gmobile' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  318.                >Gmobile</a>
  319.                <a data-remove="Itelecom" @if(\Illuminate\Support\Facades\Input::get('mang') == 'Itelecom')
  320.  
  321.                class="active"
  322.                   @endif href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' => 'Itelecom' , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}"
  323.                >Itelecom</a>
  324.                <!-- #filter item -->
  325.            </div>
  326.        @endif
  327.    @endif
  328.    @if(!empty($check->action) && $check->action !='gia')
  329.  
  330.        @if($check->action =='loaisim'  AND  $check->khoanggia !='')
  331.            <div class="filter-link">
  332.                <span class="label">Chọn giá:</span>
  333.                <!-- filter item -->
  334.  
  335.                @foreach ($check->khoanggia AS $khoanggia => $kname)
  336.                    <a data-remove="{{$khoanggia}}"
  337.  
  338.                       @if(\Illuminate\Support\Facades\Input::get('gia') == $khoanggia)
  339.  
  340.                       class="active"
  341.                       @endif
  342.  
  343.  
  344.                       href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' =>  $khoanggia, 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">{{$kname}}</a>
  345.  
  346.                @endforeach
  347.            </div>
  348.        @else
  349.  
  350.            <div class="filter-link">
  351.                <span class="label">Chọn giá:</span>
  352.                <!-- filter item -->
  353.                <a data-remove="0-1"
  354.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '0-1')
  355.                   class="active"
  356.                   @endif
  357.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  358.                   'gia' =>  '0-1', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  359.                    &lt;1tr</a>
  360.           <a data-remove="1-3"
  361.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '1-3')
  362.                   class="active"
  363.                   @endif
  364.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  365.                    'gia' =>  '1-3', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  366.                     1-3tr</a>
  367.  
  368.  
  369.                 <a data-remove="3-5"
  370.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '3-5')
  371.                   class="active"
  372.                   @endif
  373.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  374.                    'gia' =>  '3-5', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  375.                     3-5tr</a>
  376.  
  377.                 <a data-remove="5-10"
  378.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '5-10')
  379.                   class="active"
  380.                   @endif
  381.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  382.                    'gia' =>  '5-10', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  383.                     5-10tr</a>
  384.  
  385.                 <a data-remove="10-20"
  386.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '10-20')
  387.                   class="active"
  388.                   @endif
  389.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  390.                    'gia' =>  '10-20', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  391.                     10-20tr</a>
  392.  
  393.  
  394.                 <a data-remove="20-50"
  395.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '20-50')
  396.                   class="active"
  397.                   @endif
  398.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  399.                    'gia' =>  '20-50', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  400.                     20-50tr</a>
  401.                 <a data-remove="50-100"
  402.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '50-100')
  403.                   class="active"
  404.                   @endif
  405.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  406.                    'gia' =>  '50-100', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  407.                     50-100tr</a>
  408.  
  409.                 <a data-remove="100-10000"
  410.                   @if(\Illuminate\Support\Facades\Input::get('gia') == '100-10000')
  411.                   class="active"
  412.                   @endif
  413.                   href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''),
  414.                    'gia' =>  '100-10000', 'sapxep' => (\Illuminate\Support\Facades\Input::get('sapxep') ?? '')])}}">
  415.                     >100tr</a>
  416.  
  417.             </div>
  418.         @endif
  419.     @endif
  420. <div  style="margin-bottom: 15px !important;"></div>
  421.     <div class="dropdown" >
  422.         <button class="dropbtn" >
  423.             @if(\Illuminate\Support\Facades\Input::get('sapxep') =='ngaunhien')
  424.                 Ngẫu nhiên
  425.             @elseif(\Illuminate\Support\Facades\Input::get('sapxep') =='giathap')
  426.                 Giá thấp đến cao
  427.             @elseif(\Illuminate\Support\Facades\Input::get('sapxep') =='giacao')
  428.                 Giá cao đến thấp
  429.             @else
  430.                 Sắp xếp
  431.             @endif
  432.             <span class="caret"></span>
  433.         </button>
  434.         <div class="dropdown-content" style="position: absolute; right: 0">
  435.             <a @if(\Illuminate\Support\Facades\Input::get('sapxep') =='ngaunhien')
  436.  
  437.               class="active"
  438.               @endif
  439.  
  440.  
  441.               href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => 'ngaunhien'])}}">Ngẫu
  442.                 nhiên</a>
  443.             <a
  444.                    @if(\Illuminate\Support\Facades\Input::get('sapxep') =='giathap')
  445.  
  446.                    class="active"
  447.                    @endif
  448.  
  449.  
  450.                    href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => 'giathap'])}}">Giá
  451.                 thấp đến cao</a>
  452.             <a
  453.  
  454.                    @if(\Illuminate\Support\Facades\Input::get('sapxep') =='giacao')
  455.  
  456.                    class="active"
  457.                    @endif
  458.  
  459.  
  460.                    href="{{URL::current()."?page=".(\Illuminate\Support\Facades\Input::get('page') ?? 0)."&".http_build_query(['mang' =>  (\Illuminate\Support\Facades\Input::get('mang') ?? '') , 'dauso' =>  (\Illuminate\Support\Facades\Input::get('dauso') ?? ''), 'gia' => (\Illuminate\Support\Facades\Input::get('gia') ?? ''), 'sapxep' => 'giacao'])}}">Giá
  461.                 cao đến thấp</a>
  462.         </div>
  463.     </div>
  464.  
  465.  
  466. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top