public static function admin()
 {
     $error = array('status' => 0, 'msg' => '');
     $get = Core\Input::get();
     //adminAll Rows
     //$petRowsAll = Model\Pet::getPetByApproved(1);
     $petRowsAll = Model\Pet::getAllPets();
     $petsAll = array();
     if (is_array($petRowsAll)) {
         foreach ($petRowsAll as $row) {
             $pet = Pet::constructByRow($row);
             $pet->loadImages();
             $petsAll[] = $pet;
         }
     }
     $passedToView['allPets'] = $petsAll;
     $petRowsNew = Model\Pet::getPetByApproved(0);
     $petsNew = array();
     if (is_array($petRowsNew)) {
         foreach ($petRowsNew as $row) {
             $pet = Pet::constructByRow($row);
             $pet->loadImages();
             $petsNew[] = $pet;
         }
     }
     $passedToView['newPets'] = $petsNew;
     ob_start();
     require VIEWS_PATH . '/admin.php';
     return ob_get_clean();
 }