{"id":9974,"date":"2024-03-11T12:17:10","date_gmt":"2024-03-11T12:17:10","guid":{"rendered":"https:\/\/stretfordpaddockfc.com\/staging\/?post_type=players&#038;p=9974"},"modified":"2024-07-23T15:20:15","modified_gmt":"2024-07-23T15:20:15","slug":"sam-pratt","status":"publish","type":"players","link":"https:\/\/stretfordpaddockfc.com\/staging\/players\/sam-pratt\/","title":{"rendered":"Sam Pratt"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row gap=&#8221;35&#8243;][vc_column width=&#8221;1\/2&#8243;][vc_column_text]<\/p>\n<h2>Player Profile<\/h2>\n<p>[\/vc_column_text][vc_column_text]<\/p>\n<h3>Introduction<\/h3>\n<p><strong>Full Name:<\/strong> Sam Pratt<br \/>\n<strong>Preferred Position:<\/strong> Striker<br \/>\n<strong>Joined Stretford Paddock FC:<\/strong> Pre-season 2024\/25<br \/>\n<strong>Previous Clubs:<\/strong> Spurley Hey, Gorton Panthers (currently still playing for Gorton Panthers)<\/p>\n<h3>Career Highlights and Awards<\/h3>\n<p><strong>Main Highlight:<\/strong> Winning the County Cup with Gorton Panthers last year, scoring the winning goal and securing back-to-back seasons with silverware.<\/p>\n<h3>Personal Football Journey<\/h3>\n<p><strong>Journey:<\/strong> Sam has played football his entire life, initially starting out as a centre half before transitioning into a forward.<br \/>\n<strong>Significant Moment:<\/strong> Winning the County Cup has been the most significant moment in his football career so far.<\/p>\n<h3>Role at Stretford Paddock FC<\/h3>\n<p><strong>Role:<\/strong> As a striker, Sam&#8217;s primary objective is to score goals and help the team win as many trophies as possible.<\/p>\n<h3>Personal Interests and Aspirations<\/h3>\n<p><strong>Hobbies:<\/strong> Outside of football, Sam enjoys playing golf whenever he gets the chance.<br \/>\n<strong>Aspirations:<\/strong> To contribute significantly to Stretford Paddock FC&#8217;s success by scoring goals and helping the team secure trophies.<\/p>\n<h3>Message to Supporters<\/h3>\n<p>&#8220;Enjoy the trophies that are coming!&#8221;[\/vc_column_text][\/vc_column][vc_column width=&#8221;1\/2&#8221;][vc_column_text]<\/p>\n<h2>History<\/h2>\n<p>[\/vc_column_text]<div id=\"data-table\"><\/div>\r\n            <script>\r\n                $(document).ready(function() {\r\n                    var csvUrl = \"https:\/\/docs.google.com\/spreadsheets\/d\/e\/2PACX-1vRHCfyawa68C8BNx3lGGiL1AO2x0pSbP4o_D5ABouVQKlwxKyhyCcCo2t9mvUjMN7RtbjkRnCkCa0hR\/pub?output=csv\";\r\n                    setTimeout(function() {\r\n                        var firstName = $(\".fname\").text().trim();\r\n                        var lastName = $(\".lname\").text().trim();\r\n                        function normalizeName(name) {\r\n                            return name.replace(\/[\\s-]\/g, \"\").toLowerCase();\r\n                        }\r\n                        var normalizedFirstName = normalizeName(firstName);\r\n                        var normalizedLastName = normalizeName(lastName);\r\n                        $.get(csvUrl, function(data) {\r\n                            var rows = data.split(\"\\n\");\r\n                            var html = \"<table>\";\r\n                            var playerRow = null;\r\n                            var rowCount = 0;\r\n                            html += \"<thead><tr><th>Season<\/th><th>Apps<\/th><th>Goals<\/th><th>Assists<\/th><\/tr><\/thead><tbody>\";\r\n                            rows.forEach(function(row, index) {\r\n                                if (row.trim().length > 0) {\r\n                                    var cells = row.split(\",\");\r\n                                    if (index >= 2) {\r\n                                        var normalizedFullName = normalizeName(cells[0].replace(\/^\"|\"$\/g, \"\").trim()) + normalizeName(cells[1].replace(\/^\"|\"$\/g, \"\").trim());\r\n                                        if (normalizedFullName === normalizedLastName + normalizedFirstName) {\r\n                                            for (var i = 3; i < cells.length - 1; i += 3) {\r\n                                                if (i + 1 >= cells.length) break;\r\n                                                var season = rows[0].split(\",\")[i-1].trim();\r\n                                                var apps = cells[i] ? cells[i].trim() : \"0\";\r\n                                                var goals = cells[i + 1] ? cells[i + 1].trim() : \"0\";\r\n                                                var assists = cells[i + 2] ? cells[i + 2].trim() : \"0\";\r\n                                                rowCount++;\r\n                                                if (rowCount === 6) continue;\r\n                                                html += `<tr><td>${season}<\/td><td>${apps}<\/td><td>${goals}<\/td><td>${assists}<\/td><\/tr>`;\r\n                                            }\r\n                                        }\r\n                                    }\r\n                                }\r\n                            });\r\n                            html += \"<\/tbody><\/table>\";\r\n                            $(\"#data-table\").html(html);\r\n                        });\r\n                    }, 300);\r\n                });\r\n            <\/script>[\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"featured_media":9934,"template":"","meta":[],"squads":[58],"role":[66],"class_list":["post-9974","players","type-players","status-publish","has-post-thumbnail","hentry","squads-first-team","role-forwards"],"_links":{"self":[{"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/players\/9974","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/players"}],"about":[{"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/types\/players"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/media\/9934"}],"wp:attachment":[{"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/media?parent=9974"}],"wp:term":[{"taxonomy":"squads","embeddable":true,"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/squads?post=9974"},{"taxonomy":"role","embeddable":true,"href":"https:\/\/stretfordpaddockfc.com\/staging\/wp-json\/wp\/v2\/role?post=9974"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}