$getBasePath = function($protocol = NULL){
if(!isset($protocol)){
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$protocol = "https:";
} else {
$protocol = "http:";
}
}else{
$protocol .= ":";
}
if(isset($GLOBALS["base_path"])) return preg_replace('/^(http:|https:)/i', $protocol, $GLOBALS["base_path"]);
if(!isset($_REQUEST["level"]))$_REQUEST["level"] = 0;
if(isset($_REQUEST["base_url"])){
$uri = $_REQUEST["base_url"];
}else{
$uri = $_SERVER["REQUEST_URI"];
}
if(strlen($uri)-1 != strrpos($uri, "/")){
$uri = rtrim(dirname($uri), "/");
}else{
$uri = rtrim($uri, "/");
}
if($_REQUEST["level"] == 0){
$uri = $protocol."//".$_SERVER['SERVER_NAME'].$uri;
$GLOBALS["base_path"] = $uri;
return $uri;
}
$path_array = explode("/", $uri);
for ($i = 0; $i <= (int)$_REQUEST["level"]-1; $i++){
array_pop($path_array);
}
foreach ($path_array as $dir) {
if($dir != "") $base_path .= "/".$dir;
}
$base_path = $protocol."//".$_SERVER['SERVER_NAME'].$base_path;
$GLOBALS["base_path"] = $base_path;
return $base_path;
}
?>
会社説明会
会社説明会を開催致します。
長野日産の個別説明会を開催いたします。
当社個別説明会のモットーは「緊張させない、眠くならない」です。説明会では長野日産の良いところも、まだまだなところも、全てをお話しします。
ご参加いただける方は、以下からご予約くださいませ。皆さまにお会いできるのを楽しみにしております。
$getBasePath = function($protocol = NULL){
if(!isset($protocol)){
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$protocol = "https:";
} else {
$protocol = "http:";
}
}else{
$protocol .= ":";
}
if(isset($GLOBALS["base_path"])) return preg_replace('/^(http:|https:)/i', $protocol, $GLOBALS["base_path"]);
if(!isset($_REQUEST["level"]))$_REQUEST["level"] = 0;
if(isset($_REQUEST["base_url"])){
$uri = $_REQUEST["base_url"];
}else{
$uri = $_SERVER["REQUEST_URI"];
}
if(strlen($uri)-1 != strrpos($uri, "/")){
$uri = rtrim(dirname($uri), "/");
}else{
$uri = rtrim($uri, "/");
}
if($_REQUEST["level"] == 0){
$uri = $protocol."//".$_SERVER['SERVER_NAME'].$uri;
$GLOBALS["base_path"] = $uri;
return $uri;
}
$path_array = explode("/", $uri);
for ($i = 0; $i <= (int)$_REQUEST["level"]-1; $i++){
array_pop($path_array);
}
foreach ($path_array as $dir) {
if($dir != "") $base_path .= "/".$dir;
}
$base_path = $protocol."//".$_SERVER['SERVER_NAME'].$base_path;
$GLOBALS["base_path"] = $base_path;
return $base_path;
}
?>
$getBasePath = function($protocol = NULL){
if(!isset($protocol)){
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$protocol = "https:";
} else {
$protocol = "http:";
}
}else{
$protocol .= ":";
}
if(isset($GLOBALS["base_path"])) return preg_replace('/^(http:|https:)/i', $protocol, $GLOBALS["base_path"]);
if(!isset($_REQUEST["level"]))$_REQUEST["level"] = 0;
if(isset($_REQUEST["base_url"])){
$uri = $_REQUEST["base_url"];
}else{
$uri = $_SERVER["REQUEST_URI"];
}
if(strlen($uri)-1 != strrpos($uri, "/")){
$uri = rtrim(dirname($uri), "/");
}else{
$uri = rtrim($uri, "/");
}
if($_REQUEST["level"] == 0){
$uri = $protocol."//".$_SERVER['SERVER_NAME'].$uri;
$GLOBALS["base_path"] = $uri;
return $uri;
}
$path_array = explode("/", $uri);
for ($i = 0; $i <= (int)$_REQUEST["level"]-1; $i++){
array_pop($path_array);
}
foreach ($path_array as $dir) {
if($dir != "") $base_path .= "/".$dir;
}
$base_path = $protocol."//".$_SERVER['SERVER_NAME'].$base_path;
$GLOBALS["base_path"] = $base_path;
return $base_path;
}
?>
$getBasePath = function($protocol = NULL){
if(!isset($protocol)){
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$protocol = "https:";
} else {
$protocol = "http:";
}
}else{
$protocol .= ":";
}
if(isset($GLOBALS["base_path"])) return preg_replace('/^(http:|https:)/i', $protocol, $GLOBALS["base_path"]);
if(!isset($_REQUEST["level"]))$_REQUEST["level"] = 0;
if(isset($_REQUEST["base_url"])){
$uri = $_REQUEST["base_url"];
}else{
$uri = $_SERVER["REQUEST_URI"];
}
if(strlen($uri)-1 != strrpos($uri, "/")){
$uri = rtrim(dirname($uri), "/");
}else{
$uri = rtrim($uri, "/");
}
if($_REQUEST["level"] == 0){
$uri = $protocol."//".$_SERVER['SERVER_NAME'].$uri;
$GLOBALS["base_path"] = $uri;
return $uri;
}
$path_array = explode("/", $uri);
for ($i = 0; $i <= (int)$_REQUEST["level"]-1; $i++){
array_pop($path_array);
}
foreach ($path_array as $dir) {
if($dir != "") $base_path .= "/".$dir;
}
$base_path = $protocol."//".$_SERVER['SERVER_NAME'].$base_path;
$GLOBALS["base_path"] = $base_path;
return $base_path;
}
?>
$getBasePath = function($protocol = NULL){
if(!isset($protocol)){
if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$protocol = "https:";
} else {
$protocol = "http:";
}
}else{
$protocol .= ":";
}
if(isset($GLOBALS["base_path"])) return preg_replace('/^(http:|https:)/i', $protocol, $GLOBALS["base_path"]);
if(!isset($_REQUEST["level"]))$_REQUEST["level"] = 0;
if(isset($_REQUEST["base_url"])){
$uri = $_REQUEST["base_url"];
}else{
$uri = $_SERVER["REQUEST_URI"];
}
if(strlen($uri)-1 != strrpos($uri, "/")){
$uri = rtrim(dirname($uri), "/");
}else{
$uri = rtrim($uri, "/");
}
if($_REQUEST["level"] == 0){
$uri = $protocol."//".$_SERVER['SERVER_NAME'].$uri;
$GLOBALS["base_path"] = $uri;
return $uri;
}
$path_array = explode("/", $uri);
for ($i = 0; $i <= (int)$_REQUEST["level"]-1; $i++){
array_pop($path_array);
}
foreach ($path_array as $dir) {
if($dir != "") $base_path .= "/".$dir;
}
$base_path = $protocol."//".$_SERVER['SERVER_NAME'].$base_path;
$GLOBALS["base_path"] = $base_path;
return $base_path;
}
?>