-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathci.sql
More file actions
106 lines (87 loc) · 9.75 KB
/
Copy pathci.sql
File metadata and controls
106 lines (87 loc) · 9.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
-- phpMyAdmin SQL Dump
-- version 4.4.15.7
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Apr 08, 2018 at 01:31 AM
-- Server version: 5.6.37
-- PHP Version: 7.1.8
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `ci`
--
-- --------------------------------------------------------
--
-- Table structure for table `admins`
--
CREATE TABLE IF NOT EXISTS `admins` (
`id` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`password` varchar(255) NOT NULL,
`access_token` varchar(255) DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `admins`
--
INSERT INTO `admins` (`id`, `name`, `username`, `password`, `access_token`) VALUES
(1, 'Anwar Ali', 'admin', 'e10adc3949ba59abbe56e057f20f883e', 'b796606aa166acd1a79301f75de791d5');
-- --------------------------------------------------------
--
-- Table structure for table `news`
--
CREATE TABLE IF NOT EXISTS `news` (
`id` int(11) NOT NULL,
`title` varchar(255) NOT NULL,
`description` text NOT NULL,
`author` varchar(255) NOT NULL,
`image` varchar(255) DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
--
-- Dumping data for table `news`
--
INSERT INTO `news` (`id`, `title`, `description`, `author`, `image`) VALUES
(1, 'Italy votes in uncertain election', 'Voting is under way in Italy in one of the most uncertain general elections in years. \r\n\r\nThe economy, unemployment and immigration have dominated public discourse throughout the campaigning season. \r\n\r\nPolls opened at 06:00 GMT and are set to close at 22:00 GMT, with local media expected to publish early exit polls immediately afterwards. More than 46 million Italians are eligible to vote. \r\n\r\nIt could take some time before final results are announced, however, as none of the parties are expected to win the 40 percent needed to form a majority government. The level was introduced in a new law last year. \r\n\r\nSunday''s election to choose a new government comes just two months after Italian President Sergio Mattarella dissolved the country''s parliament on December 28.\r\n\r\nThe main parties competing include the populist Five Star Movement (M5S), The League (also known as the Northern League), the self-professed fascist party CasaPound and the neo-fascist Forza Nuova.', 'Anwar Ali', NULL),
(3, 'UN on Syria: Collective punishment of civilians unacceptable', 'The UN says "collective punishment of civilians is simply unacceptable" as the Syrian regime forces continue their brutal military offensive in the rebel-held area of Eastern Ghouta.\n\nThe UN said in a statement on Sunday that it was "deeply concerned" for the safety and protection of millions of civilians across Syria, a week after the UN Security Council passed a resolution calling for a 30-day ceasefire.\n\nThe UN''s regional humanitarian coordinator for Syria, Panos Moumtzis, in a statement said "in some cases, the violence has escalated", referring to Eastern Ghouta – home to nearly 400,000 people – which has borne the brunt of regime attacks since February 18.', 'Cain Brown', NULL),
(4, '50 Feet from Syria: Inside Al-Amal Hospital', 'A film by Skye Fitzgerald\r\n\r\nArmed with a suitcase full of medical equipment, Syrian-American surgeon Hisham Bismar travels to the Al Amal Hospital on the Turkish-Syrian border, ready for anything.\r\n\r\nWhat he finds there is horror, chaos and a constant stream of refugees in need of medical care from the facility, which is the only hospital in Turkey with government approval to treat victims of the Syrian conflict. \r\n\r\nThe hospital''s volunteer doctors share shocking stories from war-torn Syria: colleagues forced to perform operations without anesthesia, aircraft dropping barrels filled with TNT (explosives) and shrapnel, and makeshift hospital floors flooded with blood.\r\n\r\nBismar works to repair the bodies of the wounded civilians and fighters who manage to find their way across the border to the hospital, leaving behind his family in the United States to care for those who are unable to seek care in their war-torn homeland.', 'Justin Carlos', NULL),
(5, 'Healing on the Syria-Turkey border', 'As the number of dead continues to rise in Syria, other people are struggling to cope with devastating injuries that will stay with them forever, such as the loss of limbs or impaired mobility.\r\n\r\nYet throughout Syria, it has becoming increasingly difficult for victims to access life-saving care. Government hospitals are inaccessible or carry the risk of detention, while medical facilities in opposition-controlled areas are regularly targeted by air strikes. Smaller field hospitals, meanwhile, do not have sufficient equipment.\r\n\r\nUrgent cases are granted entry across the border into Turkey. In a series of transfers at designated points along the border, Syrian and Turkish medical teams coordinate ambulances to shuttle the wounded to Turkish state hospitals.\r\n\r\nFrom there, Syrians who require longer-term treatment are turned over to postoperative recovery centers in Turkish border towns, including Reyhanli, Sanliurfa and Kilis. Known as "houses of healing", they are operated by Syrians with support from international NGOs.\r\n\r\nBed-ridden, in wheelchairs or on crutches, the men here recount battles against regime forces and the Islamic State of Iraq and the Levant (ISIL) group, describing the circumstances of their life-changing injuries with a sense of pride.\r\n\r\nThough grateful for the chance to physically recover in these safe spaces, their thoughts remain riveted on Syria, and on one day returning to the fight.', 'Maya Hautefeuille', NULL),
(6, 'Heavy rains bring flooding to parts of Kenya', 'Although Kenya straddles the equator, it is not a particularly wet country.\r\n\r\nThe rain-bearing intertropical belt of cloud passes quickly through the country, usually in April and again in October.\r\n\r\nThese rains are known as the North and South monsoons respectively.\r\n\r\nBecause these rain bands pass over large tracts of land before reaching the country, rainfall is generally lower than one might expect in an equatorial country.\r\n\r\nPerhaps this is just as well, as 22mm of rain, about a third of the usual March total, was enough to cause significant flooding in Nairobi on Saturday.\r\n\r\nThe flooding was undoubtedly made worse by the state of the city’s drainage system which is under increasing pressure as urbanisation continues apace and the population continues to rise.\r\n\r\nThe city’s authorities were seemingly unprepared for traffic jams, flooded roundabouts and stranded commuters, despite advanced warnings of impending heavy rain by the country’s Meteorological Department.\r\n\r\nOther areas were hit by even heavier rainfall.\r\n\r\nEmbu, 110km northeast of Nairobi recorded 70mm of rain.\r\n\r\nJust to the northeast of Embu, in Tharaka South, a woman and her two teenage sons were killed by a lightning strike as they sought shelter from the rain.\r\n\r\nMeteorologists believe that the early arrival of the rains, which have also hit Tanzania, is the result of the Madden-Julian Oscillation, which is an eastward moving low pressure system that carries cloud and rain around the tropical regions over a 30 to 60 day period.\r\n\r\nShowers are expected to continue across the country on Sunday, but drier weather will return later in the week.\r\n\r\nDespite the inconvenience caused by the flooding, many people have welcomed the rain, as the country remains in the grip of a drought.\r\n\r\nAs recently as last month, the government declared a national drought emergency in 23 of the 47 counties.\r\n\r\nFood insecurity is currently affecting 2.7 million Kenyans, so any rain to help agricultural output is welcome.', 'Sarah John', NULL),
(7, 'Honduras arrests ''mastermind'' behind Berta Caceres'' murder', 'Police in Honduras have arrested a construction executive for his alleged role in the murder of environmental and indigenous activist Berta Caceres.\r\n\r\nDavid Castillo Mejia is charged as being the "intellectual author" of the killing in 2016 while CEO of Desarrollos Energeticos (DESA), the firm behind a project to build a hydroelectric dam across a river on which indigenous communities were dependant.\r\n\r\nCaceres was a vocal opponent of the plans and said she had received death threats from the firm in the run-up to her assassination two years ago in La Esperanza, Honduras. In the past, DESA has denied any involvement in the murder of Caceres. \r\n\r\nThe arrest on Friday brings the total number of individuals arrested to nine, of which eight are already serving sentences for convictions stemming from the murder.', 'David Castillo', NULL),
(8, 'Sample Title', 'Sample description goes here', 'Anwar Ali', NULL),
(9, 'Another title', 'Another description', 'Anwar Ali', NULL),
(13, 'aa', 'aa ', 'aa', NULL),
(14, 'Testin', 'testing', 'testin', '20180408010459_127719.png');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admins`
--
ALTER TABLE `admins`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `news`
--
ALTER TABLE `news`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admins`
--
ALTER TABLE `admins`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `news`
--
ALTER TABLE `news`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=15;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;