public function save()
 {
     $media = new \App\Media();
     $media->nama_media = Input::get('nama_media');
     $media->save();
     return redirect('media');
 }
Example #2
0
 public function run()
 {
     /*1*/
     App\Media::create(['name' => 'The Chase', 'credit' => 'Jonathan Frakes', 'series' => 'TNG', 'medium' => 'Television', 'timelineDate' => 2369, 'collection' => 'TV Series', 'numberInCollection' => 145, 'summary' => "Picard's old mentor, Richard Galen, requests he take a leave of absence to complete an archaeological expedition of vast importance to the galaxy. The Cardassians, Klingons, and Romulans catch wind of this expedition, and they all race eachother to uncover the secrets that Galen's findings had hinted at. They are all led to a planet where they discover a recording of an ancient humanoid, who explains how their race was alone in the galaxy until they seeded out their DNA codes, eventually leading to the evolution of all other humanoid life."]);
     /*2*/
     App\Media::create(['name' => 'Star Trek: The Voyage Home', 'credit' => 'Leonard Nimoy', 'series' => 'TOS', 'medium' => 'Film', 'timelineDate' => 2286, 'collection' => 'Film Series', 'numberInCollection' => 4, 'summary' => "Kirk and his crew steal the USS Enterprise so they can go rescue Spock, but on their way home they learn Earth is under attack by a giant probe. They learn the probe is searching for whales on Earth, that the probe had probably made contact with long before humans had evolved. Kirk takes the Enterprise back in time to fetch a (now extinct) whale to satisfy the probe and save the Earth."]);
     /*3*/
     App\Media::create(['name' => 'Star Trek: First Contact', 'credit' => 'Jonathan Frakes', 'series' => 'TNG', 'medium' => 'Film', 'timelineDate' => 2373, 'collection' => 'Film Series', 'numberInCollection' => 2, 'summary' => "During a battle between Earth and the Borg, the Borg make an attempt to travel back in time and prevent Humans from making first contact with the Vulcans. Picard and his crew follow them back to ensure the people of that time succeed in building the first warp engine."]);
     /*4*/
     App\Media::create(['name' => 'First Contact', 'credit' => 'Cliff Bole', 'series' => 'TNG', 'medium' => 'Television', 'timelineDate' => 2367, 'collection' => 'TV Series', 'numberInCollection' => 88, 'summary' => "During undercover surveillence of a world on the verge of developing warp technology, Riker gets injured and is brought to a hospital. The doctors there realize that he is not really a member of their race, and begin to expect that he is an alien. Keeping in line with the Federation's Non-Interference Policy, Riker must try to hide is true identity."]);
     /*5*/
     App\Media::create(['name' => 'The Adversary', 'credit' => 'Alexander Singer', 'series' => 'DS9', 'medium' => 'Television', 'timelineDate' => 2371, 'collection' => 'TV Series', 'numberInCollection' => 71, 'summary' => "After Sisko is promoted to captain, he is ordered to take the Defiant on a mission along the Tzenkethi border. During their mission the crew discovers a changeling infiltrator on board, and it is revealed that their mission was fake and was set up by the Dominion. Odo is able to track down and kill the infiltrator (becoming the first changeling to harm another), but the changeling tells him, 'You are too late. We are everywhere'."]);
     /*6*/
     App\Media::create(['name' => 'Star Trek: The Wrath of Khan', 'credit' => 'Nicholas Meyer', 'series' => 'TOS', 'medium' => 'Film', 'timelineDate' => 2285, 'collection' => 'Film Series', 'numberInCollection' => 2, 'summary' => "Admiral Kirk faces an old foe, Khan Noonien Singh, who has obtained the Genesis Device. The device was built with the purpose of treating planets so they can sustain life, but Khan plans to use it as a weapon."]);
     /*7*/
     App\Media::create(['name' => 'Carbon Creek', 'credit' => 'James Contner', 'series' => 'ENT', 'medium' => 'Television', 'timelineDate' => 2152, 'collection' => 'TV Series', 'numberInCollection' => 27, 'summary' => "T'Pol tells a story about her great-grandmother who served on a scouting ship that had crash-landed on Earth in 1957. The crew was forced to seek help from the inhabitants of the planet, meaning that first contact with Earth might have been made before Humans developed warp technology."]);
     /*8*/
     App\Media::create(['name' => 'In the Pale Moonlight', 'credit' => 'Victor Lobl', 'series' => 'DS9', 'medium' => 'Television', 'timelineDate' => 2374, 'collection' => 'TV Series', 'numberInCollection' => 141, 'summary' => "Sisko is convinced the only way they can win the war against the Dominion is if the Romulans end their non-aggression pact with the Dominion and join the war on the side of the Federation. Sisko is willing to go to great lengths to accomplish this task, including asking Garak for help. Him and Garak device a questionable plan to trick the Romulans into waging war against the Dominion."]);
     /*9*/
     App\Media::create(['name' => 'Star Trek: The Search for Spock', 'credit' => 'Leonard Nimoy', 'series' => 'TOS', 'medium' => 'Film', 'timelineDate' => 2285, 'collection' => 'Film Series', 'numberInCollection' => 3, 'summary' => "After Spock's death the Enterprise and her crew return to Earth, only to learn that the Enterprise is to be decommissioned. But once McCoy reveals that Spock may still be alive, Kirk decides to steal back the Enterprise and go on a mission to save Spock and return him to Vulcan. They are intercepted by the Klingons along the way, who have learned of the Genesis project and want to interfere."]);
     /*10*/
     App\Media::create(['name' => 'A Stitch in Time', 'credit' => 'Andrew Robinson', 'series' => 'DS9', 'medium' => 'Book', 'timelineDate' => 2376, 'collection' => 'Pocket DS9', 'numberInCollection' => 27, 'summary' => "In a series of letters to Dr. Bashir, Garak tells the story of his childhood and how he began working for the Obsidian Order. Many previously unknown facts about his past are finally revealed."]);
     /*11*/
     App\Media::create(['name' => 'The Begotten', 'credit' => 'Jesus Salvador Trevino', 'series' => 'DS9', 'medium' => 'Television', 'timelineDate' => 2373, 'collection' => 'TV Series', 'numberInCollection' => 108, 'summary' => "When an infant changeling is discovered on the space station, Odo takes on the resposibility of training and raising it. Because he believes the way he was raised (by the scientist Dr. Mora) was unethical, he aims to take a kinder approach in his techniques. When his methods fail, he is forced to recruit help from Dr. Mora. They eventually succeed in teaching the changeling to shape-shift."]);
     /*12*/
     App\Media::create(['name' => 'Gambit Pt. I', 'credit' => 'Peter Lauritson', 'series' => 'TNG', 'medium' => 'Television', 'timelineDate' => 2370, 'collection' => 'TV Series', 'numberInCollection' => 155, 'summary' => "Captain Picard goes missing, and after a long search Riker and the rest of the crew begin to suspect he is dead. They eventually track him down to a planet where him and a group of archaeological thieves are researching an ancient Romulan device that potentially could be used for torture. Picard reveals that he was kidnapped by the theives, on account of his skills in archeology."]);
     /*13*/
     App\Media::create(['name' => 'Gambit Pt. II', 'credit' => 'Alexander Singer', 'series' => 'TNG', 'medium' => 'Television', 'timelineDate' => 2370, 'collection' => 'TV Series', 'numberInCollection' => 156, 'summary' => "Picard learns that the Romulan artifact his kidnappers were after is actually an ancient Vulcan weapon. He discovers that the weapon only works against those with negative emotions, and he and his crew can only avoid being killed if they can clear their minds of any aggressive thoughts."]);
     /*14*/
     App\Media::create(['name' => 'Balance of Terror', 'credit' => 'Vincent McEveety', 'series' => 'TOS', 'medium' => 'Television', 'timelineDate' => 2266, 'collection' => 'TV Series', 'numberInCollection' => 14, 'summary' => "The Enterprise detects a distress signal coming from an Outpost along the neutral zone between the Federation and the Romulan Empire. The Romulans seem to be testing new weapons against the Federation, and it also appears they have cloaking technology. This is the first time anyone on the Enterprise has ever seen a Romulan, and their resemblance to the Vulcans leads some crew members to suspect Spock of treachery."]);
     /*15*/
     App\Media::create(['name' => 'First Contact (novel)', 'credit' => 'J.M. Dillard', 'series' => 'TNG', 'medium' => 'Book', 'timelineDate' => 2373, 'collection' => 'Pocket TNG', 'summary' => "Novelization of the film 'Star Trek: First Contact'."]);
     /*16*/
     App\Media::create(['name' => 'Homefront', 'credit' => 'David Livingston', 'series' => 'DS9', 'medium' => 'Television', 'timelineDate' => 2372, 'collection' => 'TV Series', 'numberInCollection' => 81, 'summary' => "Captain Sisko and the DS9 crew are called to Earth when suspicions arise that the Dominion has infiltrated Earth. The Federation is ill-equipped to handle the potential infiltration, and have to fall back on blood-testing to ensure no officer is a changeling in disguise."]);
     /*17*/
     App\Media::create(['name' => 'Blood Oath', 'credit' => 'Winrich Kolbe', 'series' => 'DS9', 'medium' => 'Television', 'timelineDate' => 2370, 'collection' => 'TV Series', 'numberInCollection' => 38, 'summary' => "A group of Klingons board the station looking for Curzon Dax, to enlist him in a quest to kill an old enemy that they had tracked down. They are upset to learn that Curzon has died, and are relunctant to take Jadzia with them when she offers to honor Curzon's oath to help them kill their target."]);
     /*18*/
     App\Media::create(['name' => 'Afterimage', 'credit' => 'Les Landau', 'series' => 'DS9', 'medium' => 'Television', 'timelineDate' => 2375, 'collection' => 'TV Series', 'numberInCollection' => 151, 'summary' => "Ezri has to decide if she should remain on DS9 as the station's councelor. In this episode, she gets to know Jadzia's old friends on the station, and also tries to help Garak with an extreme case of claustrophobia he has been dealing with."]);
     /*19*/
     App\Media::create(['name' => 'All Good Things...', 'credit' => 'Winrich Kolbe', 'series' => 'TNG', 'medium' => 'Television', 'timelineDate' => 2364, 'collection' => 'TV Series', 'numberInCollection' => 176, 'summary' => "A spatial anomaly is threatening to prevent the evolution of humanity, and Picard must stop it. Q helps Picard realize that the anomaly is growing backwards in time by transporting him to different times in his life, and eventually Picard realizes how the anomaly can be stopped. Q realizes there may be hope for humanity after all."]);
     /*20*/
     App\Media::create(['name' => 'Star Trek: Insurrection', 'credit' => 'Jonathan Frakes', 'series' => 'TNG', 'medium' => 'Film', 'timelineDate' => 2375, 'collection' => 'Film Series', 'numberInCollection' => 3, 'summary' => "Picard and his crew observe the peaceful Ba'ku race, who live in harmony with nature and reject using technology in their daily lives. When it is discovered that the planet has magical properties that allows its inhabitants to be immortal, forces within Starfleet decide to take over the planet. Picard, believing this to be out of line with Federation ideals, tries to stop them."]);
     /*21*/
     App\Media::create(['name' => 'Star Trek: Generations', 'credit' => 'David Carson', 'series' => 'TNG', 'medium' => 'Film', 'timelineDate' => 2371, 'collection' => 'Film Series', 'numberInCollection' => 1, 'summary' => "Captain Picard enlists help from the previously assumed dead Captain Kirk. Their mission is to stop a crazed scientist who is destroying entire planetary systems."]);
 }