From ab90f041a95be01c29b973f7e477ec69a6c52463 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Thu, 5 May 2022 00:01:53 -0400 Subject: [PATCH 1/9] initital push --- story.php | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/story.php b/story.php index e69de29..4e2bf4b 100644 --- a/story.php +++ b/story.php @@ -0,0 +1,76 @@ + + + + + + + + + <?=$header[0] ?> + + + + + +

+ +

Author:

+ +

Date Posted:

+ +
+

+ +

+
+ + Comment: +
+ +
+ "> + + +
+
+ Comments +
+ + "; + } + fclose($file); + + //$comments = fopen("comments.txt","r"); + //while(! feof($comments)) { + // $result = fgets($comments) "
"; + // echo $result; + //} + //fclose($comments); + ?> + +
+ + + + From fe3c5d3b7d4d0b33b4d3c98a6068401e9c046f26 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Thu, 5 May 2022 15:50:27 -0400 Subject: [PATCH 2/9] Add files via upload Initail push --- comments.txt | 15 +++++++++++++++ create_story.php | 32 ++++++++++++++++++++++++++++++++ headers.txt | 4 ++++ post_comment.php | 16 ++++++++++++++++ post_story.php | 16 ++++++++++++++++ post_story.txt | 7 +++++++ story.css | 27 +++++++++++++++++++++++++++ story.txt | 13 +++++++++++++ 8 files changed, 130 insertions(+) create mode 100644 comments.txt create mode 100644 create_story.php create mode 100644 headers.txt create mode 100644 post_comment.php create mode 100644 post_story.php create mode 100644 post_story.txt create mode 100644 story.css create mode 100644 story.txt diff --git a/comments.txt b/comments.txt new file mode 100644 index 0000000..6ae21e9 --- /dev/null +++ b/comments.txt @@ -0,0 +1,15 @@ +This is a very informative post, I will share with my family members. +Here are a couple of examples of what you can get from Testimonial Generator. +"Fantastic, I'm totally blown away by Testimonial Generator." +"This is unbelievable. After using Testiminial Generator my buisness skyrocketed!" +Testimonial Generator is the best tool to make up testimonials quickly. +But is what scunt you saying today? + +Is this thing on? +May 04 2022 06:12 AM +no +May 04 2022 06:12 AM +helloi +May 04 2022 06:58 AM +Whats up? +May 05 2022 21:42 PM \ No newline at end of file diff --git a/create_story.php b/create_story.php new file mode 100644 index 0000000..e04b7a9 --- /dev/null +++ b/create_story.php @@ -0,0 +1,32 @@ + + + + + + + + Submit an article + + + + + +

Submit an article

