|
>
if ($show["wide"]=="ja"){ ?>
/*
$thisblockpos="15";
$p[0]="4";
$p[0]=stripslashes($p[0]);
$p[1]="Falls es kein Flash gibt...
} ?>
"; $p[1]=stripslashes($p[1]); $p[2]="ff5_einzoomen.swf"; $p[2]=stripslashes($p[2]); $p[3]="mpv_wideillu_start.jpg"; $p[3]=stripslashes($p[3]); $p[4]="StandardFlash"; $p[4]=stripslashes($p[4]); $id='3'; $lang='de'; */ $block="\n\n"."\n"; $flashblockid="gom_widetop_".$thisblockpos; $block.=' \n"; if ($p[2]){ $flashvars="p0=$p0&p1=$p1&p2=$p2&p3=$p3&p4=$p4&p5=$p5&p6=$p6&p7=$p7&p8=$p8&p9=$p9&img="."media/gom_widetop/images/".$p[3]; $flashsrc="media/gom_widetop/flash/".$p[2]; $flash_par=getimagesize($flashsrc); // 0: Breite | 1:Hoehe | 2:Art(1=GIF,2=JPG,3=PNG,4=SWF..13=SWC etc.) | 3:IMG-parameter als HTML oder //Array ( [0] => 780 [1] => 180 [2] => 4 [3] => width="780" height="180" [mime] => application/x-shockwave-flash ) //print_r($flash_par); $height=$flash_par[1]; $width =$flash_par[0]; if(!$flash_par){ $height=$img_par[1]; $width =$img_par[0];} if ($p[5]=="ausblendbar" && $_COOKIE["gom_widetop"]=="off"){$block.='';} else {$block.='';} $block.=''."\n"; } echo $block; $block.=""."\n\n"; if ($_GET['editmode']=="1"){ $editlink=''; echo $editlink; } ?> |
||
> >
echo $messecontent; ?>
if($cms_pagepar[3]=="horizontal"){ ?> '.$p[1].''; }
if ($p[2]){ $block.=''.$p[2].''."\n";}
function gom_mainlogin_acceptform($p) {
$ht=$p[7];
$ht=str_replace("%%accept%%",'',$ht);
$ht=str_replace("%%submit%%",'',$ht);
$ht='';
$block.=$ht."\n";
return $block;
}
function gom_mainlogin_acceptAGBform($p) {
$ht=$p[8];
$ht=str_replace("%%accept%%",'',$ht);
$ht=str_replace("%%submit%%",'',$ht);
$ht='';
$block.=$ht."\n";
return $block;
}
if ($_GET["acceptagb"] && $_SESSION[$SITELEVEL]=="Aussteller (bedingt)" && (!$_POST["acceptagb"] OR !$_POST["Submit"])){
// Activate Account 2. Ebene
$block.=gom_mainlogin_acceptAGBform($p);
} else if ($_GET["accept"] && $_SESSION[$SITELEVEL]=="Arzt bedingt" && (!$_POST["accept"] OR !$_POST["Submit"])){
// Activate Account 2. Ebene
$block.=gom_mainlogin_acceptform($p);
} else if ($_GET["u"] && $_GET["i"]){
//KB_DUMP($p);
// Activate Account
//"http://kb-service.net.de/CMS-Sites/apv-htdata/patient_aktivieren.php?"."aid=".urlencode($aid)."&id=".urlencode($in["lid"])."&user=".urlencode($in["username"]);
//echo 'gom_mainlogin["Status"]:'.$gom_mainlogin["Status"];
if ($gom_mainlogin["Status"]=="neu"){
//if($_SESSION[$SITELEVEL]=="Aussteller"){ $ht=$p[5]; $webgains_pre="P"; }
if($_SESSION[$SITELEVEL]=="Aussteller bedingt"){ $ht=$p[5].gom_mainlogin_acceptAGBform($p); $webgains_pre="P"; }
//if($_SESSION[$SITELEVEL]=="Admin"){ $ht=$p[4]; $webgains_pre="D"; }
if($_SESSION[$SITELEVEL]=="Admin bedingt"){ $ht=$p[5].gom_mainlogin_acceptform($p); $webgains_pre="D"; }
$block.=$ht."\n";
} else if ($gom_mainlogin["Status"]=="alt"){
//if ($_SESSION[$SITELEVEL]=="Admin"){ $ht=$p[6]; }
//else if ($_SESSION[$SITELEVEL]=="Admin bedingt"){ $ht=$p[6].gom_mainlogin_acceptform($p); }
//else if ($_SESSION[$SITELEVEL]=="Aussteller bedingt"){ $ht=$p[6].gom_mainlogin_acceptAGBform($p); }
//else { $ht=$p[6]; }
$block.=$p[6]."\n";
} else { echo _L('Uns liegt keine entsprechende Registrierung vor.'); }
if($_SESSION[$SITELEVEL]=="Aussteller bedingt"){
$block.=$p[7]; // Vertrags abschliessen!
} else if($_SESSION[$SITELEVEL]=="Aussteller"){
$block.=$p[8];
}
} else {
// Main Content
$ht=$p[3];
// Login
$ht=str_replace("%%formlogin%%",'',$ht);
$ht=str_replace("%%artpatient%%",'',$ht);
$ht=str_replace("%%artarzt%%",'',$ht);
$ht=str_replace("%%user%%",'',$ht);
$ht=str_replace("%%password%%",'',$ht);
$ht=str_replace("%%keeplogged%%",'',$ht);
$ht=str_replace("%%loginbutton%%",'',$ht);
preg_match_all("#%%errorlogin%%(.*?)%%/errorlogin%%#s",$ht,$def_errorlogin);
$search_errorlogin=$def_errorlogin[0][0];
$replace_errorlogin=$def_errorlogin[1][0];
//echo "S:".$search_errorlogin." - R:".$replace_errorlogin;
if ($_POST["mloginSubmit"]=="Login"){ $ht=str_replace($search_errorlogin,$replace_errorlogin,$ht);
} else { $ht=str_replace($search_errorlogin,"",$ht); }
//$ht=str_replace("%%errorlogin%%","",$ht);$ht=str_replace("%%/errorlogin%%","",$ht);
//$ht=str_replace($def_errorlogin," } ?>
// 1: Sparte TXT
// 2: Sparte2 TXT
// 3: LoginFormular HTML
// 4: Activate Arzt HTML
// 5: Activate Patient HTML
// 6: Schon aktiviert HTML
// 7: Accept Preise HTML
$block="";
include_once("assets/php/gom_session_functions.php");
$p[3]=str_replace($db["relbase"],"",$p[3]);
$p[3]=str_replace($db["htdatapath"],"",$p[3]);
$p[3]=str_replace("http://www.fk-service.net","",$p[3]);
$p[3]=str_replace("http://192.168.40.101","",$p[3]);
$p[3]=str_replace("http://192.168.40.102","",$p[3]);
$p[3]=str_replace("http://www.kb-service.net","",$p[3]);
$p[4]=str_replace($db["relbase"],"",$p[4]);
$p[4]=str_replace($db["htdatapath"],"",$p[4]);
$p[4]=str_replace("http://www.fk-service.net","",$p[4]);
$p[4]=str_replace("http://192.168.40.101","",$p[4]);
$p[5]=str_replace($db["relbase"],"",$p[5]);
$p[5]=str_replace($db["htdatapath"],"",$p[5]);
$p[5]=str_replace("http://www.fk-service.net","",$p[5]);
$p[5]=str_replace("http://192.168.40.101","",$p[5]);
if ($p[9]==""){$SITELEVEL="GOMLEVEL"; } else {$SITELEVEL=$p[9]; }
//echo "SITELEVEL".$SITELEVEL;
if ($p[1]){ $block.='".$def_errorlogin,$ht); // Forgot PW if ($gom_mainlogin["forgotpw"]!="success"){ $ht=str_replace("%%formforgotpw%%",'',$ht); $ht=str_replace("%%email%%",'',$ht); $ht=str_replace("%%forgotpwbutton%%",'',$ht); preg_match_all("#%%errorforgotpw%%(.*?)%%/errorforgotpw%%#s",$ht,$def_errorfgpw); $search_forgotpw=$def_errorfgpw[0][0]; $replace_forgotpw=$def_errorfgpw[1][0]; //echo "S:".$search_errorlogin." - R:".$replace_errorlogin; if ($_POST["fgpwSubmit"]=="Zugangsdaten senden"){ $ht=str_replace($search_forgotpw,$replace_forgotpw,$ht); } else { $ht=str_replace($search_forgotpw,"",$ht); } preg_match_all("#%%successforgotpw%%(.*?)%%/successforgotpw%%#s",$ht,$def_successfgpw); $search_successfgpw=$def_successfgpw[0][0]; $replace_successfgpw=$def_successfgpw[1][0]; //echo "S:".$search_errorlogin." - R:".$replace_errorlogin; $ht=str_replace($search_successfgpw,"",$ht); } else { preg_match_all("#%%formforgotpw%%(.*?)%%/formforgotpw%%#s",$ht,$def_formforgotpw); $search_formforgotpw=$def_formforgotpw[0][0]; $replace_formforgotpw=$def_formforgotpw[1][0]; $ht=str_replace($search_formforgotpw,"",$ht); preg_match_all("#%%successforgotpw%%(.*?)%%/successforgotpw%%#s",$ht,$def_successfgpw); $search_successfgpw=$def_successfgpw[0][0]; $replace_successfgpw=$def_successfgpw[1][0]; //echo "S:".$search_errorlogin." - R:".$replace_errorlogin; $ht=str_replace($search_successfgpw,$replace_successfgpw,$ht); } // $block.=$ht."\n"; } // EditLink if ($mode=="edit"){ $editlink=" "; $block.=$editlink; } $block="\n\n"."\n".' '.$block." \n"."\n\n";
echo $block;
?>
//$refe=parse_url(getenv("HTTP_REFERER")); echo "R.".$refe['host'];
?>
|
|