If you need help building your website, this is the place to hang out. If you're an HTML, PHP, Perl or web database geek, check it out. / Si vous avez besoin d'aide pour construire votre site web, c'est le forum à regarder! Si vous êtes un expert en HTML, PHP, Perl ou en base de données, c'est le forum pour vous!
In the last month, I have been working hard on new PHP webpages. Today, I’m ready to show what I’m been working on
6 new webpage build in PHP based on the SQLite database: PlayersRoster, GoaliesRoster, PlayersInfo, PlayersStat, GoaliesStat and Search. The five first webpage are dynamic based on the parameters send by the Search webpage or used default search parameters. Once you did a search, you’ll find your search query in the URL Link. For example, a query to get the “Top 75 Pro Players Roster In Ascending Order By Strength” will give you an URL of ‘PlayersRoster.php?Order=ST&Type=1&Max=75&ACS=on’. This means you can link another webpage directly to this URL. The PlayersStat and GoaliesStat already replace the Leader page in the top menu.
The webpage who are using an TableSorter script were updated to TableSorter 2.0 (https://mottie.github.io/tablesorter/docs/index.html) who is way better and allow way more option (Sticky Header, Show Or Hide Column, Search Filter, Automatic Formatting Base on your screen resolution, etc).
The ProTeam and FarmTeam webpage also got an update to TableSorter 2.0 and multiple improvements.
This is great Simon - toggle of columns to be displayed is fantastic. Will it persist for each browser session? Can you add similar configuration capability in output screen w/in the sim?
ImSteveK wrote:Will it persist for each browser session?
Yes and it's an option of script. Right now, it's turn off for my test purpose but I just turn if on,
ImSteveK wrote:Can you add similar configuration capability in output screen w/in the sim?
In the STHS itself you mean? Sadly no. It's not the same programming interface. For the website, I simply reuse open-source code (JQuery + TableSorter 2.0 Plugin).
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS English Manual - Manuel Français
If a player is currently a free agent, a team can make him an offer by the STHS Client and send it to commish.
If a player has 1 year contract, it can only be done in the full STHS for now. It's in my TO DO list to implement this option in the STHS Client
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS English Manual - Manuel Français