+ +
+ +
+ "> + + +
+
+ + + + diff --git a/headers.txt b/headers.txt new file mode 100644 index 0000000..fbf57e0 --- /dev/null +++ b/headers.txt @@ -0,0 +1,4 @@ +Will Elon Musk put Twitter on a collision course with global speech regulators? +Natasha Lomas +April 26 2022 +story \ No newline at end of file diff --git a/post_comment.php b/post_comment.php new file mode 100644 index 0000000..5d1f0f2 --- /dev/null +++ b/post_comment.php @@ -0,0 +1,16 @@ + + + + + + + + \ No newline at end of file diff --git a/post_story.php b/post_story.php new file mode 100644 index 0000000..0210d87 --- /dev/null +++ b/post_story.php @@ -0,0 +1,16 @@ + + + + + + + + \ No newline at end of file diff --git a/post_story.txt b/post_story.txt new file mode 100644 index 0000000..e181068 --- /dev/null +++ b/post_story.txt @@ -0,0 +1,7 @@ +In GAAP terms, an acronym that denotes standard American accounting methods, Lyft had a very unprofitable quarter, posting a net loss of $196.9 million. Though an improvement from its year-ago GAAP net loss of $427.3 million, the company’s Q1 2022 net loss represents a material percentage of its revenues. + +In adjusted terms, the news is better. Lyft’s adjusted EBITDA for Q1 2022 was $54.8 million, up more than $127 million from a year-ago negative tally. The era of ride-hailing companies managing positive adjusted EBITDA continues, in other words. +May 04 2022 07:03 AM +salkdnbskjfbvcsjhfclbzjkcv lzjhncv jkzsd + +May 05 2022 21:42 PM \ No newline at end of file diff --git a/story.css b/story.css new file mode 100644 index 0000000..b0a94f3 --- /dev/null +++ b/story.css @@ -0,0 +1,27 @@ +ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; +} + + +li a { + display: block; + float: left; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; + + +Fixed Top +ul { + position: fixed; + top: 0; + width: 100%; +} + + + diff --git a/story.txt b/story.txt new file mode 100644 index 0000000..c3adce3 --- /dev/null +++ b/story.txt @@ -0,0 +1,13 @@ +American ride-hailing company Lyft reported Tuesday its first quarter financial performance, a report that showed continued improvement from the loss of business it experienced during the COVID-19 pandemic. + +In Q1, the former startup unicorn generated revenues of $875.6 million, up some 44% from the year-ago period. Besting its guidance, the company’s CEO Logan Green said in a release that the company’s larger than anticipated revenue haul “was driven by increased demand and resilient driver levels.” + +Investors had expected the company revenues of $846.0 million, per Yahoo Finance data. However, that wasn’t enough to lift Lyft’s shares, which fell by more than 12% in after-hours trading. The company’s sequentially declining rider figures and the specter of driver incentives soured investors on the company’s results. + +Still, Lyft’s business has improved off of deep COVID lows. In Q1, for example, Lyft saw its active rider count reach 17.8 million, up nearly 32% from its year-ago result of 13.5 million. And those riders are spending more than they did at the start of 2021, with Lyft’s “revenue per active rider” metric rising to $49.18 in Q1 2022 compared to $45.13 in the year-ago period; the more recent number is some 9% greater than its comparative 2021 result. + +How did the rising revenue figure translate into profits? + +In GAAP terms, an acronym that denotes standard American accounting methods, Lyft had a very unprofitable quarter, posting a net loss of $196.9 million. Though an improvement from its year-ago GAAP net loss of $427.3 million, the company’s Q1 2022 net loss represents a material percentage of its revenues. + +In adjusted terms, the news is better. Lyft’s adjusted EBITDA for Q1 2022 was $54.8 million, up more than $127 million from a year-ago negative tally. The era of ride-hailing companies managing positive adjusted EBITDA continues, in other words. \ No newline at end of file From 83a5b895bb449c1b0cc870cc90b74d4ba42b161a Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 20:12:54 -0400 Subject: [PATCH 3/9] Add files via upload Redid a a lot logic in most files --- count.php | 23 ++++++++++++++++++++++ create_story.php | 14 ++++++++++++-- post_comment.php | 7 ++++--- post_story.php | 16 +++++++++------- story.php | 50 ++++++++++++++++++++++++------------------------ 5 files changed, 73 insertions(+), 37 deletions(-) create mode 100644 count.php diff --git a/count.php b/count.php new file mode 100644 index 0000000..ba1b430 --- /dev/null +++ b/count.php @@ -0,0 +1,23 @@ +"; +?> diff --git a/create_story.php b/create_story.php index e04b7a9..e97e73d 100644 --- a/create_story.php +++ b/create_story.php @@ -19,9 +19,19 @@

Submit an article

- +
- "> + + "> +
+
+ Story:
diff --git a/post_comment.php b/post_comment.php index 5d1f0f2..e632331 100644 --- a/post_comment.php +++ b/post_comment.php @@ -1,13 +1,14 @@ - + + - + - \ No newline at end of file + + diff --git a/story.php b/story.php index 4e2bf4b..50cf7f8 100644 --- a/story.php +++ b/story.php @@ -2,13 +2,21 @@ + $story_data = file("post_story.txt"); //Get file + for($i = 0; $i < count($story_data); $i++){ + $user = explode("|", $story_data[$i]); + $title = $user[0]; + $story = $user[1]; + $author = $user[2]; + $date = $user[3]; + } + ?> + - <?=$header[0] ?> + <?=$title?> @@ -20,26 +28,32 @@
-

+

-

Author:

+

Author:

-

Date Posted:

+

Date Posted:

- Comment: + Leave a comment:
- +
- "> + + ">
@@ -48,29 +62,15 @@
"; } fclose($file); - - //$comments = fopen("comments.txt","r"); - //while(! feof($comments)) { - // $result = fgets($comments) "
"; - // echo $result; - //} - //fclose($comments); ?>
- - + \ No newline at end of file From 3eacbb17ee2ba7445017d0bd59778daa3d1862a9 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 20:13:39 -0400 Subject: [PATCH 4/9] Delete story.css --- story.css | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 story.css diff --git a/story.css b/story.css deleted file mode 100644 index b0a94f3..0000000 --- a/story.css +++ /dev/null @@ -1,27 +0,0 @@ -ul { - list-style-type: none; - margin: 0; - padding: 0; - overflow: hidden; - background-color: #333; -} - - -li a { - display: block; - float: left; - color: white; - text-align: center; - padding: 14px 16px; - text-decoration: none; - - -Fixed Top -ul { - position: fixed; - top: 0; - width: 100%; -} - - - From 328229a799e1be97cee43420940618d498631c21 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 20:14:39 -0400 Subject: [PATCH 5/9] Delete story.txt --- story.txt | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 story.txt diff --git a/story.txt b/story.txt deleted file mode 100644 index c3adce3..0000000 --- a/story.txt +++ /dev/null @@ -1,13 +0,0 @@ -American ride-hailing company Lyft reported Tuesday its first quarter financial performance, a report that showed continued improvement from the loss of business it experienced during the COVID-19 pandemic. - -In Q1, the former startup unicorn generated revenues of $875.6 million, up some 44% from the year-ago period. Besting its guidance, the company’s CEO Logan Green said in a release that the company’s larger than anticipated revenue haul “was driven by increased demand and resilient driver levels.” - -Investors had expected the company revenues of $846.0 million, per Yahoo Finance data. However, that wasn’t enough to lift Lyft’s shares, which fell by more than 12% in after-hours trading. The company’s sequentially declining rider figures and the specter of driver incentives soured investors on the company’s results. - -Still, Lyft’s business has improved off of deep COVID lows. In Q1, for example, Lyft saw its active rider count reach 17.8 million, up nearly 32% from its year-ago result of 13.5 million. And those riders are spending more than they did at the start of 2021, with Lyft’s “revenue per active rider” metric rising to $49.18 in Q1 2022 compared to $45.13 in the year-ago period; the more recent number is some 9% greater than its comparative 2021 result. - -How did the rising revenue figure translate into profits? - -In GAAP terms, an acronym that denotes standard American accounting methods, Lyft had a very unprofitable quarter, posting a net loss of $196.9 million. Though an improvement from its year-ago GAAP net loss of $427.3 million, the company’s Q1 2022 net loss represents a material percentage of its revenues. - -In adjusted terms, the news is better. Lyft’s adjusted EBITDA for Q1 2022 was $54.8 million, up more than $127 million from a year-ago negative tally. The era of ride-hailing companies managing positive adjusted EBITDA continues, in other words. \ No newline at end of file From ebe6d65f5fb0fd2c6588f93b32dd0a9b36d2c161 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 20:14:53 -0400 Subject: [PATCH 6/9] Delete post_story.txt --- post_story.txt | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 post_story.txt diff --git a/post_story.txt b/post_story.txt deleted file mode 100644 index e181068..0000000 --- a/post_story.txt +++ /dev/null @@ -1,7 +0,0 @@ -In GAAP terms, an acronym that denotes standard American accounting methods, Lyft had a very unprofitable quarter, posting a net loss of $196.9 million. Though an improvement from its year-ago GAAP net loss of $427.3 million, the company’s Q1 2022 net loss represents a material percentage of its revenues. - -In adjusted terms, the news is better. Lyft’s adjusted EBITDA for Q1 2022 was $54.8 million, up more than $127 million from a year-ago negative tally. The era of ride-hailing companies managing positive adjusted EBITDA continues, in other words. -May 04 2022 07:03 AM -salkdnbskjfbvcsjhfclbzjkcv lzjhncv jkzsd - -May 05 2022 21:42 PM \ No newline at end of file From cfce95f82bebd7679ae1f476fb6aeff2960d67d5 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 20:15:16 -0400 Subject: [PATCH 7/9] Delete headers.txt --- headers.txt | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 headers.txt diff --git a/headers.txt b/headers.txt deleted file mode 100644 index fbf57e0..0000000 --- a/headers.txt +++ /dev/null @@ -1,4 +0,0 @@ -Will Elon Musk put Twitter on a collision course with global speech regulators? -Natasha Lomas -April 26 2022 -story \ No newline at end of file From 1028e1a068eb81b54802e1783ddd131d8c976f24 Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 20:15:26 -0400 Subject: [PATCH 8/9] Delete comments.txt --- comments.txt | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 comments.txt diff --git a/comments.txt b/comments.txt deleted file mode 100644 index 6ae21e9..0000000 --- a/comments.txt +++ /dev/null @@ -1,15 +0,0 @@ -This is a very informative post, I will share with my family members. -Here are a couple of examples of what you can get from Testimonial Generator. -"Fantastic, I'm totally blown away by Testimonial Generator." -"This is unbelievable. After using Testiminial Generator my buisness skyrocketed!" -Testimonial Generator is the best tool to make up testimonials quickly. -But is what scunt you saying today? - -Is this thing on? -May 04 2022 06:12 AM -no -May 04 2022 06:12 AM -helloi -May 04 2022 06:58 AM -Whats up? -May 05 2022 21:42 PM \ No newline at end of file From 99fd7d6a2e3bf586c1c21dfc3e74bbddb9745ebc Mon Sep 17 00:00:00 2001 From: lvl75charizard <61248118+lvl75charizard@users.noreply.github.com> Date: Sat, 7 May 2022 21:11:10 -0400 Subject: [PATCH 9/9] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5c1015..752baea 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,6 @@ ## Summary n/a - +I am glad this is over