function ajax_getProductions(Request $request)
 {
     if (!$request->ajax()) {
         return json_encode(array());
     }
     $data = $request->all();
     $skip = $data["skip"];
     $productions = Production::orderBy("id", "ASC")->skip($skip)->take(72)->get();
     $response = array();
     if ($skip == 0) {
         $total_productions = Production::all()->count();
     }
     foreach ($productions as $production) {
         $data_production = array("html" => Production::getVisualHtml($production));
         if ($skip == 0) {
             $data_production["total"] = $total_productions;
         }
         $response[] = $data_production;
     }
     if (count($productions) == 0) {
         $response[] = array("total" => 0);
     }
     return json_encode($response);
 }