$sp_orders = $class_pp->setDesigntoFinalize($design_id, $session_userinfo['username']);
     break;
 case 'UPDATESTATUSEAT':
     $sp_orders = $class_pp->updateStatusEat($design_id, $status, $session_userinfo['username']);
     break;
 case 'UPDATESTATUSDESC':
     $sp_orders = $class_pp->updateStatusDesc($design_id, $status, $session_userinfo['username']);
     break;
 case 'UPDATESTATUSERP':
     $sp_orders = $class_pp->updateStatusERP($design_id, $status, $session_userinfo['username']);
     break;
 case 'UPDATESTATUSPRICE':
     $sp_orders = $class_pp->updateStatusPrice($design_id, $status, $session_userinfo['username']);
     break;
 case 'DESIGNDONE':
     $sp_orders = $class_pp->setDesignDone($design_id, $session_userinfo['username']);
     break;
 case 'REFRESHCOUNTER':
     $status_counter = $class_pp->getDesignCounter($session_userinfo['id']);
     $result = array();
     foreach ($status_counter as $status => $counter) {
         $result[] = $status . ',' . $status_counter[$status]['new_design'];
     }
     ajaxReturn($result);
     break;
 case 'CREATENEWDESIGN':
     $extra_images = array(4);
     $images_count = 0;
     foreach ($_FILES as $key => $file) {
         $images_count++;
         $filename = basename($file['name']);