Devam Ediyor

479324 hockey stats script rewrite

My php script is in dire need of a rewrite/recoding

I would like to keep the same design i have now as much as possible unless you see something better that fits.

The current script i am guessing is at least 8/9 yrs old. it has alot of new updates and recoding done already.

with the recoding i am hoping to make the code faster, cleaner and more efficent. The script currently uses alot of includes to get stuff to show/appear.


the [url removed, login to view] for the front page stuff and the [url removed, login to view] for the back end stuff are set up like this

(this is only a breif bit of the code)



include("[url removed, login to view]");


if($_POST["setlanguage"]) {



$lang = "./lang/".$_POST["setlanguage"].".ini";

$llang = $_POST["setlanguage"];

} elseif($_COOKIE["language"]) {

$lang = "./lang/".$_COOKIE["language"].".ini";

$llang = $_COOKIE["language"];

} else {

$l_array = explode("-",$lang_array[0]);

$llang = $l_array[0];

$lang = "./lang/".$l_array[0].".ini";


$opt = isset($_POST['opt'])?$_POST['opt']:$_GET['opt'];

$sid = $_GET['sid'];

$tid = $_GET['tid'];

$divid = $_GET['divid'];

$pid = $_GET['pid'];

$type = $_GET['type'];

$id = $_GET['id'];

$order = $_GET['order'];

$season = $_GET['season'];

$lid = $_GET['lid'];

$sgame = $_GET['sgame'];

$pdate = $_GET['pdate'];

include("./[url removed, login to view]");

switch($opt) {

case "reglog":

include("[url removed, login to view]");

$output .= '<table bgcolor="#ffffff" align="center" width="900"><tr><td>'.registration_log().'</td></tr></table>';


case "playerlist":

include("[url removed, login to view]");

$output .= get_players($pid);



case "viewteam":

include("[url removed, login to view]");

$output .= view_team($id,$divid,$sid,$order);



case "teamroster":

include("[url removed, login to view]");

$output .= teamroster($id,$sid,$divid);



case "teamschedule":

include("[url removed, login to view]");

$output .= teamschedule($id,$sid);



each one of these brings up the required page of the php code which also looks for an include of the html/php page where its displayed.

I am hoping to make it in this format

[url removed, login to view]

instead of

[url removed, login to view]

there is no time frame on this and some hockey knowledge is preferred, but not required.

also if you think we need to add/change stuff to the database i am game as well.. I want to make the most out of this script.

making this more SEO friendly would be great as well

Please feel free to ask questions

Beceriler: Her şey Kabul, Makale Yeniden Yazım, PHP, SEO, Kabuk Betiği

Daha fazlasını gör: roster example, rewrite free, my stats, example of a roster, the lid, rewrite script, hockey team, design order script, switch order, php add roster, php seo rewrite, script schedule, keep stats, seo config, php elseif, current stats, database stats, front design script, team roster script, php schedule output, game design menu design, rewrite game code, switch language, script php rewrite, language switch

İşveren Hakkında:
( 84 değerlendirme ) Vancouver, Canada

Proje NO: #2225234