num_rows==0){ print "inside"; header("Location:index.php"); exit(); } extract($res->fetch_assoc()); $c=$caid; //PREPEI NA PERIEXONTAI OLES OI GLWSSES SE PERIPTWSH POU GYRNAEI GLWSSA include("vinc/languages/1/languages.php"); include("vinc/languages/2/languages.php"); require_once("vinc/site_stats.php"); require("vinc/ecommercedefinition.php"); $AssocArray["l"]=$l; $AssocArray["category"]=$category; $keywordslist=explode(",",$keywords); $keywords=""; for($i=0;$iNewProducts($newadditions); $Page->RandomProducts($randomchoice); //orismos oriwn gia articles sthn periptwsh pou eimai sthn selida articles bazw orio 0 $res=MQ("select id as article_category_id,short_limit,thumb from article_categories"); for($i=0;$i<$res->num_rows;$i++){ extract($res->fetch_assoc()); $Limits[$article_category_id]=$short_limit; } if(isset($artcid) && isset($Limits[$artcid])) $Limits[$artcid]=0; include("vinc/cart.php"); //print_r($_SESSION); if(!isset($fn) && !isset($_SESSION["mid"])) $fn="login"; if(!isset($fn) && isset($_SESSION["mid"])) $fn="myaccount"; $Member=new MEMBER(); switch($fn){ case "login": $Member->Login(); break; case "loginDB": $Member->LoginDB($_POST); break; case "Remindpass": $Member->RemindPass(); break; case "remindpassemail": $Member->RemindPassEmail($email); break; case "Register": $Member->Register(); break; case "RegisterDB": $Member->RegisterDB($_POST); break; case "myaccount": if($Member->CheckMember()==false) $Member->Login(); else $Member->MyAccount(); break; case "myaccountdb": $Member->MemberDataDB($_POST); break; case "memberdata": $Member->MemberData(); break; case "analyze": $Member->Analyze(); break; break; case "analyzeorder": $Member->AnalyzeOrder($orderID); break; case "logout"; $Member=new MEMBER(); $Member->Logout(); $Member->Login(); break; default: $Member->Login(); } $MEMBERBUFFER=$Member->Buffer; $Member->Buffer=""; $Member->TopLeftLogin(); $MEMBERLOGIN=$Member->Buffer; $Member->Buffer=$MEMBERBUFFER; $Page->Articles(); ?> <?php if($c!=1){ print "$category, $SITETITLE[$l]"; }else print $SITETITLE[$l];?>
 


$NOTACTIVESALES[$l]"; */ ?>
 
PrintRandomProducts(); ?>   S3Slider(); if($buffer!=""){ print ""; } ?>
$buffer
PrintBuffer(); switch($fn){ case "login": $Page->PrintNewProducts(); break; case "loginDB": $Page->PrintNewProducts(); break; case "Remindpass": $Page->PrintNewProducts(); break; case "remindpassemail": $Page->PrintNewProducts(); break; case "RegisterDB": $Page->PrintNewProducts(); break; case "myaccount": $Page->PrintNewProducts(); break; case "myaccountdb": $Page->PrintNewProducts(); break; case "analyze": $Page->PrintNewProducts(); break; break; case "analyzeorder": $Member->AnalyzeOrder($orderID); break; case "logout"; $Page->PrintNewProducts(); break; default: $Member->Login(); } ?>