# # $Log: auto_prepend_file,v $ # Revision 1.5 2001/06/11 19:29:28 cvsroot # Update # # Revision 1.4 2001/06/05 19:43:35 cvsroot # Routine update # # Revision 1.3 2001/05/13 22:41:31 cvsroot # Initial prepend file # # # If the http_host does not equal the server name, redirect to the server name. # if (!stristr($_SERVER[REQUEST_URI], 'keystone')) { ### if ($_SERVER["HTTP_HOST"] != $_SERVER["SERVER_NAME"]) { ### header("Location: http://$_SERVER[SERVER_NAME]$_SERVER[REQUEST_URI]"); ### } # # If this is CivicServer, bail out. # ### if (stristr($_SERVER["SCRIPT_FILENAME"], 'CivicServer')) { ### return; ### } # # Determin base URL for web pages. # ### if (stristr($_SERVER[SERVER_NAME], 'test')) { ### $dri_base_url = 'test.directreflections.com'; ### } elseif (stristr($_SERVER[SERVER_NAME], 'doug')) { ### $dri_base_url = 'doug.infotopia.tv'; ### } else { ### $dri_base_url = 'infotopia.tv'; ### } # # Determin the site code # ### session_register("dri_prod_site"); ### if (stristr($_SERVER[SERVER_NAME], "medicus.$dri_base_url")) { ### $dri_prod_site = 1; ### } elseif (stristr($_SERVER[SERVER_NAME], "totaltiger.$dri_base_url")) { ### $dri_prod_site = 2; ### } elseif (stristr($_SERVER[SERVER_NAME], "bbj.$dri_base_url")) { ### $dri_prod_site = 3; ### } elseif (stristr($_SERVER[SERVER_NAME], "torsotiger.$dri_base_url")) { ### $dri_prod_site = 4; ### } elseif (stristr($_SERVER[SERVER_NAME], "promo.$dri_base_url")) { ### $dri_prod_site = 5; ### } else { ### $dri_prod_site = 0; ### } # # Preserve the last known non-secure.infotopia.tv URL. # ### if (!stristr($_SERVER[SERVER_NAME], 'secure')) { ### $dri_return_url = $_SERVER[SERVER_NAME]; ### session_register("dri_return_url"); ### } # # Get static session tar for URLs # $dri_static_session = session_name() . "=" . session_id(); # # Build the global variables # $dri_code_dir = str_replace('/htdocs', '/php', $_SERVER["DOCUMENT_ROOT"]); $dri_code_self = str_replace('/htdocs', '/php', $_SERVER["SCRIPT_FILENAME"]); $dri_lib_dir = str_replace('/htdocs', '/lib', $_SERVER["DOCUMENT_ROOT"]); # # Global constants # $dri_sql_server = "localhost"; $dri_sql_user = "root"; $dri_sql_pass = ""; $dri_sql_database = "Blattner"; # # Implement universal media tracking system. # if (isset($m)) { session_register("dri_msrc"); session_register("dri_m"); $dri_m = $m; $dri_msrc = "P0000M" . substr("0000$m", -4); } # # If the media code is not set, default it! # if (!isset($dri_msrc)) { $dri_msrc = "P0000M0000"; } # # Look-up the current session, if it does not exist... create it. # include("$dri_lib_dir/lib.inc"); # $sessionkey = session_id(); $res_sessions = dbQuery("SELECT * FROM sessions WHERE sessionkey=\"$sessionkey\""); if (dbNumRows($res_sessions) == 0) { $sessions[sessionkey] = $sessionkey; $sessions[msrc] = $dri_msrc; $sessions[prod_site] = $dri_prod_site; $sessions[firstts] = convertUTimetoSQLTime(time()); $sessions[ip_addr] = $_SERVER["REMOTE_ADDR"]; $sessions[referer] = $_SERVER["HTTP_REFERER"]; $ins = MakeInsertString( $sessions ); dbQuery("INSERT INTO sessions (" . $ins[fields] . ") VALUES (" . $ins[values] . ")"); # $res_sessions = dbQuery("SELECT * FROM sessions WHERE sid=LAST_INSERT_ID()"); unset($sessions); $sessions = dbResultArray($res_sessions, 0); } else { $sessions = dbResultArray($res_sessions, 0); } $dri_sid = $sessions["sid"]; # # Update the most current timestamp and page count. # $dri_ts = convertUTimetoSQLTime(time()); dbQuery("UPDATE sessions SET pages=pages+1, ts='$dri_ts' WHERE sid='$dri_sid'"); # # Update parrent (if supplied) # if (isset($p)) { $dri_parrent = icrypt($p, 'D'); dbQuery("UPDATE sessions SET parrent='$dri_parrent' WHERE sid='$dri_sid'"); } else { $dri_parrent = $sessions["parrent"]; } # # Get current member info. # if ($_COOKIE[C2BRref] != "") { $refering_member = $_COOKIE[C2BRref]; } # if ($refering_member != "") { $res = dbQuery("SELECT * FROM members WHERE username = '$refering_member'"); if (dbNumRows($res) == 0) { $res = dbQuery("SELECT * FROM members WHERE username = 'default'"); } } else { $res = dbQuery("SELECT * FROM members WHERE username = 'default'"); } # # Store the user ID. # $member = dbResultArray($res, 0); # # If accessing the members area, and NOT logged in, redirect to the login page.... # if (strpos($dri_code_self, 'members')) { if ($logged_in == '') { $redirect_uri = $_SERVER["REQUEST_URI"]; $error_message = "Please login before using the members area!!"; include(str_replace('/htdocs', '/php', $_SERVER["DOCUMENT_ROOT"]) . '/login.htm'); include($_SERVER["DOCUMENT_ROOT"] . '/login.htm'); exit; } } # # If the code file exists, include it first. # if (file_exists($dri_code_self)) { include($dri_code_self); } } ?>
The strategy of an organization has a life cycle: a dormant phase and a development phase. Because strategic issues are not considered through a periodic review, many organizations spend most of their time in the dormant phase. When a company has a product in demand that is worth developing, there is justification for investment in the company's future, however, there is likely to also be a need for a fundamental appraisal of where the business is going if the company is to set a course towards sustainable and improved profitability. This is why more and more businesses are looking to employ the part time services of external strategy consultants. Blattner consulting provides professional consulting services to all areas of business and our sound business advice is based on extensive real world experience and knowledge. We provide business startup advice in addition to complex business strategy and alignment techniques for large and multi-national businesses. Our services include but are not limited to:
Blattner consulting provides end-to-end expert advice and support with business strategy development which involves a complete evaluation of the clients business. Our process is simple, beginning with an evaluation of internal planning, positioning and processes, through S.W.O.T. analysis evaluating internal strengths and weaknesses and external opportunities and threats and resulting in the definition of M.O.S.T. criteria which results in the definition of Mission, objectives, strategies and tactics. As a trusted partner in our clients organization, Blattner consulting help senior executives solve the difficult business problems that their organizations face. Through the design and implementation of enterprise-wide, customer-centric growth strategies, utilizing internal proceses and technologies, we assist our clients in the continuous improvement of top-line and bottom-line business performance.
|