// echo "
"; print_r($_SERVER);

/*
 $fp=fopen("/export/vhost/mymall/htdocs/log","a+");
     fwrite($fp, date("Y-m-s H:i:s")."\tR:$_SERVER[REQUEST_URI]\tS:$_SERVER[SCRIPT_NAME]\tQ:$_SERVER[QUERY_STRING]\n" );
     fclose($fp);
*/

// exit();
// setcookie("referer_from",' ');
 include_once dirname(__FILE__)."/modules/nbclientid.php";
 nbclientid_cookie();
   
 if( isset($nbclientid) ){  setcookie("nbclientid",$nbclientid,time()+5184000);  }
 
 $debug=0;
 include dirname(__FILE__)."/global.inc";

 $sys[debug]=$debug;

/*
 echo "
";
 //data("set names utf8");
 $sql="select * from truste_class order by cid asc ";  
 $result=mysql_query( $sql );
 echo mysql_error();
 while( $row = mysql_fetch_array($result) ){
 	  echo "
  • ".$row['name']; } exit(); */ define("MYMALL",1); define( "__SMARTY_SHOW_POSITION__" , ( substr( $cfg['ShowTemplateLink'] ,0,1 )==1 && substr(strstr( $cfg['ShowTemplateLink'],":"),1)==$_SERVER['REMOTE_ADDR'] )?1:0 ); if( $module_alone ){ include "module_alone.inc"; } else { include "index_smarty3.inc"; } exit(); ?>