15 require
'../../../_src/_config.php';
22 array_walk_recursive(
$cf[
'auth'],
function( &$v,
$k ) {
if(
$k ===
'password' ||
$k ===
'private' ||
$k ===
'key' ) { $v =
'***'; } } );
25 if( empty(
$_SESSION[
'account'][
'user'] ) ) {
26 $tx =
'<h1>login</h1>' 27 .
'<form action="" method="post">' 28 .
'<div><input type="text" name="__login__[user]" /></div>' 29 .
'<div><input type="password" name="__login__[pasw]" /></div>' 30 .
'<div><input type="submit" /></div>' 33 $tx =
'<h1>logout</h1>' 34 .
'<form action="" method="post">' 35 .
'<input type="hidden" name="__logout__" value="1" />' 36 .
'<div><input type="submit" /></div>' 41 $tx .=
'<h2>array $ct[\'session\']</h2>';
42 $tx .=
'<pre>' . print_r(
$ct[
'session'],
true ) .
'</pre>';
45 $tx .=
'<h2>array $cf[\'auth\']</h2>';
46 $tx .=
'<pre>' . print_r(
$cf[
'auth'],
true ) .
'</pre>';
if(isset( $cx['contatti'])) if(isset( $cf['site']['contatti'])) $ct['contatti']
$cf['ricerca']['template']
if(isset( $_REQUEST['amazonCheckoutSessionId'])) $_SESSION['carrello']