diff --git a/luka_ergemlidze/gitex.css b/luka_ergemlidze/gitex.css new file mode 100644 index 0000000..5f21236 --- /dev/null +++ b/luka_ergemlidze/gitex.css @@ -0,0 +1,69 @@ +.page { + background-color: rgb(187, 190, 223) ; +} + +.startercontainer { + width: 250px; + height: 250px; + background-color: lawngreen; + border-radius: 5%; + border: 1px solid rgb(33, 77, 99); + margin: auto; +} + +.username { + padding: 9px; + margin-top: 20%; + background-color: black; + border: none; + color: white; + font-size: large; +} + +.username:hover { + background-color: white; + color: black; +} + +.submit { + padding: 10px; + margin-top: 20%; + margin-left: 30%; + background-color: brown; + font-size: x-large; +} + +.submit:hover{ + background-color: yellow; + color: green; +} + +.maintxt { + margin: auto; + text-align: center; + font-size: 4vw; +} + +.sectxt { + margin: auto; + text-align: center; + font-size: x-small; +} + +/* second page */ + + +table, th, td { + border: 1px solid gold; + border-collapse: collapse; +} + +.noninfodiv { + margin: auto; +} + +.noninfo { + text-decoration: underline; + margin-left: 450px; + margin-top: 500px; +} \ No newline at end of file diff --git a/luka_ergemlidze/gitex.php b/luka_ergemlidze/gitex.php new file mode 100644 index 0000000..b306d19 --- /dev/null +++ b/luka_ergemlidze/gitex.php @@ -0,0 +1,75 @@ + + + + + + + Information Page + + + + + +
+

github Nickname


+
+ + +
+ +
+ + array( + 'method'=>"GET", 'header'=>'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 + (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36') + ); + $context = stream_context_create($gituser); + + $followers_file = file_get_contents($urlf, false, $context); + $repos_file = file_get_contents($urlr, false, $context); + + file_put_contents('followers.json', $followers_file); + file_put_contents('repos.json', $repos_file); + + $json_followers = file_get_contents('followers.json'); + $json_followers_data = json_decode($json_followers,true); + + $json_repos = file_get_contents('repos.json'); + $json_repos_data = json_decode($json_repos,true); + + ?> + +
+ you have 0 followers +
+ + + + + + + + + + + + + + + + + + + +
Nyour followersyour repos nameyour repos users ID
N -
+ + + + \ No newline at end of file diff --git a/luka_ergemlidze/userinput.php b/luka_ergemlidze/userinput.php new file mode 100644 index 0000000..0d54dce --- /dev/null +++ b/luka_ergemlidze/userinput.php @@ -0,0 +1,44 @@ + + + + + + + + Registration Page + + + + + +
+
+
+
+
+ +
+
+ + + +
+ +

+
+ + + + + + \ No newline at end of file