https://www.bermunkak.hu/
if(isset($wiev_mode)) {
if($wiev_mode == "site"){
$pre_var = "../";
}else{
$pre_var = "./";
}
if($wiev_mode == "admin"){
$pre_var = "../";
}else{
$pre_var = "./";
}
}else{
$pre_var ="./../";
}
if(isset($_SESSION['login'])){
$login = $_SESSION['login'];
}else{
$login = 0;
}
if($login == 1 ){
$var_login = $_SESSION['u_name'];
}else{
$var_login = "Belépés";
}
if(isset($_SESSION['login'])){
if($_SESSION['login'] == 1){
$icon = "login_icon_l";
}else{
$icon = "login_icon";
}
}else{
$icon = "login_icon";
}
$row .='';
$row .='
'.$var_login.'
';
$row .='
';
include($_SESSION['root']."addon/login/login_box.php");
$row .= '
';
$row .= '
';
?>
$row .=" ";
include('cart.php');
$row .="
";
?>
$row .=' ';
?>
if(isset($edit_var)){
}
if(isset($lang)){
}else{
$lang = "hun";
include ('../../script/conn.php');
}
$cont_x_id_a ="";
$row .= '';
$row .= '';
$row .= '
';
echo $row;
$row = "";
?>
$id_sub ="";
if(isset($_GET["macro_cont"])){
$macro_cont = $_GET["macro_cont"];
}else{
$macro_cont = "";
}
$lang = "hun";
if(isset($_GET["mode"])){
if($_GET["mode"] == "a"){
include ('../../script/conn.php');
}else{
include ('../script/conn.php');
}
}
if(isset($_GET["content"])){
$sql_pot = "where id = ".$cont_id." and aktiv = 0";
}else{
$sql_pot ="where aktiv = 0 LIMIT 0 , 1";
}
$row .= "";
$sql_c_list ="SELECT * FROM text_content $sql_pot";
$result_c_list = mysql_query($sql_c_list);
while($list_info = mysql_fetch_array($result_c_list)){
$hun_name = $list_info[$lang.'_name'];
$hun_seo = $list_info[$lang.'_seo'];
$hun_txt = $list_info[$lang.'_txt'];
$hun_short = $list_info[$lang.'_short'];
$csatolas = $list_info['csatolas'];
$id = $list_info["id"];
$row .= "";
if($hun_short !=""){
/*$row .= ""; */
}
if($_SESSION['termek'] == 1){
$hun_txt ="";
}
if($hun_txt !=""){
$row .= " ";
$row .= "
".$hun_txt."
";
$row .= "
";
}
$count_cont = 1;
if($cont_id == $id ){
$sql_c_list ="SELECT * FROM text_content where csatolas = $id and aktiv = 0";
$result_c_list = mysql_query($sql_c_list);
while($list_info_a = mysql_fetch_array($result_c_list)){
$hun_txt_a = $list_info_a[$lang.'_txt'];
$hun_seo_a = $list_info_a[$lang.'_seo'];
$hun_name = $list_info_a[$lang.'_name'];
$hun_short_a = $list_info_a[$lang.'_short'];
$img = $list_info_a['img'];
$id_sub = $list_info_a['id'];
if($id_sub !=""){
$content_lista[$count_cont][0] = $id_sub;
$content_lista[$count_cont][1] = $hun_name;
$content_lista[$count_cont][3] = $hun_short_a;
$content_lista[$count_cont][2] = $img;
$content_lista[$count_cont][4] = $hun_seo_a;
$content_lista[$count_cont][5] = $img;
$count_cont++;
$id_sub = $id_sub;
}else{
$id_sub = "";
}
}
if($id_sub != ""){
$var_citem = count($content_lista);
$row .= " ";
}}
}
?>
$id_sub ="";
if(isset($_GET["mode"])){
if($_GET["mode"] == "a"){
include ('../../script/conn.php');
}else{
include ('../script/conn.php');
}
}
$ec = 0;
$sql_c_list ="SELECT * FROM `text_content` ORDER BY `id` DESC ";
$result_c_list = mysql_query($sql_c_list);
while($list_info = mysql_fetch_array($result_c_list)){
$name = $list_info[$lang.'_name'];
$con_id = $list_info["id"];
$hun_short = $list_info[$lang.'_short'];
$them_id = $list_info["them_id"];
$csatolas = $list_info["csatolas"];
$seo = $list_info[$lang.'_seo'];
$aktiv = $list_info['aktiv'];
$img = $list_info['img'];
$ec = $ec+1;
$cont[$ec][0] = $con_id;
$cont[$ec][1] = $name;
$cont[$ec][2] = $csatolas;
$cont[$ec][4] = $them_id;
$cont[$ec][5] = $seo;
$cont[$ec][6] = $aktiv;
$cont[$ec][7] = $img;
}
$count_cont = 1;
$sql_c_list ="SELECT * FROM termek where name like '%John Deere%' ORDER BY `upload_time` DESC ";
$result_c_list = mysql_query($sql_c_list);
while($list_info_a = mysql_fetch_array($result_c_list)){
$t_id = $list_info_a['id'];
$c_id = $list_info_a['cat_id'];
$name = $list_info_a['name'];
$netto = $list_info_a['netto'];
$p_img = $list_info_a['p_img'];
$seo = $list_info_a['seo'];
$akcio = $list_info_a['akcio'];
if($t_id !=""){
$content_lista_last[$count_cont][0] = $t_id;
$content_lista_last[$count_cont][1] = $c_id;
$content_lista_last[$count_cont][2] = $name ;
$content_lista_last[$count_cont][3] = $netto;
$content_lista_last[$count_cont][4] = $p_img;
$content_lista_last[$count_cont][5] = $seo;
$content_lista_last[$count_cont][6] = $akcio;
$count_cont++;
$id_sub = $id_sub;
}else{
$id_sub = "";
}
}
$row .= " ";
$row .= "
";
$row .= "
John Deere termékek:
";
$row .= "";
$row .= "
";
$limit = 24;
include("webshop_item_list.php");
$row .= "
";
$row .= "
";
?>
A termék a kosárba került